I am importing llvm, clang, compiler-rt, libc++, libunwind, lld, lldb, and openmp 21.1.7 into <https://github.com/DimitryAndric/freebsd-src/tree/llvm-21-update>, which is a fork of <https://github.com/freebsd/freebsd-src>. Please schedule an exp-run against this branch. To retrieve it, use: git clone -b llvm-21-update https://github.com/DimitryAndric/freebsd-src.git As of 2025-12-31, this branch contains the llvm-project release/21.x branch as of 21.1.7 (llvmorg-21.1.7-0-gcd708029e0b2), and it has been rebased onto FreeBSD src main <https://cgit.freebsd.org/src/commit/?id=e8567de718a4>. Note that I have one pending patch for devel/gdb in bug 292054, which should be committed before doing this exp-run. I will add that bug as a dependency of this bug.
* bug 292054 for devel/gdb
* bug 292071 for devel/boost-libs
* bug 292108 for devel/llvm12 * bug 292109 for devel/llvm13 * bug 292110 for devel/llvm14 * bug 292111 for devel/llvm15 * bug 292112 for devel/llvm16 * bug 292113 for devel/llvm17
One important note is that libc++ 21 doesn't compile with gcc 14 and lower at the moment, even though the internal compiler version check says that it _should_ compile with gcc 14 and higher. I have raised an upstream ticket at https://github.com/llvm/llvm-project/issues/174203, but my experience with the libc++ folks is that they are rather eager to drop "old" compiler support. Meanwhile, I am looking for some ways to bring back support for at least gcc 14. In the past I have hacked up some of the libc++ headers to also support gcc 13 and 12, but with libc++ 21 I think that is now a lost race.
* bug 292165 for www/webkit2-gtk3
* bug 292168 for graphics/opendx
(In reply to Dimitry Andric from comment #4) I managed to make the libc++ 21 headers work with gcc 14 (and the devel/freebsd-gcc14 port), so you can build world with it, and probably some other programs too. I think gcc 13 is maybe a bridge too far, but I also ran into a port that uses devel/llvm15, and clang 15 also has trouble with the libc++ 21 headers. So I might have to do some more hackery.
I needed to add `CWARNFLAGS += -Wno-default-const-init-var-unsafe` to drm-kmod to avoid warnings from the `typecheck` macro: In file included from /home/emaste/src/freebsd-src/wipbsd/sys/modules/drm-kmod/drivers/gpu/drm/i915/display/intel_overlay.c:35: /home/emaste/src/freebsd-src/wipbsd/sys/modules/drm-kmod/drivers/gpu/drm/i915/gt/intel_ring.h:63:2: error: default initialization of an object of type 'typeof (ring->size)' (aka 'const unsigned int') leaves the object uninitialized [-Werror,-Wdefault-const-init-var-unsafe] 63 | typecheck(typeof(ring->size), next); | ^ /home/emaste/src/freebsd-src/wipbsd/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note: expanded from macro 'typecheck' 31 | ({ type __var1; \ | ^
(In reply to Ed Maste from comment #8) https://lkml.org/lkml/2025/5/6/1681 seems to imply that suppressing the warning is OK. I still think the code as-is looks pretty dodgy, but I'll take the word of the Linux developers for it... :)
* bug 292192 for graphics/drm-66-kmod
Created attachment 266852 [details] Mistake Fixes audio/aqualung on ffmpeg > 5. While version 2 is out. It is completely different and adds many new options as well as support for several new codecs. Testing all of these changes will take more time than I had to fix this. But it's coming. :-) Thanks! --Chris
Ugh! Sorry! I clicked the wrong tab in my browser. Please ignore (and forgive) me for this. :-/
Comment on attachment 266852 [details] Mistake Inappropriate for this pr.
* bug 290809 for graphics/mesa-dri (existing bug, in combination with devel/libclc bug 290260)
New failures logs: https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/hyprsunset-0.3.3_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/bangr-lv2-1.6.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/boops-lv2-1.8.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/cardinal-25.06.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/rubberband-4.0.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/sc3-plugins-3.13.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/surge-synthesizer-lv2-1.9.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/surge-synthesizer-xt-lv2-1.3.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/avida-2.12.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/iqtree-3.0.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mothur-1.48.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ncbi-toolkit-2017.01.06_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/calculix-2.22.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ngspice_rework-shlib-44.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ngspice_rework-44.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openvsp-3.46.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/bladeRF-2025.10.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/osm2pgsql-2.2.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/kyototycoon-0.9.56_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mariadb-connector-c-3.4.5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mongodb70-7.0.28.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mongodb80-8.0.12_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mongosh-2.5.5_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mysql80-server-8.0.44.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/rocksdb9-9.11.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/xtrabackup80-8.0.35_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/build2-0.17.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/catch-2.13.10_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/corrade-2020.06.1783.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/csmith-2.3.0.79.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/fbthrift-2026.01.05.00_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/gcc-arm-embedded-aarch64-14.2r1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/gcc-arm-embedded-14.2r1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/hyprwire-0.2.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ikos-3.5_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/indi-2.1.7_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ispc-1.28.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libclc-llvm15-15.0.7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libddwaf-1.30.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/llvm-cheri-17.0.d20251209.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/llvm-morello-17.0.d20251207.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/oclgrind-21.10,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/phasar-2503_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-azure-ai-projects-1.0.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/apache-spark-3.3.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/spirv-llvm-translator-llvm12-12.0.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/tbb-2020.3_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/zapcc-g20180622_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/zeal-0.7.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/apache-openoffice-4.1.16.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/apache-openoffice-devel-4.2.1758052376_1,4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/fbsd-duckstation-20240614_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/higan-110_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libretro-bsnes-115.a.20231101_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libretro-kronos-2.1.5.20210601_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/pcsx2-2.4.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/virtualbox-ose-6.1.50_16.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/virtualbox-ose-nox11-6.1.50_16.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/yuzu-s20240301_12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/fusefs-mergerfs-2.41.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openzfs-kmod-2.4.0.1600007,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/fr-med-4.0.0_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/OpenTomb-2018.02.03.a_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/btanks-0.9.8083_11.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/bomb-her-man-0.3_7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/brumbrumrally-0.7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/cataclysm-dda-0.H_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/cataclysm-dda-tiles-0.H_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/chapping-0.43_14.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/colobot-0.2.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/diaspora-1.1.1_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/einstein-2.0_10.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/flare-engine-1.14_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/hex-a-hop-1.1.0_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/holotz-castle-1.3.14_10.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/kuklomenos-0.4.5_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nimuh-1.02_12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openbubbles-1.2_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/opencity-0.0.6.5_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openmw-0.50.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openrct2-0.4.30.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ponscripter-07th-mod-4.0.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/species-1.2d_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/warzone2100-4.6.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/wop-0.4.3_15.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/argyllcms-1.9.2_7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/cegui-0.8.7_22.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/clang-uml-0.6.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/drm-61-kmod-6.1.128.1600007_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/drm-latest-kmod-6.9.1600007_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/dspdfviewer-1.15.1_76.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/dust3d-1.0.0.r.6_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/epsonscan2-6.7.70.0_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/instant-meshes-0.0.42_15.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/khronos-texture-4.4.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libfpx-1.3.1.10_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/podofo-0.10.4_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/quesa-1.8_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/clisp-2.49.95+20241228_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/dotnet8-8.0.20.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/julia-1.10.5_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/opensycl-0.9.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/swift510-5.10.1_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/gnubiff-2.2.13_16.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/rspamd-3.14.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/rspamd-devel-3.11.a1.20241020_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/thunderbird-esr-140.7.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/asymptote-2.92_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/elpa-2021.11.001_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/gap-4.14.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/givaro-4.2.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/hydrogen-linear-algebra-1.5.3_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/labplot-2.12.1_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/libpoly-0.2.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/MathMod-13.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/petanque-1.1.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-fenics-basix-0.8.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-islpy-2024.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-pytanque-1.1.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/symengine-0.14.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/the-algorithms-c++-g20240212.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/topaz-3.41_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/viennacl-1.7.1_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/vtk9-9.5.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/air-ai-chat-client-0.6.9.26_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/github-copilot-cli-0.0.377.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-pyqir-0.10.7_7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-pytorch-2.8.0_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/rump-20170822_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ccextractor-0.94_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/jellyfin-10.11.5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mkvtoolnix-nogui-97.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mkvtoolnix-97.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mythtv-35.0_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/navidrome-0.59.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/tsduck-3.43_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/psi-1.5_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/tg_owt-0.0.20251212_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/fastnetmon-1.2.8_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/simplomon-g20250224.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/c-lightning-25.12_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/monero-cli-0.18.4.3_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/pulsar-client-cpp-3.7.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/dbeacon-0.3.9.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openvswitch-2.17.12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/vpp-24.06_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nget-0.27.1_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/lilypond-2.24.4_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/photoprint-0.4.2.p2_12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/arbor-0.11.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/bagel-1.2.2.132_17.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/mmdb2-2.0.22.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nest-3.8_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/octopus-16.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/openmodelica-1.25.7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-tensorflow-2.13.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/siconos-4.5.0_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/trilinos-16.2.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/monkeysphere-0.43_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/opensc-0.26.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/wazuh-manager-4.14.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/bareos22-client-22.1.7_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/heirloom-070715_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/powerdxx-0.4.4_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/xen-guest-tools-4.20.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/xen-tools-4.19.1.20250217_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/xstow-1.0.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/lttoolbox-3.8.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/py311-agate-1.14.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/dooble-2025.11.25.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/firefox-esr-140.7.0_2,2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/ladybird-g20240505_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/onlyoffice-documentserver-9.1.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/osrm-backend-6.0.0.g20250916_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/qt5-webengine-5.15.19p0_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/suphp-php82-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/suphp-php83-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/suphp-php84-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/suphp-php85-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/waterfox-6.6.8,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nvidia-kmod-580.126.09.1600007.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nvidia-kmod-390-390.157.1600007.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nvidia-kmod-470-470.256.02.1600007.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-01-17_21h12m54s/logs/errors/nvidia-kmod-devel-590.48.01.1600007_1.log Most problematic failures: graphics/qt5-wayland : 75 skipped databases/mysql80-server : 55 skipped math/vtk9 : 44 skipped www/qt5-webengine : 37 skipped misc/py-pytorch@py311 : 33 skipped lang/clisp : 12 skipped french/med : 10 skipped devel/build2 : 8 skipped textproc/py-agate@py311 : 8 skipped audio/rubberband : 8 skipped x11/nvidia-kmod : 7 skipped devel/catch : 7 skipped devel/ispc : 6 skipped x11/nvidia-kmod-devel : 6 skipped databases/mariadb-connector-c : 5 skipped
(In reply to Antoine Brodin from comment #15) Hm, the qt5-wayland one is strange, it says: --- sub-compositor-all --- extensions/qwltexturesharingextension_p.h:88: Warning: Property declaration imageSearchPath has no READ accessor function or associated MEMBER variable. The property will be invalid. extensions/qwltexturesharingextension_p.h:145: Parse error at "DESIGNABLE" *** [.moc/moc_qwltexturesharingextension_p.cpp] Error code 1 but that is more likely a moc error, not a compiler error? I'll see if it compiles on a regular 16-CURRENT box first.
There's a bug open to track the qt5-wayland failure, as that looks similar.
(In reply to Dimitry Andric from comment #16) Indeed, on 16-CURRENT main with a stock ports tree, I get the same error: --- sub-client-all --- qwaylanddisplay.cpp:762:14: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 762 | [this](const QWaylandInputDevice *device) { return device->keyboard() != nullptr; }); | ^~~~ --- sub-compositor-all --- extensions/qwltexturesharingextension_p.h:88: Warning: Property declaration imageSearchPath has no READ accessor function or associated MEMBER variable. The property will be invalid. extensions/qwltexturesharingextension_p.h:145: Parse error at "DESIGNABLE" *** [.moc/moc_qwltexturesharingextension_p.cpp] Error code 1
* bug 292589 for databases/mysql80-server
* bug 292590 for math/vtk9
misc/py-pytorch is also an interesting one, it's using devel/llvm15 to compile with clang15, which is (as I mentioned in comment 7) a rather hard target to support. Yuri, is there a particular reason py-pytorch uses devel/llvm15? I see no direct dependency in the Makefile.
(In reply to Dimitry Andric from comment #16) The moc build problem seems to first occur at this src tree commit. https://cgit.freebsd.org/src/commit/?id=f441a225c4eb56deff1edc2402fe85a0ae263ebd It's likely another case of C23 leaking into C++20 or later, much like what happened here with char8_t: https://cgit.freebsd.org/src/commit/?id=66129def7bdaf8a0447aba55e736d27687204555
* bug 292664 for misc/py-pytorch
* bug 292672 for lang/clisp
* french/med should be fixed by the merge of base 3cdb6c9d92ecf479a0df338267f3f844ef6feeb2 into the llvm-21-update branch
* bug 292867 for devel/build2
* bug 292868 for audio/rubberband
* bug 292869 for x11/nvidia-driver (fixes x11/nvidia-kmod)
Removed bug 290809 as a dependency, since that one is about building mesa-dri against the devel/llvm20 port, not building with base clang.
* bug 293093 for www/qt5-webengine
* bug 293163 for devel/ispc
* bug 293164 for databases/mariadb-connector-c
* bug 293165 for devel/libddwaf
* bug 293168 for devel/gcc-arm-embedded
devel/corrade is fixed by merging https://github.com/llvm/llvm-project/commit/d803c61aca0.
* bug 293180 for science/mmdb2
* bug 293181 for graphics/podofo
* bug 293182 for multimedia/mkvtoolnix
* bug 293185 for print/lilypond
(In reply to Antoine Brodin from comment #15) emulators/virtualbox-ose-nox11: Checking for pthread: pthread not found at -lpthread or pthread headers not found Check the file /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-6.1.50/configure.log for detailed error information. Check /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-6.1.50/configure.log for details Who can attach the file /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-6.1.50/configure.log?
* bug 293230 for databases/mongodb70
* bug 293246 for math/symengine
* bug 293268 for textproc/lttoolbox
* bug 293269 for math/givaro
* bug 293293 for devel/spirv-llvm-translator@llvm12
devel/omniORB fails to build on regular 16-CURRENT with the same error, so it should probably be marked BROKEN.
* bug 293380 for devel/abseil
* bug 293384 for science/py-tensorflow
* bug 293393 for comms/bladerf
* bug 293394 for devel/indi
* bug 293446 for devel/catch
* bug 293447 for cad/ngspice_rework
All outstanding bugs have been fixed. Is portmgr now OK with merging the llvm-21-update branch into main? Or shall we do another exp-run?
* bug 293811 for accessibility/hyprsunset
(In reply to Dimitry Andric from comment #53) I will do another run
I started it at https://pkg-status.freebsd.org/gohan05/build.html?mastername=mainamd64PR292067-default-foo&build=2026-03-15_07h14m15s sysutils/coreutils fails to build but it does not seem related to llvm21, 4761 ports are skipped https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-15_07h14m15s/logs/errors/coreutils-9.9.log
(In reply to Antoine Brodin from comment #56) That is bug 293672, base 28599a1e5f1b breaks coreutils. It's now assigned to the maintainer.
(In reply to Dimitry Andric from comment #57) My stopgap fix for coreutils bug 293672 was committed, so those 4761 skipped ports should now at least _attempt_ to build. :)
New failure logs: https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/hyprsunset-0.3.3_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/bangr-lv2-1.6.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/boops-lv2-1.8.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/cardinal-25.06.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/sc3-plugins-3.13.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/sonic-visualiser-4.0.1_14.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/surge-synthesizer-lv2-1.9.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/surge-synthesizer-xt-lv2-1.3.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/iqtree-3.0.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/mothur-1.48.5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/ncbi-toolkit-2017.01.06_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/OrcaSlicer-2.3.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/calculix-2.22.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/FreeCAD-devel-r20260307072726_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/kicad-9.0.8,2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/openvsp-3.48.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/osm2pgsql-2.2.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/mongodb80-8.0.12_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/rocksdb9-9.11.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/surrealdb-3.0.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/xtrabackup80-8.0.35_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/kdepim-runtime-25.12.3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/csmith-2.3.0.79.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/fbthrift-2026.02.09.00.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/ikos-3.5_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libclc-llvm15-15.0.7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libgnuregex-6.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/llvm-cheri-17.0.d20260204.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/llvm-morello-17.0.d20260205.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/oclgrind-21.10,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/phasar-2503_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/zeal-0.7.2_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/fbsd-duckstation-20240614_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/higan-110_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libretro-bsnes-115.a.20231101_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libretro-kronos-2.1.5.20210601_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/pcsx2-2.4.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/virtualbox-ose-6.1.50_18.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/virtualbox-ose-nox11-6.1.50_18.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/yuzu-qt5-s20240301_12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/yuzu-s20240301_12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/fusefs-mergerfs-2.41.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/chiapos-1.0.7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/OpenTomb-2018.02.03.a_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/cataclysm-dda-0.H_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/cataclysm-dda-tiles-0.H_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/colobot-0.2.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/diaspora-1.1.1_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/kuklomenos-0.4.5_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/openmw-0.50.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/openrct2-0.4.32.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/species-1.2d_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/argyllcms-1.9.2_7.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/cegui-0.8.7_23.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/clang-uml-0.6.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/drm-61-kmod-6.1.128.1600012_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/dspdfviewer-1.15.1_76.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/dust3d-1.0.0.r.6_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/epsonscan2-6.7.70.0_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/instant-meshes-0.0.42_15.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/krita-5.2.14_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libfpx-1.3.1.10_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/dotnet8-8.0.20.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/julia-1.10.5_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/opensycl-0.9.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/quilc-1.26.0_10.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/swift510-5.10.1_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/rspamd-3.14.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/rspamd-devel-3.11.a1.20241020_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/thunderbird-esr-140.8.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/asymptote-2.92_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/deal.II-9.6.2_14.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/elpa-2021.11.001_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/hydrogen-linear-algebra-1.5.3_5.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/labplot-2.12.1_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/libpoly-0.2.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/MathMod-13.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/petanque-1.1.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/py311-islpy-2024.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/py311-pytanque-1.1.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/py311-symengine-0.14.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/the-algorithms-c++-g20240212.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/topaz-3.41_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/viennacl-1.7.1_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/air-ai-chat-client-0.6.9.26_10.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/github-copilot-cli-0.0.394_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/py311-pyqir-0.10.7_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/rump-20170822_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/mythtv-35.0_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/tsduck-3.43_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/psi-1.5_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/tg_owt-0.0.20251212_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/fastnetmon-1.2.8_9.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/simplomon-g20250224.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/c-lightning-25.12.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/monero-cli-0.18.4.3_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/nss_ldap-1.265_15.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/openvswitch-2.17.12.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/arbor-0.11.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/bagel-1.2.2.132_18.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/nest-3.8_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/octopus-16.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/openmodelica-1.25.7_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/paraview-6.0.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/siconos-4.5.0_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/trilinos-16.2.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/monkeysphere-0.43_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/opensc-0.26.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/wazuh-manager-4.14.3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/heirloom-070715_4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/powerdxx-0.4.4_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/xen-guest-tools-4.20.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/xen-tools-4.19.1.20250217_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/xstow-1.1.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/dooble-2026.02.28.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/firefox-esr-140.8.0,2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/fmd-server-0.14.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/ladybird-g20240505_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/onlyoffice-documentserver-9.1.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/osrm-backend-6.0.0.g20250916_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/suphp-php82-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/suphp-php83-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/suphp-php84-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/suphp-php85-0.7.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/waterfox-6.6.9,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/hyprshutdown-0.1.0.log I don't think there are blockers in this list?
(In reply to Antoine Brodin from comment #59) The top 10 in "skipped" are mostly non-llvm related failures: 12 devel/libgnuregex -> patch error 12 www/chromium -> extract failure, some file missing 10 java/eclipse -> missing jars, tried to download during build 8 deskutils/kdepim-runtime -> undefined symbol: KPIM::Maildir::Maildir 5 games/kodi-addon-game.libretro -> missing members in struct 5 cad/ -> thirdparty libfmt error 4 devel/rcs57 -> diff3 test gives "Bad system call" 4 devel/electron39 -> extract files, various missing files 2 www/py-requests-cache93@py311 -> package dependency error 2 science/py-tobler@py311 -> package dependency error Of these I will investigate kdepim-runtime and kicad. The latter should be easy to fix. But indeed, most of these would not be considered blockers.
> 10 java/eclipse -> missing jars, tried to download during build Can you show build log? My build in poudriere runs without any errors.
(In reply to Vladimir Druzenko from comment #61) https://pkg-status.freebsd.org/gohan05/data/mainamd64PR292067-default-foo/2026-03-18_21h02m14s/logs/errors/eclipse-4.38_1.log Might be a temporary error, of course.
(In reply to Vladimir Druzenko from comment #61) Got build error too: <snip> [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17:46 min [INFO] Finished at: 2026-03-20T00:51:19Z [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.maven.plugins:maven-jar-plugin:jar:3.5.0 is missing, no dependency information available [WARNING] The POM for org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 is missing, no dependency information available [WARNING] The POM for org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 is missing, no dependency information available [ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.15.0 or one of its dependencies could not be resolved: [ERROR] Cannot access tycho-snapshots (https://repo.eclipse.org/content/repositories/tycho-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 has not been downloaded from it before. [ERROR] Cannot access eclipse-snapshots (https://repo.eclipse.org/content/repositories/eclipse-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 has not been downloaded from it before. [ERROR] Cannot access eclipse-cbi (https://repo.eclipse.org/content/repositories/cbi/) in offline mode and the artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 has not been downloaded from it before. [ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.15.0 has not been downloaded from it before. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException *** Error code 1 <snip>
(In reply to Nuno Teixeira from comment #63) Try build after recent update to 4.39.
(In reply to Vladimir Druzenko from comment #64) For me, it builds fine both on main (base 5f0ab9d9e965) and the llvm-21-update branch. The port is at version 4.39.
* bug 293944 for cad/kicad
* bug 293955 for deskutils/kdepim-runtime (trivial fix) In any case, I think the time is probably ripe for doing the actual merge of llvm-21-update to -CURRENT. :)
(In reply to Dimitry Andric from comment #67) Ping... I would like to get this done, so I can move on to llvm 22! :)
(In reply to Dimitry Andric from comment #68) What is it missing? I see all dependent PRs closed as fixed. Are we waiting on a exp-run? Thanks
(In reply to Nuno Teixeira from comment #69) Since some time, there is an agreement that I have to get explicit permission from portmgr to merge llvm updates. This is to avoid any major impact on ports users. In any case, I just saw that the 2026Q2 has been created, so maybe that is the reason for portmgr being busy with other stuff. Obviously there is no extreme rush, but this ticket has been languishing for a while now.
(In reply to Dimitry Andric from comment #68) Another ping, I'd really like to get this moving!
Friendly ping, anything else that needs to be done?
Status from one month ago is no apparent blockers remaining so this should be good to go.
(In reply to Ed Maste from comment #73) I'm going to wait until the stabilization week is finished, which should be on Friday 2026-04-24T18:00:00Z.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4fc1fdd206c3db60ca521e3966f31044c7711398 commit 4fc1fdd206c3db60ca521e3966f31044c7711398 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-12 13:24:01 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:22 +0000 Merge commit c1d26c3c2510 from llvm git (by Nikolas Klauser): [libc++] Fix iostream size ABI break (#185839) In #124103 we changed the size of various iostream objects, which turns out to be ABI breaking when compiling non-PIE code. This ABI break is safe to fix, since for any programs allocating more memory for the iostream objects, the remaining bytes are simply unused now. Fixes #185724 This fixes the ABI break that causes programs that use the standard streams to terminate in various interesting ways, usually by throwing an unexpected std::bad_cast exception. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/src/iostream.cpp | 93 +++++++++++++++++----------- 1 file changed, 56 insertions(+), 37 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0f15398d123a9cf02711efddf5e4040f0066c6de commit 0f15398d123a9cf02711efddf5e4040f0066c6de Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 23:19:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:22 +0000 Fixup mismerge in __cxx03/__type_traits/add_[lr]value_reference.h. PR: 292067 MFC after: 1 month .../libcxx/include/__cxx03/__type_traits/add_lvalue_reference.h | 2 +- .../libcxx/include/__cxx03/__type_traits/add_rvalue_reference.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8f95b8b19088bd8d73f6d14dab7afe848dfc0c35 commit 8f95b8b19088bd8d73f6d14dab7afe848dfc0c35 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 12:34:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:23 +0000 Bump __FreeBSD_version for llvm 21.1.8 merge PR: 292067 MFC after: 1 month sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3fd796204fe6aa2e8a2b70bb9ea95f7497247fa3 commit 3fd796204fe6aa2e8a2b70bb9ea95f7497247fa3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 19:54:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:21 +0000 Merge commit 924f773f5e26 from llvm git (by Younan Zhang): [Clang] Don't diagnose missing members when looking at the instantiating class template (#180725) The perfect matching patch revealed another bug where recursive instantiations could lead to the escape of SFINAE errors, as shown in the issue. Fixes https://github.com/llvm/llvm-project/issues/179118 This fixes compile errors in the www/qt5-webengine port. PR: 292067 MFC after: 1 month contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=17f1a5e638f845e171ab4e3db2a07bf8c6ac3388 commit 17f1a5e638f845e171ab4e3db2a07bf8c6ac3388 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 21:07:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:21 +0000 libcxx-compat: fix llvmorg-21-init-12415-g3a86e0bd29f3: [libc++] Optimize std::getline (#121346) ``` ----------------------------------------------- Benchmark old new ----------------------------------------------- BM_getline_string 318 ns 32.4 ns ``` Move the __bump_stream() lamda in <istream> to a separate function, so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/istream | 28 ++++++++++++++------------- contrib/llvm-project/libcxx/include/streambuf | 4 ++++ 2 files changed, 19 insertions(+), 13 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3cbf898fb49fe087cdcafe2745cca3f7a20f4388 commit 3cbf898fb49fe087cdcafe2745cca3f7a20f4388 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-23 12:39:31 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:23 +0000 Add a comment to llvm's OptParser.td, so dependent files get rebuilt. PR: 292067 MFC after: 1 month contrib/llvm-project/llvm/include/llvm/Option/OptParser.td | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=20450c2e792084f06974cff9d2338e2d0406883f commit 20450c2e792084f06974cff9d2338e2d0406883f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-23 14:58:06 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:23 +0000 Merge commit b0d2b57f7e47 from llvm git (by Phoebe Wang): [Headers][X86] Remove more duplicated typedefs (#153820) They are defined in mmintrin.h This fixes a -Werror warning in openzfs, which compiles for C99, and C99 does not allow for typedef redefinitions. PR: 292067 MFC after: 1 month contrib/llvm-project/clang/lib/Headers/emmintrin.h | 4 ---- contrib/llvm-project/clang/lib/Headers/xmmintrin.h | 1 - 2 files changed, 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=48c35ae6ebfc6d9a2259979d915fd3bc5d6c01db commit 48c35ae6ebfc6d9a2259979d915fd3bc5d6c01db Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 14:45:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:12 +0000 Merge commit 598f21e9fcf7 from llvm git (by zhijian lin): [PowerPC] need to set CallFrameSize for the pass PPCReduceCRLogicals when insert a new block (#151017) In the [ [CodeGen] Store call frame size in MachineBasicBlock](https://reviews.llvm.org/D156113), it mentions When a basic block has been split in the middle of a call sequence. the call frame size may not be zero, it need to set the setCallFrameSize for the new MachineBasicBlock. but in the function `splitMBB(BlockSplitInfo &BSI)` in the llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp , it do not setCallFrameSzie for the new MachineBasicBlock `NewMBB`, we will setCallFrameSzie in the patch. the patch fix the crash mention in https://github.com/llvm/llvm-project/pull/144594#issuecomment-2993736654 This fixes "error in backend: Found 1 machine code errors" while crypto/openssh/packet.c for PowerPC64. PR: 292067 MFC after: 1 month contrib/llvm-project/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=821fc643b3cad922e5438760eed9cad0d6d9b3b0 commit 821fc643b3cad922e5438760eed9cad0d6d9b3b0 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:19 +0000 libcxx-compat: revert llvmorg-21-init-9130-g9e3982d9ae81: [libc++] Replace __libcpp_{ctz, clz} with __builtin_{ctzg, clzg} (#133920) `__libcpp_{ctz, clz}` were previously used as fallbacks for `__builtin_{ctzg, clzg}` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_{ctzg, clzg}` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_{ctz, clz}` with `__count{l,r}_zero` (which internally call `__builtin_{ctzg, clzg}` and eliminate the fallback logic. Closes #131179. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__bit/countl.h | 28 ++++++++++++++++++ contrib/llvm-project/libcxx/include/__bit/countr.h | 33 ++++++++++++++++++++++ 2 files changed, 61 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=035396ceda495f456ca570fb715b04a7fc3b25c2 commit 035396ceda495f456ca570fb715b04a7fc3b25c2 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:55:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:20 +0000 libcxx-compat: revert llvmorg-21-init-10154-ge43e8ec7afbd: [libc++] Remove dead implementation of is_nothrow_convertible and merge the remaining code into is_convertible.h (#137717) We can use the `__is_nothrow_convertible` builtin unconditionally now, which makes the implementation very simple, so there isn't much of a need to keep a separate header around. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/is_convertible.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5ac874516b27474ab5b3d195544c72fb04b4b86e commit 5ac874516b27474ab5b3d195544c72fb04b4b86e Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-25 18:06:51 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:22 +0000 Merge commit 787ba2426148 from llvm git (by Matheus Izvekov): [clang] create local instantiation scope for matching template template parameters (#183219) This fixes a bug where a partial substitution from the enclosing scope is used to prepopulate an unrelated template argument deduction. Fixes #181166 This fixes an expected error when building the devel/catch port. PR: 292067 MFC after: 1 month contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b99d02027a0fe2e9f9a4aeb6fa3484847ddc5a57 commit b99d02027a0fe2e9f9a4aeb6fa3484847ddc5a57 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 14:34:48 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:21 +0000 Remove usr/include/c++/v1/__fwd/get.h from ObsoleteFiles.inc. PR: 292067 MFC after: 1 month ObsoleteFiles.inc | 1 - 1 file changed, 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5465db314a03c11b15e00f22be1609027dfc152c commit 5465db314a03c11b15e00f22be1609027dfc152c Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:14:13 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:20 +0000 libcxx-compat: revert llvmorg-21-init-8400-g703cfe745b96: [libc++] Replace __libcpp_popcount by __builtin_popcountg (#133937) `__libcpp_popcount` was previously used as a fallback for `__builtin_popcountg` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_popcountg` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_popcount` with `__builtin_popcountg` and eliminate the fallback logic. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month .../llvm-project/libcxx/include/__bit/popcount.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a114ece3e6158f49088b0704b4afef07040d83f3 commit a114ece3e6158f49088b0704b4afef07040d83f3 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:54:32 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:20 +0000 libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83: [libc++] Simplify the implementation of remove_reference (#85207) GCC 13 introduced the type trait `__remove_reference`. We can simplify the implementation of `remove_reference` a bit by using it. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month .../llvm-project/libcxx/include/__type_traits/remove_reference.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=987ac31018cba9f1763ad3acfb68b933f58a4c52 commit 987ac31018cba9f1763ad3acfb68b933f58a4c52 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:31:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:21 +0000 libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267: [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386) Clang treats throwing/catching ObjC types differently from C++ types, and omitting the `throw` in `std::make_exception_ptr` breaks ObjC invariants about how types are thrown/caught. Fixes #135089 Co-authored-by: Louis Dionne <ldionne.2@gmail.com> Only use lambdas when in !defined(_LIBCPP_CXX03_LANG), so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__exception/exception_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ad1f6ee5d7230a63c216cd9ad3b89d5b7d1c4a3a commit ad1f6ee5d7230a63c216cd9ad3b89d5b7d1c4a3a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 18:40:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:11 +0000 libcxx-compat: revert llvmorg-21-init-19251-g0c3a2faa8505: [libc++] Simplify the implementation of __libcpp_{,de}allocate (#147989) GCC 15 also supports `__buitin_operator_{new,delete}` now, so the `#else` cases are dead code. This patch inlines the calls to the wrapper functions and simplifies some surrounding code. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month .../llvm-project/libcxx/include/__new/allocate.h | 71 ++++++++++++++++------ 1 file changed, 51 insertions(+), 20 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1dfe63e4f75fa2a8c94aaf4aefaf48d164bc90db commit 1dfe63e4f75fa2a8c94aaf4aefaf48d164bc90db Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 20:42:18 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:22 +0000 Merge commit d803c61aca0d from llvm git (by Corentin Jabot): [Clang] Fix a regression introduced by #147046 (#150893) Static functions have an implicit object argument during deduction. This fixes an assertion while compiling the devel/corrade port. PR: 292067 MFC after: 1 month contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bb6713d38cc0d988378394f599d81d3a83dbaf03 commit bb6713d38cc0d988378394f599d81d3a83dbaf03 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:20 +0000 libcxx-compat: revert llvmorg-21-init-15984-g650b451d0065: [libc++] Simplify the implementation of pointer_traits a bit (#142260) This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month .../libcxx/include/__memory/pointer_traits.h | 116 +++++++++++++++------ 1 file changed, 83 insertions(+), 33 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=718e5874be0306ea302fd2b8e1d97fc79682abbe commit 718e5874be0306ea302fd2b8e1d97fc79682abbe Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:32:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:11 +0000 llvm-libc-macros: work around gcc defining LDBL_MANT_DIG as 53 on i386 Otherwise, gcc will not be able to compile parts of libc++ 21 in -m32 mode, resulting in errors similar to: In file included from /usr/src/contrib/llvm-project/libc/shared/str_to_float.h:13, from /usr/src/contrib/llvm-project/libcxx/src/include/from_chars_floating_point.h:14, from /usr/src/contrib/llvm-project/libcxx/src/charconv.cpp:12: /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h: In function 'void __llvm_libc::internal::set_implicit_bit(__llvm_libc::fputil::FPBits<T>&) [with T = long double]': /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h:77:10: error: 'struct __llvm_libc::fputil::FPBits<long double>' has no member named 'set_implicit_bit' 77 | result.set_implicit_bit(result.get_biased_exponent() != 0); | ^~~~~~~~~~~~~~~~ PR: 292067 MFC after: 1 month contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f7bcd8d8c9336b97569265e5ad36b73b30357beb commit f7bcd8d8c9336b97569265e5ad36b73b30357beb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:25:42 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:11 +0000 libcxx-compat: revert llvmorg-21-init-17684-gae9990ed9651: [libc++] Remove dead code from <type_traits> (#143854) Since we've upgraded to GCC 15 now, we can remove a bunch of dead code from `<type_traits>`. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/add_pointer.h | 14 +----- .../libcxx/include/__type_traits/add_reference.h | 55 ++++++++++++++++------ .../libcxx/include/__type_traits/decay.h | 44 ++++++++++++++--- .../has_unique_object_representation.h | 8 +++- .../libcxx/include/__type_traits/is_array.h | 24 +++++++++- .../libcxx/include/__type_traits/is_const.h | 20 +++++++- .../libcxx/include/__type_traits/is_pointer.h | 33 +++++++++++++ .../libcxx/include/__type_traits/is_volatile.h | 20 +++++++- .../include/__type_traits/remove_all_extents.h | 21 +++++++-- .../libcxx/include/__type_traits/remove_extent.h | 21 +++++++-- 10 files changed, 213 insertions(+), 47 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=00bee6fcd77f7812e967f85d1cacbc349ff312b3 commit 00bee6fcd77f7812e967f85d1cacbc349ff312b3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-30 19:49:35 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:11 +0000 Partially revert libc++ commit aa7f377c965c, restoring stdint.h This partially reverts upstream libc++ commit aa7f377c965c: [libc++] Remove libc++'s own stdint.h and locale.h (#107436) These headers are not doing anything beyond the system or compiler provided equivalent headers, so there's no real reason to keep them around. Reducing the number of C headers we provide in libc++ simplifies our header layering and reduces the potential for confusion when headers are layered incorrectly. The problem is that libc++'s own `stdint.h` _does_ do something: it defines `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` before including the system `stdint.h`, causing the latter to expose macros like `SIZE_MAX`, `UINT64_C`, and others. If the `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` macros are not exposed, C++ programs compiled for standards before C++11 can fail with errors due to those macros not being available. PR: 292067 MFC after: 1 month ObsoleteFiles.inc | 1 - contrib/llvm-project/libcxx/include/cstdint | 8 ++ contrib/llvm-project/libcxx/include/stdint.h (new) | 127 +++++++++++++++++++++ lib/libc++/Makefile | 1 + lib/libc++/module.modulemap | 4 + 5 files changed, 140 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4822a2cf990048c6eed7822fd34a1aeeb7c39cdf commit 4822a2cf990048c6eed7822fd34a1aeeb7c39cdf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 15:36:48 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:12 +0000 Tentative fix for powerpc boot1.chrp linking problem. PR: 292067 MFC after: 1 month stand/powerpc/boot1.chrp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7351d001fc7f5a77a18a102e12a3ca2cbfd6988c commit 7351d001fc7f5a77a18a102e12a3ca2cbfd6988c Merge: 4822a2cf9900 3e481a3afe13 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 15:55:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:13 +0000 Merge llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a, a.k.a. 21.1.8 release. PR: 292067 MFC after: 1 month .../clang/lib/ExtractAPI/DeclarationFragments.cpp | 5 ++++- .../clang/lib/Format/QualifierAlignmentFixer.cpp | 17 +++++++++++++---- .../clang/lib/Format/UnwrappedLineParser.cpp | 8 ++++---- .../llvm-project/clang/lib/Format/WhitespaceManager.cpp | 5 ++++- .../lib/sanitizer_common/sanitizer_linux.cpp | 12 ++++++++++-- .../sanitizer_common/sanitizer_platform_limits_posix.h | 2 +- contrib/llvm-project/libcxx/include/__config | 2 +- .../llvm-project/llvm/lib/CodeGen/SelectOptimize.cpp | 2 +- .../Target/WebAssembly/WebAssemblyExplicitLocals.cpp | 14 ++++++++++++++ .../lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 4 ++++ .../Transforms/Instrumentation/RealtimeSanitizer.cpp | 3 +++ lib/clang/include/VCSVersion.inc | 6 +++--- lib/clang/include/clang/Basic/Version.inc | 6 +++--- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +++--- lib/clang/include/llvm/Config/config.h | 4 ++-- lib/clang/include/llvm/Config/llvm-config.h | 4 ++-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 18 files changed, 74 insertions(+), 30 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e64bea71c21eb42e97aa615188ba91f6cce0d36d commit e64bea71c21eb42e97aa615188ba91f6cce0d36d Merge: 770cf0a5f02d 294ba5698039 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-27 23:23:22 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:14:02 +0000 Merge llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2, a.k.a. 21.1.7 release. PR: 292067 MFC after: 1 month ObsoleteFiles.inc | 25 + contrib/llvm-project/FREEBSD-Xlist | 304 ++++++- contrib/llvm-project/clang/include/clang-c/Index.h | 15 + .../llvm-project/clang/include/clang/AST/APValue.h | 2 +- .../clang/include/clang/AST/ASTContext.h | 3 +- .../clang/include/clang/Basic/AttrDocs.td | 6 +- .../include/clang/Basic/DiagnosticASTKinds.td | 8 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../clang/Basic/DiagnosticSerializationKinds.td | 4 + .../clang/include/clang/Basic/Features.def | 9 +- .../clang/include/clang/Basic/LangOptions.def | 4 + .../clang/include/clang/Basic/PointerAuthOptions.h | 16 + .../clang/include/clang/Basic/riscv_vector.td | 935 ++------------------ .../clang/include/clang/Driver/Options.td | 23 +- .../clang/include/clang/Format/Format.h | 14 +- .../llvm-project/clang/include/clang/Lex/Lexer.h | 3 - .../clang/Lex/NoTrivialPPDirectiveTracer.h (new) | 310 +++++++ .../clang/include/clang/Lex/Preprocessor.h | 12 + .../llvm-project/clang/include/clang/Lex/Token.h | 17 +- .../clang/include/clang/Sema/Overload.h | 11 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 +- contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../clang/lib/AST/ASTStructuralEquivalence.cpp | 72 +- contrib/llvm-project/clang/lib/AST/DeclCXX.cpp | 7 + .../llvm-project/clang/lib/AST/ExprConstant.cpp | 41 +- contrib/llvm-project/clang/lib/AST/Type.cpp | 20 + .../clang/lib/Analysis/ThreadSafety.cpp | 2 +- contrib/llvm-project/clang/lib/Basic/Targets.cpp | 3 + .../clang/lib/Basic/Targets/LoongArch.cpp | 2 + .../llvm-project/clang/lib/Basic/Targets/Mips.h | 6 +- .../clang/lib/Basic/Targets/OSTargets.h | 4 + contrib/llvm-project/clang/lib/Basic/Targets/X86.h | 2 + contrib/llvm-project/clang/lib/CodeGen/Address.h | 5 + .../llvm-project/clang/lib/CodeGen/CGBlocks.cpp | 99 ++- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 26 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 6 + .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 14 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../llvm-project/clang/lib/CodeGen/CGExprCXX.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp | 11 +- .../clang/lib/CodeGen/CodeGenFunction.h | 5 +- .../llvm-project/clang/lib/CodeGen/EHScopeStack.h | 2 +- .../clang/lib/CodeGen/TargetBuiltins/RISCV.cpp | 949 ++++++++++++++++++++- .../llvm-project/clang/lib/CodeGen/TargetInfo.cpp | 2 + .../clang/lib/CodeGen/Targets/Sparc.cpp | 125 ++- .../llvm-project/clang/lib/Driver/ToolChain.cpp | 29 +- .../clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 + .../clang/lib/Driver/ToolChains/Arch/AArch64.h | 1 + .../clang/lib/Driver/ToolChains/Arch/Sparc.cpp | 31 +- .../clang/lib/Driver/ToolChains/Arch/Sparc.h | 3 +- .../clang/lib/Driver/ToolChains/BareMetal.cpp | 24 +- .../clang/lib/Driver/ToolChains/Clang.cpp | 11 - .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 36 +- .../clang/lib/Driver/ToolChains/Darwin.cpp | 38 +- .../clang/lib/Driver/ToolChains/Flang.cpp | 1 + .../clang/lib/Driver/ToolChains/MinGW.cpp | 11 +- .../clang/lib/Driver/ToolChains/OpenBSD.cpp | 2 +- .../clang/lib/Format/ContinuationIndenter.cpp | 13 +- contrib/llvm-project/clang/lib/Format/Format.cpp | 96 ++- .../llvm-project/clang/lib/Format/FormatToken.cpp | 3 +- .../llvm-project/clang/lib/Format/FormatToken.h | 2 +- .../clang/lib/Format/FormatTokenLexer.cpp | 13 +- .../lib/Format/IntegerLiteralSeparatorFixer.cpp | 11 +- .../clang/lib/Format/TokenAnnotator.cpp | 78 +- .../clang/lib/Format/UnwrappedLineParser.cpp | 25 +- .../clang/lib/Frontend/CompilerInvocation.cpp | 16 +- .../clang/lib/Frontend/InitPreprocessor.cpp | 3 + .../clang/lib/Headers/avx10_2_512niintrin.h | 12 +- .../clang/lib/Headers/avx10_2bf16intrin.h | 36 +- .../clang/lib/Headers/avx10_2niintrin.h | 24 +- .../llvm-project/clang/lib/Headers/opencl-c-base.h | 11 +- contrib/llvm-project/clang/lib/Headers/ptrauth.h | 4 +- contrib/llvm-project/clang/lib/Lex/Lexer.cpp | 9 - .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 2 +- .../llvm-project/clang/lib/Lex/Preprocessor.cpp | 40 +- contrib/llvm-project/clang/lib/Parse/ParseExpr.cpp | 3 +- contrib/llvm-project/clang/lib/Parse/Parser.cpp | 8 +- .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 7 +- .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 9 +- .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 4 - contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 9 + .../llvm-project/clang/lib/Sema/SemaDeclAttr.cpp | 13 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 8 +- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 2 + contrib/llvm-project/clang/lib/Sema/SemaModule.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 14 +- contrib/llvm-project/clang/lib/Sema/SemaStmt.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaTemplate.cpp | 2 - .../clang/lib/Sema/SemaTemplateDeduction.cpp | 21 +- .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 2 +- .../llvm-project/clang/lib/Sema/SemaTypeTraits.cpp | 5 +- .../clang/lib/Serialization/ASTReader.cpp | 4 + .../clang/lib/Serialization/ASTWriter.cpp | 3 +- .../clang/lib/Serialization/ModuleCache.cpp | 4 +- .../lib/StaticAnalyzer/Checkers/AssumeModeling.cpp | 1 - .../clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | 3 +- .../lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 35 +- .../compiler-rt/lib/builtins/aarch64/lse.S | 4 +- .../compiler-rt/lib/builtins/aarch64/sme-abi.S | 4 +- .../compiler-rt/lib/builtins/assembly.h | 18 +- .../compiler-rt/lib/builtins/cpu_model/aarch64.c | 8 +- .../aarch64/fmv/{freebsd.inc => elf_aux_info.inc} | 0 .../lse_atomics/{freebsd.inc => elf_aux_info.inc} | 0 .../compiler-rt/lib/builtins/crtbegin.c | 46 +- .../lib/hwasan/hwasan_interceptors_vfork.S | 2 +- .../compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S | 2 +- .../lib/hwasan/hwasan_tag_mismatch_aarch64.S | 2 +- .../sanitizer_common_interceptors_ioctl.inc | 4 + ...nitizer_common_interceptors_vfork_aarch64.inc.S | 2 +- .../sanitizer_common/sanitizer_linux_libcdep.cpp | 1 + .../lib/sanitizer_common/sanitizer_platform.h | 15 + .../sanitizer_platform_limits_freebsd.cpp | 22 - .../sanitizer_platform_limits_freebsd.h | 16 - .../sanitizer_platform_limits_netbsd.cpp | 3 +- .../sanitizer_platform_limits_posix.cpp | 8 +- .../sanitizer_platform_limits_posix.h | 34 +- .../compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S | 2 +- .../llvm-project/libcxx/include/__algorithm/sort.h | 3 + contrib/llvm-project/libcxx/include/__assert | 4 +- .../llvm-project/libcxx/include/__bit/bit_log2.h | 2 + contrib/llvm-project/libcxx/include/__config | 109 ++- .../libcxx/include/__configuration/abi.h | 12 + .../llvm-project/libcxx/include/__cxx03/__config | 4 + .../libcxx/include/__functional/hash.h | 14 +- .../libcxx/include/__log_hardening_failure (new) | 42 + .../libcxx/include/__memory/array_cookie.h | 84 +- .../libcxx/include/__memory/compressed_pair.h | 54 +- .../libcxx/include/__ranges/join_view.h | 9 +- .../libcxx/include/__type_traits/invoke.h | 10 +- .../include/__type_traits/is_unqualified.h (new) | 25 + contrib/llvm-project/libcxx/include/ext/hash_map | 4 +- contrib/llvm-project/libcxx/include/ext/hash_set | 4 +- contrib/llvm-project/libcxx/include/fstream | 35 +- contrib/llvm-project/libcxx/include/map | 4 +- .../libcxx/include/module.modulemap.in | 4 + contrib/llvm-project/libcxx/include/string | 14 +- contrib/llvm-project/libcxx/src/algorithm.cpp | 3 + .../experimental/log_hardening_failure.cpp (new) | 31 + .../vendor/llvm/default_assertion_handler.in | 35 +- contrib/llvm-project/libunwind/src/Unwind-seh.cpp | 3 +- .../llvm-project/libunwind/src/UnwindCursor.hpp | 3 +- .../libunwind/src/UnwindRegistersRestore.S | 7 +- contrib/llvm-project/lld/COFF/Chunks.cpp | 2 +- contrib/llvm-project/lld/COFF/Config.h | 14 +- contrib/llvm-project/lld/COFF/DLL.cpp | 94 +- contrib/llvm-project/lld/COFF/Driver.cpp | 68 +- contrib/llvm-project/lld/COFF/Driver.h | 1 + contrib/llvm-project/lld/COFF/DriverUtils.cpp | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 30 +- contrib/llvm-project/lld/COFF/LTO.cpp | 11 +- contrib/llvm-project/lld/COFF/Options.td | 11 + contrib/llvm-project/lld/COFF/PDB.cpp | 9 +- contrib/llvm-project/lld/COFF/SymbolTable.cpp | 38 + contrib/llvm-project/lld/COFF/SymbolTable.h | 3 + contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- contrib/llvm-project/lld/ELF/Arch/Hexagon.cpp | 47 + contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 158 +++- contrib/llvm-project/lld/ELF/InputFiles.cpp | 59 +- contrib/llvm-project/lld/ELF/LinkerScript.cpp | 20 +- contrib/llvm-project/lld/ELF/Relocations.cpp | 55 +- contrib/llvm-project/lld/ELF/Thunks.cpp | 72 +- contrib/llvm-project/lld/docs/DTLTO.rst | 37 +- contrib/llvm-project/lld/docs/ReleaseNotes.rst | 3 + .../lldb/Target/InstrumentationRuntimeStopInfo.h | 3 + .../lldb/include/lldb/Target/StackFrameList.h | 12 + .../llvm-project/lldb/include/lldb/Target/Thread.h | 5 + .../ExpressionParser/Clang/ClangASTImporter.cpp | 10 + .../Language/CPlusPlus/CPlusPlusLanguage.cpp | 50 +- .../source/Plugins/Language/CPlusPlus/LibCxx.cpp | 67 +- .../source/Plugins/Language/CPlusPlus/LibCxx.h | 17 +- .../Plugins/Language/CPlusPlus/LibCxxList.cpp | 24 +- .../Plugins/Language/CPlusPlus/LibCxxMap.cpp | 29 +- .../Language/CPlusPlus/LibCxxUnorderedMap.cpp | 59 +- .../Plugins/Language/CPlusPlus/LibCxxVector.cpp | 12 +- .../FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp | 3 +- .../source/Plugins/Process/Utility/AuxVector.cpp | 1 + .../source/Plugins/Process/Utility/AuxVector.h | 1 + .../Utility/RegisterFlagsDetector_arm64.cpp | 53 +- .../Process/Utility/RegisterFlagsDetector_arm64.h | 25 +- .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 13 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 12 + .../Target/InstrumentationRuntimeStopInfo.cpp | 42 + .../llvm-project/lldb/source/Target/Process.cpp | 8 + .../lldb/source/Target/StackFrameList.cpp | 2 + .../lldb/source/Target/TargetProperties.td | 4 +- .../lldb/source/ValueObject/DILEval.cpp | 2 +- .../llvm/include/llvm/Analysis/IVDescriptors.h | 3 + .../llvm/include/llvm/BinaryFormat/ELF.h | 28 +- .../llvm/include/llvm/CodeGen/MachineBasicBlock.h | 9 +- .../llvm/include/llvm/CodeGen/MachineOperand.h | 3 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 11 + .../llvm/IR/GenericFloatingPointPredicateUtils.h | 24 +- .../llvm/include/llvm/IR/RuntimeLibcalls.td | 2 +- .../llvm-project/llvm/include/llvm/MC/MCContext.h | 4 + .../llvm/MC/MCDisassembler/MCDisassembler.h | 12 + .../llvm/include/llvm/MC/MCParser/MCAsmParser.h | 3 + .../llvm-project/llvm/include/llvm/MC/MCSection.h | 25 +- .../llvm/include/llvm/Object/ELFObjectFile.h | 1 + .../llvm/lib/Analysis/IVDescriptors.cpp | 26 +- contrib/llvm-project/llvm/lib/Analysis/Loads.cpp | 5 +- .../llvm/lib/Analysis/ScalarEvolution.cpp | 9 +- .../llvm/lib/CodeGen/BranchFolding.cpp | 5 + .../llvm/lib/CodeGen/CodeGenPrepare.cpp | 4 + .../llvm/lib/CodeGen/MachineCopyPropagation.cpp | 10 - .../llvm/lib/CodeGen/MachineOperand.cpp | 13 + .../llvm/lib/CodeGen/MachinePipeliner.cpp | 29 +- .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 2 + .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 19 +- .../CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 8 + .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../llvm/lib/CodeGen/TailDuplicator.cpp | 23 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 36 +- contrib/llvm-project/llvm/lib/IR/Verifier.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCContext.cpp | 49 +- contrib/llvm-project/llvm/lib/MC/MCExpr.cpp | 3 + contrib/llvm-project/llvm/lib/MC/MCFragment.cpp | 4 + .../llvm-project/llvm/lib/MC/MCObjectStreamer.cpp | 7 + .../llvm/lib/MC/MCParser/AsmParser.cpp | 65 +- .../llvm/lib/MC/MCParser/COFFAsmParser.cpp | 66 +- .../llvm/lib/MC/MCParser/COFFMasmParser.cpp | 17 +- .../llvm/lib/MC/MCParser/DarwinAsmParser.cpp | 44 +- .../llvm/lib/MC/MCParser/ELFAsmParser.cpp | 34 +- .../llvm/lib/MC/MCParser/MCAsmParser.cpp | 9 + .../llvm/lib/MC/MCParser/MCAsmParserExtension.cpp | 4 +- .../llvm/lib/MC/MCParser/MasmParser.cpp | 32 +- .../llvm/lib/MC/MCParser/WasmAsmParser.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCSection.cpp | 6 +- .../llvm/lib/ObjCopy/COFF/COFFObject.cpp | 2 + .../llvm/lib/ObjCopy/COFF/COFFObject.h | 2 + .../llvm/lib/ObjCopy/COFF/COFFReader.cpp | 2 +- .../llvm/lib/ObjCopy/COFF/COFFWriter.cpp | 75 ++ .../llvm/lib/ObjCopy/COFF/COFFWriter.h | 1 + .../llvm-project/llvm/lib/Object/ELFObjectFile.cpp | 32 +- .../llvm/lib/Support/BLAKE3/blake3_dispatch.c | 2 +- .../llvm/lib/Support/BLAKE3/blake3_impl.h | 2 +- .../llvm/lib/Support/BLAKE3/blake3_neon.c | 9 +- .../llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h | 2 + .../llvm-project/llvm/lib/Support/MemoryBuffer.cpp | 10 +- .../llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | 28 +- .../lib/Target/AArch64/AArch64BranchTargets.cpp | 46 +- .../llvm/lib/Target/AArch64/AArch64Features.td | 4 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 25 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 8 +- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 10 +- .../llvm/lib/Target/ARM/ARMISelLowering.cpp | 11 + .../llvm/lib/Target/AVR/AVRISelLowering.cpp | 7 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 131 ++- .../Hexagon/Disassembler/HexagonDisassembler.cpp | 128 ++- .../llvm/lib/Target/Hexagon/HexagonGenInsert.cpp | 8 +- .../lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 9 + .../lib/Target/Hexagon/HexagonISelLoweringHVX.cpp | 4 + .../llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 1 + .../Hexagon/MCTargetDesc/HexagonInstPrinter.cpp | 34 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 19 +- .../lib/Target/LoongArch/LoongArchAsmPrinter.cpp | 2 +- .../Target/LoongArch/LoongArchFrameLowering.cpp | 7 +- .../lib/Target/LoongArch/LoongArchISelLowering.cpp | 230 ++--- .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 45 +- .../llvm/lib/Target/LoongArch/LoongArchInstrInfo.h | 3 + .../Target/LoongArch/LoongArchMergeBaseOffset.cpp | 4 + .../LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp | 10 +- .../lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 +- .../llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 8 +- .../llvm/lib/Target/Mips/MipsExpandPseudo.cpp | 217 ++++- .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 29 - .../llvm/lib/Target/Mips/MipsISelLowering.h | 1 - .../llvm/lib/Target/Mips/MipsInstrInfo.td | 16 +- .../llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 12 +- .../lib/Target/NVPTX/NVPTXTargetTransformInfo.h | 5 + .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 39 +- .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 3 +- .../llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | 17 +- .../Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp | 42 +- .../RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp | 29 +- .../llvm/lib/Target/RISCV/RISCVCallingConv.td | 4 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 38 +- .../llvm/lib/Target/RISCV/RISCVFrameLowering.h | 3 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 18 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 89 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td | 9 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td | 4 +- .../llvm/lib/Target/RISCV/RISCVMoveMerger.cpp | 16 +- .../llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 11 +- .../lib/Target/RISCV/RISCVTargetTransformInfo.cpp | 1 + .../llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp | 9 + .../llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 4 +- .../llvm/lib/Target/Sparc/SparcISelLowering.cpp | 18 +- .../llvm/lib/Target/Sparc/SparcISelLowering.h | 5 + .../llvm/lib/Target/Sparc/SparcInstrUAOSA.td | 12 + .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 14 - .../Target/SystemZ/SystemZTargetTransformInfo.h | 3 - .../WebAssembly/WebAssemblyExplicitLocals.cpp | 12 +- .../llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 28 +- .../llvm/lib/Target/X86/X86CallingConv.cpp | 31 + .../llvm/lib/Target/X86/X86CallingConv.td | 5 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 53 +- .../llvm/lib/Target/X86/X86ISelLoweringCall.cpp | 15 +- .../llvm/lib/Target/X86/X86InstrInfo.cpp | 22 +- .../llvm/lib/Target/Xtensa/XtensaISelLowering.cpp | 16 +- .../llvm/lib/Transforms/Coroutines/Coroutines.cpp | 3 + .../lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 12 +- .../Instrumentation/SanitizerCoverage.cpp | 13 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 1 + .../llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp | 21 + .../llvm/lib/Transforms/Scalar/SROA.cpp | 15 +- .../lib/Transforms/Utils/BreakCriticalEdges.cpp | 11 +- .../llvm/lib/Transforms/Utils/LoopUtils.cpp | 10 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 11 +- .../Vectorize/LoopVectorizationPlanner.h | 12 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 18 +- .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 11 +- .../lib/Transforms/Vectorize/VPlanAnalysis.cpp | 1 + .../lib/Transforms/Vectorize/VPlanConstruction.cpp | 160 ++++ .../llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.h | 6 + .../lib/Transforms/Vectorize/VectorCombine.cpp | 39 +- .../llvm/tools/llvm-mc/Disassembler.cpp | 6 +- .../llvm/tools/llvm-objdump/llvm-objdump.cpp | 188 ++-- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 114 ++- contrib/llvm-project/openmp/runtime/src/kmp.h | 23 +- .../openmp/runtime/src/kmp_affinity.cpp | 24 +- .../llvm-project/openmp/runtime/src/kmp_affinity.h | 6 +- .../llvm-project/openmp/runtime/src/kmp_alloc.cpp | 30 +- .../llvm-project/openmp/runtime/src/kmp_dispatch.h | 4 +- .../llvm-project/openmp/runtime/src/kmp_global.cpp | 4 +- .../openmp/runtime/src/kmp_settings.cpp | 20 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 8 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 8 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 6 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/Makefile | 2 + lib/libc++/__assertion_handler | 35 +- lib/libc++/libcxx.imp | 1 + lib/libc++/module.modulemap | 4 + lib/libclang_rt/asan/Makefile | 2 + lib/libclang_rt/asan_cxx/Makefile | 3 - lib/libclang_rt/asan_dynamic/Makefile | 2 + lib/libclang_rt/cfi/Makefile | 1 + lib/libclang_rt/cfi_diag/Makefile | 2 + lib/libclang_rt/dd/Makefile | 1 + lib/libclang_rt/include/Makefile | 1 + lib/libclang_rt/msan/Makefile | 2 + lib/libclang_rt/msan_cxx/Makefile | 3 - lib/libclang_rt/safestack/Makefile | 1 + lib/libclang_rt/stats/Makefile | 1 + lib/libclang_rt/tsan/Makefile | 2 + lib/libclang_rt/tsan_cxx/Makefile | 7 - lib/libclang_rt/ubsan_standalone/Makefile | 2 + lib/libomp/kmp_config.h | 2 +- lib/libomp/omp.h | 45 +- tools/build/mk/OptionalObsoleteFiles.inc | 1 + 358 files changed, 6380 insertions(+), 2844 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=770cf0a5f02dc8983a89c6568d741fbc25baa999 commit 770cf0a5f02dc8983a89c6568d741fbc25baa999 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 09:38:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:11:52 +0000 Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge Fix various configuration fails, update generated headers, Makefiles, etc. PR: 292067 MFC after: 1 month ObsoleteFiles.inc | 418 ++++ .../llvm-project/libcxx/include/__cxx03/__config | 3 +- .../Clang/ClangExpressionParser.cpp | 2 + etc/mtree/BSD.debug.dist | 2 +- etc/mtree/BSD.include.dist | 78 + etc/mtree/BSD.usr.dist | 2 +- lib/clang/clang.build.mk | 1 - lib/clang/headers/Makefile | 44 +- lib/clang/include/Plugins/Plugins.def | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 13 +- lib/clang/include/clang/Config/config.h | 1 - lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/API/SBLanguages.h | 4 + lib/clang/include/lldb/Host/Config.h | 6 +- lib/clang/include/lldb/Version/Version.inc | 10 +- lib/clang/include/llvm/Config/Targets.h (new) | 118 + lib/clang/include/llvm/Config/config.h | 69 +- lib/clang/include/llvm/Config/llvm-config.h | 128 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/clang/libclang/Makefile | 243 +- lib/clang/liblldb/LLDBWrapLua.cpp | 2388 +++++++++++++++---- lib/clang/liblldb/Makefile | 71 +- lib/clang/libllvm/Makefile | 251 +- lib/clang/libllvmminimal/Makefile | 12 +- lib/libc++/Makefile | 940 +++++++- lib/libc++/__assertion_handler | 24 +- lib/libc++/__config_site | 34 +- lib/libc++/libcxx.imp | 110 +- lib/libc++/module.modulemap (new) | 2465 ++++++++++++++++++++ lib/libclang_rt/compiler-rt-vars.mk | 2 +- tools/build/mk/OptionalObsoleteFiles.inc | 874 +++---- usr.bin/clang/clang-tblgen/Makefile | 1 + usr.bin/clang/lld/Makefile | 2 + usr.bin/clang/lldb-server/Makefile | 1 - usr.bin/clang/llvm-min-tblgen/Makefile | 5 +- usr.bin/clang/llvm-tblgen/Makefile | 22 +- 37 files changed, 7067 insertions(+), 1289 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bb722a7d0f1642bff6487f943ad0427799a6e5bf commit bb722a7d0f1642bff6487f943ad0427799a6e5bf Merge: 8f6978f83cc6 7f920884cd00 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 14:04:07 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:08:58 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 3 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add more items to the libc/ top-level directory. PR: 292067 MFC after: 1 month contrib/llvm-project/libc/hdr/errno_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/fcntl_macros.h (new) | 22 + .../llvm-project/libc/hdr/fcntl_overlay.h (new) | 47 + contrib/llvm-project/libc/hdr/fenv_macros.h (new) | 61 + contrib/llvm-project/libc/hdr/float_macros.h (new) | 22 + .../libc/hdr/func/aligned_alloc.h (new) | 22 + contrib/llvm-project/libc/hdr/func/free.h (new) | 22 + contrib/llvm-project/libc/hdr/func/malloc.h (new) | 24 + contrib/llvm-project/libc/hdr/func/realloc.h (new) | 24 + .../llvm-project/libc/hdr/limits_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/link_macros.h (new) | 22 + .../llvm-project/libc/hdr/locale_macros.h (new) | 22 + .../libc/hdr/math_function_macros.h (new) | 27 + contrib/llvm-project/libc/hdr/math_macros.h (new) | 48 + .../llvm-project/libc/hdr/offsetof_macros.h (new) | 23 + contrib/llvm-project/libc/hdr/sched_macros.h (new) | 22 + .../llvm-project/libc/hdr/signal_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/stdio_macros.h (new) | 23 + .../llvm-project/libc/hdr/stdio_overlay.h (new) | 69 + .../llvm-project/libc/hdr/stdlib_macros.h (new) | 22 + .../llvm-project/libc/hdr/stdlib_overlay.h (new) | 46 + .../llvm-project/libc/hdr/sys_auxv_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_epoll_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_ioctl_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_stat_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/time_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/types/ACTION.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ENTRY.h (new) | 22 + contrib/llvm-project/libc/hdr/types/FILE.h (new) | 22 + .../libc/hdr/types/atexithandler_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char32_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char8_t.h (new) | 14 + .../llvm-project/libc/hdr/types/clock_t.h (new) | 22 + .../llvm-project/libc/hdr/types/clockid_t.h (new) | 23 + .../libc/hdr/types/cookie_io_functions_t.h (new) | 22 + .../llvm-project/libc/hdr/types/cpu_set_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/div_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/fenv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/fexcept_t.h (new) | 22 + .../llvm-project/libc/hdr/types/jmp_buf.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/lldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/locale_t.h (new) | 22 + .../llvm-project/libc/hdr/types/mbstate_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/mode_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/nfds_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/off_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/pid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/sigset_t.h (new) | 21 + contrib/llvm-project/libc/hdr/types/size_t.h (new) | 23 + .../llvm-project/libc/hdr/types/socklen_t.h (new) | 21 + .../llvm-project/libc/hdr/types/ssize_t.h (new) | 21 + .../llvm-project/libc/hdr/types/stack_t.h (new) | 23 + .../libc/hdr/types/struct_dl_phdr_info.h (new) | 21 + .../libc/hdr/types/struct_epoll_event.h (new) | 21 + .../libc/hdr/types/struct_f_owner_ex.h (new) | 21 + .../libc/hdr/types/struct_flock.h (new) | 21 + .../libc/hdr/types/struct_flock64.h (new) | 21 + .../libc/hdr/types/struct_iovec.h (new) | 21 + .../libc/hdr/types/struct_itimerval.h (new) | 21 + .../libc/hdr/types/struct_msghdr.h (new) | 21 + .../libc/hdr/types/struct_pollfd.h (new) | 23 + .../libc/hdr/types/struct_sigaction.h (new) | 21 + .../libc/hdr/types/struct_sockaddr.h (new) | 21 + .../libc/hdr/types/struct_timespec.h (new) | 21 + .../libc/hdr/types/struct_timeval.h (new) | 21 + .../llvm-project/libc/hdr/types/struct_tm.h (new) | 21 + .../libc/hdr/types/suseconds_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/time_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/uid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/wchar_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/wint_t.h (new) | 23 + .../llvm-project/libc/hdr/uchar_overlay.h (new) | 69 + .../llvm-project/libc/hdr/unistd_macros.h (new) | 22 + .../llvm-project/libc/hdr/unistd_overlay.h (new) | 69 + contrib/llvm-project/libc/hdr/wchar_macros.h (new) | 22 + .../llvm-project/libc/hdr/wchar_overlay.h (new) | 69 + .../libc/include/__llvm-libc-common.h (new) | 98 + .../include/llvm-libc-macros/EFIAPI-macros.h (new) | 18 + .../include/llvm-libc-macros/assert-macros.h (new) | 14 + .../llvm-libc-macros/baremetal/time-macros.h (new) | 26 + .../llvm-libc-macros/complex-macros.h (new) | 24 + .../llvm-libc-macros/containerof-macro.h (new) | 20 + .../include/llvm-libc-macros/dlfcn-macros.h (new) | 23 + .../include/llvm-libc-macros/elf-macros.h (new) | 18 + .../include/llvm-libc-macros/endian-macros.h (new) | 50 + .../llvm-libc-macros/error-number-macros.h (new) | 8 + .../include/llvm-libc-macros/fcntl-macros.h (new) | 8 + .../llvm-libc-macros/features-macros.h (new) | 12 + .../include/llvm-libc-macros/fenv-macros.h (new) | 28 + .../llvm-libc-macros/file-seek-macros.h (new) | 16 + .../include/llvm-libc-macros/float-macros.h (new) | 178 + .../llvm-libc-macros/float16-macros.h (new) | 27 + .../generic-error-number-macros.h (new) | 48 + .../llvm-libc-macros/gpu/signal-macros.h (new) | 28 + .../llvm-libc-macros/gpu/time-macros.h (new) | 17 + .../llvm-libc-macros/inttypes-macros.h (new) | 420 + .../include/llvm-libc-macros/limits-macros.h (new) | 246 + .../include/llvm-libc-macros/link-macros.h (new) | 20 + .../linux/error-number-macros.h (new) | 32 + .../llvm-libc-macros/linux/fcntl-macros.h (new) | 105 + .../llvm-libc-macros/linux/poll-macros.h (new) | 65 + .../llvm-libc-macros/linux/sched-macros.h (new) | 37 + .../llvm-libc-macros/linux/signal-macros.h (new) | 101 + .../linux/sys-epoll-macros.h (new) | 40 + .../linux/sys-ioctl-macros.h (new) | 20 + .../linux/sys-random-macros.h (new) | 17 + .../linux/sys-resource-macros.h (new) | 31 + .../linux/sys-socket-macros.h (new) | 28 + .../llvm-libc-macros/linux/sys-stat-macros.h (new) | 48 + .../llvm-libc-macros/linux/sys-time-macros.h (new) | 53 + .../llvm-libc-macros/linux/sys-wait-macros.h (new) | 27 + .../llvm-libc-macros/linux/termios-macros.h (new) | 167 + .../llvm-libc-macros/linux/time-macros.h (new) | 26 + .../llvm-libc-macros/linux/unistd-macros.h (new) | 57 + .../include/llvm-libc-macros/locale-macros.h (new) | 32 + .../include/llvm-libc-macros/malloc-macros.h (new) | 17 + .../llvm-libc-macros/math-function-macros.h (new) | 37 + .../include/llvm-libc-macros/math-macros.h (new) | 53 + .../include/llvm-libc-macros/null-macro.h (new) | 15 + .../llvm-libc-macros/offsetof-macro.h (new) | 15 + .../include/llvm-libc-macros/poll-macros.h (new) | 16 + .../llvm-libc-macros/pthread-macros.h (new) | 65 + .../include/llvm-libc-macros/sched-macros.h (new) | 16 + .../include/llvm-libc-macros/signal-macros.h (new) | 18 + .../include/llvm-libc-macros/stdbit-macros.h (new) | 316 + .../llvm-libc-macros/stdckdint-macros.h (new) | 27 + .../include/llvm-libc-macros/stdfix-macros.h (new) | 367 + .../include/llvm-libc-macros/stdint-macros.h (new) | 878 + .../include/llvm-libc-macros/stdio-macros.h (new) | 58 + .../include/llvm-libc-macros/stdlib-macros.h (new) | 27 + .../llvm-libc-macros/sys-auxv-macros.h (new) | 43 + .../llvm-libc-macros/sys-epoll-macros.h (new) | 16 + .../llvm-libc-macros/sys-ioctl-macros.h (new) | 16 + .../llvm-libc-macros/sys-mman-macros.h (new) | 48 + .../llvm-libc-macros/sys-queue-macros.h (new) | 262 + .../llvm-libc-macros/sys-random-macros.h (new) | 16 + .../llvm-libc-macros/sys-resource-macros.h (new) | 16 + .../llvm-libc-macros/sys-select-macros.h (new) | 35 + .../llvm-libc-macros/sys-socket-macros.h (new) | 16 + .../llvm-libc-macros/sys-stat-macros.h (new) | 16 + .../llvm-libc-macros/sys-time-macros.h (new) | 16 + .../llvm-libc-macros/sys-wait-macros.h (new) | 16 + .../llvm-libc-macros/sysexits-macros.h (new) | 29 + .../llvm-libc-macros/termios-macros.h (new) | 16 + .../include/llvm-libc-macros/time-macros.h (new) | 21 + .../include/llvm-libc-macros/unistd-macros.h (new) | 12 + .../include/llvm-libc-macros/wchar-macros.h (new) | 18 + .../windows/time-macros-ext.h (new) | 17 + .../libc/include/llvm-libc-types/ACTION.h (new) | 14 + .../libc/include/llvm-libc-types/DIR.h (new) | 14 + .../llvm-libc-types/EFI_ALLOCATE_TYPE.h (new) | 19 + .../llvm-libc-types/EFI_BOOT_SERVICES.h (new) | 250 + .../include/llvm-libc-types/EFI_CAPSULE.h (new) | 26 + .../EFI_CONFIGURATION_TABLE.h (new) | 19 + .../EFI_DEVICE_PATH_PROTOCOL.h (new) | 23 + .../libc/include/llvm-libc-types/EFI_EVENT.h (new) | 21 + .../libc/include/llvm-libc-types/EFI_GUID.h (new) | 21 + .../include/llvm-libc-types/EFI_HANDLE.h (new) | 14 + .../llvm-libc-types/EFI_INTERFACE_TYPE.h (new) | 16 + .../llvm-libc-types/EFI_LOCATE_SEARCH_TYPE.h (new) | 18 + .../llvm-libc-types/EFI_MEMORY_DESCRIPTOR.h (new) | 43 + .../llvm-libc-types/EFI_MEMORY_TYPE.h (new) | 32 + .../EFI_OPEN_PROTOCOL_INFORMATION_ENTRY.h (new) | 22 + .../llvm-libc-types/EFI_PHYSICAL_ADDRESS.h (new) | 16 + .../llvm-libc-types/EFI_RUNTIME_SERVICES.h (new) | 137 + .../EFI_SIMPLE_TEXT_INPUT_PROTOCOL.h (new) | 39 + .../EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h (new) | 64 + .../include/llvm-libc-types/EFI_STATUS.h (new) | 60 + .../llvm-libc-types/EFI_SYSTEM_TABLE.h (new) | 65 + .../llvm-libc-types/EFI_TABLE_HEADER.h (new) | 22 + .../libc/include/llvm-libc-types/EFI_TIME.h (new) | 37 + .../llvm-libc-types/EFI_TIMER_DELAY.h (new) | 18 + .../libc/include/llvm-libc-types/EFI_TPL.h (new) | 21 + .../llvm-libc-types/EFI_VIRTUAL_ADDRESS.h (new) | 16 + .../libc/include/llvm-libc-types/ENTRY.h (new) | 17 + .../libc/include/llvm-libc-types/FILE.h (new) | 14 + .../libc/include/llvm-libc-types/VISIT.h (new) | 14 + .../llvm-libc-types/__atexithandler_t.h (new) | 14 + .../llvm-libc-types/__atfork_callback_t.h (new) | 14 + .../llvm-libc-types/__call_once_func_t.h (new) | 14 + .../__dl_iterate_phdr_callback_t.h (new) | 19 + .../include/llvm-libc-types/__exec_argv_t.h (new) | 14 + .../include/llvm-libc-types/__exec_envp_t.h (new) | 14 + .../include/llvm-libc-types/__futex_word.h (new) | 20 + .../include/llvm-libc-types/__getoptargv_t.h (new) | 14 + .../include/llvm-libc-types/__mutex_type.h (new) | 29 + .../llvm-libc-types/__pthread_once_func_t.h (new) | 14 + .../llvm-libc-types/__pthread_start_t.h (new) | 14 + .../llvm-libc-types/__pthread_tss_dtor_t.h (new) | 14 + .../llvm-libc-types/__qsortcompare_t.h (new) | 14 + .../llvm-libc-types/__qsortrcompare_t.h (new) | 14 + .../llvm-libc-types/__search_compare_t.h (new) | 14 + .../include/llvm-libc-types/__thread_type.h (new) | 16 + .../libc/include/llvm-libc-types/blkcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/blksize_t.h (new) | 14 + .../libc/include/llvm-libc-types/cc_t.h (new) | 14 + .../libc/include/llvm-libc-types/cfloat128.h (new) | 44 + .../libc/include/llvm-libc-types/cfloat16.h (new) | 21 + .../libc/include/llvm-libc-types/char16_t.h (new) | 17 + .../libc/include/llvm-libc-types/char32_t.h (new) | 17 + .../libc/include/llvm-libc-types/char8_t.h (new) | 16 + .../libc/include/llvm-libc-types/clock_t.h (new) | 14 + .../libc/include/llvm-libc-types/clockid_t.h (new) | 14 + .../libc/include/llvm-libc-types/cnd_t.h (new) | 20 + .../llvm-libc-types/cookie_io_functions_t.h (new) | 28 + .../libc/include/llvm-libc-types/cpu_set_t.h (new) | 21 + .../libc/include/llvm-libc-types/dev_t.h (new) | 14 + .../libc/include/llvm-libc-types/div_t.h (new) | 17 + .../libc/include/llvm-libc-types/double_t.h (new) | 24 + .../libc/include/llvm-libc-types/fd_set.h (new) | 18 + .../libc/include/llvm-libc-types/fenv_t.h (new) | 36 + .../libc/include/llvm-libc-types/fexcept_t.h (new) | 18 + .../libc/include/llvm-libc-types/float128.h (new) | 36 + .../libc/include/llvm-libc-types/float_t.h (new) | 24 + .../include/llvm-libc-types/fsblkcnt_t.h (new) | 14 + .../include/llvm-libc-types/fsfilcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/gid_t.h (new) | 14 + .../libc/include/llvm-libc-types/imaxdiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/ino_t.h (new) | 14 + .../libc/include/llvm-libc-types/jmp_buf.h (new) | 84 + .../libc/include/llvm-libc-types/ldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/lldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/locale_t.h (new) | 22 + .../libc/include/llvm-libc-types/mbstate_t.h (new) | 20 + .../libc/include/llvm-libc-types/mode_t.h (new) | 14 + .../libc/include/llvm-libc-types/mtx_t.h (new) | 16 + .../libc/include/llvm-libc-types/nfds_t.h (new) | 14 + .../libc/include/llvm-libc-types/nlink_t.h (new) | 14 + .../libc/include/llvm-libc-types/off64_t.h (new) | 14 + .../libc/include/llvm-libc-types/off_t.h (new) | 14 + .../libc/include/llvm-libc-types/once_flag.h (new) | 20 + .../libc/include/llvm-libc-types/pid_t.h (new) | 14 + .../posix_spawn_file_actions_t.h (new) | 17 + .../llvm-libc-types/posix_spawnattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_attr_t.h (new) | 21 + .../llvm-libc-types/pthread_condattr_t.h (new) | 18 + .../include/llvm-libc-types/pthread_key_t.h (new) | 14 + .../llvm-libc-types/pthread_mutex_t.h (new) | 16 + .../llvm-libc-types/pthread_mutexattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_once_t.h (new) | 20 + .../llvm-libc-types/pthread_rwlock_t.h (new) | 26 + .../llvm-libc-types/pthread_rwlockattr_t.h (new) | 16 + .../llvm-libc-types/pthread_spinlock_t.h (new) | 17 + .../libc/include/llvm-libc-types/pthread_t.h (new) | 16 + .../libc/include/llvm-libc-types/rlim_t.h (new) | 14 + .../include/llvm-libc-types/sa_family_t.h (new) | 19 + .../include/llvm-libc-types/sig_atomic_t.h (new) | 14 + .../include/llvm-libc-types/sighandler_t.h (new) | 17 + .../libc/include/llvm-libc-types/siginfo_t.h (new) | 109 + .../libc/include/llvm-libc-types/sigset_t.h (new) | 20 + .../libc/include/llvm-libc-types/size_t.h (new) | 14 + .../libc/include/llvm-libc-types/socklen_t.h (new) | 18 + .../libc/include/llvm-libc-types/speed_t.h (new) | 14 + .../libc/include/llvm-libc-types/ssize_t.h (new) | 14 + .../libc/include/llvm-libc-types/stack_t.h (new) | 22 + .../include/llvm-libc-types/stdfix-types.h (new) | 25 + .../include/llvm-libc-types/struct_dirent.h (new) | 29 + .../llvm-libc-types/struct_dl_phdr_info.h (new) | 30 + .../llvm-libc-types/struct_epoll_data.h (new) | 21 + .../llvm-libc-types/struct_epoll_event.h (new) | 23 + .../llvm-libc-types/struct_f_owner_ex.h (new) | 25 + .../include/llvm-libc-types/struct_flock.h (new) | 25 + .../include/llvm-libc-types/struct_flock64.h (new) | 25 + .../llvm-libc-types/struct_hsearch_data.h (new) | 17 + .../include/llvm-libc-types/struct_iovec.h (new) | 19 + .../llvm-libc-types/struct_itimerval.h (new) | 19 + .../include/llvm-libc-types/struct_lconv.h (new) | 39 + .../include/llvm-libc-types/struct_msghdr.h (new) | 26 + .../include/llvm-libc-types/struct_pollfd.h (new) | 18 + .../include/llvm-libc-types/struct_rlimit.h (new) | 19 + .../include/llvm-libc-types/struct_rusage.h (new) | 37 + .../llvm-libc-types/struct_sched_param.h (new) | 21 + .../llvm-libc-types/struct_sigaction.h (new) | 28 + .../llvm-libc-types/struct_sockaddr.h (new) | 21 + .../llvm-libc-types/struct_sockaddr_un.h (new) | 22 + .../include/llvm-libc-types/struct_stat.h (new) | 39 + .../include/llvm-libc-types/struct_statvfs.h (new) | 29 + .../include/llvm-libc-types/struct_termios.h (new) | 32 + .../llvm-libc-types/struct_timespec.h (new) | 20 + .../include/llvm-libc-types/struct_timeval.h (new) | 20 + .../libc/include/llvm-libc-types/struct_tm.h (new) | 25 + .../include/llvm-libc-types/struct_utsname.h (new) | 34 + .../include/llvm-libc-types/suseconds_t.h (new) | 19 + .../libc/include/llvm-libc-types/tcflag_t.h (new) | 14 + .../llvm-libc-types/test_rpc_opcodes_t.h (new) | 21 + .../include/llvm-libc-types/thrd_start_t.h (new) | 14 + .../libc/include/llvm-libc-types/thrd_t.h (new) | 16 + .../libc/include/llvm-libc-types/time_t.h (new) | 18 + .../libc/include/llvm-libc-types/time_t_32.h (new) | 14 + .../libc/include/llvm-libc-types/time_t_64.h (new) | 14 + .../include/llvm-libc-types/tss_dtor_t.h (new) | 14 + .../libc/include/llvm-libc-types/tss_t.h (new) | 14 + .../libc/include/llvm-libc-types/uid_t.h (new) | 14 + .../include/llvm-libc-types/union_sigval.h (new) | 17 + .../libc/include/llvm-libc-types/wchar_t.h (new) | 19 + .../libc/include/llvm-libc-types/wint_t.h (new) | 14 + .../llvm-project/libc/include/sys/queue.h (new) | 14 + .../libc/src/__support/CPP/README.md (new) | 13 + .../libc/src/__support/CPP/algorithm.h (new) | 49 + .../libc/src/__support/CPP/array.h (new) | 80 + .../libc/src/__support/CPP/atomic.h (new) | 430 + .../libc/src/__support/CPP/bit.h (new) | 298 + .../libc/src/__support/CPP/bitset.h (new) | 94 + .../libc/src/__support/CPP/cstddef.h (new) | 74 + .../libc/src/__support/CPP/expected.h (new) | 60 + .../libc/src/__support/CPP/functional.h (new) | 71 + .../libc/src/__support/CPP/iterator.h (new) | 99 + .../libc/src/__support/CPP/limits.h (new) | 92 + .../libc/src/__support/CPP/mutex.h (new) | 51 + .../libc/src/__support/CPP/new.cpp (new) | 44 + .../libc/src/__support/CPP/new.h (new) | 130 + .../libc/src/__support/CPP/optional.h (new) | 139 + .../libc/src/__support/CPP/span.h (new) | 131 + .../libc/src/__support/CPP/string.h (new) | 234 + .../libc/src/__support/CPP/string_view.h (new) | 222 + .../libc/src/__support/CPP/stringstream.h (new) | 96 + .../libc/src/__support/CPP/type_traits.h (new) | 70 + .../CPP/type_traits/add_lvalue_reference.h (new) | 33 + .../__support/CPP/type_traits/add_pointer.h (new) | 30 + .../CPP/type_traits/add_rvalue_reference.h (new) | 32 + .../CPP/type_traits/aligned_storage.h (new) | 30 + .../__support/CPP/type_traits/always_false.h (new) | 32 + .../CPP/type_traits/bool_constant.h (new) | 23 + .../__support/CPP/type_traits/conditional.h (new) | 28 + .../src/__support/CPP/type_traits/decay.h (new) | 40 + .../__support/CPP/type_traits/enable_if.h (new) | 26 + .../__support/CPP/type_traits/false_type.h (new) | 23 + .../has_unique_object_representations.h (new) | 30 + .../CPP/type_traits/integral_constant.h (new) | 26 + .../src/__support/CPP/type_traits/invoke.h (new) | 67 + .../CPP/type_traits/invoke_result.h (new) | 29 + .../CPP/type_traits/is_arithmetic.h (new) | 30 + .../src/__support/CPP/type_traits/is_array.h (new) | 31 + .../__support/CPP/type_traits/is_base_of.h (new) | 47 + .../src/__support/CPP/type_traits/is_class.h (new) | 32 + .../__support/CPP/type_traits/is_complex.h (new) | 53 + .../src/__support/CPP/type_traits/is_const.h (new) | 28 + .../CPP/type_traits/is_constant_evaluated.h (new) | 24 + .../CPP/type_traits/is_convertible.h (new) | 48 + .../CPP/type_traits/is_copy_assignable.h (new) | 32 + .../CPP/type_traits/is_copy_constructible.h (new) | 31 + .../CPP/type_traits/is_destructible.h (new) | 68 + .../src/__support/CPP/type_traits/is_enum.h (new) | 26 + .../CPP/type_traits/is_fixed_point.h (new) | 49 + .../CPP/type_traits/is_floating_point.h (new) | 49 + .../__support/CPP/type_traits/is_function.h (new) | 35 + .../__support/CPP/type_traits/is_integral.h (new) | 43 + .../CPP/type_traits/is_lvalue_reference.h (new) | 35 + .../CPP/type_traits/is_member_pointer.h (new) | 33 + .../CPP/type_traits/is_move_assignable.h (new) | 33 + .../CPP/type_traits/is_move_constructible.h (new) | 31 + .../CPP/type_traits/is_null_pointer.h (new) | 29 + .../__support/CPP/type_traits/is_object.h (new) | 33 + .../__support/CPP/type_traits/is_pointer.h (new) | 31 + .../__support/CPP/type_traits/is_reference.h (new) | 34 + .../CPP/type_traits/is_rvalue_reference.h (new) | 35 + .../src/__support/CPP/type_traits/is_same.h (new) | 28 + .../__support/CPP/type_traits/is_scalar.h (new) | 35 + .../__support/CPP/type_traits/is_signed.h (new) | 54 + .../type_traits/is_trivially_constructible.h (new) | 25 + .../CPP/type_traits/is_trivially_copyable.h (new) | 29 + .../type_traits/is_trivially_destructible.h (new) | 37 + .../src/__support/CPP/type_traits/is_union.h (new) | 26 + .../__support/CPP/type_traits/is_unsigned.h (new) | 56 + .../src/__support/CPP/type_traits/is_void.h (new) | 27 + .../__support/CPP/type_traits/make_signed.h (new) | 41 + .../CPP/type_traits/make_unsigned.h (new) | 46 + .../CPP/type_traits/remove_all_extents.h (new) | 41 + .../__support/CPP/type_traits/remove_cv.h (new) | 28 + .../__support/CPP/type_traits/remove_cvref.h (new) | 27 + .../CPP/type_traits/remove_extent.h (new) | 28 + .../CPP/type_traits/remove_reference.h (new) | 27 + .../__support/CPP/type_traits/true_type.h (new) | 23 + .../CPP/type_traits/type_identity.h (new) | 24 + .../src/__support/CPP/type_traits/void_t.h (new) | 29 + .../libc/src/__support/CPP/utility.h (new) | 18 + .../libc/src/__support/CPP/utility/declval.h (new) | 27 + .../libc/src/__support/CPP/utility/forward.h (new) | 35 + .../src/__support/CPP/utility/in_place.h (new) | 39 + .../__support/CPP/utility/integer_sequence.h (new) | 40 + .../libc/src/__support/CPP/utility/move.h (new) | 27 + .../src/__support/FPUtil/BasicOperations.h (new) | 396 + .../FPUtil/DivisionAndRemainderOperations.h (new) | 121 + .../libc/src/__support/FPUtil/FEnvImpl.h (new) | 114 + .../libc/src/__support/FPUtil/FMA.h (new) | 52 + .../libc/src/__support/FPUtil/FPBits.h (new) | 857 + .../libc/src/__support/FPUtil/Hypot.h (new) | 268 + .../__support/FPUtil/ManipulationFunctions.h (new) | 279 + .../FPUtil/NearestIntegerOperations.h (new) | 411 + .../libc/src/__support/FPUtil/NormalFloat.h (new) | 273 + .../libc/src/__support/FPUtil/PolyEval.h (new) | 54 + .../src/__support/FPUtil/aarch64/FEnvImpl.h (new) | 285 + .../FPUtil/aarch64/fenv_darwin_impl.h (new) | 297 + .../FPUtil/aarch64/nearest_integer.h (new) | 38 + .../libc/src/__support/FPUtil/aarch64/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/arm/FEnvImpl.h (new) | 266 + .../libc/src/__support/FPUtil/arm/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/bfloat16.h (new) | 65 + .../libc/src/__support/FPUtil/cast.h (new) | 76 + .../src/__support/FPUtil/double_double.h (new) | 211 + .../libc/src/__support/FPUtil/dyadic_float.h (new) | 714 + .../__support/FPUtil/except_value_utils.h (new) | 145 + .../libc/src/__support/FPUtil/fpbits_str.h (new) | 76 + .../libc/src/__support/FPUtil/generic/FMA.h (new) | 288 + .../libc/src/__support/FPUtil/generic/FMod.h (new) | 296 + .../src/__support/FPUtil/generic/README.md (new) | 28 + .../src/__support/FPUtil/generic/add_sub.h (new) | 209 + .../libc/src/__support/FPUtil/generic/div.h (new) | 126 + .../libc/src/__support/FPUtil/generic/mul.h (new) | 105 + .../libc/src/__support/FPUtil/generic/sqrt.h (new) | 171 + .../FPUtil/generic/sqrt_80_bit_long_double.h (new) | 141 + .../libc/src/__support/FPUtil/multiply_add.h (new) | 74 + .../src/__support/FPUtil/nearest_integer.h (new) | 79 + .../src/__support/FPUtil/riscv/FEnvImpl.h (new) | 181 + .../libc/src/__support/FPUtil/riscv/sqrt.h (new) | 45 + .../src/__support/FPUtil/rounding_mode.h (new) | 81 + .../libc/src/__support/FPUtil/sqrt.h (new) | 65 + .../src/__support/FPUtil/triple_double.h (new) | 26 + .../src/__support/FPUtil/x86_64/FEnvImpl.h (new) | 651 + .../FPUtil/x86_64/NextAfterLongDouble.h (new) | 125 + .../FPUtil/x86_64/NextUpDownLongDouble.h (new) | 63 + .../FPUtil/x86_64/nearest_integer.h (new) | 46 + .../libc/src/__support/FPUtil/x86_64/sqrt.h (new) | 54 + .../libc/src/__support/File/dir.cpp (new) | 65 + .../libc/src/__support/File/dir.h (new) | 79 + .../libc/src/__support/File/file.cpp (new) | 477 + .../libc/src/__support/File/file.h (new) | 324 + .../libc/src/__support/File/linux/dir.cpp (new) | 60 + .../libc/src/__support/File/linux/file.cpp (new) | 185 + .../libc/src/__support/File/linux/file.h (new) | 37 + .../src/__support/File/linux/lseekImpl.h (new) | 51 + .../libc/src/__support/File/linux/stderr.cpp (new) | 25 + .../libc/src/__support/File/linux/stdin.cpp (new) | 26 + .../libc/src/__support/File/linux/stdout.cpp (new) | 26 + .../libc/src/__support/GPU/allocator.cpp (new) | 605 + .../libc/src/__support/GPU/allocator.h (new) | 26 + .../libc/src/__support/GPU/utils.h (new) | 138 + .../libc/src/__support/HashTable/bitmask.h (new) | 93 + .../HashTable/generic/bitmask_impl.inc (new) | 124 + .../src/__support/HashTable/randomness.h (new) | 61 + .../HashTable/sse2/bitmask_impl.inc (new) | 52 + .../libc/src/__support/HashTable/table.h (new) | 356 + .../src/__support/OSUtil/baremetal/exit.cpp (new) | 21 + .../src/__support/OSUtil/baremetal/io.cpp (new) | 70 + .../libc/src/__support/OSUtil/baremetal/io.h (new) | 25 + .../OSUtil/darwin/aarch64/syscall.h (new) | 113 + .../libc/src/__support/OSUtil/darwin/io.h (new) | 26 + .../src/__support/OSUtil/darwin/syscall.h (new) | 33 + .../libc/src/__support/OSUtil/exit.h (new) | 22 + .../libc/src/__support/OSUtil/fcntl.h (new) | 27 + .../libc/src/__support/OSUtil/fuchsia/io.h (new) | 34 + .../libc/src/__support/OSUtil/gpu/exit.cpp (new) | 33 + .../libc/src/__support/OSUtil/gpu/io.cpp (new) | 24 + .../libc/src/__support/OSUtil/gpu/io.h (new) | 22 + .../libc/src/__support/OSUtil/io.h (new) | 31 + .../__support/OSUtil/linux/aarch64/syscall.h (new) | 111 + .../__support/OSUtil/linux/aarch64/vdso.h (new) | 37 + .../src/__support/OSUtil/linux/arm/syscall.h (new) | 129 + .../src/__support/OSUtil/linux/arm/vdso.h (new) | 37 + .../libc/src/__support/OSUtil/linux/exit.cpp (new) | 31 + .../src/__support/OSUtil/linux/fcntl.cpp (new) | 142 + .../src/__support/OSUtil/linux/getrandom.h (new) | 35 + .../__support/OSUtil/linux/i386/syscall.h (new) | 88 + .../src/__support/OSUtil/linux/i386/vdso.h (new) | 0 .../libc/src/__support/OSUtil/linux/io.h (new) | 27 + .../__support/OSUtil/linux/riscv/syscall.h (new) | 111 + .../src/__support/OSUtil/linux/riscv/vdso.h (new) | 43 + .../src/__support/OSUtil/linux/syscall.h (new) | 39 + .../libc/src/__support/OSUtil/linux/vdso.cpp (new) | 239 + .../libc/src/__support/OSUtil/linux/vdso.h (new) | 81 + .../src/__support/OSUtil/linux/vdso_sym.h (new) | 70 + .../__support/OSUtil/linux/x86_64/syscall.h (new) | 99 + .../src/__support/OSUtil/linux/x86_64/vdso.h (new) | 43 + .../libc/src/__support/OSUtil/syscall.h (new) | 18 + .../libc/src/__support/OSUtil/uefi/error.h (new) | 104 + .../libc/src/__support/OSUtil/uefi/exit.cpp (new) | 24 + .../libc/src/__support/OSUtil/uefi/io.cpp (new) | 41 + .../libc/src/__support/OSUtil/uefi/io.h (new) | 25 + .../src/__support/OSUtil/windows/exit.cpp (new) | 23 + .../libc/src/__support/OSUtil/windows/io.cpp (new) | 25 + .../libc/src/__support/OSUtil/windows/io.h (new) | 21 + .../libc/src/__support/RPC/rpc_client.cpp (new) | 22 + .../libc/src/__support/RPC/rpc_client.h (new) | 37 + .../libc/src/__support/RPC/rpc_server.h (new) | 551 + .../__support/StringUtil/error_to_string.cpp (new) | 85 + .../__support/StringUtil/error_to_string.h (new) | 27 + .../__support/StringUtil/message_mapper.h (new) | 104 + .../__support/StringUtil/platform_errors.h (new) | 18 + .../__support/StringUtil/platform_signals.h (new) | 18 + .../StringUtil/signal_to_string.cpp (new) | 81 + .../__support/StringUtil/signal_to_string.h (new) | 25 + .../tables/linux_extension_errors.h (new) | 130 + .../tables/linux_extension_signals.h (new) | 34 + .../tables/linux_platform_errors.h (new) | 27 + .../tables/linux_platform_signals.h (new) | 24 + .../tables/minimal_platform_errors.h (new) | 23 + .../tables/minimal_platform_signals.h (new) | 21 + .../StringUtil/tables/posix_errors.h (new) | 178 + .../StringUtil/tables/posix_signals.h (new) | 47 + .../StringUtil/tables/signal_table.h (new) | 42 + .../StringUtil/tables/stdc_errors.h (new) | 34 + .../StringUtil/tables/stdc_signals.h (new) | 30 + .../libc/src/__support/arg_list.h (new) | 140 + .../libc/src/__support/big_int.h (new) | 1391 + .../llvm-project/libc/src/__support/block.h (new) | 482 + .../libc/src/__support/blockstore.h (new) | 262 + .../libc/src/__support/c_string.h (new) | 37 + .../libc/src/__support/char_vector.h (new) | 81 + .../llvm-project/libc/src/__support/common.h (new) | 92 + .../libc/src/__support/complex_basic_ops.h (new) | 36 + .../libc/src/__support/complex_type.h (new) | 73 + .../libc/src/__support/ctype_utils.h (new) | 584 + .../src/__support/detailed_powers_of_ten.h (new) | 740 + .../libc/src/__support/endian_internal.h (new) | 146 + .../libc/src/__support/error_or.h (new) | 40 + .../libc/src/__support/fixed_point/fx_bits.h (new) | 232 + .../libc/src/__support/fixed_point/fx_rep.h (new) | 303 + .../libc/src/__support/fixed_point/sqrt.h (new) | 269 + .../libc/src/__support/fixedvector.h (new) | 127 + .../libc/src/__support/float_to_string.h (new) | 837 + .../libc/src/__support/freelist.cpp (new) | 42 + .../libc/src/__support/freelist.h (new) | 89 + .../libc/src/__support/freelist_heap.cpp (new) | 19 + .../libc/src/__support/freelist_heap.h (new) | 209 + .../libc/src/__support/freestore.h (new) | 114 + .../libc/src/__support/freetrie.cpp (new) | 64 + .../libc/src/__support/freetrie.h (new) | 237 + .../llvm-project/libc/src/__support/hash.h (new) | 164 + .../src/__support/high_precision_decimal.h (new) | 442 + .../libc/src/__support/integer_literals.h (new) | 180 + .../libc/src/__support/integer_operations.h (new) | 33 + .../libc/src/__support/integer_to_string.h (new) | 498 + .../libc/src/__support/intrusive_list.h (new) | 66 + .../libc/src/__support/libc_assert.h (new) | 88 + .../libc/src/__support/libc_errno.h (new) | 108 + .../libc/src/__support/macros/README.md (new) | 1 + .../libc/src/__support/macros/attributes.h (new) | 51 + .../libc/src/__support/macros/config.h (new) | 46 + .../libc/src/__support/macros/null_check.h (new) | 37 + .../libc/src/__support/macros/optimization.h (new) | 76 + .../__support/macros/properties/README.md (new) | 2 + .../macros/properties/architectures.h (new) | 64 + .../__support/macros/properties/compiler.h (new) | 43 + .../macros/properties/complex_types.h (new) | 30 + .../macros/properties/cpu_features.h (new) | 108 + .../src/__support/macros/properties/os.h (new) | 32 + .../src/__support/macros/properties/types.h (new) | 72 + .../libc/src/__support/macros/sanitizer.h (new) | 59 + .../src/__support/math/exp_float_constants.h (new) | 145 + .../libc/src/__support/math/expf.h (new) | 116 + .../libc/src/__support/math/expf16.h (new) | 141 + .../libc/src/__support/math/expf16_utils.h (new) | 89 + .../libc/src/__support/math/frexpf.h (new) | 28 + .../libc/src/__support/math/frexpf128.h (new) | 34 + .../libc/src/__support/math/frexpf16.h (new) | 34 + .../libc/src/__support/math/ldexpf.h (new) | 28 + .../libc/src/__support/math/ldexpf128.h (new) | 34 + .../libc/src/__support/math/ldexpf16.h (new) | 34 + .../libc/src/__support/math_extras.h (new) | 160 + .../libc/src/__support/memory_size.h (new) | 92 + .../libc/src/__support/number_pair.h (new) | 26 + .../libc/src/__support/ryu_constants.h (new) | 4404 + .../__support/ryu_long_double_constants.h (new) | 120478 ++++++++++++++++++ .../llvm-project/libc/src/__support/sign.h (new) | 45 + .../libc/src/__support/str_to_float.h (new) | 1275 + .../libc/src/__support/str_to_integer.h (new) | 168 + .../libc/src/__support/str_to_num_result.h (new) | 48 + .../libc/src/__support/threads/CndVar.h (new) | 55 + .../libc/src/__support/threads/callonce.h (new) | 41 + .../src/__support/threads/fork_callbacks.cpp (new) | 95 + .../src/__support/threads/fork_callbacks.h (new) | 26 + .../libc/src/__support/threads/gpu/mutex.h (new) | 32 + .../libc/src/__support/threads/identifier.h (new) | 50 + .../src/__support/threads/linux/CndVar.cpp (new) | 106 + .../src/__support/threads/linux/callonce.cpp (new) | 40 + .../src/__support/threads/linux/callonce.h (new) | 32 + .../__support/threads/linux/futex_utils.h (new) | 88 + .../src/__support/threads/linux/futex_word.h (new) | 30 + .../libc/src/__support/threads/linux/mutex.h (new) | 90 + .../src/__support/threads/linux/raw_mutex.h (new) | 129 + .../src/__support/threads/linux/rwlock.h (new) | 558 + .../src/__support/threads/linux/thread.cpp (new) | 521 + .../libc/src/__support/threads/mutex.h (new) | 46 + .../src/__support/threads/mutex_common.h (new) | 26 + .../libc/src/__support/threads/sleep.h (new) | 37 + .../libc/src/__support/threads/spin_lock.h (new) | 65 + .../libc/src/__support/threads/thread.cpp (new) | 191 + .../libc/src/__support/threads/thread.h (new) | 257 + .../libc/src/__support/time/clock_gettime.h (new) | 22 + .../src/__support/time/gpu/clock_gettime.cpp (new) | 33 + .../src/__support/time/gpu/time_utils.cpp (new) | 22 + .../libc/src/__support/time/gpu/time_utils.h (new) | 45 + .../src/__support/time/linux/abs_timeout.h (new) | 50 + .../__support/time/linux/clock_conversion.h (new) | 43 + .../__support/time/linux/clock_gettime.cpp (new) | 62 + .../src/__support/time/linux/monotonicity.h (new) | 44 + .../libc/src/__support/time/units.h (new) | 39 + .../__support/time/windows/clock_gettime.cpp (new) | 134 + .../time/windows/performance_counter.h (new) | 35 + .../libc/src/__support/uint128.h (new) | 23 + .../__support/wchar/character_converter.cpp (new) | 174 + .../__support/wchar/character_converter.h (new) | 47 + .../libc/src/__support/wchar/mbrtowc.cpp (new) | 52 + .../libc/src/__support/wchar/mbrtowc.h (new) | 29 + .../libc/src/__support/wchar/mbstate.h (new) | 37 + .../src/__support/wchar/string_converter.h (new) | 110 + .../libc/src/__support/wchar/wcrtomb.cpp (new) | 50 + .../libc/src/__support/wchar/wcrtomb.h (new) | 26 + .../libc/src/__support/wcs_to_integer.h (new) | 155 + .../libc/src/__support/wctype_utils.h (new) | 606 + 611 files changed, 170014 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8f6978f83cc64a2e644d9bdf380a6996d3acdc4b commit 8f6978f83cc64a2e644d9bdf380a6996d3acdc4b Merge: 3f16c588d1d8 e6df1a75c40c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 13:44:39 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:08:57 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 2 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial libc/ top-level directory. PR: 292067 MFC after: 1 month contrib/llvm-project/libc/shared/fp_bits.h (new) | 23 + .../llvm-project/libc/shared/libc_common.h (new) | 26 + contrib/llvm-project/libc/shared/math.h (new) | 23 + contrib/llvm-project/libc/shared/math/expf.h (new) | 23 + .../llvm-project/libc/shared/math/expf16.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf.h (new) | 24 + .../libc/shared/math/frexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf16.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf.h (new) | 23 + .../libc/shared/math/ldexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf16.h (new) | 31 ++ contrib/llvm-project/libc/shared/rpc.h (new) | 603 +++++++++++++++++++++ .../llvm-project/libc/shared/rpc_opcodes.h (new) | 53 ++ .../llvm-project/libc/shared/rpc_server.h (new) | 23 + contrib/llvm-project/libc/shared/rpc_util.h (new) | 276 ++++++++++ .../llvm-project/libc/shared/str_to_float.h (new) | 28 + .../libc/shared/str_to_integer.h (new) | 25 + 17 files changed, 1297 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3f16c588d1d8c46d7025f95003602807d9c1ddb9 commit 3f16c588d1d8c46d7025f95003602807d9c1ddb9 Merge: 700637cbb5e5 da440030e2c6 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-07 19:01:02 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:08:57 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 1 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial third-party/ top-level directory. PR: 292067 MFC after: 1 month .../siphash/include/siphash/SipHash.h (new) | 160 +++++++++++++++++++++ 1 file changed, 160 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a24406d2e0e8eee8db03ed8d1ae7fb482cf912ab commit a24406d2e0e8eee8db03ed8d1ae7fb482cf912ab Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:41 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4003-g55357160d0e1:" This reverts commit fd17362f6225085e60eabed8af7421838100b457, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../llvm-project/libcxx/include/__type_traits/remove_cv.h | 11 +++-------- .../libcxx/include/__type_traits/remove_cvref.h | 15 ++++++++++----- 2 files changed, 13 insertions(+), 13 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1f9c1cd08dba0c46c1e1cea43b3bbea23af4fbaa commit 1f9c1cd08dba0c46c1e1cea43b3bbea23af4fbaa Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:42 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17727-g0eebb48fcfbc:" This reverts commit f12b6acbe1ea1c425c0e21d80097115e4ad33017, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/invoke.h | 3 +-- .../is_member_function_pointer.h (gone) | 31 ---------------------- .../is_member_object_pointer.h (gone) | 31 ---------------------- .../include/__type_traits/is_member_pointer.h | 12 +++++++++ .../llvm-project/libcxx/include/module.modulemap | 2 -- contrib/llvm-project/libcxx/include/type_traits | 2 -- 6 files changed, 13 insertions(+), 68 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=501871ebf9d725ab1c6fb2c4da9bac77f60b37a7 commit 501871ebf9d725ab1c6fb2c4da9bac77f60b37a7 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:42 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17473-g69fecaa1a455:" This reverts commit cab3680acf8e6ea40c686d4f26db4429e26a5331, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__config | 58 ++++++-------------- .../libcxx/include/__tuple/tuple_element.h | 26 --------- .../libcxx/include/__type_traits/is_function.h | 14 +---- .../__type_traits/is_member_function_pointer.h | 31 ----------- .../__type_traits/is_member_object_pointer.h | 15 ------ .../include/__type_traits/is_member_pointer.h | 16 ------ .../__type_traits/is_nothrow_constructible.h | 61 ---------------------- .../libcxx/include/__type_traits/is_object.h | 25 +-------- .../libcxx/include/__type_traits/is_reference.h | 29 ++++------ .../libcxx/include/__type_traits/is_scoped_enum.h | 22 -------- 10 files changed, 31 insertions(+), 266 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6243d755fb82e62d2a3a2e031801e0443150454a commit 6243d755fb82e62d2a3a2e031801e0443150454a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:43 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18063-g561246e90282:" This reverts commit 1d99ada3215dbc28665fe051f9ccf028a2a02ce8, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f8152c67d4272e155460e4b3057b41924df8af1c commit f8152c67d4272e155460e4b3057b41924df8af1c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:42 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17728-g30cc12cd818d:" This reverts commit 198b947ebc6834eade6acc52c5441a38693b8822, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/is_fundamental.h | 2 +- .../libcxx/include/__type_traits/is_null_pointer.h | 12 +++--------- .../llvm-project/libcxx/include/__type_traits/is_scalar.h | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3ac42330b1da72d68cc6d7c3f65e24a882ccfd47 commit 3ac42330b1da72d68cc6d7c3f65e24a882ccfd47 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:41 +0000 Revert "libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83:" This reverts commit 267fa9ab814c23ca97b8b7e1740f4da51485ac72, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/remove_reference.h | 14 +++++++------- contrib/llvm-project/libcxx/include/cwchar | 4 ++++ contrib/llvm-project/libcxx/include/execution | 4 ++++ 3 files changed, 15 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f3b0cac70b80116e691ad1e6daa5110186233206 commit f3b0cac70b80116e691ad1e6daa5110186233206 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:43 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:" This reverts commit 6933315cf57fc3f505431bff7a0075df471d7453, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/is_enum.h | 10 +++++++ .../include/__type_traits/is_scoped_enum.h (gone) | 33 ---------------------- .../llvm-project/libcxx/include/module.modulemap | 1 - contrib/llvm-project/libcxx/include/type_traits | 4 --- 4 files changed, 10 insertions(+), 38 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a843ea3f246f3f137722db556aa07710e6a84b71 commit a843ea3f246f3f137722db556aa07710e6a84b71 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:42 +0000 Revert "libcxx-compat: revert llvmorg-19-init-8667-g472b612ccbed:" This reverts commit f7570f1eb0dc056dfce9d7500157538c670edaf6, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__format/format_arg.h | 1 + contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3b0a0e64bd9f0a65f0dd62dc157597e6d9ecc933 commit 3b0a0e64bd9f0a65f0dd62dc157597e6d9ecc933 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:43 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17853-g578c6191eff7:" This reverts commit 2facc097b9b28a81b925c924f27f09b40f29fd4d, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month .../libcxx/include/__type_traits/is_void.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3f6219840dbea7712554982a3c9f852c1c9664f4 commit 3f6219840dbea7712554982a3c9f852c1c9664f4 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:41 +0000 Revert "libcxx-compat: don't remove headers that were reintroduced by reverts" This reverts commit 2b3703a4f4519e202c3bdf12e7e13d9b5fdbc3f3, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month ObsoleteFiles.inc | 3 +++ 1 file changed, 3 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3ca6facafc4c96fa9d6027b6f3b50b7c3e3a5dbf commit 3ca6facafc4c96fa9d6027b6f3b50b7c3e3a5dbf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:41 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4504-g937a5396cf3e:" This reverts commit a7455c47801ea1e4c4eed10cab2072375f6f92a2, in preparation for merging llvm 21, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month contrib/llvm-project/libcxx/include/__type_traits/is_convertible.h | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5945da0bc9ac42f531b1079a246eb8ce4f0d63db commit 5945da0bc9ac42f531b1079a246eb8ce4f0d63db Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:40 +0000 Revert "libcxx-compat: update libcxx.imp for headers that were reintroduced by reverts" This reverts commit caf0ccccc304e3e7938c9722f1deb0a362fd70d5, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month lib/libc++/libcxx.imp | 3 --- 1 file changed, 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d6d48190ec6a62a20ef603011f215015c1d999fb commit d6d48190ec6a62a20ef603011f215015c1d999fb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 14:07:40 +0000 Revert "libcxx-compat: install headers that were reintroduced by reverts" This reverts commit 8ad38d5eb3985ef778a7d36093878b0b373ccedf, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month lib/libc++/Makefile | 3 --- 1 file changed, 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b6d823e39072daae9df4b47a15ea7142b7a55f1a commit b6d823e39072daae9df4b47a15ea7142b7a55f1a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 15:20:27 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 15:21:28 +0000 Fix up builds on Linux hosts after llvm 21.1.8 merge This is because contrib/llvm-project/llvm/lib/Support/Unix/Threading.inc attempts to use pthread_get_name_np(3) and pthread_set_name_np(3), which are not defined on Linux. Reported by: ivy PR: 292067 MFC after: 1 month lib/clang/include/llvm/Config/config.h | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7f207b6443fe92c31a75b491272a0fad032d39ae commit 7f207b6443fe92c31a75b491272a0fad032d39ae Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 17:06:55 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-04-25 17:06:55 +0000 Revert "Tentative fix for powerpc boot1.chrp linking problem." This reverts base 4822a2cf990048c6eed7822fd34a1aeeb7c39cdf. The change in base aa0bc7cca153f67f8becec8a8fb259ff5fd30fd0 already fixed the original issue, which is that newer versions of lld complain "section '.text' address (0x38000) is smaller than image base (0x10000000); specify --image-base". Reported by: ivy PR: 292067 MFC after: 1 month stand/powerpc/boot1.chrp/Makefile | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d9b272a19d39f71665b529860bfed731bcfd99f5 commit d9b272a19d39f71665b529860bfed731bcfd99f5 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-05-08 17:59:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-08 17:59:54 +0000 Merge commit 871038759afb from llvm git (by Marco Elver): Thread Safety Analysis: Fix pointer handling of variables with deprecated attributes (#148974) de10e44b6fe7 ("Thread Safety Analysis: Support warning on passing/returning pointers to guarded variables") added checks for passing pointer to guarded variables. While new features do not necessarily need to support the deprecated attributes (`guarded_var`, and `pt_guarded_var`), we need to ensure that such features do not cause the compiler to crash. As such, code such as this: struct { int v __attribute__((guarded_var)); } p; int *g() { return &p.v; // handleNoMutexHeld() with POK_ReturnPointer } Would crash in debug builds with the assertion in handleNoMutexHeld() triggering. The assertion is meant to capture the fact that this helper should only be used for warnings on variables (which the deprecated attributes only applied to). To fix, the function handleNoMutexHeld() should handle all POK cases that apply to variables explicitly, and produce a best-effort warning. We refrain from introducing new warnings to avoid unnecessary code bloat for deprecated features. Fixes: https://github.com/llvm/llvm-project/issues/140330 This fixes an assertion while building the net/openvswitch port: "Assertion failed: ((POK == POK_VarAccess || POK == POK_VarDereference) && "Only works for variables"), function handleNoMutexHeld, file /usr/src/contrib/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp, line 2120.' Reported by: cy PR: 295101, 292067 MFC after: 1 month .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 25 +++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7fa638d6f7cf9ee471648a794756cb9d0aa289ba commit 7fa638d6f7cf9ee471648a794756cb9d0aa289ba Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 12:34:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Bump __FreeBSD_version for llvm 21.1.8 merge PR: 292067 MFC after: 1 month (cherry picked from commit 8f95b8b19088bd8d73f6d14dab7afe848dfc0c35) sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4f6254a7d79018c414644c63583c3c7f13271d1d commit 4f6254a7d79018c414644c63583c3c7f13271d1d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 19:54:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 Merge commit 924f773f5e26 from llvm git (by Younan Zhang): [Clang] Don't diagnose missing members when looking at the instantiating class template (#180725) The perfect matching patch revealed another bug where recursive instantiations could lead to the escape of SFINAE errors, as shown in the issue. Fixes https://github.com/llvm/llvm-project/issues/179118 This fixes compile errors in the www/qt5-webengine port. PR: 292067 MFC after: 1 month (cherry picked from commit 3fd796204fe6aa2e8a2b70bb9ea95f7497247fa3) contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=109f2e294efdf0b265cd99098a6ec9098cb34d43 commit 109f2e294efdf0b265cd99098a6ec9098cb34d43 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 21:07:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: fix llvmorg-21-init-12415-g3a86e0bd29f3: [libc++] Optimize std::getline (#121346) ``` ----------------------------------------------- Benchmark old new ----------------------------------------------- BM_getline_string 318 ns 32.4 ns ``` Move the __bump_stream() lamda in <istream> to a separate function, so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month (cherry picked from commit 17f1a5e638f845e171ab4e3db2a07bf8c6ac3388) contrib/llvm-project/libcxx/include/istream | 28 ++++++++++++++------------- contrib/llvm-project/libcxx/include/streambuf | 4 ++++ 2 files changed, 19 insertions(+), 13 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7210aadecc9872675641be32310d10dac7b0fefc commit 7210aadecc9872675641be32310d10dac7b0fefc Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 23:19:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 Fixup mismerge in __cxx03/__type_traits/add_[lr]value_reference.h. PR: 292067 MFC after: 1 month (cherry picked from commit 0f15398d123a9cf02711efddf5e4040f0066c6de) .../libcxx/include/__cxx03/__type_traits/add_lvalue_reference.h | 2 +- .../libcxx/include/__cxx03/__type_traits/add_rvalue_reference.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6961a5999c7a7fea39312a62e569781cb108a8b5 commit 6961a5999c7a7fea39312a62e569781cb108a8b5 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-05-08 17:59:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Merge commit 871038759afb from llvm git (by Marco Elver): Thread Safety Analysis: Fix pointer handling of variables with deprecated attributes (#148974) de10e44b6fe7 ("Thread Safety Analysis: Support warning on passing/returning pointers to guarded variables") added checks for passing pointer to guarded variables. While new features do not necessarily need to support the deprecated attributes (`guarded_var`, and `pt_guarded_var`), we need to ensure that such features do not cause the compiler to crash. As such, code such as this: struct { int v __attribute__((guarded_var)); } p; int *g() { return &p.v; // handleNoMutexHeld() with POK_ReturnPointer } Would crash in debug builds with the assertion in handleNoMutexHeld() triggering. The assertion is meant to capture the fact that this helper should only be used for warnings on variables (which the deprecated attributes only applied to). To fix, the function handleNoMutexHeld() should handle all POK cases that apply to variables explicitly, and produce a best-effort warning. We refrain from introducing new warnings to avoid unnecessary code bloat for deprecated features. Fixes: https://github.com/llvm/llvm-project/issues/140330 This fixes an assertion while building the net/openvswitch port: "Assertion failed: ((POK == POK_VarAccess || POK == POK_VarDereference) && "Only works for variables"), function handleNoMutexHeld, file /usr/src/contrib/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp, line 2120.' Reported by: cy PR: 295101, 292067 MFC after: 1 month (cherry picked from commit d9b272a19d39f71665b529860bfed731bcfd99f5) .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 25 +++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e8349df715c904da9da380a9edf8d3db8c6f7e3f commit e8349df715c904da9da380a9edf8d3db8c6f7e3f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-23 12:39:31 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Add a comment to llvm's OptParser.td, so dependent files get rebuilt. PR: 292067 MFC after: 1 month (cherry picked from commit 3cbf898fb49fe087cdcafe2745cca3f7a20f4388) contrib/llvm-project/llvm/include/llvm/Option/OptParser.td | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bed825b685212cf25e316f0a66d737b783453026 commit bed825b685212cf25e316f0a66d737b783453026 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 15:20:27 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Fix up builds on Linux hosts after llvm 21.1.8 merge This is because contrib/llvm-project/llvm/lib/Support/Unix/Threading.inc attempts to use pthread_get_name_np(3) and pthread_set_name_np(3), which are not defined on Linux. Reported by: ivy PR: 292067 MFC after: 1 month (cherry picked from commit b6d823e39072daae9df4b47a15ea7142b7a55f1a) lib/clang/include/llvm/Config/config.h | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0b4a69f36f8bc84fa358155260c1ff3f0ce041d7 commit 0b4a69f36f8bc84fa358155260c1ff3f0ce041d7 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-12 13:24:01 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Merge commit c1d26c3c2510 from llvm git (by Nikolas Klauser): [libc++] Fix iostream size ABI break (#185839) In #124103 we changed the size of various iostream objects, which turns out to be ABI breaking when compiling non-PIE code. This ABI break is safe to fix, since for any programs allocating more memory for the iostream objects, the remaining bytes are simply unused now. Fixes #185724 This fixes the ABI break that causes programs that use the standard streams to terminate in various interesting ways, usually by throwing an unexpected std::bad_cast exception. PR: 292067 MFC after: 1 month (cherry picked from commit 4fc1fdd206c3db60ca521e3966f31044c7711398) contrib/llvm-project/libcxx/src/iostream.cpp | 93 +++++++++++++++++----------- 1 file changed, 56 insertions(+), 37 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=889fbbc523e52666fc27bec81e2e16a298c223bd commit 889fbbc523e52666fc27bec81e2e16a298c223bd Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-23 14:58:06 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:33 +0000 Merge commit b0d2b57f7e47 from llvm git (by Phoebe Wang): [Headers][X86] Remove more duplicated typedefs (#153820) They are defined in mmintrin.h This fixes a -Werror warning in openzfs, which compiles for C99, and C99 does not allow for typedef redefinitions. PR: 292067 MFC after: 1 month (cherry picked from commit 20450c2e792084f06974cff9d2338e2d0406883f) contrib/llvm-project/clang/lib/Headers/emmintrin.h | 4 ---- contrib/llvm-project/clang/lib/Headers/xmmintrin.h | 1 - 2 files changed, 5 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e335c7f5daab66a47beb60e76121be139bb0cf65 commit e335c7f5daab66a47beb60e76121be139bb0cf65 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-25 18:06:51 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 Merge commit 787ba2426148 from llvm git (by Matheus Izvekov): [clang] create local instantiation scope for matching template template parameters (#183219) This fixes a bug where a partial substitution from the enclosing scope is used to prepopulate an unrelated template argument deduction. Fixes #181166 This fixes an expected error when building the devel/catch port. PR: 292067 MFC after: 1 month (cherry picked from commit 5ac874516b27474ab5b3d195544c72fb04b4b86e) contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e40599641e0e6e6f35cb46e5b2f3e17db10e54ed commit e40599641e0e6e6f35cb46e5b2f3e17db10e54ed Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 15:55:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 Merge llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a, a.k.a. 21.1.8 release. PR: 292067 MFC after: 1 month (cherry picked from commit 7351d001fc7f5a77a18a102e12a3ca2cbfd6988c) .../clang/lib/ExtractAPI/DeclarationFragments.cpp | 5 ++++- .../clang/lib/Format/QualifierAlignmentFixer.cpp | 17 +++++++++++++---- .../clang/lib/Format/UnwrappedLineParser.cpp | 8 ++++---- .../llvm-project/clang/lib/Format/WhitespaceManager.cpp | 5 ++++- .../lib/sanitizer_common/sanitizer_linux.cpp | 12 ++++++++++-- .../sanitizer_common/sanitizer_platform_limits_posix.h | 2 +- contrib/llvm-project/libcxx/include/__config | 2 +- .../llvm-project/llvm/lib/CodeGen/SelectOptimize.cpp | 2 +- .../Target/WebAssembly/WebAssemblyExplicitLocals.cpp | 14 ++++++++++++++ .../lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 4 ++++ .../Transforms/Instrumentation/RealtimeSanitizer.cpp | 3 +++ lib/clang/include/VCSVersion.inc | 6 +++--- lib/clang/include/clang/Basic/Version.inc | 6 +++--- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +++--- lib/clang/include/llvm/Config/config.h | 4 ++-- lib/clang/include/llvm/Config/llvm-config.h | 4 ++-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 18 files changed, 74 insertions(+), 30 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b53c3c1fb48cea2c45314f2449937e898c1258c1 commit b53c3c1fb48cea2c45314f2449937e898c1258c1 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 20:42:18 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 Merge commit d803c61aca0d from llvm git (by Corentin Jabot): [Clang] Fix a regression introduced by #147046 (#150893) Static functions have an implicit object argument during deduction. This fixes an assertion while compiling the devel/corrade port. PR: 292067 MFC after: 1 month (cherry picked from commit 1dfe63e4f75fa2a8c94aaf4aefaf48d164bc90db) contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6960284840f8178cb86e359da3b2d4cbe1581b23 commit 6960284840f8178cb86e359da3b2d4cbe1581b23 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:32:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 llvm-libc-macros: work around gcc defining LDBL_MANT_DIG as 53 on i386 Otherwise, gcc will not be able to compile parts of libc++ 21 in -m32 mode, resulting in errors similar to: In file included from /usr/src/contrib/llvm-project/libc/shared/str_to_float.h:13, from /usr/src/contrib/llvm-project/libcxx/src/include/from_chars_floating_point.h:14, from /usr/src/contrib/llvm-project/libcxx/src/charconv.cpp:12: /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h: In function 'void __llvm_libc::internal::set_implicit_bit(__llvm_libc::fputil::FPBits<T>&) [with T = long double]': /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h:77:10: error: 'struct __llvm_libc::fputil::FPBits<long double>' has no member named 'set_implicit_bit' 77 | result.set_implicit_bit(result.get_biased_exponent() != 0); | ^~~~~~~~~~~~~~~~ PR: 292067 MFC after: 1 month (cherry picked from commit 718e5874be0306ea302fd2b8e1d97fc79682abbe) contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a39d06620d7afb66f3263d1c4b487402426e81f7 commit a39d06620d7afb66f3263d1c4b487402426e81f7 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: revert llvmorg-21-init-15984-g650b451d0065: [libc++] Simplify the implementation of pointer_traits a bit (#142260) This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit bb6713d38cc0d988378394f599d81d3a83dbaf03) .../libcxx/include/__memory/pointer_traits.h | 116 +++++++++++++++------ 1 file changed, 83 insertions(+), 33 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ad43dd6b3ed34efebdbf45747a0cd61662b208d6 commit ad43dd6b3ed34efebdbf45747a0cd61662b208d6 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:54:32 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83: [libc++] Simplify the implementation of remove_reference (#85207) GCC 13 introduced the type trait `__remove_reference`. We can simplify the implementation of `remove_reference` a bit by using it. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit a114ece3e6158f49088b0704b4afef07040d83f3) .../llvm-project/libcxx/include/__type_traits/remove_reference.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=30ad436faeb1fa8f08a948491f9b8102f92bd6a7 commit 30ad436faeb1fa8f08a948491f9b8102f92bd6a7 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 14:34:48 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 Remove usr/include/c++/v1/__fwd/get.h from ObsoleteFiles.inc. PR: 292067 MFC after: 1 month (cherry picked from commit b99d02027a0fe2e9f9a4aeb6fa3484847ddc5a57) ObsoleteFiles.inc | 1 - 1 file changed, 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6cfe00b44e4e3f80f532fd6824625d29c24e5473 commit 6cfe00b44e4e3f80f532fd6824625d29c24e5473 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 14:45:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 Merge commit 598f21e9fcf7 from llvm git (by zhijian lin): [PowerPC] need to set CallFrameSize for the pass PPCReduceCRLogicals when insert a new block (#151017) In the [ [CodeGen] Store call frame size in MachineBasicBlock](https://reviews.llvm.org/D156113), it mentions When a basic block has been split in the middle of a call sequence. the call frame size may not be zero, it need to set the setCallFrameSize for the new MachineBasicBlock. but in the function `splitMBB(BlockSplitInfo &BSI)` in the llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp , it do not setCallFrameSzie for the new MachineBasicBlock `NewMBB`, we will setCallFrameSzie in the patch. the patch fix the crash mention in https://github.com/llvm/llvm-project/pull/144594#issuecomment-2993736654 This fixes "error in backend: Found 1 machine code errors" while crypto/openssh/packet.c for PowerPC64. PR: 292067 MFC after: 1 month (cherry picked from commit 48c35ae6ebfc6d9a2259979d915fd3bc5d6c01db) contrib/llvm-project/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0746511e09a889187b5ce46fdb4eadc48dd782d3 commit 0746511e09a889187b5ce46fdb4eadc48dd782d3 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: revert llvmorg-21-init-9130-g9e3982d9ae81: [libc++] Replace __libcpp_{ctz, clz} with __builtin_{ctzg, clzg} (#133920) `__libcpp_{ctz, clz}` were previously used as fallbacks for `__builtin_{ctzg, clzg}` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_{ctzg, clzg}` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_{ctz, clz}` with `__count{l,r}_zero` (which internally call `__builtin_{ctzg, clzg}` and eliminate the fallback logic. Closes #131179. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 821fc643b3cad922e5438760eed9cad0d6d9b3b0) contrib/llvm-project/libcxx/include/__bit/countl.h | 28 ++++++++++++++++++ contrib/llvm-project/libcxx/include/__bit/countr.h | 33 ++++++++++++++++++++++ 2 files changed, 61 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=030fd7fb65c38d889f1dd6f81cb2971de5a09e5d commit 030fd7fb65c38d889f1dd6f81cb2971de5a09e5d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:25:42 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 libcxx-compat: revert llvmorg-21-init-17684-gae9990ed9651: [libc++] Remove dead code from <type_traits> (#143854) Since we've upgraded to GCC 15 now, we can remove a bunch of dead code from `<type_traits>`. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month (cherry picked from commit f7bcd8d8c9336b97569265e5ad36b73b30357beb) .../libcxx/include/__type_traits/add_pointer.h | 14 +----- .../libcxx/include/__type_traits/add_reference.h | 55 ++++++++++++++++------ .../libcxx/include/__type_traits/decay.h | 44 ++++++++++++++--- .../has_unique_object_representation.h | 8 +++- .../libcxx/include/__type_traits/is_array.h | 24 +++++++++- .../libcxx/include/__type_traits/is_const.h | 20 +++++++- .../libcxx/include/__type_traits/is_pointer.h | 33 +++++++++++++ .../libcxx/include/__type_traits/is_volatile.h | 20 +++++++- .../include/__type_traits/remove_all_extents.h | 21 +++++++-- .../libcxx/include/__type_traits/remove_extent.h | 21 +++++++-- 10 files changed, 213 insertions(+), 47 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2be99a578ea341a95af49320fb46a9f00fff7969 commit 2be99a578ea341a95af49320fb46a9f00fff7969 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:31:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267: [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386) Clang treats throwing/catching ObjC types differently from C++ types, and omitting the `throw` in `std::make_exception_ptr` breaks ObjC invariants about how types are thrown/caught. Fixes #135089 Co-authored-by: Louis Dionne <ldionne.2@gmail.com> Only use lambdas when in !defined(_LIBCPP_CXX03_LANG), so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month (cherry picked from commit 987ac31018cba9f1763ad3acfb68b933f58a4c52) contrib/llvm-project/libcxx/include/__exception/exception_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=01a0248838987ce6a62f4e59d634ed1c61b4ece8 commit 01a0248838987ce6a62f4e59d634ed1c61b4ece8 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:14:13 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: revert llvmorg-21-init-8400-g703cfe745b96: [libc++] Replace __libcpp_popcount by __builtin_popcountg (#133937) `__libcpp_popcount` was previously used as a fallback for `__builtin_popcountg` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_popcountg` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_popcount` with `__builtin_popcountg` and eliminate the fallback logic. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 5465db314a03c11b15e00f22be1609027dfc152c) .../llvm-project/libcxx/include/__bit/popcount.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fe97aeb6c4fb57f9cd3ae834e66d85bcb36b91ee commit fe97aeb6c4fb57f9cd3ae834e66d85bcb36b91ee Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 09:38:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:30 +0000 Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge Fix various configuration fails, update generated headers, Makefiles, etc. PR: 292067 MFC after: 1 month (cherry picked from commit 770cf0a5f02dc8983a89c6568d741fbc25baa999) ObsoleteFiles.inc | 418 ++++ .../llvm-project/libcxx/include/__cxx03/__config | 3 +- .../Clang/ClangExpressionParser.cpp | 2 + etc/mtree/BSD.debug.dist | 2 +- etc/mtree/BSD.include.dist | 78 + etc/mtree/BSD.usr.dist | 2 +- lib/clang/clang.build.mk | 1 - lib/clang/headers/Makefile | 44 +- lib/clang/include/Plugins/Plugins.def | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 13 +- lib/clang/include/clang/Config/config.h | 1 - lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/API/SBLanguages.h | 4 + lib/clang/include/lldb/Host/Config.h | 6 +- lib/clang/include/lldb/Version/Version.inc | 10 +- lib/clang/include/llvm/Config/Targets.h (new) | 118 + lib/clang/include/llvm/Config/config.h | 69 +- lib/clang/include/llvm/Config/llvm-config.h | 128 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/clang/libclang/Makefile | 243 +- lib/clang/liblldb/LLDBWrapLua.cpp | 2388 +++++++++++++++---- lib/clang/liblldb/Makefile | 71 +- lib/clang/libllvm/Makefile | 251 +- lib/clang/libllvmminimal/Makefile | 12 +- lib/libc++/Makefile | 940 +++++++- lib/libc++/__assertion_handler | 24 +- lib/libc++/__config_site | 34 +- lib/libc++/libcxx.imp | 110 +- lib/libc++/module.modulemap (new) | 2465 ++++++++++++++++++++ lib/libclang_rt/compiler-rt-vars.mk | 2 +- tools/build/mk/OptionalObsoleteFiles.inc | 874 +++---- usr.bin/clang/clang-tblgen/Makefile | 1 + usr.bin/clang/lld/Makefile | 2 + usr.bin/clang/lldb-server/Makefile | 1 - usr.bin/clang/llvm-min-tblgen/Makefile | 5 +- usr.bin/clang/llvm-tblgen/Makefile | 22 +- 37 files changed, 7067 insertions(+), 1289 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c76ec29427955975909939e41052e19d000cf008 commit c76ec29427955975909939e41052e19d000cf008 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-07 19:01:02 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:30 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 1 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial third-party/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit 3f16c588d1d8c46d7025f95003602807d9c1ddb9) .../siphash/include/siphash/SipHash.h (new) | 160 +++++++++++++++++++++ 1 file changed, 160 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cf7d88e89f1dcc1b66c3e8f327e16122d42d6a6c commit cf7d88e89f1dcc1b66c3e8f327e16122d42d6a6c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-27 23:23:22 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 Merge llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2, a.k.a. 21.1.7 release. PR: 292067 MFC after: 1 month (cherry picked from commit e64bea71c21eb42e97aa615188ba91f6cce0d36d) ObsoleteFiles.inc | 25 + contrib/llvm-project/FREEBSD-Xlist | 304 ++++++- contrib/llvm-project/clang/include/clang-c/Index.h | 15 + .../llvm-project/clang/include/clang/AST/APValue.h | 2 +- .../clang/include/clang/AST/ASTContext.h | 3 +- .../clang/include/clang/Basic/AttrDocs.td | 6 +- .../include/clang/Basic/DiagnosticASTKinds.td | 8 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../clang/Basic/DiagnosticSerializationKinds.td | 4 + .../clang/include/clang/Basic/Features.def | 9 +- .../clang/include/clang/Basic/LangOptions.def | 4 + .../clang/include/clang/Basic/PointerAuthOptions.h | 16 + .../clang/include/clang/Basic/riscv_vector.td | 935 ++------------------ .../clang/include/clang/Driver/Options.td | 23 +- .../clang/include/clang/Format/Format.h | 14 +- .../llvm-project/clang/include/clang/Lex/Lexer.h | 3 - .../clang/Lex/NoTrivialPPDirectiveTracer.h (new) | 310 +++++++ .../clang/include/clang/Lex/Preprocessor.h | 12 + .../llvm-project/clang/include/clang/Lex/Token.h | 17 +- .../clang/include/clang/Sema/Overload.h | 11 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 +- contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../clang/lib/AST/ASTStructuralEquivalence.cpp | 72 +- contrib/llvm-project/clang/lib/AST/DeclCXX.cpp | 7 + .../llvm-project/clang/lib/AST/ExprConstant.cpp | 41 +- contrib/llvm-project/clang/lib/AST/Type.cpp | 20 + .../clang/lib/Analysis/ThreadSafety.cpp | 2 +- contrib/llvm-project/clang/lib/Basic/Targets.cpp | 3 + .../clang/lib/Basic/Targets/LoongArch.cpp | 2 + .../llvm-project/clang/lib/Basic/Targets/Mips.h | 6 +- .../clang/lib/Basic/Targets/OSTargets.h | 4 + contrib/llvm-project/clang/lib/Basic/Targets/X86.h | 2 + contrib/llvm-project/clang/lib/CodeGen/Address.h | 5 + .../llvm-project/clang/lib/CodeGen/CGBlocks.cpp | 99 ++- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 26 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 6 + .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 14 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../llvm-project/clang/lib/CodeGen/CGExprCXX.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp | 11 +- .../clang/lib/CodeGen/CodeGenFunction.h | 5 +- .../llvm-project/clang/lib/CodeGen/EHScopeStack.h | 2 +- .../clang/lib/CodeGen/TargetBuiltins/RISCV.cpp | 949 ++++++++++++++++++++- .../llvm-project/clang/lib/CodeGen/TargetInfo.cpp | 2 + .../clang/lib/CodeGen/Targets/Sparc.cpp | 125 ++- .../llvm-project/clang/lib/Driver/ToolChain.cpp | 29 +- .../clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 + .../clang/lib/Driver/ToolChains/Arch/AArch64.h | 1 + .../clang/lib/Driver/ToolChains/Arch/Sparc.cpp | 31 +- .../clang/lib/Driver/ToolChains/Arch/Sparc.h | 3 +- .../clang/lib/Driver/ToolChains/BareMetal.cpp | 24 +- .../clang/lib/Driver/ToolChains/Clang.cpp | 11 - .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 36 +- .../clang/lib/Driver/ToolChains/Darwin.cpp | 38 +- .../clang/lib/Driver/ToolChains/Flang.cpp | 1 + .../clang/lib/Driver/ToolChains/MinGW.cpp | 11 +- .../clang/lib/Driver/ToolChains/OpenBSD.cpp | 2 +- .../clang/lib/Format/ContinuationIndenter.cpp | 13 +- contrib/llvm-project/clang/lib/Format/Format.cpp | 96 ++- .../llvm-project/clang/lib/Format/FormatToken.cpp | 3 +- .../llvm-project/clang/lib/Format/FormatToken.h | 2 +- .../clang/lib/Format/FormatTokenLexer.cpp | 13 +- .../lib/Format/IntegerLiteralSeparatorFixer.cpp | 11 +- .../clang/lib/Format/TokenAnnotator.cpp | 78 +- .../clang/lib/Format/UnwrappedLineParser.cpp | 25 +- .../clang/lib/Frontend/CompilerInvocation.cpp | 16 +- .../clang/lib/Frontend/InitPreprocessor.cpp | 3 + .../clang/lib/Headers/avx10_2_512niintrin.h | 12 +- .../clang/lib/Headers/avx10_2bf16intrin.h | 36 +- .../clang/lib/Headers/avx10_2niintrin.h | 24 +- .../llvm-project/clang/lib/Headers/opencl-c-base.h | 11 +- contrib/llvm-project/clang/lib/Headers/ptrauth.h | 4 +- contrib/llvm-project/clang/lib/Lex/Lexer.cpp | 9 - .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 2 +- .../llvm-project/clang/lib/Lex/Preprocessor.cpp | 40 +- contrib/llvm-project/clang/lib/Parse/ParseExpr.cpp | 3 +- contrib/llvm-project/clang/lib/Parse/Parser.cpp | 8 +- .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 7 +- .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 9 +- .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 4 - contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 9 + .../llvm-project/clang/lib/Sema/SemaDeclAttr.cpp | 13 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 8 +- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 2 + contrib/llvm-project/clang/lib/Sema/SemaModule.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 14 +- contrib/llvm-project/clang/lib/Sema/SemaStmt.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaTemplate.cpp | 2 - .../clang/lib/Sema/SemaTemplateDeduction.cpp | 21 +- .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 2 +- .../llvm-project/clang/lib/Sema/SemaTypeTraits.cpp | 5 +- .../clang/lib/Serialization/ASTReader.cpp | 4 + .../clang/lib/Serialization/ASTWriter.cpp | 3 +- .../clang/lib/Serialization/ModuleCache.cpp | 4 +- .../lib/StaticAnalyzer/Checkers/AssumeModeling.cpp | 1 - .../clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | 3 +- .../lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 35 +- .../compiler-rt/lib/builtins/aarch64/lse.S | 4 +- .../compiler-rt/lib/builtins/aarch64/sme-abi.S | 4 +- .../compiler-rt/lib/builtins/assembly.h | 18 +- .../compiler-rt/lib/builtins/cpu_model/aarch64.c | 8 +- .../aarch64/fmv/{freebsd.inc => elf_aux_info.inc} | 0 .../lse_atomics/{freebsd.inc => elf_aux_info.inc} | 0 .../compiler-rt/lib/builtins/crtbegin.c | 46 +- .../lib/hwasan/hwasan_interceptors_vfork.S | 2 +- .../compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S | 2 +- .../lib/hwasan/hwasan_tag_mismatch_aarch64.S | 2 +- .../sanitizer_common_interceptors_ioctl.inc | 4 + ...nitizer_common_interceptors_vfork_aarch64.inc.S | 2 +- .../sanitizer_common/sanitizer_linux_libcdep.cpp | 1 + .../lib/sanitizer_common/sanitizer_platform.h | 15 + .../sanitizer_platform_limits_freebsd.cpp | 22 - .../sanitizer_platform_limits_freebsd.h | 16 - .../sanitizer_platform_limits_netbsd.cpp | 3 +- .../sanitizer_platform_limits_posix.cpp | 8 +- .../sanitizer_platform_limits_posix.h | 34 +- .../compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S | 2 +- .../llvm-project/libcxx/include/__algorithm/sort.h | 3 + contrib/llvm-project/libcxx/include/__assert | 4 +- .../llvm-project/libcxx/include/__bit/bit_log2.h | 2 + contrib/llvm-project/libcxx/include/__config | 109 ++- .../libcxx/include/__configuration/abi.h | 12 + .../llvm-project/libcxx/include/__cxx03/__config | 4 + .../libcxx/include/__functional/hash.h | 14 +- .../libcxx/include/__log_hardening_failure (new) | 42 + .../libcxx/include/__memory/array_cookie.h | 84 +- .../libcxx/include/__memory/compressed_pair.h | 54 +- .../libcxx/include/__ranges/join_view.h | 9 +- .../libcxx/include/__type_traits/invoke.h | 10 +- .../include/__type_traits/is_unqualified.h (new) | 25 + contrib/llvm-project/libcxx/include/ext/hash_map | 4 +- contrib/llvm-project/libcxx/include/ext/hash_set | 4 +- contrib/llvm-project/libcxx/include/fstream | 35 +- contrib/llvm-project/libcxx/include/map | 4 +- .../libcxx/include/module.modulemap.in | 4 + contrib/llvm-project/libcxx/include/string | 14 +- contrib/llvm-project/libcxx/src/algorithm.cpp | 3 + .../experimental/log_hardening_failure.cpp (new) | 31 + .../vendor/llvm/default_assertion_handler.in | 35 +- contrib/llvm-project/libunwind/src/Unwind-seh.cpp | 3 +- .../llvm-project/libunwind/src/UnwindCursor.hpp | 3 +- .../libunwind/src/UnwindRegistersRestore.S | 7 +- contrib/llvm-project/lld/COFF/Chunks.cpp | 2 +- contrib/llvm-project/lld/COFF/Config.h | 14 +- contrib/llvm-project/lld/COFF/DLL.cpp | 94 +- contrib/llvm-project/lld/COFF/Driver.cpp | 68 +- contrib/llvm-project/lld/COFF/Driver.h | 1 + contrib/llvm-project/lld/COFF/DriverUtils.cpp | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 30 +- contrib/llvm-project/lld/COFF/LTO.cpp | 11 +- contrib/llvm-project/lld/COFF/Options.td | 11 + contrib/llvm-project/lld/COFF/PDB.cpp | 9 +- contrib/llvm-project/lld/COFF/SymbolTable.cpp | 38 + contrib/llvm-project/lld/COFF/SymbolTable.h | 3 + contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- contrib/llvm-project/lld/ELF/Arch/Hexagon.cpp | 47 + contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 158 +++- contrib/llvm-project/lld/ELF/InputFiles.cpp | 59 +- contrib/llvm-project/lld/ELF/LinkerScript.cpp | 20 +- contrib/llvm-project/lld/ELF/Relocations.cpp | 55 +- contrib/llvm-project/lld/ELF/Thunks.cpp | 72 +- contrib/llvm-project/lld/docs/DTLTO.rst | 37 +- contrib/llvm-project/lld/docs/ReleaseNotes.rst | 3 + .../lldb/Target/InstrumentationRuntimeStopInfo.h | 3 + .../lldb/include/lldb/Target/StackFrameList.h | 12 + .../llvm-project/lldb/include/lldb/Target/Thread.h | 5 + .../ExpressionParser/Clang/ClangASTImporter.cpp | 10 + .../Language/CPlusPlus/CPlusPlusLanguage.cpp | 50 +- .../source/Plugins/Language/CPlusPlus/LibCxx.cpp | 67 +- .../source/Plugins/Language/CPlusPlus/LibCxx.h | 17 +- .../Plugins/Language/CPlusPlus/LibCxxList.cpp | 24 +- .../Plugins/Language/CPlusPlus/LibCxxMap.cpp | 29 +- .../Language/CPlusPlus/LibCxxUnorderedMap.cpp | 59 +- .../Plugins/Language/CPlusPlus/LibCxxVector.cpp | 12 +- .../FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp | 3 +- .../source/Plugins/Process/Utility/AuxVector.cpp | 1 + .../source/Plugins/Process/Utility/AuxVector.h | 1 + .../Utility/RegisterFlagsDetector_arm64.cpp | 53 +- .../Process/Utility/RegisterFlagsDetector_arm64.h | 25 +- .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 13 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 12 + .../Target/InstrumentationRuntimeStopInfo.cpp | 42 + .../llvm-project/lldb/source/Target/Process.cpp | 8 + .../lldb/source/Target/StackFrameList.cpp | 2 + .../lldb/source/Target/TargetProperties.td | 4 +- .../lldb/source/ValueObject/DILEval.cpp | 2 +- .../llvm/include/llvm/Analysis/IVDescriptors.h | 3 + .../llvm/include/llvm/BinaryFormat/ELF.h | 28 +- .../llvm/include/llvm/CodeGen/MachineBasicBlock.h | 9 +- .../llvm/include/llvm/CodeGen/MachineOperand.h | 3 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 11 + .../llvm/IR/GenericFloatingPointPredicateUtils.h | 24 +- .../llvm/include/llvm/IR/RuntimeLibcalls.td | 2 +- .../llvm-project/llvm/include/llvm/MC/MCContext.h | 4 + .../llvm/MC/MCDisassembler/MCDisassembler.h | 12 + .../llvm/include/llvm/MC/MCParser/MCAsmParser.h | 3 + .../llvm-project/llvm/include/llvm/MC/MCSection.h | 25 +- .../llvm/include/llvm/Object/ELFObjectFile.h | 1 + .../llvm/lib/Analysis/IVDescriptors.cpp | 26 +- contrib/llvm-project/llvm/lib/Analysis/Loads.cpp | 5 +- .../llvm/lib/Analysis/ScalarEvolution.cpp | 9 +- .../llvm/lib/CodeGen/BranchFolding.cpp | 5 + .../llvm/lib/CodeGen/CodeGenPrepare.cpp | 4 + .../llvm/lib/CodeGen/MachineCopyPropagation.cpp | 10 - .../llvm/lib/CodeGen/MachineOperand.cpp | 13 + .../llvm/lib/CodeGen/MachinePipeliner.cpp | 29 +- .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 2 + .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 19 +- .../CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 8 + .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../llvm/lib/CodeGen/TailDuplicator.cpp | 23 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 36 +- contrib/llvm-project/llvm/lib/IR/Verifier.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCContext.cpp | 49 +- contrib/llvm-project/llvm/lib/MC/MCExpr.cpp | 3 + contrib/llvm-project/llvm/lib/MC/MCFragment.cpp | 4 + .../llvm-project/llvm/lib/MC/MCObjectStreamer.cpp | 7 + .../llvm/lib/MC/MCParser/AsmParser.cpp | 65 +- .../llvm/lib/MC/MCParser/COFFAsmParser.cpp | 66 +- .../llvm/lib/MC/MCParser/COFFMasmParser.cpp | 17 +- .../llvm/lib/MC/MCParser/DarwinAsmParser.cpp | 44 +- .../llvm/lib/MC/MCParser/ELFAsmParser.cpp | 34 +- .../llvm/lib/MC/MCParser/MCAsmParser.cpp | 9 + .../llvm/lib/MC/MCParser/MCAsmParserExtension.cpp | 4 +- .../llvm/lib/MC/MCParser/MasmParser.cpp | 32 +- .../llvm/lib/MC/MCParser/WasmAsmParser.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCSection.cpp | 6 +- .../llvm/lib/ObjCopy/COFF/COFFObject.cpp | 2 + .../llvm/lib/ObjCopy/COFF/COFFObject.h | 2 + .../llvm/lib/ObjCopy/COFF/COFFReader.cpp | 2 +- .../llvm/lib/ObjCopy/COFF/COFFWriter.cpp | 75 ++ .../llvm/lib/ObjCopy/COFF/COFFWriter.h | 1 + .../llvm-project/llvm/lib/Object/ELFObjectFile.cpp | 32 +- .../llvm/lib/Support/BLAKE3/blake3_dispatch.c | 2 +- .../llvm/lib/Support/BLAKE3/blake3_impl.h | 2 +- .../llvm/lib/Support/BLAKE3/blake3_neon.c | 9 +- .../llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h | 2 + .../llvm-project/llvm/lib/Support/MemoryBuffer.cpp | 10 +- .../llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | 28 +- .../lib/Target/AArch64/AArch64BranchTargets.cpp | 46 +- .../llvm/lib/Target/AArch64/AArch64Features.td | 4 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 25 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 8 +- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 10 +- .../llvm/lib/Target/ARM/ARMISelLowering.cpp | 11 + .../llvm/lib/Target/AVR/AVRISelLowering.cpp | 7 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 131 ++- .../Hexagon/Disassembler/HexagonDisassembler.cpp | 128 ++- .../llvm/lib/Target/Hexagon/HexagonGenInsert.cpp | 8 +- .../lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 9 + .../lib/Target/Hexagon/HexagonISelLoweringHVX.cpp | 4 + .../llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 1 + .../Hexagon/MCTargetDesc/HexagonInstPrinter.cpp | 34 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 19 +- .../lib/Target/LoongArch/LoongArchAsmPrinter.cpp | 2 +- .../Target/LoongArch/LoongArchFrameLowering.cpp | 7 +- .../lib/Target/LoongArch/LoongArchISelLowering.cpp | 230 ++--- .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 45 +- .../llvm/lib/Target/LoongArch/LoongArchInstrInfo.h | 3 + .../Target/LoongArch/LoongArchMergeBaseOffset.cpp | 4 + .../LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp | 10 +- .../lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 +- .../llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 8 +- .../llvm/lib/Target/Mips/MipsExpandPseudo.cpp | 217 ++++- .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 29 - .../llvm/lib/Target/Mips/MipsISelLowering.h | 1 - .../llvm/lib/Target/Mips/MipsInstrInfo.td | 16 +- .../llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 12 +- .../lib/Target/NVPTX/NVPTXTargetTransformInfo.h | 5 + .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 39 +- .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 3 +- .../llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | 17 +- .../Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp | 42 +- .../RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp | 29 +- .../llvm/lib/Target/RISCV/RISCVCallingConv.td | 4 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 38 +- .../llvm/lib/Target/RISCV/RISCVFrameLowering.h | 3 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 18 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 89 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td | 9 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td | 4 +- .../llvm/lib/Target/RISCV/RISCVMoveMerger.cpp | 16 +- .../llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 11 +- .../lib/Target/RISCV/RISCVTargetTransformInfo.cpp | 1 + .../llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp | 9 + .../llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 4 +- .../llvm/lib/Target/Sparc/SparcISelLowering.cpp | 18 +- .../llvm/lib/Target/Sparc/SparcISelLowering.h | 5 + .../llvm/lib/Target/Sparc/SparcInstrUAOSA.td | 12 + .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 14 - .../Target/SystemZ/SystemZTargetTransformInfo.h | 3 - .../WebAssembly/WebAssemblyExplicitLocals.cpp | 12 +- .../llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 28 +- .../llvm/lib/Target/X86/X86CallingConv.cpp | 31 + .../llvm/lib/Target/X86/X86CallingConv.td | 5 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 53 +- .../llvm/lib/Target/X86/X86ISelLoweringCall.cpp | 15 +- .../llvm/lib/Target/X86/X86InstrInfo.cpp | 22 +- .../llvm/lib/Target/Xtensa/XtensaISelLowering.cpp | 16 +- .../llvm/lib/Transforms/Coroutines/Coroutines.cpp | 3 + .../lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 12 +- .../Instrumentation/SanitizerCoverage.cpp | 13 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 1 + .../llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp | 21 + .../llvm/lib/Transforms/Scalar/SROA.cpp | 15 +- .../lib/Transforms/Utils/BreakCriticalEdges.cpp | 11 +- .../llvm/lib/Transforms/Utils/LoopUtils.cpp | 10 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 11 +- .../Vectorize/LoopVectorizationPlanner.h | 12 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 18 +- .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 11 +- .../lib/Transforms/Vectorize/VPlanAnalysis.cpp | 1 + .../lib/Transforms/Vectorize/VPlanConstruction.cpp | 160 ++++ .../llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.h | 6 + .../lib/Transforms/Vectorize/VectorCombine.cpp | 39 +- .../llvm/tools/llvm-mc/Disassembler.cpp | 6 +- .../llvm/tools/llvm-objdump/llvm-objdump.cpp | 188 ++-- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 114 ++- contrib/llvm-project/openmp/runtime/src/kmp.h | 23 +- .../openmp/runtime/src/kmp_affinity.cpp | 24 +- .../llvm-project/openmp/runtime/src/kmp_affinity.h | 6 +- .../llvm-project/openmp/runtime/src/kmp_alloc.cpp | 30 +- .../llvm-project/openmp/runtime/src/kmp_dispatch.h | 4 +- .../llvm-project/openmp/runtime/src/kmp_global.cpp | 4 +- .../openmp/runtime/src/kmp_settings.cpp | 20 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 8 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 8 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 6 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/Makefile | 2 + lib/libc++/__assertion_handler | 35 +- lib/libc++/libcxx.imp | 1 + lib/libc++/module.modulemap | 4 + lib/libclang_rt/asan/Makefile | 2 + lib/libclang_rt/asan_cxx/Makefile | 3 - lib/libclang_rt/asan_dynamic/Makefile | 2 + lib/libclang_rt/cfi/Makefile | 1 + lib/libclang_rt/cfi_diag/Makefile | 2 + lib/libclang_rt/dd/Makefile | 1 + lib/libclang_rt/include/Makefile | 1 + lib/libclang_rt/msan/Makefile | 2 + lib/libclang_rt/msan_cxx/Makefile | 3 - lib/libclang_rt/safestack/Makefile | 1 + lib/libclang_rt/stats/Makefile | 1 + lib/libclang_rt/tsan/Makefile | 2 + lib/libclang_rt/tsan_cxx/Makefile | 7 - lib/libclang_rt/ubsan_standalone/Makefile | 2 + lib/libomp/kmp_config.h | 2 +- lib/libomp/omp.h | 45 +- tools/build/mk/OptionalObsoleteFiles.inc | 1 + 358 files changed, 6380 insertions(+), 2844 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1445ef556ac153dc5f4b14b2f8f8580ef12c2f4d commit 1445ef556ac153dc5f4b14b2f8f8580ef12c2f4d Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:55:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: revert llvmorg-21-init-10154-ge43e8ec7afbd: [libc++] Remove dead implementation of is_nothrow_convertible and merge the remaining code into is_convertible.h (#137717) We can use the `__is_nothrow_convertible` builtin unconditionally now, which makes the implementation very simple, so there isn't much of a need to keep a separate header around. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 035396ceda495f456ca570fb715b04a7fc3b25c2) .../libcxx/include/__type_traits/is_convertible.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d08fb64ae2157d3bc65777589728e880e6409d72 commit d08fb64ae2157d3bc65777589728e880e6409d72 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-30 19:49:35 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 Partially revert libc++ commit aa7f377c965c, restoring stdint.h This partially reverts upstream libc++ commit aa7f377c965c: [libc++] Remove libc++'s own stdint.h and locale.h (#107436) These headers are not doing anything beyond the system or compiler provided equivalent headers, so there's no real reason to keep them around. Reducing the number of C headers we provide in libc++ simplifies our header layering and reduces the potential for confusion when headers are layered incorrectly. The problem is that libc++'s own `stdint.h` _does_ do something: it defines `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` before including the system `stdint.h`, causing the latter to expose macros like `SIZE_MAX`, `UINT64_C`, and others. If the `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` macros are not exposed, C++ programs compiled for standards before C++11 can fail with errors due to those macros not being available. PR: 292067 MFC after: 1 month (cherry picked from commit 00bee6fcd77f7812e967f85d1cacbc349ff312b3) ObsoleteFiles.inc | 1 - contrib/llvm-project/libcxx/include/cstdint | 8 ++ contrib/llvm-project/libcxx/include/stdint.h (new) | 127 +++++++++++++++++++++ lib/libc++/Makefile | 1 + lib/libc++/module.modulemap | 4 + 5 files changed, 140 insertions(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c1db7ad65d704e4ae81bbfe7bdaf049120d324a2 commit c1db7ad65d704e4ae81bbfe7bdaf049120d324a2 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 18:40:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:31 +0000 libcxx-compat: revert llvmorg-21-init-19251-g0c3a2faa8505: [libc++] Simplify the implementation of __libcpp_{,de}allocate (#147989) GCC 15 also supports `__buitin_operator_{new,delete}` now, so the `#else` cases are dead code. This patch inlines the calls to the wrapper functions and simplifies some surrounding code. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month (cherry picked from commit ad1f6ee5d7230a63c216cd9ad3b89d5b7d1c4a3a) .../llvm-project/libcxx/include/__new/allocate.h | 71 ++++++++++++++++------ 1 file changed, 51 insertions(+), 20 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=85298a854720b7e712d4500b8d6ca340f6c39dd8 commit 85298a854720b7e712d4500b8d6ca340f6c39dd8 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 13:44:39 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:30 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 2 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial libc/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit 8f6978f83cc64a2e644d9bdf380a6996d3acdc4b) contrib/llvm-project/libc/shared/fp_bits.h (new) | 23 + .../llvm-project/libc/shared/libc_common.h (new) | 26 + contrib/llvm-project/libc/shared/math.h (new) | 23 + contrib/llvm-project/libc/shared/math/expf.h (new) | 23 + .../llvm-project/libc/shared/math/expf16.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf.h (new) | 24 + .../libc/shared/math/frexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf16.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf.h (new) | 23 + .../libc/shared/math/ldexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf16.h (new) | 31 ++ contrib/llvm-project/libc/shared/rpc.h (new) | 603 +++++++++++++++++++++ .../llvm-project/libc/shared/rpc_opcodes.h (new) | 53 ++ .../llvm-project/libc/shared/rpc_server.h (new) | 23 + contrib/llvm-project/libc/shared/rpc_util.h (new) | 276 ++++++++++ .../llvm-project/libc/shared/str_to_float.h (new) | 28 + .../libc/shared/str_to_integer.h (new) | 25 + 17 files changed, 1297 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e4b6f3f7bf91502b84560bd4ac97db9ae33f0a42 commit e4b6f3f7bf91502b84560bd4ac97db9ae33f0a42 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17727-g0eebb48fcfbc:" This reverts commit f12b6acbe1ea1c425c0e21d80097115e4ad33017, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 1f9c1cd08dba0c46c1e1cea43b3bbea23af4fbaa) .../libcxx/include/__type_traits/invoke.h | 3 +-- .../is_member_function_pointer.h (gone) | 31 ---------------------- .../is_member_object_pointer.h (gone) | 31 ---------------------- .../include/__type_traits/is_member_pointer.h | 12 +++++++++ .../llvm-project/libcxx/include/module.modulemap | 2 -- contrib/llvm-project/libcxx/include/type_traits | 2 -- 6 files changed, 13 insertions(+), 68 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1923e6c70dfd5605299c393124ec38a5e84937de commit 1923e6c70dfd5605299c393124ec38a5e84937de Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: install headers that were reintroduced by reverts" This reverts commit 8ad38d5eb3985ef778a7d36093878b0b373ccedf, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit d6d48190ec6a62a20ef603011f215015c1d999fb) lib/libc++/Makefile | 3 --- 1 file changed, 3 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ef16f2c6dcfe68ff30efe31a497cfd90d8cad715 commit ef16f2c6dcfe68ff30efe31a497cfd90d8cad715 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:29 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17728-g30cc12cd818d:" This reverts commit 198b947ebc6834eade6acc52c5441a38693b8822, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit f8152c67d4272e155460e4b3057b41924df8af1c) .../libcxx/include/__type_traits/is_fundamental.h | 2 +- .../libcxx/include/__type_traits/is_null_pointer.h | 12 +++--------- .../llvm-project/libcxx/include/__type_traits/is_scalar.h | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cfbe04310e254890c471f97f03dc7c3c5e9af01c commit cfbe04310e254890c471f97f03dc7c3c5e9af01c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:29 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18063-g561246e90282:" This reverts commit 1d99ada3215dbc28665fe051f9ccf028a2a02ce8, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 6243d755fb82e62d2a3a2e031801e0443150454a) contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=738e74943c49cfc577df105ea069d47c3b8fc0e6 commit 738e74943c49cfc577df105ea069d47c3b8fc0e6 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17473-g69fecaa1a455:" This reverts commit cab3680acf8e6ea40c686d4f26db4429e26a5331, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 501871ebf9d725ab1c6fb2c4da9bac77f60b37a7) contrib/llvm-project/libcxx/include/__config | 58 ++++++-------------- .../libcxx/include/__tuple/tuple_element.h | 26 --------- .../libcxx/include/__type_traits/is_function.h | 14 +---- .../__type_traits/is_member_function_pointer.h | 31 ----------- .../__type_traits/is_member_object_pointer.h | 15 ------ .../include/__type_traits/is_member_pointer.h | 16 ------ .../__type_traits/is_nothrow_constructible.h | 61 ---------------------- .../libcxx/include/__type_traits/is_object.h | 25 +-------- .../libcxx/include/__type_traits/is_reference.h | 29 ++++------ .../libcxx/include/__type_traits/is_scoped_enum.h | 22 -------- 10 files changed, 31 insertions(+), 266 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f17eb2277e6e3ee1cd91bbb9a2810c260a3de838 commit f17eb2277e6e3ee1cd91bbb9a2810c260a3de838 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-8667-g472b612ccbed:" This reverts commit f7570f1eb0dc056dfce9d7500157538c670edaf6, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit a843ea3f246f3f137722db556aa07710e6a84b71) contrib/llvm-project/libcxx/include/__format/format_arg.h | 1 + contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b247a3c78f115a47b3f8978e48a0df6c1798e48b commit b247a3c78f115a47b3f8978e48a0df6c1798e48b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83:" This reverts commit 267fa9ab814c23ca97b8b7e1740f4da51485ac72, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3ac42330b1da72d68cc6d7c3f65e24a882ccfd47) .../libcxx/include/__type_traits/remove_reference.h | 14 +++++++------- contrib/llvm-project/libcxx/include/cwchar | 4 ++++ contrib/llvm-project/libcxx/include/execution | 4 ++++ 3 files changed, 15 insertions(+), 7 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f5fe24ba58054e425688458ad641364338dd9393 commit f5fe24ba58054e425688458ad641364338dd9393 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:29 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:" This reverts commit 6933315cf57fc3f505431bff7a0075df471d7453, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit f3b0cac70b80116e691ad1e6daa5110186233206) .../libcxx/include/__type_traits/is_enum.h | 10 +++++++ .../include/__type_traits/is_scoped_enum.h (gone) | 33 ---------------------- .../llvm-project/libcxx/include/module.modulemap | 1 - contrib/llvm-project/libcxx/include/type_traits | 4 --- 4 files changed, 10 insertions(+), 38 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4c339767d6273154dcfd7a39bccf8d871be411ca commit 4c339767d6273154dcfd7a39bccf8d871be411ca Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:29 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17853-g578c6191eff7:" This reverts commit 2facc097b9b28a81b925c924f27f09b40f29fd4d, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3b0a0e64bd9f0a65f0dd62dc157597e6d9ecc933) .../libcxx/include/__type_traits/is_void.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=99d7fedab6468db78134ed171d3071057c9817ed commit 99d7fedab6468db78134ed171d3071057c9817ed Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: update libcxx.imp for headers that were reintroduced by reverts" This reverts commit caf0ccccc304e3e7938c9722f1deb0a362fd70d5, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 5945da0bc9ac42f531b1079a246eb8ce4f0d63db) lib/libc++/libcxx.imp | 3 --- 1 file changed, 3 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e18613ce216636c6659b76aca3f3e75e3c2c2932 commit e18613ce216636c6659b76aca3f3e75e3c2c2932 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: don't remove headers that were reintroduced by reverts" This reverts commit 2b3703a4f4519e202c3bdf12e7e13d9b5fdbc3f3, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3f6219840dbea7712554982a3c9f852c1c9664f4) ObsoleteFiles.inc | 3 +++ 1 file changed, 3 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=78f59ae2f0171ac918884fcf80b431f71bbf1001 commit 78f59ae2f0171ac918884fcf80b431f71bbf1001 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4003-g55357160d0e1:" This reverts commit fd17362f6225085e60eabed8af7421838100b457, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit a24406d2e0e8eee8db03ed8d1ae7fb482cf912ab) .../llvm-project/libcxx/include/__type_traits/remove_cv.h | 11 +++-------- .../libcxx/include/__type_traits/remove_cvref.h | 15 ++++++++++----- 2 files changed, 13 insertions(+), 13 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=67b0fd370bdb67a819e5980db91f49a111b7c1be commit 67b0fd370bdb67a819e5980db91f49a111b7c1be Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:28 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4504-g937a5396cf3e:" This reverts commit a7455c47801ea1e4c4eed10cab2072375f6f92a2, in preparation for merging llvm 21, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3ca6facafc4c96fa9d6027b6f3b50b7c3e3a5dbf) contrib/llvm-project/libcxx/include/__type_traits/is_convertible.h | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4575fcccafed03e93f306ddd287229c4568e7280 commit 4575fcccafed03e93f306ddd287229c4568e7280 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 14:04:07 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:57:30 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 3 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add more items to the libc/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit bb722a7d0f1642bff6487f943ad0427799a6e5bf) contrib/llvm-project/libc/hdr/errno_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/fcntl_macros.h (new) | 22 + .../llvm-project/libc/hdr/fcntl_overlay.h (new) | 47 + contrib/llvm-project/libc/hdr/fenv_macros.h (new) | 61 + contrib/llvm-project/libc/hdr/float_macros.h (new) | 22 + .../libc/hdr/func/aligned_alloc.h (new) | 22 + contrib/llvm-project/libc/hdr/func/free.h (new) | 22 + contrib/llvm-project/libc/hdr/func/malloc.h (new) | 24 + contrib/llvm-project/libc/hdr/func/realloc.h (new) | 24 + .../llvm-project/libc/hdr/limits_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/link_macros.h (new) | 22 + .../llvm-project/libc/hdr/locale_macros.h (new) | 22 + .../libc/hdr/math_function_macros.h (new) | 27 + contrib/llvm-project/libc/hdr/math_macros.h (new) | 48 + .../llvm-project/libc/hdr/offsetof_macros.h (new) | 23 + contrib/llvm-project/libc/hdr/sched_macros.h (new) | 22 + .../llvm-project/libc/hdr/signal_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/stdio_macros.h (new) | 23 + .../llvm-project/libc/hdr/stdio_overlay.h (new) | 69 + .../llvm-project/libc/hdr/stdlib_macros.h (new) | 22 + .../llvm-project/libc/hdr/stdlib_overlay.h (new) | 46 + .../llvm-project/libc/hdr/sys_auxv_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_epoll_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_ioctl_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_stat_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/time_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/types/ACTION.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ENTRY.h (new) | 22 + contrib/llvm-project/libc/hdr/types/FILE.h (new) | 22 + .../libc/hdr/types/atexithandler_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char32_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char8_t.h (new) | 14 + .../llvm-project/libc/hdr/types/clock_t.h (new) | 22 + .../llvm-project/libc/hdr/types/clockid_t.h (new) | 23 + .../libc/hdr/types/cookie_io_functions_t.h (new) | 22 + .../llvm-project/libc/hdr/types/cpu_set_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/div_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/fenv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/fexcept_t.h (new) | 22 + .../llvm-project/libc/hdr/types/jmp_buf.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/lldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/locale_t.h (new) | 22 + .../llvm-project/libc/hdr/types/mbstate_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/mode_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/nfds_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/off_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/pid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/sigset_t.h (new) | 21 + contrib/llvm-project/libc/hdr/types/size_t.h (new) | 23 + .../llvm-project/libc/hdr/types/socklen_t.h (new) | 21 + .../llvm-project/libc/hdr/types/ssize_t.h (new) | 21 + .../llvm-project/libc/hdr/types/stack_t.h (new) | 23 + .../libc/hdr/types/struct_dl_phdr_info.h (new) | 21 + .../libc/hdr/types/struct_epoll_event.h (new) | 21 + .../libc/hdr/types/struct_f_owner_ex.h (new) | 21 + .../libc/hdr/types/struct_flock.h (new) | 21 + .../libc/hdr/types/struct_flock64.h (new) | 21 + .../libc/hdr/types/struct_iovec.h (new) | 21 + .../libc/hdr/types/struct_itimerval.h (new) | 21 + .../libc/hdr/types/struct_msghdr.h (new) | 21 + .../libc/hdr/types/struct_pollfd.h (new) | 23 + .../libc/hdr/types/struct_sigaction.h (new) | 21 + .../libc/hdr/types/struct_sockaddr.h (new) | 21 + .../libc/hdr/types/struct_timespec.h (new) | 21 + .../libc/hdr/types/struct_timeval.h (new) | 21 + .../llvm-project/libc/hdr/types/struct_tm.h (new) | 21 + .../libc/hdr/types/suseconds_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/time_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/uid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/wchar_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/wint_t.h (new) | 23 + .../llvm-project/libc/hdr/uchar_overlay.h (new) | 69 + .../llvm-project/libc/hdr/unistd_macros.h (new) | 22 + .../llvm-project/libc/hdr/unistd_overlay.h (new) | 69 + contrib/llvm-project/libc/hdr/wchar_macros.h (new) | 22 + .../llvm-project/libc/hdr/wchar_overlay.h (new) | 69 + .../libc/include/__llvm-libc-common.h (new) | 98 + .../include/llvm-libc-macros/EFIAPI-macros.h (new) | 18 + .../include/llvm-libc-macros/assert-macros.h (new) | 14 + .../llvm-libc-macros/baremetal/time-macros.h (new) | 26 + .../llvm-libc-macros/complex-macros.h (new) | 24 + .../llvm-libc-macros/containerof-macro.h (new) | 20 + .../include/llvm-libc-macros/dlfcn-macros.h (new) | 23 + .../include/llvm-libc-macros/elf-macros.h (new) | 18 + .../include/llvm-libc-macros/endian-macros.h (new) | 50 + .../llvm-libc-macros/error-number-macros.h (new) | 8 + .../include/llvm-libc-macros/fcntl-macros.h (new) | 8 + .../llvm-libc-macros/features-macros.h (new) | 12 + .../include/llvm-libc-macros/fenv-macros.h (new) | 28 + .../llvm-libc-macros/file-seek-macros.h (new) | 16 + .../include/llvm-libc-macros/float-macros.h (new) | 178 + .../llvm-libc-macros/float16-macros.h (new) | 27 + .../generic-error-number-macros.h (new) | 48 + .../llvm-libc-macros/gpu/signal-macros.h (new) | 28 + .../llvm-libc-macros/gpu/time-macros.h (new) | 17 + .../llvm-libc-macros/inttypes-macros.h (new) | 420 + .../include/llvm-libc-macros/limits-macros.h (new) | 246 + .../include/llvm-libc-macros/link-macros.h (new) | 20 + .../linux/error-number-macros.h (new) | 32 + .../llvm-libc-macros/linux/fcntl-macros.h (new) | 105 + .../llvm-libc-macros/linux/poll-macros.h (new) | 65 + .../llvm-libc-macros/linux/sched-macros.h (new) | 37 + .../llvm-libc-macros/linux/signal-macros.h (new) | 101 + .../linux/sys-epoll-macros.h (new) | 40 + .../linux/sys-ioctl-macros.h (new) | 20 + .../linux/sys-random-macros.h (new) | 17 + .../linux/sys-resource-macros.h (new) | 31 + .../linux/sys-socket-macros.h (new) | 28 + .../llvm-libc-macros/linux/sys-stat-macros.h (new) | 48 + .../llvm-libc-macros/linux/sys-time-macros.h (new) | 53 + .../llvm-libc-macros/linux/sys-wait-macros.h (new) | 27 + .../llvm-libc-macros/linux/termios-macros.h (new) | 167 + .../llvm-libc-macros/linux/time-macros.h (new) | 26 + .../llvm-libc-macros/linux/unistd-macros.h (new) | 57 + .../include/llvm-libc-macros/locale-macros.h (new) | 32 + .../include/llvm-libc-macros/malloc-macros.h (new) | 17 + .../llvm-libc-macros/math-function-macros.h (new) | 37 + .../include/llvm-libc-macros/math-macros.h (new) | 53 + .../include/llvm-libc-macros/null-macro.h (new) | 15 + .../llvm-libc-macros/offsetof-macro.h (new) | 15 + .../include/llvm-libc-macros/poll-macros.h (new) | 16 + .../llvm-libc-macros/pthread-macros.h (new) | 65 + .../include/llvm-libc-macros/sched-macros.h (new) | 16 + .../include/llvm-libc-macros/signal-macros.h (new) | 18 + .../include/llvm-libc-macros/stdbit-macros.h (new) | 316 + .../llvm-libc-macros/stdckdint-macros.h (new) | 27 + .../include/llvm-libc-macros/stdfix-macros.h (new) | 367 + .../include/llvm-libc-macros/stdint-macros.h (new) | 878 + .../include/llvm-libc-macros/stdio-macros.h (new) | 58 + .../include/llvm-libc-macros/stdlib-macros.h (new) | 27 + .../llvm-libc-macros/sys-auxv-macros.h (new) | 43 + .../llvm-libc-macros/sys-epoll-macros.h (new) | 16 + .../llvm-libc-macros/sys-ioctl-macros.h (new) | 16 + .../llvm-libc-macros/sys-mman-macros.h (new) | 48 + .../llvm-libc-macros/sys-queue-macros.h (new) | 262 + .../llvm-libc-macros/sys-random-macros.h (new) | 16 + .../llvm-libc-macros/sys-resource-macros.h (new) | 16 + .../llvm-libc-macros/sys-select-macros.h (new) | 35 + .../llvm-libc-macros/sys-socket-macros.h (new) | 16 + .../llvm-libc-macros/sys-stat-macros.h (new) | 16 + .../llvm-libc-macros/sys-time-macros.h (new) | 16 + .../llvm-libc-macros/sys-wait-macros.h (new) | 16 + .../llvm-libc-macros/sysexits-macros.h (new) | 29 + .../llvm-libc-macros/termios-macros.h (new) | 16 + .../include/llvm-libc-macros/time-macros.h (new) | 21 + .../include/llvm-libc-macros/unistd-macros.h (new) | 12 + .../include/llvm-libc-macros/wchar-macros.h (new) | 18 + .../windows/time-macros-ext.h (new) | 17 + .../libc/include/llvm-libc-types/ACTION.h (new) | 14 + .../libc/include/llvm-libc-types/DIR.h (new) | 14 + .../llvm-libc-types/EFI_ALLOCATE_TYPE.h (new) | 19 + .../llvm-libc-types/EFI_BOOT_SERVICES.h (new) | 250 + .../include/llvm-libc-types/EFI_CAPSULE.h (new) | 26 + .../EFI_CONFIGURATION_TABLE.h (new) | 19 + .../EFI_DEVICE_PATH_PROTOCOL.h (new) | 23 + .../libc/include/llvm-libc-types/EFI_EVENT.h (new) | 21 + .../libc/include/llvm-libc-types/EFI_GUID.h (new) | 21 + .../include/llvm-libc-types/EFI_HANDLE.h (new) | 14 + .../llvm-libc-types/EFI_INTERFACE_TYPE.h (new) | 16 + .../llvm-libc-types/EFI_LOCATE_SEARCH_TYPE.h (new) | 18 + .../llvm-libc-types/EFI_MEMORY_DESCRIPTOR.h (new) | 43 + .../llvm-libc-types/EFI_MEMORY_TYPE.h (new) | 32 + .../EFI_OPEN_PROTOCOL_INFORMATION_ENTRY.h (new) | 22 + .../llvm-libc-types/EFI_PHYSICAL_ADDRESS.h (new) | 16 + .../llvm-libc-types/EFI_RUNTIME_SERVICES.h (new) | 137 + .../EFI_SIMPLE_TEXT_INPUT_PROTOCOL.h (new) | 39 + .../EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h (new) | 64 + .../include/llvm-libc-types/EFI_STATUS.h (new) | 60 + .../llvm-libc-types/EFI_SYSTEM_TABLE.h (new) | 65 + .../llvm-libc-types/EFI_TABLE_HEADER.h (new) | 22 + .../libc/include/llvm-libc-types/EFI_TIME.h (new) | 37 + .../llvm-libc-types/EFI_TIMER_DELAY.h (new) | 18 + .../libc/include/llvm-libc-types/EFI_TPL.h (new) | 21 + .../llvm-libc-types/EFI_VIRTUAL_ADDRESS.h (new) | 16 + .../libc/include/llvm-libc-types/ENTRY.h (new) | 17 + .../libc/include/llvm-libc-types/FILE.h (new) | 14 + .../libc/include/llvm-libc-types/VISIT.h (new) | 14 + .../llvm-libc-types/__atexithandler_t.h (new) | 14 + .../llvm-libc-types/__atfork_callback_t.h (new) | 14 + .../llvm-libc-types/__call_once_func_t.h (new) | 14 + .../__dl_iterate_phdr_callback_t.h (new) | 19 + .../include/llvm-libc-types/__exec_argv_t.h (new) | 14 + .../include/llvm-libc-types/__exec_envp_t.h (new) | 14 + .../include/llvm-libc-types/__futex_word.h (new) | 20 + .../include/llvm-libc-types/__getoptargv_t.h (new) | 14 + .../include/llvm-libc-types/__mutex_type.h (new) | 29 + .../llvm-libc-types/__pthread_once_func_t.h (new) | 14 + .../llvm-libc-types/__pthread_start_t.h (new) | 14 + .../llvm-libc-types/__pthread_tss_dtor_t.h (new) | 14 + .../llvm-libc-types/__qsortcompare_t.h (new) | 14 + .../llvm-libc-types/__qsortrcompare_t.h (new) | 14 + .../llvm-libc-types/__search_compare_t.h (new) | 14 + .../include/llvm-libc-types/__thread_type.h (new) | 16 + .../libc/include/llvm-libc-types/blkcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/blksize_t.h (new) | 14 + .../libc/include/llvm-libc-types/cc_t.h (new) | 14 + .../libc/include/llvm-libc-types/cfloat128.h (new) | 44 + .../libc/include/llvm-libc-types/cfloat16.h (new) | 21 + .../libc/include/llvm-libc-types/char16_t.h (new) | 17 + .../libc/include/llvm-libc-types/char32_t.h (new) | 17 + .../libc/include/llvm-libc-types/char8_t.h (new) | 16 + .../libc/include/llvm-libc-types/clock_t.h (new) | 14 + .../libc/include/llvm-libc-types/clockid_t.h (new) | 14 + .../libc/include/llvm-libc-types/cnd_t.h (new) | 20 + .../llvm-libc-types/cookie_io_functions_t.h (new) | 28 + .../libc/include/llvm-libc-types/cpu_set_t.h (new) | 21 + .../libc/include/llvm-libc-types/dev_t.h (new) | 14 + .../libc/include/llvm-libc-types/div_t.h (new) | 17 + .../libc/include/llvm-libc-types/double_t.h (new) | 24 + .../libc/include/llvm-libc-types/fd_set.h (new) | 18 + .../libc/include/llvm-libc-types/fenv_t.h (new) | 36 + .../libc/include/llvm-libc-types/fexcept_t.h (new) | 18 + .../libc/include/llvm-libc-types/float128.h (new) | 36 + .../libc/include/llvm-libc-types/float_t.h (new) | 24 + .../include/llvm-libc-types/fsblkcnt_t.h (new) | 14 + .../include/llvm-libc-types/fsfilcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/gid_t.h (new) | 14 + .../libc/include/llvm-libc-types/imaxdiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/ino_t.h (new) | 14 + .../libc/include/llvm-libc-types/jmp_buf.h (new) | 84 + .../libc/include/llvm-libc-types/ldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/lldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/locale_t.h (new) | 22 + .../libc/include/llvm-libc-types/mbstate_t.h (new) | 20 + .../libc/include/llvm-libc-types/mode_t.h (new) | 14 + .../libc/include/llvm-libc-types/mtx_t.h (new) | 16 + .../libc/include/llvm-libc-types/nfds_t.h (new) | 14 + .../libc/include/llvm-libc-types/nlink_t.h (new) | 14 + .../libc/include/llvm-libc-types/off64_t.h (new) | 14 + .../libc/include/llvm-libc-types/off_t.h (new) | 14 + .../libc/include/llvm-libc-types/once_flag.h (new) | 20 + .../libc/include/llvm-libc-types/pid_t.h (new) | 14 + .../posix_spawn_file_actions_t.h (new) | 17 + .../llvm-libc-types/posix_spawnattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_attr_t.h (new) | 21 + .../llvm-libc-types/pthread_condattr_t.h (new) | 18 + .../include/llvm-libc-types/pthread_key_t.h (new) | 14 + .../llvm-libc-types/pthread_mutex_t.h (new) | 16 + .../llvm-libc-types/pthread_mutexattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_once_t.h (new) | 20 + .../llvm-libc-types/pthread_rwlock_t.h (new) | 26 + .../llvm-libc-types/pthread_rwlockattr_t.h (new) | 16 + .../llvm-libc-types/pthread_spinlock_t.h (new) | 17 + .../libc/include/llvm-libc-types/pthread_t.h (new) | 16 + .../libc/include/llvm-libc-types/rlim_t.h (new) | 14 + .../include/llvm-libc-types/sa_family_t.h (new) | 19 + .../include/llvm-libc-types/sig_atomic_t.h (new) | 14 + .../include/llvm-libc-types/sighandler_t.h (new) | 17 + .../libc/include/llvm-libc-types/siginfo_t.h (new) | 109 + .../libc/include/llvm-libc-types/sigset_t.h (new) | 20 + .../libc/include/llvm-libc-types/size_t.h (new) | 14 + .../libc/include/llvm-libc-types/socklen_t.h (new) | 18 + .../libc/include/llvm-libc-types/speed_t.h (new) | 14 + .../libc/include/llvm-libc-types/ssize_t.h (new) | 14 + .../libc/include/llvm-libc-types/stack_t.h (new) | 22 + .../include/llvm-libc-types/stdfix-types.h (new) | 25 + .../include/llvm-libc-types/struct_dirent.h (new) | 29 + .../llvm-libc-types/struct_dl_phdr_info.h (new) | 30 + .../llvm-libc-types/struct_epoll_data.h (new) | 21 + .../llvm-libc-types/struct_epoll_event.h (new) | 23 + .../llvm-libc-types/struct_f_owner_ex.h (new) | 25 + .../include/llvm-libc-types/struct_flock.h (new) | 25 + .../include/llvm-libc-types/struct_flock64.h (new) | 25 + .../llvm-libc-types/struct_hsearch_data.h (new) | 17 + .../include/llvm-libc-types/struct_iovec.h (new) | 19 + .../llvm-libc-types/struct_itimerval.h (new) | 19 + .../include/llvm-libc-types/struct_lconv.h (new) | 39 + .../include/llvm-libc-types/struct_msghdr.h (new) | 26 + .../include/llvm-libc-types/struct_pollfd.h (new) | 18 + .../include/llvm-libc-types/struct_rlimit.h (new) | 19 + .../include/llvm-libc-types/struct_rusage.h (new) | 37 + .../llvm-libc-types/struct_sched_param.h (new) | 21 + .../llvm-libc-types/struct_sigaction.h (new) | 28 + .../llvm-libc-types/struct_sockaddr.h (new) | 21 + .../llvm-libc-types/struct_sockaddr_un.h (new) | 22 + .../include/llvm-libc-types/struct_stat.h (new) | 39 + .../include/llvm-libc-types/struct_statvfs.h (new) | 29 + .../include/llvm-libc-types/struct_termios.h (new) | 32 + .../llvm-libc-types/struct_timespec.h (new) | 20 + .../include/llvm-libc-types/struct_timeval.h (new) | 20 + .../libc/include/llvm-libc-types/struct_tm.h (new) | 25 + .../include/llvm-libc-types/struct_utsname.h (new) | 34 + .../include/llvm-libc-types/suseconds_t.h (new) | 19 + .../libc/include/llvm-libc-types/tcflag_t.h (new) | 14 + .../llvm-libc-types/test_rpc_opcodes_t.h (new) | 21 + .../include/llvm-libc-types/thrd_start_t.h (new) | 14 + .../libc/include/llvm-libc-types/thrd_t.h (new) | 16 + .../libc/include/llvm-libc-types/time_t.h (new) | 18 + .../libc/include/llvm-libc-types/time_t_32.h (new) | 14 + .../libc/include/llvm-libc-types/time_t_64.h (new) | 14 + .../include/llvm-libc-types/tss_dtor_t.h (new) | 14 + .../libc/include/llvm-libc-types/tss_t.h (new) | 14 + .../libc/include/llvm-libc-types/uid_t.h (new) | 14 + .../include/llvm-libc-types/union_sigval.h (new) | 17 + .../libc/include/llvm-libc-types/wchar_t.h (new) | 19 + .../libc/include/llvm-libc-types/wint_t.h (new) | 14 + .../llvm-project/libc/include/sys/queue.h (new) | 14 + .../libc/src/__support/CPP/README.md (new) | 13 + .../libc/src/__support/CPP/algorithm.h (new) | 49 + .../libc/src/__support/CPP/array.h (new) | 80 + .../libc/src/__support/CPP/atomic.h (new) | 430 + .../libc/src/__support/CPP/bit.h (new) | 298 + .../libc/src/__support/CPP/bitset.h (new) | 94 + .../libc/src/__support/CPP/cstddef.h (new) | 74 + .../libc/src/__support/CPP/expected.h (new) | 60 + .../libc/src/__support/CPP/functional.h (new) | 71 + .../libc/src/__support/CPP/iterator.h (new) | 99 + .../libc/src/__support/CPP/limits.h (new) | 92 + .../libc/src/__support/CPP/mutex.h (new) | 51 + .../libc/src/__support/CPP/new.cpp (new) | 44 + .../libc/src/__support/CPP/new.h (new) | 130 + .../libc/src/__support/CPP/optional.h (new) | 139 + .../libc/src/__support/CPP/span.h (new) | 131 + .../libc/src/__support/CPP/string.h (new) | 234 + .../libc/src/__support/CPP/string_view.h (new) | 222 + .../libc/src/__support/CPP/stringstream.h (new) | 96 + .../libc/src/__support/CPP/type_traits.h (new) | 70 + .../CPP/type_traits/add_lvalue_reference.h (new) | 33 + .../__support/CPP/type_traits/add_pointer.h (new) | 30 + .../CPP/type_traits/add_rvalue_reference.h (new) | 32 + .../CPP/type_traits/aligned_storage.h (new) | 30 + .../__support/CPP/type_traits/always_false.h (new) | 32 + .../CPP/type_traits/bool_constant.h (new) | 23 + .../__support/CPP/type_traits/conditional.h (new) | 28 + .../src/__support/CPP/type_traits/decay.h (new) | 40 + .../__support/CPP/type_traits/enable_if.h (new) | 26 + .../__support/CPP/type_traits/false_type.h (new) | 23 + .../has_unique_object_representations.h (new) | 30 + .../CPP/type_traits/integral_constant.h (new) | 26 + .../src/__support/CPP/type_traits/invoke.h (new) | 67 + .../CPP/type_traits/invoke_result.h (new) | 29 + .../CPP/type_traits/is_arithmetic.h (new) | 30 + .../src/__support/CPP/type_traits/is_array.h (new) | 31 + .../__support/CPP/type_traits/is_base_of.h (new) | 47 + .../src/__support/CPP/type_traits/is_class.h (new) | 32 + .../__support/CPP/type_traits/is_complex.h (new) | 53 + .../src/__support/CPP/type_traits/is_const.h (new) | 28 + .../CPP/type_traits/is_constant_evaluated.h (new) | 24 + .../CPP/type_traits/is_convertible.h (new) | 48 + .../CPP/type_traits/is_copy_assignable.h (new) | 32 + .../CPP/type_traits/is_copy_constructible.h (new) | 31 + .../CPP/type_traits/is_destructible.h (new) | 68 + .../src/__support/CPP/type_traits/is_enum.h (new) | 26 + .../CPP/type_traits/is_fixed_point.h (new) | 49 + .../CPP/type_traits/is_floating_point.h (new) | 49 + .../__support/CPP/type_traits/is_function.h (new) | 35 + .../__support/CPP/type_traits/is_integral.h (new) | 43 + .../CPP/type_traits/is_lvalue_reference.h (new) | 35 + .../CPP/type_traits/is_member_pointer.h (new) | 33 + .../CPP/type_traits/is_move_assignable.h (new) | 33 + .../CPP/type_traits/is_move_constructible.h (new) | 31 + .../CPP/type_traits/is_null_pointer.h (new) | 29 + .../__support/CPP/type_traits/is_object.h (new) | 33 + .../__support/CPP/type_traits/is_pointer.h (new) | 31 + .../__support/CPP/type_traits/is_reference.h (new) | 34 + .../CPP/type_traits/is_rvalue_reference.h (new) | 35 + .../src/__support/CPP/type_traits/is_same.h (new) | 28 + .../__support/CPP/type_traits/is_scalar.h (new) | 35 + .../__support/CPP/type_traits/is_signed.h (new) | 54 + .../type_traits/is_trivially_constructible.h (new) | 25 + .../CPP/type_traits/is_trivially_copyable.h (new) | 29 + .../type_traits/is_trivially_destructible.h (new) | 37 + .../src/__support/CPP/type_traits/is_union.h (new) | 26 + .../__support/CPP/type_traits/is_unsigned.h (new) | 56 + .../src/__support/CPP/type_traits/is_void.h (new) | 27 + .../__support/CPP/type_traits/make_signed.h (new) | 41 + .../CPP/type_traits/make_unsigned.h (new) | 46 + .../CPP/type_traits/remove_all_extents.h (new) | 41 + .../__support/CPP/type_traits/remove_cv.h (new) | 28 + .../__support/CPP/type_traits/remove_cvref.h (new) | 27 + .../CPP/type_traits/remove_extent.h (new) | 28 + .../CPP/type_traits/remove_reference.h (new) | 27 + .../__support/CPP/type_traits/true_type.h (new) | 23 + .../CPP/type_traits/type_identity.h (new) | 24 + .../src/__support/CPP/type_traits/void_t.h (new) | 29 + .../libc/src/__support/CPP/utility.h (new) | 18 + .../libc/src/__support/CPP/utility/declval.h (new) | 27 + .../libc/src/__support/CPP/utility/forward.h (new) | 35 + .../src/__support/CPP/utility/in_place.h (new) | 39 + .../__support/CPP/utility/integer_sequence.h (new) | 40 + .../libc/src/__support/CPP/utility/move.h (new) | 27 + .../src/__support/FPUtil/BasicOperations.h (new) | 396 + .../FPUtil/DivisionAndRemainderOperations.h (new) | 121 + .../libc/src/__support/FPUtil/FEnvImpl.h (new) | 114 + .../libc/src/__support/FPUtil/FMA.h (new) | 52 + .../libc/src/__support/FPUtil/FPBits.h (new) | 857 + .../libc/src/__support/FPUtil/Hypot.h (new) | 268 + .../__support/FPUtil/ManipulationFunctions.h (new) | 279 + .../FPUtil/NearestIntegerOperations.h (new) | 411 + .../libc/src/__support/FPUtil/NormalFloat.h (new) | 273 + .../libc/src/__support/FPUtil/PolyEval.h (new) | 54 + .../src/__support/FPUtil/aarch64/FEnvImpl.h (new) | 285 + .../FPUtil/aarch64/fenv_darwin_impl.h (new) | 297 + .../FPUtil/aarch64/nearest_integer.h (new) | 38 + .../libc/src/__support/FPUtil/aarch64/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/arm/FEnvImpl.h (new) | 266 + .../libc/src/__support/FPUtil/arm/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/bfloat16.h (new) | 65 + .../libc/src/__support/FPUtil/cast.h (new) | 76 + .../src/__support/FPUtil/double_double.h (new) | 211 + .../libc/src/__support/FPUtil/dyadic_float.h (new) | 714 + .../__support/FPUtil/except_value_utils.h (new) | 145 + .../libc/src/__support/FPUtil/fpbits_str.h (new) | 76 + .../libc/src/__support/FPUtil/generic/FMA.h (new) | 288 + .../libc/src/__support/FPUtil/generic/FMod.h (new) | 296 + .../src/__support/FPUtil/generic/README.md (new) | 28 + .../src/__support/FPUtil/generic/add_sub.h (new) | 209 + .../libc/src/__support/FPUtil/generic/div.h (new) | 126 + .../libc/src/__support/FPUtil/generic/mul.h (new) | 105 + .../libc/src/__support/FPUtil/generic/sqrt.h (new) | 171 + .../FPUtil/generic/sqrt_80_bit_long_double.h (new) | 141 + .../libc/src/__support/FPUtil/multiply_add.h (new) | 74 + .../src/__support/FPUtil/nearest_integer.h (new) | 79 + .../src/__support/FPUtil/riscv/FEnvImpl.h (new) | 181 + .../libc/src/__support/FPUtil/riscv/sqrt.h (new) | 45 + .../src/__support/FPUtil/rounding_mode.h (new) | 81 + .../libc/src/__support/FPUtil/sqrt.h (new) | 65 + .../src/__support/FPUtil/triple_double.h (new) | 26 + .../src/__support/FPUtil/x86_64/FEnvImpl.h (new) | 651 + .../FPUtil/x86_64/NextAfterLongDouble.h (new) | 125 + .../FPUtil/x86_64/NextUpDownLongDouble.h (new) | 63 + .../FPUtil/x86_64/nearest_integer.h (new) | 46 + .../libc/src/__support/FPUtil/x86_64/sqrt.h (new) | 54 + .../libc/src/__support/File/dir.cpp (new) | 65 + .../libc/src/__support/File/dir.h (new) | 79 + .../libc/src/__support/File/file.cpp (new) | 477 + .../libc/src/__support/File/file.h (new) | 324 + .../libc/src/__support/File/linux/dir.cpp (new) | 60 + .../libc/src/__support/File/linux/file.cpp (new) | 185 + .../libc/src/__support/File/linux/file.h (new) | 37 + .../src/__support/File/linux/lseekImpl.h (new) | 51 + .../libc/src/__support/File/linux/stderr.cpp (new) | 25 + .../libc/src/__support/File/linux/stdin.cpp (new) | 26 + .../libc/src/__support/File/linux/stdout.cpp (new) | 26 + .../libc/src/__support/GPU/allocator.cpp (new) | 605 + .../libc/src/__support/GPU/allocator.h (new) | 26 + .../libc/src/__support/GPU/utils.h (new) | 138 + .../libc/src/__support/HashTable/bitmask.h (new) | 93 + .../HashTable/generic/bitmask_impl.inc (new) | 124 + .../src/__support/HashTable/randomness.h (new) | 61 + .../HashTable/sse2/bitmask_impl.inc (new) | 52 + .../libc/src/__support/HashTable/table.h (new) | 356 + .../src/__support/OSUtil/baremetal/exit.cpp (new) | 21 + .../src/__support/OSUtil/baremetal/io.cpp (new) | 70 + .../libc/src/__support/OSUtil/baremetal/io.h (new) | 25 + .../OSUtil/darwin/aarch64/syscall.h (new) | 113 + .../libc/src/__support/OSUtil/darwin/io.h (new) | 26 + .../src/__support/OSUtil/darwin/syscall.h (new) | 33 + .../libc/src/__support/OSUtil/exit.h (new) | 22 + .../libc/src/__support/OSUtil/fcntl.h (new) | 27 + .../libc/src/__support/OSUtil/fuchsia/io.h (new) | 34 + .../libc/src/__support/OSUtil/gpu/exit.cpp (new) | 33 + .../libc/src/__support/OSUtil/gpu/io.cpp (new) | 24 + .../libc/src/__support/OSUtil/gpu/io.h (new) | 22 + .../libc/src/__support/OSUtil/io.h (new) | 31 + .../__support/OSUtil/linux/aarch64/syscall.h (new) | 111 + .../__support/OSUtil/linux/aarch64/vdso.h (new) | 37 + .../src/__support/OSUtil/linux/arm/syscall.h (new) | 129 + .../src/__support/OSUtil/linux/arm/vdso.h (new) | 37 + .../libc/src/__support/OSUtil/linux/exit.cpp (new) | 31 + .../src/__support/OSUtil/linux/fcntl.cpp (new) | 142 + .../src/__support/OSUtil/linux/getrandom.h (new) | 35 + .../__support/OSUtil/linux/i386/syscall.h (new) | 88 + .../src/__support/OSUtil/linux/i386/vdso.h (new) | 0 .../libc/src/__support/OSUtil/linux/io.h (new) | 27 + .../__support/OSUtil/linux/riscv/syscall.h (new) | 111 + .../src/__support/OSUtil/linux/riscv/vdso.h (new) | 43 + .../src/__support/OSUtil/linux/syscall.h (new) | 39 + .../libc/src/__support/OSUtil/linux/vdso.cpp (new) | 239 + .../libc/src/__support/OSUtil/linux/vdso.h (new) | 81 + .../src/__support/OSUtil/linux/vdso_sym.h (new) | 70 + .../__support/OSUtil/linux/x86_64/syscall.h (new) | 99 + .../src/__support/OSUtil/linux/x86_64/vdso.h (new) | 43 + .../libc/src/__support/OSUtil/syscall.h (new) | 18 + .../libc/src/__support/OSUtil/uefi/error.h (new) | 104 + .../libc/src/__support/OSUtil/uefi/exit.cpp (new) | 24 + .../libc/src/__support/OSUtil/uefi/io.cpp (new) | 41 + .../libc/src/__support/OSUtil/uefi/io.h (new) | 25 + .../src/__support/OSUtil/windows/exit.cpp (new) | 23 + .../libc/src/__support/OSUtil/windows/io.cpp (new) | 25 + .../libc/src/__support/OSUtil/windows/io.h (new) | 21 + .../libc/src/__support/RPC/rpc_client.cpp (new) | 22 + .../libc/src/__support/RPC/rpc_client.h (new) | 37 + .../libc/src/__support/RPC/rpc_server.h (new) | 551 + .../__support/StringUtil/error_to_string.cpp (new) | 85 + .../__support/StringUtil/error_to_string.h (new) | 27 + .../__support/StringUtil/message_mapper.h (new) | 104 + .../__support/StringUtil/platform_errors.h (new) | 18 + .../__support/StringUtil/platform_signals.h (new) | 18 + .../StringUtil/signal_to_string.cpp (new) | 81 + .../__support/StringUtil/signal_to_string.h (new) | 25 + .../tables/linux_extension_errors.h (new) | 130 + .../tables/linux_extension_signals.h (new) | 34 + .../tables/linux_platform_errors.h (new) | 27 + .../tables/linux_platform_signals.h (new) | 24 + .../tables/minimal_platform_errors.h (new) | 23 + .../tables/minimal_platform_signals.h (new) | 21 + .../StringUtil/tables/posix_errors.h (new) | 178 + .../StringUtil/tables/posix_signals.h (new) | 47 + .../StringUtil/tables/signal_table.h (new) | 42 + .../StringUtil/tables/stdc_errors.h (new) | 34 + .../StringUtil/tables/stdc_signals.h (new) | 30 + .../libc/src/__support/arg_list.h (new) | 140 + .../libc/src/__support/big_int.h (new) | 1391 + .../llvm-project/libc/src/__support/block.h (new) | 482 + .../libc/src/__support/blockstore.h (new) | 262 + .../libc/src/__support/c_string.h (new) | 37 + .../libc/src/__support/char_vector.h (new) | 81 + .../llvm-project/libc/src/__support/common.h (new) | 92 + .../libc/src/__support/complex_basic_ops.h (new) | 36 + .../libc/src/__support/complex_type.h (new) | 73 + .../libc/src/__support/ctype_utils.h (new) | 584 + .../src/__support/detailed_powers_of_ten.h (new) | 740 + .../libc/src/__support/endian_internal.h (new) | 146 + .../libc/src/__support/error_or.h (new) | 40 + .../libc/src/__support/fixed_point/fx_bits.h (new) | 232 + .../libc/src/__support/fixed_point/fx_rep.h (new) | 303 + .../libc/src/__support/fixed_point/sqrt.h (new) | 269 + .../libc/src/__support/fixedvector.h (new) | 127 + .../libc/src/__support/float_to_string.h (new) | 837 + .../libc/src/__support/freelist.cpp (new) | 42 + .../libc/src/__support/freelist.h (new) | 89 + .../libc/src/__support/freelist_heap.cpp (new) | 19 + .../libc/src/__support/freelist_heap.h (new) | 209 + .../libc/src/__support/freestore.h (new) | 114 + .../libc/src/__support/freetrie.cpp (new) | 64 + .../libc/src/__support/freetrie.h (new) | 237 + .../llvm-project/libc/src/__support/hash.h (new) | 164 + .../src/__support/high_precision_decimal.h (new) | 442 + .../libc/src/__support/integer_literals.h (new) | 180 + .../libc/src/__support/integer_operations.h (new) | 33 + .../libc/src/__support/integer_to_string.h (new) | 498 + .../libc/src/__support/intrusive_list.h (new) | 66 + .../libc/src/__support/libc_assert.h (new) | 88 + .../libc/src/__support/libc_errno.h (new) | 108 + .../libc/src/__support/macros/README.md (new) | 1 + .../libc/src/__support/macros/attributes.h (new) | 51 + .../libc/src/__support/macros/config.h (new) | 46 + .../libc/src/__support/macros/null_check.h (new) | 37 + .../libc/src/__support/macros/optimization.h (new) | 76 + .../__support/macros/properties/README.md (new) | 2 + .../macros/properties/architectures.h (new) | 64 + .../__support/macros/properties/compiler.h (new) | 43 + .../macros/properties/complex_types.h (new) | 30 + .../macros/properties/cpu_features.h (new) | 108 + .../src/__support/macros/properties/os.h (new) | 32 + .../src/__support/macros/properties/types.h (new) | 72 + .../libc/src/__support/macros/sanitizer.h (new) | 59 + .../src/__support/math/exp_float_constants.h (new) | 145 + .../libc/src/__support/math/expf.h (new) | 116 + .../libc/src/__support/math/expf16.h (new) | 141 + .../libc/src/__support/math/expf16_utils.h (new) | 89 + .../libc/src/__support/math/frexpf.h (new) | 28 + .../libc/src/__support/math/frexpf128.h (new) | 34 + .../libc/src/__support/math/frexpf16.h (new) | 34 + .../libc/src/__support/math/ldexpf.h (new) | 28 + .../libc/src/__support/math/ldexpf128.h (new) | 34 + .../libc/src/__support/math/ldexpf16.h (new) | 34 + .../libc/src/__support/math_extras.h (new) | 160 + .../libc/src/__support/memory_size.h (new) | 92 + .../libc/src/__support/number_pair.h (new) | 26 + .../libc/src/__support/ryu_constants.h (new) | 4404 + .../__support/ryu_long_double_constants.h (new) | 120478 ++++++++++++++++++ .../llvm-project/libc/src/__support/sign.h (new) | 45 + .../libc/src/__support/str_to_float.h (new) | 1275 + .../libc/src/__support/str_to_integer.h (new) | 168 + .../libc/src/__support/str_to_num_result.h (new) | 48 + .../libc/src/__support/threads/CndVar.h (new) | 55 + .../libc/src/__support/threads/callonce.h (new) | 41 + .../src/__support/threads/fork_callbacks.cpp (new) | 95 + .../src/__support/threads/fork_callbacks.h (new) | 26 + .../libc/src/__support/threads/gpu/mutex.h (new) | 32 + .../libc/src/__support/threads/identifier.h (new) | 50 + .../src/__support/threads/linux/CndVar.cpp (new) | 106 + .../src/__support/threads/linux/callonce.cpp (new) | 40 + .../src/__support/threads/linux/callonce.h (new) | 32 + .../__support/threads/linux/futex_utils.h (new) | 88 + .../src/__support/threads/linux/futex_word.h (new) | 30 + .../libc/src/__support/threads/linux/mutex.h (new) | 90 + .../src/__support/threads/linux/raw_mutex.h (new) | 129 + .../src/__support/threads/linux/rwlock.h (new) | 558 + .../src/__support/threads/linux/thread.cpp (new) | 521 + .../libc/src/__support/threads/mutex.h (new) | 46 + .../src/__support/threads/mutex_common.h (new) | 26 + .../libc/src/__support/threads/sleep.h (new) | 37 + .../libc/src/__support/threads/spin_lock.h (new) | 65 + .../libc/src/__support/threads/thread.cpp (new) | 191 + .../libc/src/__support/threads/thread.h (new) | 257 + .../libc/src/__support/time/clock_gettime.h (new) | 22 + .../src/__support/time/gpu/clock_gettime.cpp (new) | 33 + .../src/__support/time/gpu/time_utils.cpp (new) | 22 + .../libc/src/__support/time/gpu/time_utils.h (new) | 45 + .../src/__support/time/linux/abs_timeout.h (new) | 50 + .../__support/time/linux/clock_conversion.h (new) | 43 + .../__support/time/linux/clock_gettime.cpp (new) | 62 + .../src/__support/time/linux/monotonicity.h (new) | 44 + .../libc/src/__support/time/units.h (new) | 39 + .../__support/time/windows/clock_gettime.cpp (new) | 134 + .../time/windows/performance_counter.h (new) | 35 + .../libc/src/__support/uint128.h (new) | 23 + .../__support/wchar/character_converter.cpp (new) | 174 + .../__support/wchar/character_converter.h (new) | 47 + .../libc/src/__support/wchar/mbrtowc.cpp (new) | 52 + .../libc/src/__support/wchar/mbrtowc.h (new) | 29 + .../libc/src/__support/wchar/mbstate.h (new) | 37 + .../src/__support/wchar/string_converter.h (new) | 110 + .../libc/src/__support/wchar/wcrtomb.cpp (new) | 50 + .../libc/src/__support/wchar/wcrtomb.h (new) | 26 + .../libc/src/__support/wcs_to_integer.h (new) | 155 + .../libc/src/__support/wctype_utils.h (new) | 606 + 611 files changed, 170014 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2e6734ed19598028da58b2f47fbb2dd5eaf7f485 commit 2e6734ed19598028da58b2f47fbb2dd5eaf7f485 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-25 18:06:51 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit 787ba2426148 from llvm git (by Matheus Izvekov): [clang] create local instantiation scope for matching template template parameters (#183219) This fixes a bug where a partial substitution from the enclosing scope is used to prepopulate an unrelated template argument deduction. Fixes #181166 This fixes an expected error when building the devel/catch port. PR: 292067 MFC after: 1 month (cherry picked from commit 5ac874516b27474ab5b3d195544c72fb04b4b86e) contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fc1ab22fb3b86093be00c010a57feb1fefceb0bb commit fc1ab22fb3b86093be00c010a57feb1fefceb0bb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-05-08 17:59:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit 871038759afb from llvm git (by Marco Elver): Thread Safety Analysis: Fix pointer handling of variables with deprecated attributes (#148974) de10e44b6fe7 ("Thread Safety Analysis: Support warning on passing/returning pointers to guarded variables") added checks for passing pointer to guarded variables. While new features do not necessarily need to support the deprecated attributes (`guarded_var`, and `pt_guarded_var`), we need to ensure that such features do not cause the compiler to crash. As such, code such as this: struct { int v __attribute__((guarded_var)); } p; int *g() { return &p.v; // handleNoMutexHeld() with POK_ReturnPointer } Would crash in debug builds with the assertion in handleNoMutexHeld() triggering. The assertion is meant to capture the fact that this helper should only be used for warnings on variables (which the deprecated attributes only applied to). To fix, the function handleNoMutexHeld() should handle all POK cases that apply to variables explicitly, and produce a best-effort warning. We refrain from introducing new warnings to avoid unnecessary code bloat for deprecated features. Fixes: https://github.com/llvm/llvm-project/issues/140330 This fixes an assertion while building the net/openvswitch port: "Assertion failed: ((POK == POK_VarAccess || POK == POK_VarDereference) && "Only works for variables"), function handleNoMutexHeld, file /usr/src/contrib/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp, line 2120.' Reported by: cy PR: 295101, 292067 MFC after: 1 month (cherry picked from commit d9b272a19d39f71665b529860bfed731bcfd99f5) .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 25 +++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0b78483e6802652c0a4ebc027988236a088f3a7a commit 0b78483e6802652c0a4ebc027988236a088f3a7a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-23 12:39:31 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Add a comment to llvm's OptParser.td, so dependent files get rebuilt. PR: 292067 MFC after: 1 month (cherry picked from commit 3cbf898fb49fe087cdcafe2745cca3f7a20f4388) contrib/llvm-project/llvm/include/llvm/Option/OptParser.td | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ec6797818bf2f35c95422a4be398ca903ce27657 commit ec6797818bf2f35c95422a4be398ca903ce27657 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 15:20:27 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Fix up builds on Linux hosts after llvm 21.1.8 merge This is because contrib/llvm-project/llvm/lib/Support/Unix/Threading.inc attempts to use pthread_get_name_np(3) and pthread_set_name_np(3), which are not defined on Linux. Reported by: ivy PR: 292067 MFC after: 1 month (cherry picked from commit b6d823e39072daae9df4b47a15ea7142b7a55f1a) lib/clang/include/llvm/Config/config.h | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4a5ad04af821659fe3f4112815f363c2cf3a0e81 commit 4a5ad04af821659fe3f4112815f363c2cf3a0e81 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 23:19:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Fixup mismerge in __cxx03/__type_traits/add_[lr]value_reference.h. PR: 292067 MFC after: 1 month (cherry picked from commit 0f15398d123a9cf02711efddf5e4040f0066c6de) .../libcxx/include/__cxx03/__type_traits/add_lvalue_reference.h | 2 +- .../libcxx/include/__cxx03/__type_traits/add_rvalue_reference.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bdeece20378ef7976fbd61b1a4f1cfaec0ccbf69 commit bdeece20378ef7976fbd61b1a4f1cfaec0ccbf69 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:55:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-10154-ge43e8ec7afbd: [libc++] Remove dead implementation of is_nothrow_convertible and merge the remaining code into is_convertible.h (#137717) We can use the `__is_nothrow_convertible` builtin unconditionally now, which makes the implementation very simple, so there isn't much of a need to keep a separate header around. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 035396ceda495f456ca570fb715b04a7fc3b25c2) .../libcxx/include/__type_traits/is_convertible.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dbb1534461bfb325f1b9dbfa1edf9befa25dbd8a commit dbb1534461bfb325f1b9dbfa1edf9befa25dbd8a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-14 20:42:18 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit d803c61aca0d from llvm git (by Corentin Jabot): [Clang] Fix a regression introduced by #147046 (#150893) Static functions have an implicit object argument during deduction. This fixes an assertion while compiling the devel/corrade port. PR: 292067 MFC after: 1 month (cherry picked from commit 1dfe63e4f75fa2a8c94aaf4aefaf48d164bc90db) contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3e455586033833d25699dfa61ab863e11ca3c110 commit 3e455586033833d25699dfa61ab863e11ca3c110 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:32:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 llvm-libc-macros: work around gcc defining LDBL_MANT_DIG as 53 on i386 Otherwise, gcc will not be able to compile parts of libc++ 21 in -m32 mode, resulting in errors similar to: In file included from /usr/src/contrib/llvm-project/libc/shared/str_to_float.h:13, from /usr/src/contrib/llvm-project/libcxx/src/include/from_chars_floating_point.h:14, from /usr/src/contrib/llvm-project/libcxx/src/charconv.cpp:12: /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h: In function 'void __llvm_libc::internal::set_implicit_bit(__llvm_libc::fputil::FPBits<T>&) [with T = long double]': /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h:77:10: error: 'struct __llvm_libc::fputil::FPBits<long double>' has no member named 'set_implicit_bit' 77 | result.set_implicit_bit(result.get_biased_exponent() != 0); | ^~~~~~~~~~~~~~~~ PR: 292067 MFC after: 1 month (cherry picked from commit 718e5874be0306ea302fd2b8e1d97fc79682abbe) contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2e97bf202703413b4d6e5bce080f9d511886fc97 commit 2e97bf202703413b4d6e5bce080f9d511886fc97 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-12 13:24:01 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit c1d26c3c2510 from llvm git (by Nikolas Klauser): [libc++] Fix iostream size ABI break (#185839) In #124103 we changed the size of various iostream objects, which turns out to be ABI breaking when compiling non-PIE code. This ABI break is safe to fix, since for any programs allocating more memory for the iostream objects, the remaining bytes are simply unused now. Fixes #185724 This fixes the ABI break that causes programs that use the standard streams to terminate in various interesting ways, usually by throwing an unexpected std::bad_cast exception. PR: 292067 MFC after: 1 month (cherry picked from commit 4fc1fdd206c3db60ca521e3966f31044c7711398) contrib/llvm-project/libcxx/src/iostream.cpp | 93 +++++++++++++++++----------- 1 file changed, 56 insertions(+), 37 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=47f4f76074a48cdaa743f05929725c84f71d502b commit 47f4f76074a48cdaa743f05929725c84f71d502b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-04-25 12:34:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:49 +0000 Bump __FreeBSD_version for llvm 21.1.8 merge PR: 292067 MFC after: 1 month (cherry picked from commit 8f95b8b19088bd8d73f6d14dab7afe848dfc0c35) sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=179029b4d82e709f348a6bec2d8e7221664358d9 commit 179029b4d82e709f348a6bec2d8e7221664358d9 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 19:54:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit 924f773f5e26 from llvm git (by Younan Zhang): [Clang] Don't diagnose missing members when looking at the instantiating class template (#180725) The perfect matching patch revealed another bug where recursive instantiations could lead to the escape of SFINAE errors, as shown in the issue. Fixes https://github.com/llvm/llvm-project/issues/179118 This fixes compile errors in the www/qt5-webengine port. PR: 292067 MFC after: 1 month (cherry picked from commit 3fd796204fe6aa2e8a2b70bb9ea95f7497247fa3) contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0c6a058ca265b334c88473dd2685e105d42db95f commit 0c6a058ca265b334c88473dd2685e105d42db95f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-23 14:58:06 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Merge commit b0d2b57f7e47 from llvm git (by Phoebe Wang): [Headers][X86] Remove more duplicated typedefs (#153820) They are defined in mmintrin.h This fixes a -Werror warning in openzfs, which compiles for C99, and C99 does not allow for typedef redefinitions. PR: 292067 MFC after: 1 month (cherry picked from commit 20450c2e792084f06974cff9d2338e2d0406883f) contrib/llvm-project/clang/lib/Headers/emmintrin.h | 4 ---- contrib/llvm-project/clang/lib/Headers/xmmintrin.h | 1 - 2 files changed, 5 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1cbc4a800f5bd8e407232b05345eb402c19059de commit 1cbc4a800f5bd8e407232b05345eb402c19059de Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:31:45 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267: [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386) Clang treats throwing/catching ObjC types differently from C++ types, and omitting the `throw` in `std::make_exception_ptr` breaks ObjC invariants about how types are thrown/caught. Fixes #135089 Co-authored-by: Louis Dionne <ldionne.2@gmail.com> Only use lambdas when in !defined(_LIBCPP_CXX03_LANG), so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month (cherry picked from commit 987ac31018cba9f1763ad3acfb68b933f58a4c52) contrib/llvm-project/libcxx/include/__exception/exception_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=58621652cc529c3b2f5b6531cf0aac74e275af78 commit 58621652cc529c3b2f5b6531cf0aac74e275af78 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-30 19:49:35 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 Partially revert libc++ commit aa7f377c965c, restoring stdint.h This partially reverts upstream libc++ commit aa7f377c965c: [libc++] Remove libc++'s own stdint.h and locale.h (#107436) These headers are not doing anything beyond the system or compiler provided equivalent headers, so there's no real reason to keep them around. Reducing the number of C headers we provide in libc++ simplifies our header layering and reduces the potential for confusion when headers are layered incorrectly. The problem is that libc++'s own `stdint.h` _does_ do something: it defines `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` before including the system `stdint.h`, causing the latter to expose macros like `SIZE_MAX`, `UINT64_C`, and others. If the `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` macros are not exposed, C++ programs compiled for standards before C++11 can fail with errors due to those macros not being available. PR: 292067 MFC after: 1 month (cherry picked from commit 00bee6fcd77f7812e967f85d1cacbc349ff312b3) ObsoleteFiles.inc | 1 - contrib/llvm-project/libcxx/include/cstdint | 8 ++ contrib/llvm-project/libcxx/include/stdint.h (new) | 127 +++++++++++++++++++++ lib/libc++/Makefile | 1 + lib/libc++/module.modulemap | 4 + 5 files changed, 140 insertions(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=502fd5427dc8c9225f5b4f543bd56964816b6510 commit 502fd5427dc8c9225f5b4f543bd56964816b6510 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 15:55:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 Merge llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.8-0-g2078da43e25a, a.k.a. 21.1.8 release. PR: 292067 MFC after: 1 month (cherry picked from commit 7351d001fc7f5a77a18a102e12a3ca2cbfd6988c) .../clang/lib/ExtractAPI/DeclarationFragments.cpp | 5 ++++- .../clang/lib/Format/QualifierAlignmentFixer.cpp | 17 +++++++++++++---- .../clang/lib/Format/UnwrappedLineParser.cpp | 8 ++++---- .../llvm-project/clang/lib/Format/WhitespaceManager.cpp | 5 ++++- .../lib/sanitizer_common/sanitizer_linux.cpp | 12 ++++++++++-- .../sanitizer_common/sanitizer_platform_limits_posix.h | 2 +- contrib/llvm-project/libcxx/include/__config | 2 +- .../llvm-project/llvm/lib/CodeGen/SelectOptimize.cpp | 2 +- .../Target/WebAssembly/WebAssemblyExplicitLocals.cpp | 14 ++++++++++++++ .../lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 4 ++++ .../Transforms/Instrumentation/RealtimeSanitizer.cpp | 3 +++ lib/clang/include/VCSVersion.inc | 6 +++--- lib/clang/include/clang/Basic/Version.inc | 6 +++--- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +++--- lib/clang/include/llvm/Config/config.h | 4 ++-- lib/clang/include/llvm/Config/llvm-config.h | 4 ++-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 18 files changed, 74 insertions(+), 30 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6a0e4d513abc6c4143815e7509ffcc46862a4c23 commit 6a0e4d513abc6c4143815e7509ffcc46862a4c23 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-27 23:23:22 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:35 +0000 Merge llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2, a.k.a. 21.1.7 release. PR: 292067 MFC after: 1 month (cherry picked from commit e64bea71c21eb42e97aa615188ba91f6cce0d36d) ObsoleteFiles.inc | 25 + contrib/llvm-project/FREEBSD-Xlist | 304 ++++++- contrib/llvm-project/clang/include/clang-c/Index.h | 15 + .../llvm-project/clang/include/clang/AST/APValue.h | 2 +- .../clang/include/clang/AST/ASTContext.h | 3 +- .../clang/include/clang/Basic/AttrDocs.td | 6 +- .../include/clang/Basic/DiagnosticASTKinds.td | 8 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../clang/Basic/DiagnosticSerializationKinds.td | 4 + .../clang/include/clang/Basic/Features.def | 9 +- .../clang/include/clang/Basic/LangOptions.def | 4 + .../clang/include/clang/Basic/PointerAuthOptions.h | 16 + .../clang/include/clang/Basic/riscv_vector.td | 935 ++------------------ .../clang/include/clang/Driver/Options.td | 23 +- .../clang/include/clang/Format/Format.h | 14 +- .../llvm-project/clang/include/clang/Lex/Lexer.h | 3 - .../clang/Lex/NoTrivialPPDirectiveTracer.h (new) | 310 +++++++ .../clang/include/clang/Lex/Preprocessor.h | 12 + .../llvm-project/clang/include/clang/Lex/Token.h | 17 +- .../clang/include/clang/Sema/Overload.h | 11 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 +- contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../clang/lib/AST/ASTStructuralEquivalence.cpp | 72 +- contrib/llvm-project/clang/lib/AST/DeclCXX.cpp | 7 + .../llvm-project/clang/lib/AST/ExprConstant.cpp | 41 +- contrib/llvm-project/clang/lib/AST/Type.cpp | 20 + .../clang/lib/Analysis/ThreadSafety.cpp | 2 +- contrib/llvm-project/clang/lib/Basic/Targets.cpp | 3 + .../clang/lib/Basic/Targets/LoongArch.cpp | 2 + .../llvm-project/clang/lib/Basic/Targets/Mips.h | 6 +- .../clang/lib/Basic/Targets/OSTargets.h | 4 + contrib/llvm-project/clang/lib/Basic/Targets/X86.h | 2 + contrib/llvm-project/clang/lib/CodeGen/Address.h | 5 + .../llvm-project/clang/lib/CodeGen/CGBlocks.cpp | 99 ++- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 26 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 6 + .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 14 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../llvm-project/clang/lib/CodeGen/CGExprCXX.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp | 11 +- .../clang/lib/CodeGen/CodeGenFunction.h | 5 +- .../llvm-project/clang/lib/CodeGen/EHScopeStack.h | 2 +- .../clang/lib/CodeGen/TargetBuiltins/RISCV.cpp | 949 ++++++++++++++++++++- .../llvm-project/clang/lib/CodeGen/TargetInfo.cpp | 2 + .../clang/lib/CodeGen/Targets/Sparc.cpp | 125 ++- .../llvm-project/clang/lib/Driver/ToolChain.cpp | 29 +- .../clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 + .../clang/lib/Driver/ToolChains/Arch/AArch64.h | 1 + .../clang/lib/Driver/ToolChains/Arch/Sparc.cpp | 31 +- .../clang/lib/Driver/ToolChains/Arch/Sparc.h | 3 +- .../clang/lib/Driver/ToolChains/BareMetal.cpp | 24 +- .../clang/lib/Driver/ToolChains/Clang.cpp | 11 - .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 36 +- .../clang/lib/Driver/ToolChains/Darwin.cpp | 38 +- .../clang/lib/Driver/ToolChains/Flang.cpp | 1 + .../clang/lib/Driver/ToolChains/MinGW.cpp | 11 +- .../clang/lib/Driver/ToolChains/OpenBSD.cpp | 2 +- .../clang/lib/Format/ContinuationIndenter.cpp | 13 +- contrib/llvm-project/clang/lib/Format/Format.cpp | 96 ++- .../llvm-project/clang/lib/Format/FormatToken.cpp | 3 +- .../llvm-project/clang/lib/Format/FormatToken.h | 2 +- .../clang/lib/Format/FormatTokenLexer.cpp | 13 +- .../lib/Format/IntegerLiteralSeparatorFixer.cpp | 11 +- .../clang/lib/Format/TokenAnnotator.cpp | 78 +- .../clang/lib/Format/UnwrappedLineParser.cpp | 25 +- .../clang/lib/Frontend/CompilerInvocation.cpp | 16 +- .../clang/lib/Frontend/InitPreprocessor.cpp | 3 + .../clang/lib/Headers/avx10_2_512niintrin.h | 12 +- .../clang/lib/Headers/avx10_2bf16intrin.h | 36 +- .../clang/lib/Headers/avx10_2niintrin.h | 24 +- .../llvm-project/clang/lib/Headers/opencl-c-base.h | 11 +- contrib/llvm-project/clang/lib/Headers/ptrauth.h | 4 +- contrib/llvm-project/clang/lib/Lex/Lexer.cpp | 9 - .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 2 +- .../llvm-project/clang/lib/Lex/Preprocessor.cpp | 40 +- contrib/llvm-project/clang/lib/Parse/ParseExpr.cpp | 3 +- contrib/llvm-project/clang/lib/Parse/Parser.cpp | 8 +- .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 7 +- .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 9 +- .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 4 - contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 9 + .../llvm-project/clang/lib/Sema/SemaDeclAttr.cpp | 13 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 8 +- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 2 + contrib/llvm-project/clang/lib/Sema/SemaModule.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 14 +- contrib/llvm-project/clang/lib/Sema/SemaStmt.cpp | 6 +- .../llvm-project/clang/lib/Sema/SemaTemplate.cpp | 2 - .../clang/lib/Sema/SemaTemplateDeduction.cpp | 21 +- .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 2 +- .../llvm-project/clang/lib/Sema/SemaTypeTraits.cpp | 5 +- .../clang/lib/Serialization/ASTReader.cpp | 4 + .../clang/lib/Serialization/ASTWriter.cpp | 3 +- .../clang/lib/Serialization/ModuleCache.cpp | 4 +- .../lib/StaticAnalyzer/Checkers/AssumeModeling.cpp | 1 - .../clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | 3 +- .../lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 35 +- .../compiler-rt/lib/builtins/aarch64/lse.S | 4 +- .../compiler-rt/lib/builtins/aarch64/sme-abi.S | 4 +- .../compiler-rt/lib/builtins/assembly.h | 18 +- .../compiler-rt/lib/builtins/cpu_model/aarch64.c | 8 +- .../aarch64/fmv/{freebsd.inc => elf_aux_info.inc} | 0 .../lse_atomics/{freebsd.inc => elf_aux_info.inc} | 0 .../compiler-rt/lib/builtins/crtbegin.c | 46 +- .../lib/hwasan/hwasan_interceptors_vfork.S | 2 +- .../compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S | 2 +- .../lib/hwasan/hwasan_tag_mismatch_aarch64.S | 2 +- .../sanitizer_common_interceptors_ioctl.inc | 4 + ...nitizer_common_interceptors_vfork_aarch64.inc.S | 2 +- .../sanitizer_common/sanitizer_linux_libcdep.cpp | 1 + .../lib/sanitizer_common/sanitizer_platform.h | 15 + .../sanitizer_platform_limits_freebsd.cpp | 22 - .../sanitizer_platform_limits_freebsd.h | 16 - .../sanitizer_platform_limits_netbsd.cpp | 3 +- .../sanitizer_platform_limits_posix.cpp | 8 +- .../sanitizer_platform_limits_posix.h | 34 +- .../compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S | 2 +- .../llvm-project/libcxx/include/__algorithm/sort.h | 3 + contrib/llvm-project/libcxx/include/__assert | 4 +- .../llvm-project/libcxx/include/__bit/bit_log2.h | 2 + contrib/llvm-project/libcxx/include/__config | 109 ++- .../libcxx/include/__configuration/abi.h | 12 + .../llvm-project/libcxx/include/__cxx03/__config | 4 + .../libcxx/include/__functional/hash.h | 14 +- .../libcxx/include/__log_hardening_failure (new) | 42 + .../libcxx/include/__memory/array_cookie.h | 84 +- .../libcxx/include/__memory/compressed_pair.h | 54 +- .../libcxx/include/__ranges/join_view.h | 9 +- .../libcxx/include/__type_traits/invoke.h | 10 +- .../include/__type_traits/is_unqualified.h (new) | 25 + contrib/llvm-project/libcxx/include/ext/hash_map | 4 +- contrib/llvm-project/libcxx/include/ext/hash_set | 4 +- contrib/llvm-project/libcxx/include/fstream | 35 +- contrib/llvm-project/libcxx/include/map | 4 +- .../libcxx/include/module.modulemap.in | 4 + contrib/llvm-project/libcxx/include/string | 14 +- contrib/llvm-project/libcxx/src/algorithm.cpp | 3 + .../experimental/log_hardening_failure.cpp (new) | 31 + .../vendor/llvm/default_assertion_handler.in | 35 +- contrib/llvm-project/libunwind/src/Unwind-seh.cpp | 3 +- .../llvm-project/libunwind/src/UnwindCursor.hpp | 3 +- .../libunwind/src/UnwindRegistersRestore.S | 7 +- contrib/llvm-project/lld/COFF/Chunks.cpp | 2 +- contrib/llvm-project/lld/COFF/Config.h | 14 +- contrib/llvm-project/lld/COFF/DLL.cpp | 94 +- contrib/llvm-project/lld/COFF/Driver.cpp | 68 +- contrib/llvm-project/lld/COFF/Driver.h | 1 + contrib/llvm-project/lld/COFF/DriverUtils.cpp | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 30 +- contrib/llvm-project/lld/COFF/LTO.cpp | 11 +- contrib/llvm-project/lld/COFF/Options.td | 11 + contrib/llvm-project/lld/COFF/PDB.cpp | 9 +- contrib/llvm-project/lld/COFF/SymbolTable.cpp | 38 + contrib/llvm-project/lld/COFF/SymbolTable.h | 3 + contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- contrib/llvm-project/lld/ELF/Arch/Hexagon.cpp | 47 + contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 158 +++- contrib/llvm-project/lld/ELF/InputFiles.cpp | 59 +- contrib/llvm-project/lld/ELF/LinkerScript.cpp | 20 +- contrib/llvm-project/lld/ELF/Relocations.cpp | 55 +- contrib/llvm-project/lld/ELF/Thunks.cpp | 72 +- contrib/llvm-project/lld/docs/DTLTO.rst | 37 +- contrib/llvm-project/lld/docs/ReleaseNotes.rst | 3 + .../lldb/Target/InstrumentationRuntimeStopInfo.h | 3 + .../lldb/include/lldb/Target/StackFrameList.h | 12 + .../llvm-project/lldb/include/lldb/Target/Thread.h | 5 + .../ExpressionParser/Clang/ClangASTImporter.cpp | 10 + .../Language/CPlusPlus/CPlusPlusLanguage.cpp | 50 +- .../source/Plugins/Language/CPlusPlus/LibCxx.cpp | 67 +- .../source/Plugins/Language/CPlusPlus/LibCxx.h | 17 +- .../Plugins/Language/CPlusPlus/LibCxxList.cpp | 24 +- .../Plugins/Language/CPlusPlus/LibCxxMap.cpp | 29 +- .../Language/CPlusPlus/LibCxxUnorderedMap.cpp | 59 +- .../Plugins/Language/CPlusPlus/LibCxxVector.cpp | 12 +- .../FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp | 3 +- .../source/Plugins/Process/Utility/AuxVector.cpp | 1 + .../source/Plugins/Process/Utility/AuxVector.h | 1 + .../Utility/RegisterFlagsDetector_arm64.cpp | 53 +- .../Process/Utility/RegisterFlagsDetector_arm64.h | 25 +- .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 13 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 12 + .../Target/InstrumentationRuntimeStopInfo.cpp | 42 + .../llvm-project/lldb/source/Target/Process.cpp | 8 + .../lldb/source/Target/StackFrameList.cpp | 2 + .../lldb/source/Target/TargetProperties.td | 4 +- .../lldb/source/ValueObject/DILEval.cpp | 2 +- .../llvm/include/llvm/Analysis/IVDescriptors.h | 3 + .../llvm/include/llvm/BinaryFormat/ELF.h | 28 +- .../llvm/include/llvm/CodeGen/MachineBasicBlock.h | 9 +- .../llvm/include/llvm/CodeGen/MachineOperand.h | 3 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 11 + .../llvm/IR/GenericFloatingPointPredicateUtils.h | 24 +- .../llvm/include/llvm/IR/RuntimeLibcalls.td | 2 +- .../llvm-project/llvm/include/llvm/MC/MCContext.h | 4 + .../llvm/MC/MCDisassembler/MCDisassembler.h | 12 + .../llvm/include/llvm/MC/MCParser/MCAsmParser.h | 3 + .../llvm-project/llvm/include/llvm/MC/MCSection.h | 25 +- .../llvm/include/llvm/Object/ELFObjectFile.h | 1 + .../llvm/lib/Analysis/IVDescriptors.cpp | 26 +- contrib/llvm-project/llvm/lib/Analysis/Loads.cpp | 5 +- .../llvm/lib/Analysis/ScalarEvolution.cpp | 9 +- .../llvm/lib/CodeGen/BranchFolding.cpp | 5 + .../llvm/lib/CodeGen/CodeGenPrepare.cpp | 4 + .../llvm/lib/CodeGen/MachineCopyPropagation.cpp | 10 - .../llvm/lib/CodeGen/MachineOperand.cpp | 13 + .../llvm/lib/CodeGen/MachinePipeliner.cpp | 29 +- .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 2 + .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 19 +- .../CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 8 + .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../llvm/lib/CodeGen/TailDuplicator.cpp | 23 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 36 +- contrib/llvm-project/llvm/lib/IR/Verifier.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCContext.cpp | 49 +- contrib/llvm-project/llvm/lib/MC/MCExpr.cpp | 3 + contrib/llvm-project/llvm/lib/MC/MCFragment.cpp | 4 + .../llvm-project/llvm/lib/MC/MCObjectStreamer.cpp | 7 + .../llvm/lib/MC/MCParser/AsmParser.cpp | 65 +- .../llvm/lib/MC/MCParser/COFFAsmParser.cpp | 66 +- .../llvm/lib/MC/MCParser/COFFMasmParser.cpp | 17 +- .../llvm/lib/MC/MCParser/DarwinAsmParser.cpp | 44 +- .../llvm/lib/MC/MCParser/ELFAsmParser.cpp | 34 +- .../llvm/lib/MC/MCParser/MCAsmParser.cpp | 9 + .../llvm/lib/MC/MCParser/MCAsmParserExtension.cpp | 4 +- .../llvm/lib/MC/MCParser/MasmParser.cpp | 32 +- .../llvm/lib/MC/MCParser/WasmAsmParser.cpp | 15 +- contrib/llvm-project/llvm/lib/MC/MCSection.cpp | 6 +- .../llvm/lib/ObjCopy/COFF/COFFObject.cpp | 2 + .../llvm/lib/ObjCopy/COFF/COFFObject.h | 2 + .../llvm/lib/ObjCopy/COFF/COFFReader.cpp | 2 +- .../llvm/lib/ObjCopy/COFF/COFFWriter.cpp | 75 ++ .../llvm/lib/ObjCopy/COFF/COFFWriter.h | 1 + .../llvm-project/llvm/lib/Object/ELFObjectFile.cpp | 32 +- .../llvm/lib/Support/BLAKE3/blake3_dispatch.c | 2 +- .../llvm/lib/Support/BLAKE3/blake3_impl.h | 2 +- .../llvm/lib/Support/BLAKE3/blake3_neon.c | 9 +- .../llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h | 2 + .../llvm-project/llvm/lib/Support/MemoryBuffer.cpp | 10 +- .../llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | 28 +- .../lib/Target/AArch64/AArch64BranchTargets.cpp | 46 +- .../llvm/lib/Target/AArch64/AArch64Features.td | 4 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 25 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 8 +- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 10 +- .../llvm/lib/Target/ARM/ARMISelLowering.cpp | 11 + .../llvm/lib/Target/AVR/AVRISelLowering.cpp | 7 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 131 ++- .../Hexagon/Disassembler/HexagonDisassembler.cpp | 128 ++- .../llvm/lib/Target/Hexagon/HexagonGenInsert.cpp | 8 +- .../lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 9 + .../lib/Target/Hexagon/HexagonISelLoweringHVX.cpp | 4 + .../llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 1 + .../Hexagon/MCTargetDesc/HexagonInstPrinter.cpp | 34 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 19 +- .../lib/Target/LoongArch/LoongArchAsmPrinter.cpp | 2 +- .../Target/LoongArch/LoongArchFrameLowering.cpp | 7 +- .../lib/Target/LoongArch/LoongArchISelLowering.cpp | 230 ++--- .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 45 +- .../llvm/lib/Target/LoongArch/LoongArchInstrInfo.h | 3 + .../Target/LoongArch/LoongArchMergeBaseOffset.cpp | 4 + .../LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp | 10 +- .../lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 +- .../llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 8 +- .../llvm/lib/Target/Mips/MipsExpandPseudo.cpp | 217 ++++- .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 29 - .../llvm/lib/Target/Mips/MipsISelLowering.h | 1 - .../llvm/lib/Target/Mips/MipsInstrInfo.td | 16 +- .../llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 12 +- .../lib/Target/NVPTX/NVPTXTargetTransformInfo.h | 5 + .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 39 +- .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 3 +- .../llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | 17 +- .../Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp | 42 +- .../RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp | 29 +- .../llvm/lib/Target/RISCV/RISCVCallingConv.td | 4 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 38 +- .../llvm/lib/Target/RISCV/RISCVFrameLowering.h | 3 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 18 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 89 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td | 9 +- .../llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td | 4 +- .../llvm/lib/Target/RISCV/RISCVMoveMerger.cpp | 16 +- .../llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 11 +- .../lib/Target/RISCV/RISCVTargetTransformInfo.cpp | 1 + .../llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp | 9 + .../llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 4 +- .../llvm/lib/Target/Sparc/SparcISelLowering.cpp | 18 +- .../llvm/lib/Target/Sparc/SparcISelLowering.h | 5 + .../llvm/lib/Target/Sparc/SparcInstrUAOSA.td | 12 + .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 14 - .../Target/SystemZ/SystemZTargetTransformInfo.h | 3 - .../WebAssembly/WebAssemblyExplicitLocals.cpp | 12 +- .../llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 28 +- .../llvm/lib/Target/X86/X86CallingConv.cpp | 31 + .../llvm/lib/Target/X86/X86CallingConv.td | 5 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 53 +- .../llvm/lib/Target/X86/X86ISelLoweringCall.cpp | 15 +- .../llvm/lib/Target/X86/X86InstrInfo.cpp | 22 +- .../llvm/lib/Target/Xtensa/XtensaISelLowering.cpp | 16 +- .../llvm/lib/Transforms/Coroutines/Coroutines.cpp | 3 + .../lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 12 +- .../Instrumentation/SanitizerCoverage.cpp | 13 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 1 + .../llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp | 21 + .../llvm/lib/Transforms/Scalar/SROA.cpp | 15 +- .../lib/Transforms/Utils/BreakCriticalEdges.cpp | 11 +- .../llvm/lib/Transforms/Utils/LoopUtils.cpp | 10 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 11 +- .../Vectorize/LoopVectorizationPlanner.h | 12 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 18 +- .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 11 +- .../lib/Transforms/Vectorize/VPlanAnalysis.cpp | 1 + .../lib/Transforms/Vectorize/VPlanConstruction.cpp | 160 ++++ .../llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.cpp | 8 +- .../lib/Transforms/Vectorize/VPlanTransforms.h | 6 + .../lib/Transforms/Vectorize/VectorCombine.cpp | 39 +- .../llvm/tools/llvm-mc/Disassembler.cpp | 6 +- .../llvm/tools/llvm-objdump/llvm-objdump.cpp | 188 ++-- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 114 ++- contrib/llvm-project/openmp/runtime/src/kmp.h | 23 +- .../openmp/runtime/src/kmp_affinity.cpp | 24 +- .../llvm-project/openmp/runtime/src/kmp_affinity.h | 6 +- .../llvm-project/openmp/runtime/src/kmp_alloc.cpp | 30 +- .../llvm-project/openmp/runtime/src/kmp_dispatch.h | 4 +- .../llvm-project/openmp/runtime/src/kmp_global.cpp | 4 +- .../openmp/runtime/src/kmp_settings.cpp | 20 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 8 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 8 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 6 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/Makefile | 2 + lib/libc++/__assertion_handler | 35 +- lib/libc++/libcxx.imp | 1 + lib/libc++/module.modulemap | 4 + lib/libclang_rt/asan/Makefile | 2 + lib/libclang_rt/asan_cxx/Makefile | 3 - lib/libclang_rt/asan_dynamic/Makefile | 2 + lib/libclang_rt/cfi/Makefile | 1 + lib/libclang_rt/cfi_diag/Makefile | 2 + lib/libclang_rt/dd/Makefile | 1 + lib/libclang_rt/include/Makefile | 1 + lib/libclang_rt/msan/Makefile | 2 + lib/libclang_rt/msan_cxx/Makefile | 3 - lib/libclang_rt/safestack/Makefile | 1 + lib/libclang_rt/stats/Makefile | 1 + lib/libclang_rt/tsan/Makefile | 2 + lib/libclang_rt/tsan_cxx/Makefile | 7 - lib/libclang_rt/ubsan_standalone/Makefile | 2 + lib/libomp/kmp_config.h | 2 +- lib/libomp/omp.h | 45 +- tools/build/mk/OptionalObsoleteFiles.inc | 1 + 358 files changed, 6380 insertions(+), 2844 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a2694ead3368361edfa0c45e1b7e7a9d5a097583 commit a2694ead3368361edfa0c45e1b7e7a9d5a097583 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 19:54:32 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83: [libc++] Simplify the implementation of remove_reference (#85207) GCC 13 introduced the type trait `__remove_reference`. We can simplify the implementation of `remove_reference` a bit by using it. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit a114ece3e6158f49088b0704b4afef07040d83f3) .../llvm-project/libcxx/include/__type_traits/remove_reference.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dbafbd4c86662b2d90b56b612c04ea140c2e8fdd commit dbafbd4c86662b2d90b56b612c04ea140c2e8fdd Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 20:25:42 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-17684-gae9990ed9651: [libc++] Remove dead code from <type_traits> (#143854) Since we've upgraded to GCC 15 now, we can remove a bunch of dead code from `<type_traits>`. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month (cherry picked from commit f7bcd8d8c9336b97569265e5ad36b73b30357beb) .../libcxx/include/__type_traits/add_pointer.h | 14 +----- .../libcxx/include/__type_traits/add_reference.h | 55 ++++++++++++++++------ .../libcxx/include/__type_traits/decay.h | 44 ++++++++++++++--- .../has_unique_object_representation.h | 8 +++- .../libcxx/include/__type_traits/is_array.h | 24 +++++++++- .../libcxx/include/__type_traits/is_const.h | 20 +++++++- .../libcxx/include/__type_traits/is_pointer.h | 33 +++++++++++++ .../libcxx/include/__type_traits/is_volatile.h | 20 +++++++- .../include/__type_traits/remove_all_extents.h | 21 +++++++-- .../libcxx/include/__type_traits/remove_extent.h | 21 +++++++-- 10 files changed, 213 insertions(+), 47 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9f50fc326cf220a84629066a9336856ecc4f1af5 commit 9f50fc326cf220a84629066a9336856ecc4f1af5 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 14:04:07 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:35 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 3 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add more items to the libc/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit bb722a7d0f1642bff6487f943ad0427799a6e5bf) contrib/llvm-project/libc/hdr/errno_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/fcntl_macros.h (new) | 22 + .../llvm-project/libc/hdr/fcntl_overlay.h (new) | 47 + contrib/llvm-project/libc/hdr/fenv_macros.h (new) | 61 + contrib/llvm-project/libc/hdr/float_macros.h (new) | 22 + .../libc/hdr/func/aligned_alloc.h (new) | 22 + contrib/llvm-project/libc/hdr/func/free.h (new) | 22 + contrib/llvm-project/libc/hdr/func/malloc.h (new) | 24 + contrib/llvm-project/libc/hdr/func/realloc.h (new) | 24 + .../llvm-project/libc/hdr/limits_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/link_macros.h (new) | 22 + .../llvm-project/libc/hdr/locale_macros.h (new) | 22 + .../libc/hdr/math_function_macros.h (new) | 27 + contrib/llvm-project/libc/hdr/math_macros.h (new) | 48 + .../llvm-project/libc/hdr/offsetof_macros.h (new) | 23 + contrib/llvm-project/libc/hdr/sched_macros.h (new) | 22 + .../llvm-project/libc/hdr/signal_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/stdio_macros.h (new) | 23 + .../llvm-project/libc/hdr/stdio_overlay.h (new) | 69 + .../llvm-project/libc/hdr/stdlib_macros.h (new) | 22 + .../llvm-project/libc/hdr/stdlib_overlay.h (new) | 46 + .../llvm-project/libc/hdr/sys_auxv_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_epoll_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_ioctl_macros.h (new) | 22 + .../llvm-project/libc/hdr/sys_stat_macros.h (new) | 22 + contrib/llvm-project/libc/hdr/time_macros.h (new) | 28 + contrib/llvm-project/libc/hdr/types/ACTION.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ENTRY.h (new) | 22 + contrib/llvm-project/libc/hdr/types/FILE.h (new) | 22 + .../libc/hdr/types/atexithandler_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char32_t.h (new) | 22 + .../llvm-project/libc/hdr/types/char8_t.h (new) | 14 + .../llvm-project/libc/hdr/types/clock_t.h (new) | 22 + .../llvm-project/libc/hdr/types/clockid_t.h (new) | 23 + .../libc/hdr/types/cookie_io_functions_t.h (new) | 22 + .../llvm-project/libc/hdr/types/cpu_set_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/div_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/fenv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/fexcept_t.h (new) | 22 + .../llvm-project/libc/hdr/types/jmp_buf.h (new) | 22 + contrib/llvm-project/libc/hdr/types/ldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/lldiv_t.h (new) | 22 + .../llvm-project/libc/hdr/types/locale_t.h (new) | 22 + .../llvm-project/libc/hdr/types/mbstate_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/mode_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/nfds_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/off_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/pid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/sigset_t.h (new) | 21 + contrib/llvm-project/libc/hdr/types/size_t.h (new) | 23 + .../llvm-project/libc/hdr/types/socklen_t.h (new) | 21 + .../llvm-project/libc/hdr/types/ssize_t.h (new) | 21 + .../llvm-project/libc/hdr/types/stack_t.h (new) | 23 + .../libc/hdr/types/struct_dl_phdr_info.h (new) | 21 + .../libc/hdr/types/struct_epoll_event.h (new) | 21 + .../libc/hdr/types/struct_f_owner_ex.h (new) | 21 + .../libc/hdr/types/struct_flock.h (new) | 21 + .../libc/hdr/types/struct_flock64.h (new) | 21 + .../libc/hdr/types/struct_iovec.h (new) | 21 + .../libc/hdr/types/struct_itimerval.h (new) | 21 + .../libc/hdr/types/struct_msghdr.h (new) | 21 + .../libc/hdr/types/struct_pollfd.h (new) | 23 + .../libc/hdr/types/struct_sigaction.h (new) | 21 + .../libc/hdr/types/struct_sockaddr.h (new) | 21 + .../libc/hdr/types/struct_timespec.h (new) | 21 + .../libc/hdr/types/struct_timeval.h (new) | 21 + .../llvm-project/libc/hdr/types/struct_tm.h (new) | 21 + .../libc/hdr/types/suseconds_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/time_t.h (new) | 22 + contrib/llvm-project/libc/hdr/types/uid_t.h (new) | 22 + .../llvm-project/libc/hdr/types/wchar_t.h (new) | 23 + contrib/llvm-project/libc/hdr/types/wint_t.h (new) | 23 + .../llvm-project/libc/hdr/uchar_overlay.h (new) | 69 + .../llvm-project/libc/hdr/unistd_macros.h (new) | 22 + .../llvm-project/libc/hdr/unistd_overlay.h (new) | 69 + contrib/llvm-project/libc/hdr/wchar_macros.h (new) | 22 + .../llvm-project/libc/hdr/wchar_overlay.h (new) | 69 + .../libc/include/__llvm-libc-common.h (new) | 98 + .../include/llvm-libc-macros/EFIAPI-macros.h (new) | 18 + .../include/llvm-libc-macros/assert-macros.h (new) | 14 + .../llvm-libc-macros/baremetal/time-macros.h (new) | 26 + .../llvm-libc-macros/complex-macros.h (new) | 24 + .../llvm-libc-macros/containerof-macro.h (new) | 20 + .../include/llvm-libc-macros/dlfcn-macros.h (new) | 23 + .../include/llvm-libc-macros/elf-macros.h (new) | 18 + .../include/llvm-libc-macros/endian-macros.h (new) | 50 + .../llvm-libc-macros/error-number-macros.h (new) | 8 + .../include/llvm-libc-macros/fcntl-macros.h (new) | 8 + .../llvm-libc-macros/features-macros.h (new) | 12 + .../include/llvm-libc-macros/fenv-macros.h (new) | 28 + .../llvm-libc-macros/file-seek-macros.h (new) | 16 + .../include/llvm-libc-macros/float-macros.h (new) | 178 + .../llvm-libc-macros/float16-macros.h (new) | 27 + .../generic-error-number-macros.h (new) | 48 + .../llvm-libc-macros/gpu/signal-macros.h (new) | 28 + .../llvm-libc-macros/gpu/time-macros.h (new) | 17 + .../llvm-libc-macros/inttypes-macros.h (new) | 420 + .../include/llvm-libc-macros/limits-macros.h (new) | 246 + .../include/llvm-libc-macros/link-macros.h (new) | 20 + .../linux/error-number-macros.h (new) | 32 + .../llvm-libc-macros/linux/fcntl-macros.h (new) | 105 + .../llvm-libc-macros/linux/poll-macros.h (new) | 65 + .../llvm-libc-macros/linux/sched-macros.h (new) | 37 + .../llvm-libc-macros/linux/signal-macros.h (new) | 101 + .../linux/sys-epoll-macros.h (new) | 40 + .../linux/sys-ioctl-macros.h (new) | 20 + .../linux/sys-random-macros.h (new) | 17 + .../linux/sys-resource-macros.h (new) | 31 + .../linux/sys-socket-macros.h (new) | 28 + .../llvm-libc-macros/linux/sys-stat-macros.h (new) | 48 + .../llvm-libc-macros/linux/sys-time-macros.h (new) | 53 + .../llvm-libc-macros/linux/sys-wait-macros.h (new) | 27 + .../llvm-libc-macros/linux/termios-macros.h (new) | 167 + .../llvm-libc-macros/linux/time-macros.h (new) | 26 + .../llvm-libc-macros/linux/unistd-macros.h (new) | 57 + .../include/llvm-libc-macros/locale-macros.h (new) | 32 + .../include/llvm-libc-macros/malloc-macros.h (new) | 17 + .../llvm-libc-macros/math-function-macros.h (new) | 37 + .../include/llvm-libc-macros/math-macros.h (new) | 53 + .../include/llvm-libc-macros/null-macro.h (new) | 15 + .../llvm-libc-macros/offsetof-macro.h (new) | 15 + .../include/llvm-libc-macros/poll-macros.h (new) | 16 + .../llvm-libc-macros/pthread-macros.h (new) | 65 + .../include/llvm-libc-macros/sched-macros.h (new) | 16 + .../include/llvm-libc-macros/signal-macros.h (new) | 18 + .../include/llvm-libc-macros/stdbit-macros.h (new) | 316 + .../llvm-libc-macros/stdckdint-macros.h (new) | 27 + .../include/llvm-libc-macros/stdfix-macros.h (new) | 367 + .../include/llvm-libc-macros/stdint-macros.h (new) | 878 + .../include/llvm-libc-macros/stdio-macros.h (new) | 58 + .../include/llvm-libc-macros/stdlib-macros.h (new) | 27 + .../llvm-libc-macros/sys-auxv-macros.h (new) | 43 + .../llvm-libc-macros/sys-epoll-macros.h (new) | 16 + .../llvm-libc-macros/sys-ioctl-macros.h (new) | 16 + .../llvm-libc-macros/sys-mman-macros.h (new) | 48 + .../llvm-libc-macros/sys-queue-macros.h (new) | 262 + .../llvm-libc-macros/sys-random-macros.h (new) | 16 + .../llvm-libc-macros/sys-resource-macros.h (new) | 16 + .../llvm-libc-macros/sys-select-macros.h (new) | 35 + .../llvm-libc-macros/sys-socket-macros.h (new) | 16 + .../llvm-libc-macros/sys-stat-macros.h (new) | 16 + .../llvm-libc-macros/sys-time-macros.h (new) | 16 + .../llvm-libc-macros/sys-wait-macros.h (new) | 16 + .../llvm-libc-macros/sysexits-macros.h (new) | 29 + .../llvm-libc-macros/termios-macros.h (new) | 16 + .../include/llvm-libc-macros/time-macros.h (new) | 21 + .../include/llvm-libc-macros/unistd-macros.h (new) | 12 + .../include/llvm-libc-macros/wchar-macros.h (new) | 18 + .../windows/time-macros-ext.h (new) | 17 + .../libc/include/llvm-libc-types/ACTION.h (new) | 14 + .../libc/include/llvm-libc-types/DIR.h (new) | 14 + .../llvm-libc-types/EFI_ALLOCATE_TYPE.h (new) | 19 + .../llvm-libc-types/EFI_BOOT_SERVICES.h (new) | 250 + .../include/llvm-libc-types/EFI_CAPSULE.h (new) | 26 + .../EFI_CONFIGURATION_TABLE.h (new) | 19 + .../EFI_DEVICE_PATH_PROTOCOL.h (new) | 23 + .../libc/include/llvm-libc-types/EFI_EVENT.h (new) | 21 + .../libc/include/llvm-libc-types/EFI_GUID.h (new) | 21 + .../include/llvm-libc-types/EFI_HANDLE.h (new) | 14 + .../llvm-libc-types/EFI_INTERFACE_TYPE.h (new) | 16 + .../llvm-libc-types/EFI_LOCATE_SEARCH_TYPE.h (new) | 18 + .../llvm-libc-types/EFI_MEMORY_DESCRIPTOR.h (new) | 43 + .../llvm-libc-types/EFI_MEMORY_TYPE.h (new) | 32 + .../EFI_OPEN_PROTOCOL_INFORMATION_ENTRY.h (new) | 22 + .../llvm-libc-types/EFI_PHYSICAL_ADDRESS.h (new) | 16 + .../llvm-libc-types/EFI_RUNTIME_SERVICES.h (new) | 137 + .../EFI_SIMPLE_TEXT_INPUT_PROTOCOL.h (new) | 39 + .../EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h (new) | 64 + .../include/llvm-libc-types/EFI_STATUS.h (new) | 60 + .../llvm-libc-types/EFI_SYSTEM_TABLE.h (new) | 65 + .../llvm-libc-types/EFI_TABLE_HEADER.h (new) | 22 + .../libc/include/llvm-libc-types/EFI_TIME.h (new) | 37 + .../llvm-libc-types/EFI_TIMER_DELAY.h (new) | 18 + .../libc/include/llvm-libc-types/EFI_TPL.h (new) | 21 + .../llvm-libc-types/EFI_VIRTUAL_ADDRESS.h (new) | 16 + .../libc/include/llvm-libc-types/ENTRY.h (new) | 17 + .../libc/include/llvm-libc-types/FILE.h (new) | 14 + .../libc/include/llvm-libc-types/VISIT.h (new) | 14 + .../llvm-libc-types/__atexithandler_t.h (new) | 14 + .../llvm-libc-types/__atfork_callback_t.h (new) | 14 + .../llvm-libc-types/__call_once_func_t.h (new) | 14 + .../__dl_iterate_phdr_callback_t.h (new) | 19 + .../include/llvm-libc-types/__exec_argv_t.h (new) | 14 + .../include/llvm-libc-types/__exec_envp_t.h (new) | 14 + .../include/llvm-libc-types/__futex_word.h (new) | 20 + .../include/llvm-libc-types/__getoptargv_t.h (new) | 14 + .../include/llvm-libc-types/__mutex_type.h (new) | 29 + .../llvm-libc-types/__pthread_once_func_t.h (new) | 14 + .../llvm-libc-types/__pthread_start_t.h (new) | 14 + .../llvm-libc-types/__pthread_tss_dtor_t.h (new) | 14 + .../llvm-libc-types/__qsortcompare_t.h (new) | 14 + .../llvm-libc-types/__qsortrcompare_t.h (new) | 14 + .../llvm-libc-types/__search_compare_t.h (new) | 14 + .../include/llvm-libc-types/__thread_type.h (new) | 16 + .../libc/include/llvm-libc-types/blkcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/blksize_t.h (new) | 14 + .../libc/include/llvm-libc-types/cc_t.h (new) | 14 + .../libc/include/llvm-libc-types/cfloat128.h (new) | 44 + .../libc/include/llvm-libc-types/cfloat16.h (new) | 21 + .../libc/include/llvm-libc-types/char16_t.h (new) | 17 + .../libc/include/llvm-libc-types/char32_t.h (new) | 17 + .../libc/include/llvm-libc-types/char8_t.h (new) | 16 + .../libc/include/llvm-libc-types/clock_t.h (new) | 14 + .../libc/include/llvm-libc-types/clockid_t.h (new) | 14 + .../libc/include/llvm-libc-types/cnd_t.h (new) | 20 + .../llvm-libc-types/cookie_io_functions_t.h (new) | 28 + .../libc/include/llvm-libc-types/cpu_set_t.h (new) | 21 + .../libc/include/llvm-libc-types/dev_t.h (new) | 14 + .../libc/include/llvm-libc-types/div_t.h (new) | 17 + .../libc/include/llvm-libc-types/double_t.h (new) | 24 + .../libc/include/llvm-libc-types/fd_set.h (new) | 18 + .../libc/include/llvm-libc-types/fenv_t.h (new) | 36 + .../libc/include/llvm-libc-types/fexcept_t.h (new) | 18 + .../libc/include/llvm-libc-types/float128.h (new) | 36 + .../libc/include/llvm-libc-types/float_t.h (new) | 24 + .../include/llvm-libc-types/fsblkcnt_t.h (new) | 14 + .../include/llvm-libc-types/fsfilcnt_t.h (new) | 14 + .../libc/include/llvm-libc-types/gid_t.h (new) | 14 + .../libc/include/llvm-libc-types/imaxdiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/ino_t.h (new) | 14 + .../libc/include/llvm-libc-types/jmp_buf.h (new) | 84 + .../libc/include/llvm-libc-types/ldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/lldiv_t.h (new) | 17 + .../libc/include/llvm-libc-types/locale_t.h (new) | 22 + .../libc/include/llvm-libc-types/mbstate_t.h (new) | 20 + .../libc/include/llvm-libc-types/mode_t.h (new) | 14 + .../libc/include/llvm-libc-types/mtx_t.h (new) | 16 + .../libc/include/llvm-libc-types/nfds_t.h (new) | 14 + .../libc/include/llvm-libc-types/nlink_t.h (new) | 14 + .../libc/include/llvm-libc-types/off64_t.h (new) | 14 + .../libc/include/llvm-libc-types/off_t.h (new) | 14 + .../libc/include/llvm-libc-types/once_flag.h (new) | 20 + .../libc/include/llvm-libc-types/pid_t.h (new) | 14 + .../posix_spawn_file_actions_t.h (new) | 17 + .../llvm-libc-types/posix_spawnattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_attr_t.h (new) | 21 + .../llvm-libc-types/pthread_condattr_t.h (new) | 18 + .../include/llvm-libc-types/pthread_key_t.h (new) | 14 + .../llvm-libc-types/pthread_mutex_t.h (new) | 16 + .../llvm-libc-types/pthread_mutexattr_t.h (new) | 16 + .../include/llvm-libc-types/pthread_once_t.h (new) | 20 + .../llvm-libc-types/pthread_rwlock_t.h (new) | 26 + .../llvm-libc-types/pthread_rwlockattr_t.h (new) | 16 + .../llvm-libc-types/pthread_spinlock_t.h (new) | 17 + .../libc/include/llvm-libc-types/pthread_t.h (new) | 16 + .../libc/include/llvm-libc-types/rlim_t.h (new) | 14 + .../include/llvm-libc-types/sa_family_t.h (new) | 19 + .../include/llvm-libc-types/sig_atomic_t.h (new) | 14 + .../include/llvm-libc-types/sighandler_t.h (new) | 17 + .../libc/include/llvm-libc-types/siginfo_t.h (new) | 109 + .../libc/include/llvm-libc-types/sigset_t.h (new) | 20 + .../libc/include/llvm-libc-types/size_t.h (new) | 14 + .../libc/include/llvm-libc-types/socklen_t.h (new) | 18 + .../libc/include/llvm-libc-types/speed_t.h (new) | 14 + .../libc/include/llvm-libc-types/ssize_t.h (new) | 14 + .../libc/include/llvm-libc-types/stack_t.h (new) | 22 + .../include/llvm-libc-types/stdfix-types.h (new) | 25 + .../include/llvm-libc-types/struct_dirent.h (new) | 29 + .../llvm-libc-types/struct_dl_phdr_info.h (new) | 30 + .../llvm-libc-types/struct_epoll_data.h (new) | 21 + .../llvm-libc-types/struct_epoll_event.h (new) | 23 + .../llvm-libc-types/struct_f_owner_ex.h (new) | 25 + .../include/llvm-libc-types/struct_flock.h (new) | 25 + .../include/llvm-libc-types/struct_flock64.h (new) | 25 + .../llvm-libc-types/struct_hsearch_data.h (new) | 17 + .../include/llvm-libc-types/struct_iovec.h (new) | 19 + .../llvm-libc-types/struct_itimerval.h (new) | 19 + .../include/llvm-libc-types/struct_lconv.h (new) | 39 + .../include/llvm-libc-types/struct_msghdr.h (new) | 26 + .../include/llvm-libc-types/struct_pollfd.h (new) | 18 + .../include/llvm-libc-types/struct_rlimit.h (new) | 19 + .../include/llvm-libc-types/struct_rusage.h (new) | 37 + .../llvm-libc-types/struct_sched_param.h (new) | 21 + .../llvm-libc-types/struct_sigaction.h (new) | 28 + .../llvm-libc-types/struct_sockaddr.h (new) | 21 + .../llvm-libc-types/struct_sockaddr_un.h (new) | 22 + .../include/llvm-libc-types/struct_stat.h (new) | 39 + .../include/llvm-libc-types/struct_statvfs.h (new) | 29 + .../include/llvm-libc-types/struct_termios.h (new) | 32 + .../llvm-libc-types/struct_timespec.h (new) | 20 + .../include/llvm-libc-types/struct_timeval.h (new) | 20 + .../libc/include/llvm-libc-types/struct_tm.h (new) | 25 + .../include/llvm-libc-types/struct_utsname.h (new) | 34 + .../include/llvm-libc-types/suseconds_t.h (new) | 19 + .../libc/include/llvm-libc-types/tcflag_t.h (new) | 14 + .../llvm-libc-types/test_rpc_opcodes_t.h (new) | 21 + .../include/llvm-libc-types/thrd_start_t.h (new) | 14 + .../libc/include/llvm-libc-types/thrd_t.h (new) | 16 + .../libc/include/llvm-libc-types/time_t.h (new) | 18 + .../libc/include/llvm-libc-types/time_t_32.h (new) | 14 + .../libc/include/llvm-libc-types/time_t_64.h (new) | 14 + .../include/llvm-libc-types/tss_dtor_t.h (new) | 14 + .../libc/include/llvm-libc-types/tss_t.h (new) | 14 + .../libc/include/llvm-libc-types/uid_t.h (new) | 14 + .../include/llvm-libc-types/union_sigval.h (new) | 17 + .../libc/include/llvm-libc-types/wchar_t.h (new) | 19 + .../libc/include/llvm-libc-types/wint_t.h (new) | 14 + .../llvm-project/libc/include/sys/queue.h (new) | 14 + .../libc/src/__support/CPP/README.md (new) | 13 + .../libc/src/__support/CPP/algorithm.h (new) | 49 + .../libc/src/__support/CPP/array.h (new) | 80 + .../libc/src/__support/CPP/atomic.h (new) | 430 + .../libc/src/__support/CPP/bit.h (new) | 298 + .../libc/src/__support/CPP/bitset.h (new) | 94 + .../libc/src/__support/CPP/cstddef.h (new) | 74 + .../libc/src/__support/CPP/expected.h (new) | 60 + .../libc/src/__support/CPP/functional.h (new) | 71 + .../libc/src/__support/CPP/iterator.h (new) | 99 + .../libc/src/__support/CPP/limits.h (new) | 92 + .../libc/src/__support/CPP/mutex.h (new) | 51 + .../libc/src/__support/CPP/new.cpp (new) | 44 + .../libc/src/__support/CPP/new.h (new) | 130 + .../libc/src/__support/CPP/optional.h (new) | 139 + .../libc/src/__support/CPP/span.h (new) | 131 + .../libc/src/__support/CPP/string.h (new) | 234 + .../libc/src/__support/CPP/string_view.h (new) | 222 + .../libc/src/__support/CPP/stringstream.h (new) | 96 + .../libc/src/__support/CPP/type_traits.h (new) | 70 + .../CPP/type_traits/add_lvalue_reference.h (new) | 33 + .../__support/CPP/type_traits/add_pointer.h (new) | 30 + .../CPP/type_traits/add_rvalue_reference.h (new) | 32 + .../CPP/type_traits/aligned_storage.h (new) | 30 + .../__support/CPP/type_traits/always_false.h (new) | 32 + .../CPP/type_traits/bool_constant.h (new) | 23 + .../__support/CPP/type_traits/conditional.h (new) | 28 + .../src/__support/CPP/type_traits/decay.h (new) | 40 + .../__support/CPP/type_traits/enable_if.h (new) | 26 + .../__support/CPP/type_traits/false_type.h (new) | 23 + .../has_unique_object_representations.h (new) | 30 + .../CPP/type_traits/integral_constant.h (new) | 26 + .../src/__support/CPP/type_traits/invoke.h (new) | 67 + .../CPP/type_traits/invoke_result.h (new) | 29 + .../CPP/type_traits/is_arithmetic.h (new) | 30 + .../src/__support/CPP/type_traits/is_array.h (new) | 31 + .../__support/CPP/type_traits/is_base_of.h (new) | 47 + .../src/__support/CPP/type_traits/is_class.h (new) | 32 + .../__support/CPP/type_traits/is_complex.h (new) | 53 + .../src/__support/CPP/type_traits/is_const.h (new) | 28 + .../CPP/type_traits/is_constant_evaluated.h (new) | 24 + .../CPP/type_traits/is_convertible.h (new) | 48 + .../CPP/type_traits/is_copy_assignable.h (new) | 32 + .../CPP/type_traits/is_copy_constructible.h (new) | 31 + .../CPP/type_traits/is_destructible.h (new) | 68 + .../src/__support/CPP/type_traits/is_enum.h (new) | 26 + .../CPP/type_traits/is_fixed_point.h (new) | 49 + .../CPP/type_traits/is_floating_point.h (new) | 49 + .../__support/CPP/type_traits/is_function.h (new) | 35 + .../__support/CPP/type_traits/is_integral.h (new) | 43 + .../CPP/type_traits/is_lvalue_reference.h (new) | 35 + .../CPP/type_traits/is_member_pointer.h (new) | 33 + .../CPP/type_traits/is_move_assignable.h (new) | 33 + .../CPP/type_traits/is_move_constructible.h (new) | 31 + .../CPP/type_traits/is_null_pointer.h (new) | 29 + .../__support/CPP/type_traits/is_object.h (new) | 33 + .../__support/CPP/type_traits/is_pointer.h (new) | 31 + .../__support/CPP/type_traits/is_reference.h (new) | 34 + .../CPP/type_traits/is_rvalue_reference.h (new) | 35 + .../src/__support/CPP/type_traits/is_same.h (new) | 28 + .../__support/CPP/type_traits/is_scalar.h (new) | 35 + .../__support/CPP/type_traits/is_signed.h (new) | 54 + .../type_traits/is_trivially_constructible.h (new) | 25 + .../CPP/type_traits/is_trivially_copyable.h (new) | 29 + .../type_traits/is_trivially_destructible.h (new) | 37 + .../src/__support/CPP/type_traits/is_union.h (new) | 26 + .../__support/CPP/type_traits/is_unsigned.h (new) | 56 + .../src/__support/CPP/type_traits/is_void.h (new) | 27 + .../__support/CPP/type_traits/make_signed.h (new) | 41 + .../CPP/type_traits/make_unsigned.h (new) | 46 + .../CPP/type_traits/remove_all_extents.h (new) | 41 + .../__support/CPP/type_traits/remove_cv.h (new) | 28 + .../__support/CPP/type_traits/remove_cvref.h (new) | 27 + .../CPP/type_traits/remove_extent.h (new) | 28 + .../CPP/type_traits/remove_reference.h (new) | 27 + .../__support/CPP/type_traits/true_type.h (new) | 23 + .../CPP/type_traits/type_identity.h (new) | 24 + .../src/__support/CPP/type_traits/void_t.h (new) | 29 + .../libc/src/__support/CPP/utility.h (new) | 18 + .../libc/src/__support/CPP/utility/declval.h (new) | 27 + .../libc/src/__support/CPP/utility/forward.h (new) | 35 + .../src/__support/CPP/utility/in_place.h (new) | 39 + .../__support/CPP/utility/integer_sequence.h (new) | 40 + .../libc/src/__support/CPP/utility/move.h (new) | 27 + .../src/__support/FPUtil/BasicOperations.h (new) | 396 + .../FPUtil/DivisionAndRemainderOperations.h (new) | 121 + .../libc/src/__support/FPUtil/FEnvImpl.h (new) | 114 + .../libc/src/__support/FPUtil/FMA.h (new) | 52 + .../libc/src/__support/FPUtil/FPBits.h (new) | 857 + .../libc/src/__support/FPUtil/Hypot.h (new) | 268 + .../__support/FPUtil/ManipulationFunctions.h (new) | 279 + .../FPUtil/NearestIntegerOperations.h (new) | 411 + .../libc/src/__support/FPUtil/NormalFloat.h (new) | 273 + .../libc/src/__support/FPUtil/PolyEval.h (new) | 54 + .../src/__support/FPUtil/aarch64/FEnvImpl.h (new) | 285 + .../FPUtil/aarch64/fenv_darwin_impl.h (new) | 297 + .../FPUtil/aarch64/nearest_integer.h (new) | 38 + .../libc/src/__support/FPUtil/aarch64/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/arm/FEnvImpl.h (new) | 266 + .../libc/src/__support/FPUtil/arm/sqrt.h (new) | 45 + .../libc/src/__support/FPUtil/bfloat16.h (new) | 65 + .../libc/src/__support/FPUtil/cast.h (new) | 76 + .../src/__support/FPUtil/double_double.h (new) | 211 + .../libc/src/__support/FPUtil/dyadic_float.h (new) | 714 + .../__support/FPUtil/except_value_utils.h (new) | 145 + .../libc/src/__support/FPUtil/fpbits_str.h (new) | 76 + .../libc/src/__support/FPUtil/generic/FMA.h (new) | 288 + .../libc/src/__support/FPUtil/generic/FMod.h (new) | 296 + .../src/__support/FPUtil/generic/README.md (new) | 28 + .../src/__support/FPUtil/generic/add_sub.h (new) | 209 + .../libc/src/__support/FPUtil/generic/div.h (new) | 126 + .../libc/src/__support/FPUtil/generic/mul.h (new) | 105 + .../libc/src/__support/FPUtil/generic/sqrt.h (new) | 171 + .../FPUtil/generic/sqrt_80_bit_long_double.h (new) | 141 + .../libc/src/__support/FPUtil/multiply_add.h (new) | 74 + .../src/__support/FPUtil/nearest_integer.h (new) | 79 + .../src/__support/FPUtil/riscv/FEnvImpl.h (new) | 181 + .../libc/src/__support/FPUtil/riscv/sqrt.h (new) | 45 + .../src/__support/FPUtil/rounding_mode.h (new) | 81 + .../libc/src/__support/FPUtil/sqrt.h (new) | 65 + .../src/__support/FPUtil/triple_double.h (new) | 26 + .../src/__support/FPUtil/x86_64/FEnvImpl.h (new) | 651 + .../FPUtil/x86_64/NextAfterLongDouble.h (new) | 125 + .../FPUtil/x86_64/NextUpDownLongDouble.h (new) | 63 + .../FPUtil/x86_64/nearest_integer.h (new) | 46 + .../libc/src/__support/FPUtil/x86_64/sqrt.h (new) | 54 + .../libc/src/__support/File/dir.cpp (new) | 65 + .../libc/src/__support/File/dir.h (new) | 79 + .../libc/src/__support/File/file.cpp (new) | 477 + .../libc/src/__support/File/file.h (new) | 324 + .../libc/src/__support/File/linux/dir.cpp (new) | 60 + .../libc/src/__support/File/linux/file.cpp (new) | 185 + .../libc/src/__support/File/linux/file.h (new) | 37 + .../src/__support/File/linux/lseekImpl.h (new) | 51 + .../libc/src/__support/File/linux/stderr.cpp (new) | 25 + .../libc/src/__support/File/linux/stdin.cpp (new) | 26 + .../libc/src/__support/File/linux/stdout.cpp (new) | 26 + .../libc/src/__support/GPU/allocator.cpp (new) | 605 + .../libc/src/__support/GPU/allocator.h (new) | 26 + .../libc/src/__support/GPU/utils.h (new) | 138 + .../libc/src/__support/HashTable/bitmask.h (new) | 93 + .../HashTable/generic/bitmask_impl.inc (new) | 124 + .../src/__support/HashTable/randomness.h (new) | 61 + .../HashTable/sse2/bitmask_impl.inc (new) | 52 + .../libc/src/__support/HashTable/table.h (new) | 356 + .../src/__support/OSUtil/baremetal/exit.cpp (new) | 21 + .../src/__support/OSUtil/baremetal/io.cpp (new) | 70 + .../libc/src/__support/OSUtil/baremetal/io.h (new) | 25 + .../OSUtil/darwin/aarch64/syscall.h (new) | 113 + .../libc/src/__support/OSUtil/darwin/io.h (new) | 26 + .../src/__support/OSUtil/darwin/syscall.h (new) | 33 + .../libc/src/__support/OSUtil/exit.h (new) | 22 + .../libc/src/__support/OSUtil/fcntl.h (new) | 27 + .../libc/src/__support/OSUtil/fuchsia/io.h (new) | 34 + .../libc/src/__support/OSUtil/gpu/exit.cpp (new) | 33 + .../libc/src/__support/OSUtil/gpu/io.cpp (new) | 24 + .../libc/src/__support/OSUtil/gpu/io.h (new) | 22 + .../libc/src/__support/OSUtil/io.h (new) | 31 + .../__support/OSUtil/linux/aarch64/syscall.h (new) | 111 + .../__support/OSUtil/linux/aarch64/vdso.h (new) | 37 + .../src/__support/OSUtil/linux/arm/syscall.h (new) | 129 + .../src/__support/OSUtil/linux/arm/vdso.h (new) | 37 + .../libc/src/__support/OSUtil/linux/exit.cpp (new) | 31 + .../src/__support/OSUtil/linux/fcntl.cpp (new) | 142 + .../src/__support/OSUtil/linux/getrandom.h (new) | 35 + .../__support/OSUtil/linux/i386/syscall.h (new) | 88 + .../src/__support/OSUtil/linux/i386/vdso.h (new) | 0 .../libc/src/__support/OSUtil/linux/io.h (new) | 27 + .../__support/OSUtil/linux/riscv/syscall.h (new) | 111 + .../src/__support/OSUtil/linux/riscv/vdso.h (new) | 43 + .../src/__support/OSUtil/linux/syscall.h (new) | 39 + .../libc/src/__support/OSUtil/linux/vdso.cpp (new) | 239 + .../libc/src/__support/OSUtil/linux/vdso.h (new) | 81 + .../src/__support/OSUtil/linux/vdso_sym.h (new) | 70 + .../__support/OSUtil/linux/x86_64/syscall.h (new) | 99 + .../src/__support/OSUtil/linux/x86_64/vdso.h (new) | 43 + .../libc/src/__support/OSUtil/syscall.h (new) | 18 + .../libc/src/__support/OSUtil/uefi/error.h (new) | 104 + .../libc/src/__support/OSUtil/uefi/exit.cpp (new) | 24 + .../libc/src/__support/OSUtil/uefi/io.cpp (new) | 41 + .../libc/src/__support/OSUtil/uefi/io.h (new) | 25 + .../src/__support/OSUtil/windows/exit.cpp (new) | 23 + .../libc/src/__support/OSUtil/windows/io.cpp (new) | 25 + .../libc/src/__support/OSUtil/windows/io.h (new) | 21 + .../libc/src/__support/RPC/rpc_client.cpp (new) | 22 + .../libc/src/__support/RPC/rpc_client.h (new) | 37 + .../libc/src/__support/RPC/rpc_server.h (new) | 551 + .../__support/StringUtil/error_to_string.cpp (new) | 85 + .../__support/StringUtil/error_to_string.h (new) | 27 + .../__support/StringUtil/message_mapper.h (new) | 104 + .../__support/StringUtil/platform_errors.h (new) | 18 + .../__support/StringUtil/platform_signals.h (new) | 18 + .../StringUtil/signal_to_string.cpp (new) | 81 + .../__support/StringUtil/signal_to_string.h (new) | 25 + .../tables/linux_extension_errors.h (new) | 130 + .../tables/linux_extension_signals.h (new) | 34 + .../tables/linux_platform_errors.h (new) | 27 + .../tables/linux_platform_signals.h (new) | 24 + .../tables/minimal_platform_errors.h (new) | 23 + .../tables/minimal_platform_signals.h (new) | 21 + .../StringUtil/tables/posix_errors.h (new) | 178 + .../StringUtil/tables/posix_signals.h (new) | 47 + .../StringUtil/tables/signal_table.h (new) | 42 + .../StringUtil/tables/stdc_errors.h (new) | 34 + .../StringUtil/tables/stdc_signals.h (new) | 30 + .../libc/src/__support/arg_list.h (new) | 140 + .../libc/src/__support/big_int.h (new) | 1391 + .../llvm-project/libc/src/__support/block.h (new) | 482 + .../libc/src/__support/blockstore.h (new) | 262 + .../libc/src/__support/c_string.h (new) | 37 + .../libc/src/__support/char_vector.h (new) | 81 + .../llvm-project/libc/src/__support/common.h (new) | 92 + .../libc/src/__support/complex_basic_ops.h (new) | 36 + .../libc/src/__support/complex_type.h (new) | 73 + .../libc/src/__support/ctype_utils.h (new) | 584 + .../src/__support/detailed_powers_of_ten.h (new) | 740 + .../libc/src/__support/endian_internal.h (new) | 146 + .../libc/src/__support/error_or.h (new) | 40 + .../libc/src/__support/fixed_point/fx_bits.h (new) | 232 + .../libc/src/__support/fixed_point/fx_rep.h (new) | 303 + .../libc/src/__support/fixed_point/sqrt.h (new) | 269 + .../libc/src/__support/fixedvector.h (new) | 127 + .../libc/src/__support/float_to_string.h (new) | 837 + .../libc/src/__support/freelist.cpp (new) | 42 + .../libc/src/__support/freelist.h (new) | 89 + .../libc/src/__support/freelist_heap.cpp (new) | 19 + .../libc/src/__support/freelist_heap.h (new) | 209 + .../libc/src/__support/freestore.h (new) | 114 + .../libc/src/__support/freetrie.cpp (new) | 64 + .../libc/src/__support/freetrie.h (new) | 237 + .../llvm-project/libc/src/__support/hash.h (new) | 164 + .../src/__support/high_precision_decimal.h (new) | 442 + .../libc/src/__support/integer_literals.h (new) | 180 + .../libc/src/__support/integer_operations.h (new) | 33 + .../libc/src/__support/integer_to_string.h (new) | 498 + .../libc/src/__support/intrusive_list.h (new) | 66 + .../libc/src/__support/libc_assert.h (new) | 88 + .../libc/src/__support/libc_errno.h (new) | 108 + .../libc/src/__support/macros/README.md (new) | 1 + .../libc/src/__support/macros/attributes.h (new) | 51 + .../libc/src/__support/macros/config.h (new) | 46 + .../libc/src/__support/macros/null_check.h (new) | 37 + .../libc/src/__support/macros/optimization.h (new) | 76 + .../__support/macros/properties/README.md (new) | 2 + .../macros/properties/architectures.h (new) | 64 + .../__support/macros/properties/compiler.h (new) | 43 + .../macros/properties/complex_types.h (new) | 30 + .../macros/properties/cpu_features.h (new) | 108 + .../src/__support/macros/properties/os.h (new) | 32 + .../src/__support/macros/properties/types.h (new) | 72 + .../libc/src/__support/macros/sanitizer.h (new) | 59 + .../src/__support/math/exp_float_constants.h (new) | 145 + .../libc/src/__support/math/expf.h (new) | 116 + .../libc/src/__support/math/expf16.h (new) | 141 + .../libc/src/__support/math/expf16_utils.h (new) | 89 + .../libc/src/__support/math/frexpf.h (new) | 28 + .../libc/src/__support/math/frexpf128.h (new) | 34 + .../libc/src/__support/math/frexpf16.h (new) | 34 + .../libc/src/__support/math/ldexpf.h (new) | 28 + .../libc/src/__support/math/ldexpf128.h (new) | 34 + .../libc/src/__support/math/ldexpf16.h (new) | 34 + .../libc/src/__support/math_extras.h (new) | 160 + .../libc/src/__support/memory_size.h (new) | 92 + .../libc/src/__support/number_pair.h (new) | 26 + .../libc/src/__support/ryu_constants.h (new) | 4404 + .../__support/ryu_long_double_constants.h (new) | 120478 ++++++++++++++++++ .../llvm-project/libc/src/__support/sign.h (new) | 45 + .../libc/src/__support/str_to_float.h (new) | 1275 + .../libc/src/__support/str_to_integer.h (new) | 168 + .../libc/src/__support/str_to_num_result.h (new) | 48 + .../libc/src/__support/threads/CndVar.h (new) | 55 + .../libc/src/__support/threads/callonce.h (new) | 41 + .../src/__support/threads/fork_callbacks.cpp (new) | 95 + .../src/__support/threads/fork_callbacks.h (new) | 26 + .../libc/src/__support/threads/gpu/mutex.h (new) | 32 + .../libc/src/__support/threads/identifier.h (new) | 50 + .../src/__support/threads/linux/CndVar.cpp (new) | 106 + .../src/__support/threads/linux/callonce.cpp (new) | 40 + .../src/__support/threads/linux/callonce.h (new) | 32 + .../__support/threads/linux/futex_utils.h (new) | 88 + .../src/__support/threads/linux/futex_word.h (new) | 30 + .../libc/src/__support/threads/linux/mutex.h (new) | 90 + .../src/__support/threads/linux/raw_mutex.h (new) | 129 + .../src/__support/threads/linux/rwlock.h (new) | 558 + .../src/__support/threads/linux/thread.cpp (new) | 521 + .../libc/src/__support/threads/mutex.h (new) | 46 + .../src/__support/threads/mutex_common.h (new) | 26 + .../libc/src/__support/threads/sleep.h (new) | 37 + .../libc/src/__support/threads/spin_lock.h (new) | 65 + .../libc/src/__support/threads/thread.cpp (new) | 191 + .../libc/src/__support/threads/thread.h (new) | 257 + .../libc/src/__support/time/clock_gettime.h (new) | 22 + .../src/__support/time/gpu/clock_gettime.cpp (new) | 33 + .../src/__support/time/gpu/time_utils.cpp (new) | 22 + .../libc/src/__support/time/gpu/time_utils.h (new) | 45 + .../src/__support/time/linux/abs_timeout.h (new) | 50 + .../__support/time/linux/clock_conversion.h (new) | 43 + .../__support/time/linux/clock_gettime.cpp (new) | 62 + .../src/__support/time/linux/monotonicity.h (new) | 44 + .../libc/src/__support/time/units.h (new) | 39 + .../__support/time/windows/clock_gettime.cpp (new) | 134 + .../time/windows/performance_counter.h (new) | 35 + .../libc/src/__support/uint128.h (new) | 23 + .../__support/wchar/character_converter.cpp (new) | 174 + .../__support/wchar/character_converter.h (new) | 47 + .../libc/src/__support/wchar/mbrtowc.cpp (new) | 52 + .../libc/src/__support/wchar/mbrtowc.h (new) | 29 + .../libc/src/__support/wchar/mbstate.h (new) | 37 + .../src/__support/wchar/string_converter.h (new) | 110 + .../libc/src/__support/wchar/wcrtomb.cpp (new) | 50 + .../libc/src/__support/wchar/wcrtomb.h (new) | 26 + .../libc/src/__support/wcs_to_integer.h (new) | 155 + .../libc/src/__support/wctype_utils.h (new) | 606 + 611 files changed, 170014 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bfe4d5ca73d5f1218808a3722e8999ddee6df07a commit bfe4d5ca73d5f1218808a3722e8999ddee6df07a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 13:44:39 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:35 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 2 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial libc/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit 8f6978f83cc64a2e644d9bdf380a6996d3acdc4b) contrib/llvm-project/libc/shared/fp_bits.h (new) | 23 + .../llvm-project/libc/shared/libc_common.h (new) | 26 + contrib/llvm-project/libc/shared/math.h (new) | 23 + contrib/llvm-project/libc/shared/math/expf.h (new) | 23 + .../llvm-project/libc/shared/math/expf16.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf.h (new) | 24 + .../libc/shared/math/frexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/frexpf16.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf.h (new) | 23 + .../libc/shared/math/ldexpf128.h (new) | 29 + .../llvm-project/libc/shared/math/ldexpf16.h (new) | 31 ++ contrib/llvm-project/libc/shared/rpc.h (new) | 603 +++++++++++++++++++++ .../llvm-project/libc/shared/rpc_opcodes.h (new) | 53 ++ .../llvm-project/libc/shared/rpc_server.h (new) | 23 + contrib/llvm-project/libc/shared/rpc_util.h (new) | 276 ++++++++++ .../llvm-project/libc/shared/str_to_float.h (new) | 28 + .../libc/shared/str_to_integer.h (new) | 25 + 17 files changed, 1297 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e4ec2270fd25cfe7db492ffaba1714d5a5f1aed3 commit e4ec2270fd25cfe7db492ffaba1714d5a5f1aed3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-02-10 14:34:48 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:37 +0000 Remove usr/include/c++/v1/__fwd/get.h from ObsoleteFiles.inc. PR: 292067 MFC after: 1 month (cherry picked from commit b99d02027a0fe2e9f9a4aeb6fa3484847ddc5a57) ObsoleteFiles.inc | 1 - 1 file changed, 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=407a9b0c1eee1c7ad33b63763d592c294d8ba6ac commit 407a9b0c1eee1c7ad33b63763d592c294d8ba6ac Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-02 18:40:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-19251-g0c3a2faa8505: [libc++] Simplify the implementation of __libcpp_{,de}allocate (#147989) GCC 15 also supports `__buitin_operator_{new,delete}` now, so the `#else` cases are dead code. This patch inlines the calls to the wrapper functions and simplifies some surrounding code. This is part of making libc++ 21 build with GCC 14. PR: 292067 MFC after: 1 month (cherry picked from commit ad1f6ee5d7230a63c216cd9ad3b89d5b7d1c4a3a) .../llvm-project/libcxx/include/__new/allocate.h | 71 ++++++++++++++++------ 1 file changed, 51 insertions(+), 20 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c350cdf7c80c4e5cba60ac7c5c1a9207abea005e commit c350cdf7c80c4e5cba60ac7c5c1a9207abea005e Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-15984-g650b451d0065: [libc++] Simplify the implementation of pointer_traits a bit (#142260) This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit bb6713d38cc0d988378394f599d81d3a83dbaf03) .../libcxx/include/__memory/pointer_traits.h | 116 +++++++++++++++------ 1 file changed, 83 insertions(+), 33 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7a145cbf09aefe989dcb06047f9d3b3be2557fef commit 7a145cbf09aefe989dcb06047f9d3b3be2557fef Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-04 19:43:38 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-9130-g9e3982d9ae81: [libc++] Replace __libcpp_{ctz, clz} with __builtin_{ctzg, clzg} (#133920) `__libcpp_{ctz, clz}` were previously used as fallbacks for `__builtin_{ctzg, clzg}` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_{ctzg, clzg}` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_{ctz, clz}` with `__count{l,r}_zero` (which internally call `__builtin_{ctzg, clzg}` and eliminate the fallback logic. Closes #131179. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 821fc643b3cad922e5438760eed9cad0d6d9b3b0) contrib/llvm-project/libcxx/include/__bit/countl.h | 28 ++++++++++++++++++ contrib/llvm-project/libcxx/include/__bit/countr.h | 33 ++++++++++++++++++++++ 2 files changed, 61 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ba4a80fecbee8a11a072fcfe4647bb260745b634 commit ba4a80fecbee8a11a072fcfe4647bb260745b634 Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 21:07:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: fix llvmorg-21-init-12415-g3a86e0bd29f3: [libc++] Optimize std::getline (#121346) ``` ----------------------------------------------- Benchmark old new ----------------------------------------------- BM_getline_string 318 ns 32.4 ns ``` Move the __bump_stream() lamda in <istream> to a separate function, so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month (cherry picked from commit 17f1a5e638f845e171ab4e3db2a07bf8c6ac3388) contrib/llvm-project/libcxx/include/istream | 28 ++++++++++++++------------- contrib/llvm-project/libcxx/include/streambuf | 4 ++++ 2 files changed, 19 insertions(+), 13 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=df67e880e278d6b6d35c254d92bba71d77e8ca8b commit df67e880e278d6b6d35c254d92bba71d77e8ca8b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-10 14:45:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 Merge commit 598f21e9fcf7 from llvm git (by zhijian lin): [PowerPC] need to set CallFrameSize for the pass PPCReduceCRLogicals when insert a new block (#151017) In the [ [CodeGen] Store call frame size in MachineBasicBlock](https://reviews.llvm.org/D156113), it mentions When a basic block has been split in the middle of a call sequence. the call frame size may not be zero, it need to set the setCallFrameSize for the new MachineBasicBlock. but in the function `splitMBB(BlockSplitInfo &BSI)` in the llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp , it do not setCallFrameSzie for the new MachineBasicBlock `NewMBB`, we will setCallFrameSzie in the patch. the patch fix the crash mention in https://github.com/llvm/llvm-project/pull/144594#issuecomment-2993736654 This fixes "error in backend: Found 1 machine code errors" while crypto/openssh/packet.c for PowerPC64. PR: 292067 MFC after: 1 month (cherry picked from commit 48c35ae6ebfc6d9a2259979d915fd3bc5d6c01db) contrib/llvm-project/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e2b73bf961910f7bf21e6599cb78b053c8077789 commit e2b73bf961910f7bf21e6599cb78b053c8077789 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-09 09:38:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:35 +0000 Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge Fix various configuration fails, update generated headers, Makefiles, etc. PR: 292067 MFC after: 1 month (cherry picked from commit 770cf0a5f02dc8983a89c6568d741fbc25baa999) ObsoleteFiles.inc | 418 ++++ .../llvm-project/libcxx/include/__cxx03/__config | 3 +- .../Clang/ClangExpressionParser.cpp | 2 + etc/mtree/BSD.debug.dist | 2 +- etc/mtree/BSD.include.dist | 78 + etc/mtree/BSD.usr.dist | 2 +- lib/clang/clang.build.mk | 1 - lib/clang/headers/Makefile | 44 +- lib/clang/include/Plugins/Plugins.def | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 13 +- lib/clang/include/clang/Config/config.h | 1 - lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/API/SBLanguages.h | 4 + lib/clang/include/lldb/Host/Config.h | 6 +- lib/clang/include/lldb/Version/Version.inc | 10 +- lib/clang/include/llvm/Config/Targets.h (new) | 118 + lib/clang/include/llvm/Config/config.h | 69 +- lib/clang/include/llvm/Config/llvm-config.h | 128 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/clang/libclang/Makefile | 243 +- lib/clang/liblldb/LLDBWrapLua.cpp | 2388 +++++++++++++++---- lib/clang/liblldb/Makefile | 71 +- lib/clang/libllvm/Makefile | 251 +- lib/clang/libllvmminimal/Makefile | 12 +- lib/libc++/Makefile | 940 +++++++- lib/libc++/__assertion_handler | 24 +- lib/libc++/__config_site | 34 +- lib/libc++/libcxx.imp | 110 +- lib/libc++/module.modulemap (new) | 2465 ++++++++++++++++++++ lib/libclang_rt/compiler-rt-vars.mk | 2 +- tools/build/mk/OptionalObsoleteFiles.inc | 874 +++---- usr.bin/clang/clang-tblgen/Makefile | 1 + usr.bin/clang/lld/Makefile | 2 + usr.bin/clang/lldb-server/Makefile | 1 - usr.bin/clang/llvm-min-tblgen/Makefile | 5 +- usr.bin/clang/llvm-tblgen/Makefile | 22 +- 37 files changed, 7067 insertions(+), 1289 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b68b15f5535f5f4366229acca66e84dfb69e7799 commit b68b15f5535f5f4366229acca66e84dfb69e7799 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-07 19:01:02 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:35 +0000 Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 1 This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add partial third-party/ top-level directory. PR: 292067 MFC after: 1 month (cherry picked from commit 3f16c588d1d8c46d7025f95003602807d9c1ddb9) .../siphash/include/siphash/SipHash.h (new) | 160 +++++++++++++++++++++ 1 file changed, 160 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b3d1c922b095e16898f4209bdc596c917ec9271d commit b3d1c922b095e16898f4209bdc596c917ec9271d Author: Dimitry Andric <dimitry@andric.com> AuthorDate: 2026-01-05 20:14:13 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:36 +0000 libcxx-compat: revert llvmorg-21-init-8400-g703cfe745b96: [libc++] Replace __libcpp_popcount by __builtin_popcountg (#133937) `__libcpp_popcount` was previously used as a fallback for `__builtin_popcountg` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_popcountg` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_popcount` with `__builtin_popcountg` and eliminate the fallback logic. This is part of making libc++ 21 build with clang 18. PR: 292067 MFC after: 1 month (cherry picked from commit 5465db314a03c11b15e00f22be1609027dfc152c) .../llvm-project/libcxx/include/__bit/popcount.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9fa2733ef46073c1440177b27a8c88b30f9d1532 commit 9fa2733ef46073c1440177b27a8c88b30f9d1532 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17727-g0eebb48fcfbc:" This reverts commit f12b6acbe1ea1c425c0e21d80097115e4ad33017, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 1f9c1cd08dba0c46c1e1cea43b3bbea23af4fbaa) .../libcxx/include/__type_traits/invoke.h | 3 +-- .../is_member_function_pointer.h (gone) | 31 ---------------------- .../is_member_object_pointer.h (gone) | 31 ---------------------- .../include/__type_traits/is_member_pointer.h | 12 +++++++++ .../llvm-project/libcxx/include/module.modulemap | 2 -- contrib/llvm-project/libcxx/include/type_traits | 2 -- 6 files changed, 13 insertions(+), 68 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4f6cc88193cd22b7dbab50b39ea2e96df84c0339 commit 4f6cc88193cd22b7dbab50b39ea2e96df84c0339 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18063-g561246e90282:" This reverts commit 1d99ada3215dbc28665fe051f9ccf028a2a02ce8, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 6243d755fb82e62d2a3a2e031801e0443150454a) contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0546474c350b68b3886994ba4c9e31d835e3e61c commit 0546474c350b68b3886994ba4c9e31d835e3e61c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:16 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:" This reverts commit 6933315cf57fc3f505431bff7a0075df471d7453, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit f3b0cac70b80116e691ad1e6daa5110186233206) .../libcxx/include/__type_traits/is_enum.h | 10 +++++++ .../include/__type_traits/is_scoped_enum.h (gone) | 33 ---------------------- .../llvm-project/libcxx/include/module.modulemap | 1 - contrib/llvm-project/libcxx/include/type_traits | 4 --- 4 files changed, 10 insertions(+), 38 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ad1cd2c339cbdbbab71964c1edc68fede37a29ed commit ad1cd2c339cbdbbab71964c1edc68fede37a29ed Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17853-g578c6191eff7:" This reverts commit 2facc097b9b28a81b925c924f27f09b40f29fd4d, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3b0a0e64bd9f0a65f0dd62dc157597e6d9ecc933) .../libcxx/include/__type_traits/is_void.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a0c034ddcf5fb3ae104e927f69a2df92b06fab09 commit a0c034ddcf5fb3ae104e927f69a2df92b06fab09 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17473-g69fecaa1a455:" This reverts commit cab3680acf8e6ea40c686d4f26db4429e26a5331, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 501871ebf9d725ab1c6fb2c4da9bac77f60b37a7) contrib/llvm-project/libcxx/include/__config | 58 ++++++-------------- .../libcxx/include/__tuple/tuple_element.h | 26 --------- .../libcxx/include/__type_traits/is_function.h | 14 +---- .../__type_traits/is_member_function_pointer.h | 31 ----------- .../__type_traits/is_member_object_pointer.h | 15 ------ .../include/__type_traits/is_member_pointer.h | 16 ------ .../__type_traits/is_nothrow_constructible.h | 61 ---------------------- .../libcxx/include/__type_traits/is_object.h | 25 +-------- .../libcxx/include/__type_traits/is_reference.h | 29 ++++------ .../libcxx/include/__type_traits/is_scoped_enum.h | 22 -------- 10 files changed, 31 insertions(+), 266 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fcbff430e54e8a252f547e5454a4a63e51112bcb commit fcbff430e54e8a252f547e5454a4a63e51112bcb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: update libcxx.imp for headers that were reintroduced by reverts" This reverts commit caf0ccccc304e3e7938c9722f1deb0a362fd70d5, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 5945da0bc9ac42f531b1079a246eb8ce4f0d63db) lib/libc++/libcxx.imp | 3 --- 1 file changed, 3 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=436b7b75dac85e9d52810698d601b8503f713691 commit 436b7b75dac85e9d52810698d601b8503f713691 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4504-g937a5396cf3e:" This reverts commit a7455c47801ea1e4c4eed10cab2072375f6f92a2, in preparation for merging llvm 21, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3ca6facafc4c96fa9d6027b6f3b50b7c3e3a5dbf) contrib/llvm-project/libcxx/include/__type_traits/is_convertible.h | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4fb4b137e9773550af58d77be0390cd6d45fb8bf commit 4fb4b137e9773550af58d77be0390cd6d45fb8bf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-4003-g55357160d0e1:" This reverts commit fd17362f6225085e60eabed8af7421838100b457, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit a24406d2e0e8eee8db03ed8d1ae7fb482cf912ab) .../llvm-project/libcxx/include/__type_traits/remove_cv.h | 11 +++-------- .../libcxx/include/__type_traits/remove_cvref.h | 15 ++++++++++----- 2 files changed, 13 insertions(+), 13 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=51cc09b9d0202d75c6d85304efc99b6fed08ba52 commit 51cc09b9d0202d75c6d85304efc99b6fed08ba52 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: install headers that were reintroduced by reverts" This reverts commit 8ad38d5eb3985ef778a7d36093878b0b373ccedf, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit d6d48190ec6a62a20ef603011f215015c1d999fb) lib/libc++/Makefile | 3 --- 1 file changed, 3 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=afca70df2c3a3e47b5ec1a90c54a3b443e4c4e20 commit afca70df2c3a3e47b5ec1a90c54a3b443e4c4e20 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83:" This reverts commit 267fa9ab814c23ca97b8b7e1740f4da51485ac72, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3ac42330b1da72d68cc6d7c3f65e24a882ccfd47) .../libcxx/include/__type_traits/remove_reference.h | 14 +++++++------- contrib/llvm-project/libcxx/include/cwchar | 4 ++++ contrib/llvm-project/libcxx/include/execution | 4 ++++ 3 files changed, 15 insertions(+), 7 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=938fce67e0071e996cec36ae8f0fe7bd765f9eb7 commit 938fce67e0071e996cec36ae8f0fe7bd765f9eb7 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-17728-g30cc12cd818d:" This reverts commit 198b947ebc6834eade6acc52c5441a38693b8822, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit f8152c67d4272e155460e4b3057b41924df8af1c) .../libcxx/include/__type_traits/is_fundamental.h | 2 +- .../libcxx/include/__type_traits/is_null_pointer.h | 12 +++--------- .../llvm-project/libcxx/include/__type_traits/is_scalar.h | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=14d9cfea577974490bc1c7317421ed56d51ff23e commit 14d9cfea577974490bc1c7317421ed56d51ff23e Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: revert llvmorg-19-init-8667-g472b612ccbed:" This reverts commit f7570f1eb0dc056dfce9d7500157538c670edaf6, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit a843ea3f246f3f137722db556aa07710e6a84b71) contrib/llvm-project/libcxx/include/__format/format_arg.h | 1 + contrib/llvm-project/libcxx/include/__type_traits/remove_cv.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2d5521c618b9f6f05bdcc235344ef6c44b7f3eb3 commit 2d5521c618b9f6f05bdcc235344ef6c44b7f3eb3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-12-06 20:24:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-05-29 22:59:33 +0000 Revert "libcxx-compat: don't remove headers that were reintroduced by reverts" This reverts commit 2b3703a4f4519e202c3bdf12e7e13d9b5fdbc3f3, in preparation for merging llvm 21. PR: 292067 MFC after: 1 month (cherry picked from commit 3f6219840dbea7712554982a3c9f852c1c9664f4) ObsoleteFiles.inc | 3 +++ 1 file changed, 3 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2b619b7c7b5300cbaf59e4e9d75bc8472df014e9 commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-06-13 10:03:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-06-13 10:03:11 +0000 Merge commit 93a67259cf23 from llvm git (by ShengYi Hung): [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596) When the linker is specified as ld, toolchain applies special handling by invoking (triple)-ld instead of resolving ld via standard PATH lookup. This causes GNU ld installed via the system package manager to take the precedence (since (triple)-ld appears earlier in the search path), effectively overriding ld.lld. As a result, we set the default Linker on FreeBSD to ld.lld to indicate we want to use lld by default. PR: 292067 MFC after: 3 days contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8d0154e641861359760af16285d2dc53793632ba commit 8d0154e641861359760af16285d2dc53793632ba Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-06-13 10:03:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-06-16 17:01:06 +0000 Merge commit 93a67259cf23 from llvm git (by ShengYi Hung): [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596) When the linker is specified as ld, toolchain applies special handling by invoking (triple)-ld instead of resolving ld via standard PATH lookup. This causes GNU ld installed via the system package manager to take the precedence (since (triple)-ld appears earlier in the search path), effectively overriding ld.lld. As a result, we set the default Linker on FreeBSD to ld.lld to indicate we want to use lld by default. PR: 292067 MFC after: 3 days (cherry picked from commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9) contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f81c82a9db12685f98421bfe9c368ff9a214c844 commit f81c82a9db12685f98421bfe9c368ff9a214c844 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-06-13 10:03:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-06-16 17:01:10 +0000 Merge commit 93a67259cf23 from llvm git (by ShengYi Hung): [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596) When the linker is specified as ld, toolchain applies special handling by invoking (triple)-ld instead of resolving ld via standard PATH lookup. This causes GNU ld installed via the system package manager to take the precedence (since (triple)-ld appears earlier in the search path), effectively overriding ld.lld. As a result, we set the default Linker on FreeBSD to ld.lld to indicate we want to use lld by default. PR: 292067 MFC after: 3 days (cherry picked from commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9) contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h | 4 ++++ 1 file changed, 4 insertions(+)