LLVM/project be072baclang/lib/CIR/CodeGen CIRGenFunction.cpp CIRGenFunction.h

[CIR][NFC] Simplify LexicalScope::cleanup() (#191034)

The LexicalScope::cleanup() function contained a lot of logic that had
been copied from the classic codegen version of this function to
properly handle branching through cleanup blocks. Since CIR cleanups are
no longer based on blocks and branches, this had become dead code. This
change simplifies the function accordiningly. This also removes the
LexicalScope::getCleanupBlock() function which is no longer called, and
the LexicalScope::createCleanupBlock() and
LexicalScope::getOrCreateCleanupBlock() functions which weren't called
even before this change.

Assisted-by: Cursor / claude-4.6-opus-high
DeltaFile
+32-95clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+0-25clang/lib/CIR/CodeGen/CIRGenFunction.h
+32-1202 files

FreeBSD/ports 06622b6net-im/telegram-desktop distinfo Makefile

net-im/telegram-desktop: update: 6.7.2 -> 6.7.5

Sponsored by:   tipi.work
DeltaFile
+3-3net-im/telegram-desktop/distinfo
+1-1net-im/telegram-desktop/Makefile
+4-42 files

FreeBSD/src c0d9a07sys/contrib/zstd/lib zstd.h, sys/contrib/zstd/lib/common xxhash.h

MFV: zstd 1.5.7.

MFC after:      2 weeks
Relnotes:       yes
DeltaFile
+2,416-1,011sys/contrib/zstd/lib/common/xxhash.h
+2,413-897sys/contrib/zstd/lib/compress/zstd_compress.c
+1,063-820sys/contrib/zstd/programs/fileio.c
+835-446sys/contrib/zstd/programs/benchzstd.c
+630-535sys/contrib/zstd/lib/compress/zstd_lazy.c
+889-266sys/contrib/zstd/lib/zstd.h
+8,246-3,975170 files not shown
+19,451-11,214176 files

LLVM/project 69e0367clang/lib/Lex ModuleMap.cpp, clang/lib/Tooling DependencyScanningTool.cpp

[clang][Modules] Diagnosing Module Redefinition Across ModuleMaps (#190085)

This PR enhances the module redefinition diagnostic to cover a very
specific case.

1. A module, say `B`, is discovered first during header search. In other
words, it is declared in a modulemap that shows up first on the search
paths.
2. `B` is declared again in a different modulemap, which shows up in a
later search path, and the compiler discovers `B` again when it is
searching for a different named module.

See the two tests added for examples of this specific scenario. Under
such a scenario, the compiler now reports the module redefined error.

Note that we are not diagnosing duplicating module definitions globally,
because that requires looking through all search paths and loading all
module maps, which is too expensive.

Assisted-by: claude-opus-4.6
DeltaFile
+65-0clang/test/ClangScanDeps/modules-byname-dup-module-decl-diag.c
+56-0clang/test/Modules/implicit-module-redefinition.c
+39-0clang/test/ClangScanDeps/modules-mmap-redef.c
+36-0clang/test/Modules/implicit-module-redefinition-same-file.c
+13-2clang/lib/Lex/ModuleMap.cpp
+3-0clang/lib/Tooling/DependencyScanningTool.cpp
+212-26 files

LLVM/project 37249e7clang/lib/APINotes APINotesFormat.h

fix clang-format
DeltaFile
+2-2clang/lib/APINotes/APINotesFormat.h
+2-21 files

LLVM/project 8d106eblldb/include/lldb/Target SyntheticFrameProvider.h Thread.h, lldb/source/Target Target.cpp SyntheticFrameProvider.cpp

[lldb/Target] Unify frame provider descriptor and chain IDs (#190712)

Replace the two separate ID systems for frame providers — hash-based
descriptor IDs in Target and sequential chain IDs in Thread — with a
single monotonically increasing counter in Target.

Provider IDs are now assigned by
Target::AddScriptedFrameProviderDescriptor
and used directly as the chain ID in Thread, so
RegisterScriptedFrameProvider
returns the same ID used by 'bt --provider'. Also add duplicate
detection to
emit a warning when registering a provider with the same class name and
arguments twice.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+21-7lldb/source/Target/Target.cpp
+17-5lldb/include/lldb/Target/SyntheticFrameProvider.h
+9-9lldb/source/Target/SyntheticFrameProvider.cpp
+1-6lldb/source/Target/Thread.cpp
+2-2lldb/test/API/functionalities/scripted_frame_provider/pass_through_prefix/TestFrameProviderPassThroughPrefix.py
+0-4lldb/include/lldb/Target/Thread.h
+50-333 files not shown
+53-349 files

LLVM/project f49a262mlir/include/mlir/Dialect/XeGPU/IR XeGPUTypes.td, mlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h

[MLIR][XeGPU] TensorDesc Type support generic DistributeLayout instead of Layout (#190401)

This PR allows TensorDesc to support slice layout, not just plain
layout.
DeltaFile
+6-7mlir/lib/Dialect/XeGPU/Transforms/XeGPUBlocking.cpp
+6-7mlir/test/lib/Dialect/XeGPU/TestXeGPUTransforms.cpp
+10-3mlir/lib/Dialect/XeGPU/Transforms/XeGPUPeepHoleOptimizer.cpp
+5-4mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+3-3mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
+3-2mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+33-264 files not shown
+39-3210 files

OpenZFS/src 943a055module/zfs zvol.c

zvol: Fix uses of uninitialized variables in zvol_rename_minors_impl()

Reported-by: GitHub Copilot
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Mark Johnston <markj at FreeBSD.org>
Closes #18191
DeltaFile
+3-0module/zfs/zvol.c
+3-01 files

OpenZFS/src d7b8eefmodule/os/freebsd/zfs zvol_os.c, module/os/linux/zfs zvol_os.c

zvol: Hold the zvol state writer lock when renaming

Otherwise nothing serializes updates to the global zvol hash table.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Mark Johnston <markj at FreeBSD.org>
Closes #18191
DeltaFile
+1-1module/os/freebsd/zfs/zvol_os.c
+1-1module/os/linux/zfs/zvol_os.c
+1-1module/zfs/zvol.c
+3-33 files

OpenZFS/src d736868module/os/freebsd/zfs zvol_os.c, module/zfs zvol.c

Make zvol_set_common() block until the operation has completed

This is motivated by a FreeBSD AIO test case which create a zvol with -o
volmode=dev, then immediately tries to open the zvol device file.  The
open occasionally fails with ENOENT.

When a zvol is created without the volmode setting, zvol_create_minors()
blocks until the task is finished, at which point OS-dependent code will
have created a device file.  However, zvol_set_common() may cause the
device file to be destroyed and re-created, at least on FreeBSD, if the
voltype switches from GEOM to DEV.  In this case, we do not block
waiting for the operation to finish, causing the test failure.

Fix the problem by making zvol_set_common() block until the operation
has finished.  In FreeBSD zvol code, use g_waitidle() to block until
asynchronous GEOM operations are done.  This fixes a secondary race
where zvol_os_remove_minor() does not block until the zvol device file
is removed, and the subsequent zvol_os_create_minor() fails because the
(to-be-destroyed) device file already exists.

    [5 lines not shown]
DeltaFile
+42-4module/zfs/zvol.c
+3-1module/os/freebsd/zfs/zvol_os.c
+45-52 files

LLVM/project 7c82ed4clang/test/APINotes unsafe-buffer-usage.cpp, clang/test/APINotes/Inputs/Headers UnsafeBufferUsage.apinotes UnsafeBufferUsage.h

address comments
DeltaFile
+36-8clang/test/APINotes/unsafe-buffer-usage.cpp
+4-0clang/test/APINotes/Inputs/Headers/UnsafeBufferUsage.apinotes
+2-1clang/test/APINotes/Inputs/Headers/UnsafeBufferUsage.h
+42-93 files

OpenZFS/src 6de1457module/os/freebsd/zfs zvol_os.c

FreeBSD: Fix zvol teardown races

zvol_geom_open() may be called to taste an orphaned provider.  The test
for pp->private == NULL there is racy as no locks are synchronizing the
test.

Use the GEOM topology lock to interlock the pp->private == NULL test
with the zvol state checks.  This establishes a new lock order but I
believe this is necessary.  Set pp->private = NULL under the GEOM
topology lock instead of the per-zvol state lock.  Modify
zvol_os_rename_minor() to drop the zvol state lock to avoid a lock order
reversal with the topology lock.

Also reverse the order of tests in zvol_geom_open() and zvol_cdev_open()
as at least zvol_geom_open() may race with zvol_os_remove_minor(), which
sets zv->zv_zso = NULL.  Testing for ZVOL_REMOVING first avoids a race
which can lead to a NULL pointer dereference.

Add a new OS-specific flag to handle the case where zvol_geom_open()

    [8 lines not shown]
DeltaFile
+44-34module/os/freebsd/zfs/zvol_os.c
+44-341 files

LLVM/project ebd46bfllvm/lib/Target/PowerPC PPCISelLowering.cpp

Fix formatting
DeltaFile
+3-2llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+3-21 files

FreeNAS/freenas 2eb5c97src/middlewared/middlewared/plugins account.py

fix updating users with invalid builtins
DeltaFile
+5-4src/middlewared/middlewared/plugins/account.py
+5-41 files

LLVM/project b744548clang/include/clang/Basic DiagnosticCommonKinds.td, clang/lib/CodeGen CGCall.cpp

[Clang] Allow musttail in noexcept functions when callee is nounwind (#190945)

noexcept functions push an EHTerminateScope onto the cleanup stack. The
musttail codegen did not know how to skip this scope, causing a "cannot
compile this tail call skipping over cleanups yet" error even when both
caller and callee are noexcept.

Skip the EHTerminateScope when the callee is nounwind (noexcept). The
callee's own noexcept handler prevents any exception from propagating,
so the caller's terminate handler is unnecessary.

Fixes #53087.
DeltaFile
+34-0clang/test/CodeGenCXX/musttail-noexcept.cpp
+12-0clang/lib/CodeGen/CGCall.cpp
+9-0clang/test/CodeGenCXX/musttail-noexcept-error.cpp
+2-0clang/include/clang/Basic/DiagnosticCommonKinds.td
+57-04 files

NetBSD/src TrmjpY5doc CHANGES

   new xz.
VersionDeltaFile
1.3246+2-1doc/CHANGES
+2-11 files

NetBSD/src PHBGeuidistrib/sets/lists/base shl.mi, distrib/sets/lists/debug shl.mi

   bump liblzma.
VersionDeltaFile
1.1036+3-3distrib/sets/lists/base/shl.mi
1.396+3-3distrib/sets/lists/debug/shl.mi
+6-62 files

FreeBSD/ports 2dfa78esecurity/cyberchef distinfo Makefile

security/cyberchef: Update to 10.23.0

re: https://github.com/gchq/CyberChef/tree/v10.23.0
DeltaFile
+3-3security/cyberchef/distinfo
+1-1security/cyberchef/Makefile
+4-42 files

LLVM/project 006d352llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel wmma-gfx12-w32-swmmac-index_key.ll wmma-gfx12-w64-swmmac-index_key.ll

[AMDGPU][GISel] RegBankLegalize rules for SWMMAC instructions (#190997)
DeltaFile
+20-6llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w32-swmmac-index_key.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-swmmac-index_key.ll
+24-103 files

NetBSD/src 40Bg994external/public-domain/xz/dist configure configure.ac, external/public-domain/xz/dist/build-aux config.guess

   merge changes between 5.2.4 and 5.8.3
VersionDeltaFile
1.3+16,223-11,609external/public-domain/xz/dist/configure
1.3+1,025-681external/public-domain/xz/dist/build-aux/config.guess
1.6+673-121external/public-domain/xz/dist/configure.ac
1.4+478-313external/public-domain/xz/dist/src/xz/list.c
1.2+600-166external/public-domain/xz/dist/src/common/tuklib_integer.h
1.10+229-83external/public-domain/xz/include/config.h
+19,228-12,97321 files not shown
+19,583-13,09127 files

NetBSD/src Cow4FmLsys/arch/xen/conf files.xen

   s/peudo/pseudo/ in comment.
VersionDeltaFile
1.190+2-2sys/arch/xen/conf/files.xen
+2-21 files

FreeBSD/ports 0d8b758net-mgmt/prometheus3 distinfo Makefile

net-mgmt/prometheus3: Update to 3.11.1

Changelog:
https://github.com/prometheus/prometheus/releases/tag/v3.11.1
DeltaFile
+7-7net-mgmt/prometheus3/distinfo
+1-1net-mgmt/prometheus3/Makefile
+8-82 files

OpenBSD/ports AoeIrYowww/sfeed distinfo Makefile

   Update to sfeed 2.4 from maintainer/upstream

   Includes a fix for a pledge violation due to open("/dev/null", O_RDWR)
   after pledge rpath.
VersionDeltaFile
1.15+2-2www/sfeed/distinfo
1.16+1-1www/sfeed/Makefile
+3-32 files

Linux/linux 7f87a5edrivers/hid hid-ids.h hid-debug.c, drivers/hid/intel-thc-hid/intel-quicki2c pci-quicki2c.c quicki2c-dev.h

Merge tag 'hid-for-linus-2026040801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid

Pull HID fixes from Jiri Kosina:

 - handling of new keycodes for contextual AI usages (Akshai Murari)

 - fix for UAF in hid-roccat (Benoît Sevens)

 - deduplication of error logging in amd_sfh (Maximilian Pezzullo)

 - various device-specific quirks and device ID additions (Even Xu, Lode
   Willems, Leo Vriska)

* tag 'hid-for-linus-2026040801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
  Input: add keycodes for contextual AI usages (HUTRR119)
  HID: Kysona: Add support for VXE Dragonfly R1 Pro
  HID: amd_sfh: don't log error when device discovery fails with -EOPNOTSUPP
  HID: quirks: add HID_QUIRK_ALWAYS_POLL for 8BitDo Pro 3
  HID: roccat: fix use-after-free in roccat_report_event

    [2 lines not shown]
DeltaFile
+7-0drivers/hid/hid-ids.h
+7-0drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
+6-0drivers/hid/hid-debug.c
+6-0drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
+4-0include/uapi/linux/input-event-codes.h
+4-0drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-dev.h
+34-06 files not shown
+46-112 files

LLVM/project 203ada4flang/lib/Lower/OpenMP OpenMP.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP/Todo declare-simd-linear-complex.f90

Fixes for declare simd lowering

- Handle allocatables as ref-like in linear step rescaling and default
  modifier selection (IsAllocatableOrPointer instead of IsPointer alone).
- Add TODO for non-int/float element types in linear step rescaling
  (complex, character, derived types are rare but possible with
  linear(ref:)).
- Assert SubprogramDetails exists instead of silently skipping (declare
  simd can only appear in subprograms, not main programs).
- Use dyn_cast_if_present for LinearModifierAttr extraction.
DeltaFile
+21-17flang/lib/Lower/OpenMP/OpenMP.cpp
+10-0flang/test/Lower/OpenMP/Todo/declare-simd-linear-complex.f90
+6-2flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+2-5mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+39-244 files

NetBSD/pkgsrc jAlkW4Hdoc CHANGES-2026

   doc: Updated misc/window to 20260407
VersionDeltaFile
1.2166+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc k8y1kS6doc CHANGES-2026

   doc: Updated security/py-cryptography_vectors to 46.0.7
VersionDeltaFile
1.2165+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc VMw5Qcasecurity/py-cryptography_vectors distinfo Makefile

   py-cryptography_vectors: update to 46.0.7.

   To match py-cryptography
VersionDeltaFile
1.76+4-4security/py-cryptography_vectors/distinfo
1.79+2-2security/py-cryptography_vectors/Makefile
+6-62 files

NetBSD/pkgsrc RnuM3R4doc TODO CHANGES-2026

   doc: Updated security/py-cryptography to 46.0.7
VersionDeltaFile
1.27074+2-1doc/TODO
1.2164+2-1doc/CHANGES-2026
+4-22 files

NetBSD/pkgsrc tA8UXcesecurity/py-cryptography distinfo Makefile

   py-cryptography: update to 46.0.7.

   46.0.7 - 2026-01-27
   ~~~~~~~~~~~~~~~~~~~

   * **SECURITY ISSUE**: Fixed an issue where non-contiguous buffers could be
     passed to APIs that accept Python buffers, which could lead to buffer
     overflow. **CVE-2026-39892**
   * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.6.
VersionDeltaFile
1.115+4-4security/py-cryptography/distinfo
1.142+2-2security/py-cryptography/Makefile
+6-62 files