LLVM/project 39e42e8flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp, flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp

[Flang][OpenMP] Support iterator modifiers in map and motion clauses

Support iterated array elements and array sections in map and motion clauses for
target data, target enter data, target exit data, and target update constructs.

Preserve mapper resolution for iterated entries, including explicit mappers,
user-defined default mappers, declare mapper entries, and implicit default
mappers.

This PR stacked on top of #197047 and #197752.

This patch is part of the feature work for #188061.

Assisted with copilot.
DeltaFile
+507-0flang/test/Lower/OpenMP/motion-iterator.f90
+175-0flang/lib/Lower/OpenMP/Utils.cpp
+95-12flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+25-0flang/test/Lower/OpenMP/declare-mapper-iterator.f90
+15-0flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+13-0flang/lib/Lower/OpenMP/Utils.h
+830-123 files not shown
+830-399 files

LLVM/project 3d7c5e0libclc CMakeLists.txt, libclc/cmake/modules AddLibclc.cmake

[libclc] Move sources collection into libclc_add_builtin_library, merge opencl library creation into libclc_add_library (#197654)

Merging opencl library creation into libclc_add_library undos part of
change in 14bf8e7.
This simplifies creating different libraries by invoking
libclc_add_library multiple times, without the need of splitting
intermediate library creation and its finalization.

add_subdirectory(clc) and add_subdirectory(opencl) only updates sources
list of existing library target, so it is safe to move inside
libclc_add_builtin_library.
DeltaFile
+38-19libclc/cmake/modules/AddLibclc.cmake
+8-13libclc/CMakeLists.txt
+46-322 files

FreeBSD/ports 937e699net/gnome-connections pkg-plist distinfo

net/gnome-connections: update to 50.0 and unbreak

Update gnome-connections to release 50.0 and remove BROKEN=

  50.0 - 13 Mar, 2026
  ====================
  Changes since 50.rc
    - Added/Updated translations:
       - Danish

  50.rc - 02 Mar, 2026
  ====================
  Changes since 50.beta
    - Update gtk-frdp
       - Grab keyboard for FrdpDisplay
       - Pass Win keys only when keyboard is grabbed
       - Fix crash when copying clipboard data
       - Fix flags for CB_FORMAT_LIST message
    - Added/Updated translations:

    [131 lines not shown]
DeltaFile
+20-1net/gnome-connections/pkg-plist
+3-3net/gnome-connections/distinfo
+1-5net/gnome-connections/Makefile
+24-93 files

LLVM/project 7d70022clang/lib/CodeGen CGExprAgg.cpp CGExprCXX.cpp, clang/test/CodeGen ubsan-aggregate-null-align.c

[UBSan] add pointer/array access checks for aggregate assignment/initialization operands (#190739)

This PR adds UbSan `null`, `alignment`, and `array-bounds` checks for
aggregate copy operations.

When copying scalar types, clang emits `null`/`alignment` checks via
`EmitCheckedLValue`. However, aggregate copies used `EmitLValue`,
skipping these checks entirely.

Code changes:
- `CGExprAgg.cpp`: `EmitCheckedLValue` in `EmitAggLoadOfLValue` (RHS
check)
- `CGExprAgg.cpp`: `EmitCheckedLValue` in `VisitBinAssign` (LHS check)
- `CGClass.cpp`: `EmitCheckedLValue` for trivial copy/move constructor
arg
- `CGExprCXX.cpp`: `EmitCheckedLValue` for trivial `operator=` RHS

Test updates:
- `ubsan-aggregate-null-align.c`:

    [11 lines not shown]
DeltaFile
+129-195clang/test/CodeGen/ubsan-aggregate-null-align.c
+4-3clang/test/CodeGenCXX/ubsan-new-checks.cpp
+2-2clang/lib/CodeGen/CGExprAgg.cpp
+1-1clang/lib/CodeGen/CGExprCXX.cpp
+1-1clang/lib/CodeGen/CGClass.cpp
+137-2025 files

OpenBSD/src CWghTJulib/libc/time localtime.c

   Insist on opening only regular files. (On OpenBSD, the directory
   case is handled by the kernel, but I want to stop other weird stuff)
   ok millert, dgl
VersionDeltaFile
1.78+13-3lib/libc/time/localtime.c
+13-31 files

OpenBSD/ports Lf2ihwLnet/miniflux distinfo modules.inc

   Update to miniflux-2.2.19

   From Igor Zornik (maintainer)
VersionDeltaFile
1.28+50-42net/miniflux/distinfo
1.26+14-11net/miniflux/modules.inc
1.32+1-1net/miniflux/Makefile
+65-543 files

LLVM/project 5c86d85llvm/lib/Target/AMDGPU SIInstructions.td AMDGPUInstructions.td, llvm/test/CodeGen/AMDGPU andorn2.ll

[AMDGPU] Add v2i32 V_BFI combines for andn2 and orn2 (#196325)

Add vector v2i32 pattern matches that lower to two lane wise V_BFI_B32
operations.

TODO: Support v2i16, v4i16 pattern.
DeltaFile
+921-0llvm/test/CodeGen/AMDGPU/andorn2.ll
+53-48llvm/lib/Target/AMDGPU/SIInstructions.td
+2-1llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
+976-493 files

LLVM/project b1c020blldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCRuntime.cpp

[lldb] Stop looking for libarclite symbol (#197848)

libarclite is a helper library used for Automatic Reference Counting
(ARC) support on older operating systems. It hasn't been necessary since
Mac OS X Mountain Lion, released in 2012.
DeltaFile
+4-14lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+4-141 files

LLVM/project b571b4dlldb/include/lldb/Symbol UnwindTable.h

[lldb] Fix data race in UnwindTable::Initialize (#197816)

UnwindTable::Initialize uses double-checked locking (DCL) against
m_scanned_all_unwind_sources, but the flag was a plain bool. The
fast-path read outside the mutex is unsynchronized with the write inside
the mutex, so concurrent first-time callers can observe partially
initialized state.

Make m_scanned_all_unwind_sources std::atomic<bool>. The default memory
ordering (seq_cst) is sufficient for the DCL pattern used here.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+5-5lldb/include/lldb/Symbol/UnwindTable.h
+5-51 files

FreeBSD/ports 51bf5dcgraphics/mesa-devel Makefile, graphics/mesa-devel/files patch-libdrm-2.4.131

graphics/mesa-devel: unbreak on AMD GPUs after 6e724a055fd5

Revert one more upstream change to work around the old libdrm.
https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15477

PR:     295291
DeltaFile
+12-0graphics/mesa-devel/files/patch-libdrm-2.4.131
+1-0graphics/mesa-devel/Makefile
+13-02 files

FreeBSD/src b999544sys/amd64/linux linux_vdso_gtod.c, sys/amd64/linux32 linux32_vdso_gtod.c

linux: Fix some problems with header pollution

- Avoid including sys/proc.h in linux_vdso_gtod.c.  It's not needed, but
  the implicit inclusion of sys/param.h via sys/ucred.h->bsm/audit.h was
  bringing in some required definitions.
- Include a couple of required headers: sys/time.h (for struct bintime),
  and limits.h (for INT_MAX).
- Move some helpers from linux.h, which depend on sys/param.h for NODEV,
  to the one CU where they're actually used.

No functional change intended.

Reviewed by:    imp, kib, emaste
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D56982
DeltaFile
+0-50sys/compat/linux/linux.h
+46-0sys/compat/linux/linux_stats.c
+3-1sys/i386/linux/linux_vdso_gtod.c
+3-1sys/arm64/linux/linux_vdso_gtod.c
+3-1sys/amd64/linux32/linux32_vdso_gtod.c
+3-1sys/amd64/linux/linux_vdso_gtod.c
+58-546 files

OpenBSD/src ufFxq3slib/libc/sys open.2, sys/kern kern_pledge.c vfs_lookup.c

   Make __pledge_open(2) of /etc/localtime and /usr/share/zoneinfo much
   more strict.  If /etc/localtime is a symbolic link, allow one translation
   which must land cleanly in /usr/share/zoneinfo (.. is checked for) otherwise
   error with EACCES.  In /usr/share/zoneinfo, do not allow symbolic links and
   error with ELOOP.
   Alfredo Ortega observed the non-strict handling, but agrees no specific
   exploitability exists.  Changing this took almost a month with many
   discarded prototypes.
   ok beck dgl
VersionDeltaFile
1.358+25-18sys/kern/kern_pledge.c
1.60+25-4lib/libc/sys/open.2
1.92+19-1sys/kern/vfs_lookup.c
1.52+4-1sys/sys/namei.h
+73-244 files

LLVM/project 7e667c3lldb/include/lldb/Target StackFrameList.h, lldb/source/Target StackFrameList.cpp

[lldb] Use llvm::sys::RWMutex instead of std::shared_mutex (NFC) (#197847)

On Darwin, pthread_rwlock is faster than std::shared_mutex, which is why
the implementation of llvm::sys::RWMutex used that on our platform.
Everywhere else, it uses std::shared_mutex under the hood.

Also see #70151

rdar://177113951
DeltaFile
+11-11lldb/source/Target/StackFrameList.cpp
+4-5lldb/include/lldb/Target/StackFrameList.h
+15-162 files

LLVM/project 81e41bdllvm/lib/MC DXContainerInfo.cpp, utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Port ca6e386cbf5b3e75a2a62e6c4d29b24109727a52 (#197841)

obj2yaml now depends on MC (although probably not for much), and remove
an unnecessary header creating a layering violation.
DeltaFile
+1-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+0-1llvm/lib/MC/DXContainerInfo.cpp
+1-12 files

OpenBSD/ports g7cWEhxgames/nudoku Makefile

   Fails to build on sparc64 with "initializer element is not constant"

   Move to ports-gcc on base-gcc arches to fix build on sparc64
VersionDeltaFile
1.13+4-0games/nudoku/Makefile
+4-01 files

OpenBSD/ports i6iC3pQdevel/highway Makefile

   Fails with error "Missing case for HWY_ARCH_*"

   Mark BROKEN-sparc64
VersionDeltaFile
1.7+2-0devel/highway/Makefile
+2-01 files

LLVM/project 42b563bflang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/test/Integration/OpenMP map-types-and-sizes.f90

[Flang][OpenMP][Offload] Modify MapInfoFinalization to handle attach mapping and 6.1's ref_* and attach map keywords (#177715)

This PR is one of four required to implement the attach mapping
semantics in Flang, alongside the ref_ptr/ref_ptee/ref_ptr_ptee map
modifiers and the attach(always/never/auto) modifiers.

This PR is the MapInfoFinalization changes required to support these
features, it mainly deals with applying the correct attach map type and
manipulating the descriptor types maps for base address and descriptor
so that when we specify ref_ptr/ref_ptee we emit one of the two maps and
when we emit ref_ptr_ptee we emit our usual default maps. In all cases
we add the "glue" of an new attach map except in cases where a user has
provided attach never. In cases where we are provided an always, we
apply the always map type to our attach maps.

It's important to note the runtime has a toggle for the auto map
behavior, which will flip the attach behavior to the newer semantics or
the older semantics for backwards compatibility (outside the purview of
this PR but good to mention).
DeltaFile
+715-332flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+388-284mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+273-0mlir/test/Target/LLVMIR/omptarget-host-ref-semantics.mlir
+101-165flang/test/Integration/OpenMP/map-types-and-sizes.f90
+107-0flang/test/Lower/OpenMP/attach-and-ref-modifier.f90
+30-61mlir/test/Target/LLVMIR/omptarget-record-type-with-ptr-member-host.mlir
+1,614-84264 files not shown
+2,300-1,21470 files

LLVM/project 21e436fclang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp, clang/test/Sema warn-lifetime-safety-lifetimebound.cpp

[LifetimeSafety] Recognize declarations nested under std namespace (#197604)

Previously `isInStlNamespace()` only checked the immediate declaration
context. This missed declarations nested below `std` through records or
intermediate namespaces, such as `std::basic_string_view` constructors.

This commit fixes the problem by walking the `DeclContext` chain in
`isInStlNamespace`.

Closes #197454
DeltaFile
+12-11clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+4-0clang/test/Sema/warn-lifetime-safety-lifetimebound.cpp
+3-0clang/test/Sema/Inputs/lifetime-analysis.h
+19-113 files

FreeBSD/src 73ec43arelease/tools ec2-small.conf basic-cloudinit.conf

Cloud releases: More firstboot_pkg_upgrade

Update a couple more cloudware images which I forgot about earlier.

Approved by:    re (cperciva)
Reviewed by:    ziaee
Fixes: 464a351267dc ("Cloud releases: Switch to firstboot_pkg_upgrade")
Differential Revision:  https://reviews.freebsd.org/D57006

(cherry picked from commit 4080419d9a2d88d44d20baaf3ea01934561819c1)
(cherry picked from commit 1ae97c95d025277fb542936b0a2686180dd4a7b7)
DeltaFile
+6-3release/tools/ec2-small.conf
+4-3release/tools/basic-cloudinit.conf
+10-62 files

FreeBSD/src 10c4498release/tools ec2-base.conf azure.conf

Cloud releases: Switch to firstboot_pkg_upgrade

Cloud images are deployed with base system packages. Introduce a
firstboot package auto updater to patch the base system on first boot.

Approved by:    re (cperciva)
MFC after:              1 hour
MFC to:                 stable/15
Reviewed by:            cperciva
Sponsored by:           Google Cloud
Differential Revision:  https://reviews.freebsd.org/D56890

(cherry picked from commit 464a351267dc0d1843b919dd72ad1c70c24815ce)
(cherry picked from commit 0bb2b2a45f3c0c147d7c55e010be45e55af8df87)
DeltaFile
+6-3release/tools/ec2-base.conf
+3-2release/tools/azure.conf
+3-2release/tools/gce.conf
+12-73 files

OpenBSD/ports jnWnq4qdevel/ruby-prof distinfo Makefile, devel/ruby-prof/pkg PLIST

   Update to ruby-prof 2.0.4
VersionDeltaFile
1.9+39-4devel/ruby-prof/pkg/PLIST
1.8+2-2devel/ruby-prof/distinfo
1.22+1-1devel/ruby-prof/Makefile
+42-73 files

OpenBSD/ports iKClgvclang/ruby/4.0 distinfo Makefile, lang/ruby/4.0/patches patch-class_c patch-configure

   Update to Ruby 4.0.4

   Add a patch to remove non-ASCII characters that break the rdoc generation.
VersionDeltaFile
1.1+19-0lang/ruby/4.0/patches/patch-class_c
1.5+7-5lang/ruby/4.0/pkg/PLIST-main
1.5+2-4lang/ruby/4.0/distinfo
1.2+3-3lang/ruby/4.0/patches/patch-configure
1.10+2-3lang/ruby/4.0/Makefile
1.4+3-0lang/ruby/4.0/pkg/PLIST-ri_docs
+36-151 files not shown
+37-167 files

FreeBSD/src ac2daabsys/conf newvers.sh

15.1: Update to BETA3

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

FreeBSD/src a02091dshare/man/man7 freebsd-base.7

freebsd-base.7: Document adding a local repo

Approved by:    re (cperciva)
MFC after:              1 day
Discussed with:         bcr, ivy, kevans, ngie
Differential Revision:  https://reviews.freebsd.org/D56608

(cherry picked from commit c4af3f13a4e9932968d92872aaf22312a6e79e4e)
(cherry picked from commit 635743c6ec35f11434339f79222fb0a259ed8bfb)
DeltaFile
+22-1share/man/man7/freebsd-base.7
+22-11 files

FreeBSD/src 409247asys/contrib/openzfs/lib/libzfs/os/linux libzfs_mount_os.c, sys/contrib/openzfs/module/os/linux/zfs zpl_super.c zfs_vfsops.c

zfs: merge openzfs/zfs at 6330a45b0 (zfs-2.4-release) into stable/15

OpenZFS 2.4.2

Notable upstream pull request merges:
 #18208 6f14581e1 Cleanup allocation class selection
 #18235 7590972f7 Prevent range tree corruption race by updating
                  dnode_sync()
 #18255 b06caaeec range_tree: use zfs_panic_recover() for partial-overlap
                  remove
 #18258 33961142a Fix deadlock on dmu_tx_assign() from vdev_rebuild()
 #18262 02ed09106 Fix check for .cfi_negate_ra_state on aarch64
 #18263 9f92266b7 Fix redundant declaration of dsl_pool_t
 #18276 3862aadf7 Fix vdev_rebuild_range() tx commit
 #18290 a94b137aa FreeBSD: Improve dmesg kernel message prefix
 #18294 938c8c98b draid: fix data corruption after disk clear
 #18310 b40cd9191 Fix s_active leak in zfsvfs_hold() when z_unmounted is
                  true
 #18380 9b8ccbd2c draid: fix import failure after disks replacements

    [16 lines not shown]
DeltaFile
+619-118sys/contrib/openzfs/module/os/linux/zfs/zpl_super.c
+24-207sys/contrib/openzfs/module/os/linux/zfs/zfs_vfsops.c
+152-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_degraded2.ksh
+143-0sys/contrib/openzfs/lib/libzfs/os/linux/libzfs_mount_os.c
+136-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/redundancy_draid_degraded1.ksh
+126-0sys/contrib/openzfs/tests/zfs-tests/cmd/setlease.c
+1,200-325313 files not shown
+3,284-867319 files

FreeBSD/ports 7a04d20devel/nextest distinfo Makefile

devel/nextest: update 0.9.134 → 0.9.135
DeltaFile
+3-3devel/nextest/distinfo
+1-2devel/nextest/Makefile
+4-52 files

FreeBSD/ports d02be6dmisc/lean-ctx Makefile distinfo

misc/lean-ctx: update 3.5.25 → 3.6.0
DeltaFile
+2-5misc/lean-ctx/Makefile
+3-3misc/lean-ctx/distinfo
+5-82 files

LLVM/project 439d42fclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+318-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5,254-982543 files not shown
+9,367-2,635549 files

LLVM/project 7022d6dclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+395-389llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+5,331-1,371573 files not shown
+9,970-3,154579 files

LLVM/project 6c1381eclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+318-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5,254-982544 files not shown
+9,367-2,637550 files