LLVM/project 820654dclang/include/clang/Analysis/Analyses UnsafeBufferUsage.h, clang/lib/Analysis UnsafeBufferUsage.cpp

[UnsafeBufferUsage][SSAF] Change -Wunsafe-buffer-usage API for SSAF-based analysis (#191934)

Change -Wunsafe-buffer-usage API to match `Stmt`s instead of `Decl`s. It
is up to clients of the API to determine how to traversal a `Decl`. In
this change, the client is SSAF-based
UnsafeBufferUsageExtractor.

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+66-57clang/lib/Analysis/UnsafeBufferUsage.cpp
+2-25clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+4-8clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
+72-903 files

FreeBSD/src 901aec0sys/compat/linuxkpi/common/include/linux sysfs.h

linuxkpi: Handle bin attributes in sysfs attribute groups

For instance, this is used by DRM drivers to declare the EDID property
of an GPU output connector:

    sysctl -b sys.device.drmn1.card0.card0-DP-1.edid | edid-decode

    ...
    Block 0, Base EDID:
      EDID Structure Version & Revision: 1.4
      Vendor & Product Identification:
        Manufacturer: SAM
        Model: 29814
        Serial Number: 810635354 (0x3051505a)
        Made in: week 15 of 2025
    ...

Reviewed by:    bz, emaste, wulf
Sponsored by:   The FreeBSD Foundation

    [3 lines not shown]
DeltaFile
+25-9sys/compat/linuxkpi/common/include/linux/sysfs.h
+25-91 files

FreeBSD/ports 4514c69net/scamper Makefile distinfo

net/{,py-}scamper: Update 20260331 => 20260420

Changelog:
https://mailman.caida.org/pipermail/scamper-announce/2026-April/000062.html

PR:             294683
Sponsored by:   UNIS Labs
DeltaFile
+5-2net/scamper/Makefile
+3-3net/scamper/distinfo
+3-1net/scamper/pkg-plist
+11-63 files

FreeBSD/ports bb654a4devel/valgrind distinfo Makefile

devel/valgrind: Update 3.26.0 => 3.27.0

Changelog:
https://valgrind.org/docs/manual/dist.news.html

PR:             294679
Sponsored by:   UNIS Labs
DeltaFile
+3-3devel/valgrind/distinfo
+1-1devel/valgrind/Makefile
+4-42 files

GhostBSD/ghostbsd fe83a5cstand/lua menu.lua

menu: remove check for core.KEY_ENTER in input loop
DeltaFile
+0-3stand/lua/menu.lua
+0-31 files

LLVM/project f2e4fcdllvm/test/Transforms/LowerTypeTests x86-jumptable-dbg.ll aarch64-jumptable-dbg.ll

[NFC][LowerTypeTests] Add AArch64 and X86 jump table tests with debug info (#192735) (#193358)

It just recommits test copied from non dbg version.

Implementation is https://github.com/llvm/llvm-project/pull/192736.

This is the same as #192735, accidentally merged into spr/users branch.
DeltaFile
+104-0llvm/test/Transforms/LowerTypeTests/x86-jumptable-dbg.ll
+72-0llvm/test/Transforms/LowerTypeTests/aarch64-jumptable-dbg.ll
+176-02 files

LLVM/project b7a4020clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp

Add #include "clang/AST/ExprCXX.h"
DeltaFile
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+1-01 files

FreeBSD/ports a3829bddevel/yasm Makefile

devel/yasm: Add USES=python:build because cmake looksfor python

Reported by:    Tomoaki AOKI <junchoon at dec.sakura.ne.jp>
PR:             270129
DeltaFile
+1-1devel/yasm/Makefile
+1-11 files

LLVM/project 1cbd27fllvm/lib/Analysis ConstantFolding.cpp, llvm/test/Transforms/InstSimplify/ConstProp loads.ll

[ConstantFolding] Increase folding limit for vector loads to 128 bytes (#192775)

In FoldReinterpretLoadFromConst, ReadDataFromGlobal bails out when
BytesLoaded exceeds 32 bytes. This prevent folding in our downstream
OpenCL case where global constant is [16 x float] array and is loaded as
float16 vector, which is 64 bytes.

This PR increases BytesLoaded cap to 128 bytes, to accommodate large
vector support, e.g. double16 type in OpenCL. For scalar integer load,
the limit remains 32 bytes to avoid regression on load from string
literal.

---------

Co-authored-by: Nikita Popov <github at npopov.com>
DeltaFile
+62-0llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
+16-6llvm/lib/Analysis/ConstantFolding.cpp
+78-62 files

NetBSD/src WIYln2Zshare/mk bsd.own.mk

   switch everyone to jemalloc 5.3.1 again
VersionDeltaFile
1.1480+2-2share/mk/bsd.own.mk
+2-21 files

LLVM/project 3c3f64fclang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlow.h, clang/lib/ScalableStaticAnalysisFramework/Analyses CMakeLists.txt

had Claude to give a review pass
DeltaFile
+87-88clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+23-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+2-3clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
+2-2clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeLists.txt
+2-2clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.h
+0-3clang/test/Analysis/Scalable/PointerFlow/Inputs/tu-summary.json
+116-981 files not shown
+116-997 files

LLVM/project 4d83691lldb/include/lldb/Core EmulateInstruction.h, lldb/source/Core EmulateInstruction.cpp

[lldb] Fix a couple of return type / return value mismatches (#191464)

* `EmulateInstruction::ReadMemory()` returns a boolean value and is used
in boolean contexts, but the return type is specified as `size_t`.
Change it to `bool`. This also aligns it with `WriteMemory()`.
* `ClangExpressionDeclMap::GetSymbolAddress()` returns `false` if
`Target` is not available, but it is expected to return an address.
Change it to return `LLDB_INVALID_ADDRESS`.
* `ValueObject::GetPointeeData()` returns `true`, whereas a return value
of type `size_t` is expected. Change it to return 0 (this code is
unreachable).
DeltaFile
+2-2lldb/include/lldb/Core/EmulateInstruction.h
+2-2lldb/source/Core/EmulateInstruction.cpp
+2-1lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
+1-1lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
+1-1lldb/source/ValueObject/ValueObject.cpp
+8-75 files

LLVM/project 95aa046clang/lib/AST/ByteCode Compiler.cpp, clang/test/CodeGen/AArch64 neon-misc.c

rebase

Created using spr 1.3.7
DeltaFile
+868-0llvm/test/CodeGen/AArch64/hadd-combine-scalar.ll
+474-121clang/lib/AST/ByteCode/Compiler.cpp
+459-0llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-spill-multi-store-mir.mir
+0-428llvm/test/CodeGen/AArch64/xtn.ll
+355-0clang/test/CodeGen/AArch64/neon/vpaddl.c
+0-308clang/test/CodeGen/AArch64/neon-misc.c
+2,156-857262 files not shown
+6,328-2,081268 files

LLVM/project f99a8f1llvm/include/llvm/ADT Hashing.h

Update llvm/include/llvm/ADT/Hashing.h

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
DeltaFile
+1-1llvm/include/llvm/ADT/Hashing.h
+1-11 files

LLVM/project 8e63ff8llvm/include/llvm/ADT Hashing.h

Update llvm/include/llvm/ADT/Hashing.h

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
DeltaFile
+1-1llvm/include/llvm/ADT/Hashing.h
+1-11 files

LLVM/project c0584efllvm/include/llvm/ADT Hashing.h

Update llvm/include/llvm/ADT/Hashing.h

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
DeltaFile
+1-1llvm/include/llvm/ADT/Hashing.h
+1-11 files

LLVM/project 8082b53llvm/include/llvm/ADT Hashing.h

Update llvm/include/llvm/ADT/Hashing.h

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
DeltaFile
+1-1llvm/include/llvm/ADT/Hashing.h
+1-11 files

GhostBSD/ghostbsd 7a2307fstand/defaults loader.conf.5 loader.conf, stand/lua menu.lua core.lua

loader: add hidden boot menu option and fix verbose/mute interaction

Add loader_menu_hidden="YES" support to hide the boot menu during the
autoboot countdown. Instead of drawing the full menu immediately, a
minimal "Press any key for boot menu..." prompt is shown. Pressing any
key reveals the menu; otherwise the system boots when the countdown
expires. The countdown duration is controlled by autoboot_delay.

Also force boot_mute=NO when verbose boot is enabled from the menu, so
that verbose output is not silenced by the default boot_mute="YES".
Disabling verbose leaves boot_mute untouched per loader.conf.
DeltaFile
+51-8stand/lua/menu.lua
+11-0stand/defaults/loader.conf.5
+2-1stand/defaults/loader.conf
+1-0stand/lua/core.lua
+65-94 files

LLVM/project 7682cf8clang/include/clang/Parse Parser.h, clang/include/clang/Sema DeclSpec.h

Merge branch 'main' into users/ziqingluo/PR-172429193-2-split-4
DeltaFile
+162-141clang/include/clang/Sema/DeclSpec.h
+44-63clang/include/clang/Parse/Parser.h
+81-10llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.atomic.barrier.arrive.rtn.b64.ll
+33-20offload/plugins-nextgen/common/src/PluginInterface.cpp
+32-5llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.atomic.async.barrier.arrive.b64.ll
+29-8libc/utils/libctest/format.py
+381-24736 files not shown
+658-34242 files

LLVM/project b0af9b0llvm/test/Transforms/LowerTypeTests x86-jumptable-dbg.ll aarch64-jumptable-dbg.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+104-0llvm/test/Transforms/LowerTypeTests/x86-jumptable-dbg.ll
+72-0llvm/test/Transforms/LowerTypeTests/aarch64-jumptable-dbg.ll
+176-02 files

LLVM/project e7f5822llvm/test/Transforms/LowerTypeTests x86-jumptable-dbg.ll aarch64-jumptable-dbg.ll

[NFC][LowerTypeTests] Add AArch64 and X86 jump table tests with debug info (#192735)

It just recommits test copied from non dbg version.

Implementation is https://github.com/llvm/llvm-project/pull/192736.
DeltaFile
+104-0llvm/test/Transforms/LowerTypeTests/x86-jumptable-dbg.ll
+72-0llvm/test/Transforms/LowerTypeTests/aarch64-jumptable-dbg.ll
+176-02 files

GhostBSD/ghostbsd 709a75econtrib/libcbor/doc/source requirements.txt

Merge remote-tracking branch 'origin/stable/15' into stable/15
DeltaFile
+2-2contrib/libcbor/doc/source/requirements.txt
+2-21 files

FreeBSD/ports fb347f7security/strongswan Makefile

security/strongswan: Enable ML plugin by default to allow Post-Quantum Key Exchange Methods

Currently ML-DSA (used for Digital Signatures) is a draft in strongswan
(ETA Version 6.1.0 or later). So CNSA 2.0 cannot be fully supported yet.
https://linux-ipsec.org/slides/2025/steffen-pqc-auth-for-ikev2.pdf
But most firewalls (Palo Alto / Fortigate) already support ML-KEM Key
Exchange in addition to standard proposals.
E.g. aes128gcm16-ecp256-ke1_mlkem512.

More details:
https://docs.strongswan.org/docs/latest/config/proposals.html

PR:             294305
Approved by:    strongswan at Nanoteq.com (maintainer, timeout 2 weeks)
Sponsored by:   UNIS Labs
DeltaFile
+2-1security/strongswan/Makefile
+2-11 files

LLVM/project d87ac87offload/plugins-nextgen/common/include PluginInterface.h, offload/plugins-nextgen/common/src PluginInterface.cpp

[offload] Fix synchronization when record replay is enabled (#193291)

When kernel record replay was enabled, the operations on the current
stream were not synchronized. That's because the current stream was
"ignored", and a new stream was used when RR is active. This is invalid
when there are pending operations on the original stream and can lead to
invalid prologue recording data.

This commit addresses this issue by using the original stream and
synchronizing it explicitly before and after kernel launch. This way, we
ensure the operations are completed before performing the prologue and
epilogue data recording. Additionally, the kernel record replay entry
points are moved to the same layer, in `GenericKernelTy::launch()`.
DeltaFile
+33-20offload/plugins-nextgen/common/src/PluginInterface.cpp
+9-2offload/plugins-nextgen/common/include/PluginInterface.h
+42-222 files

LLVM/project 404609druntimes/cmake config-Fortran.cmake

[runtimes] Enable Fortran only with explicit CMAKE_Fortran_COMPILER (#193332)

Only enable Fortran support when the user (or the bootstrapping build)
passes `-DCMAKE_Fortran_COMPILER=...`.

`enable_language(...)` other than C/CXX reveals problems with the
current build system. LLVM likes to add
`-Wl,--color-diagnostics`
to `CMAKE_EXE_LINKER_FLAGS` whenever possible. The problem is that
`CMAKE_EXE_LINKER_FLAGS` is added to the linker line regardless of which
language is used, but `HandleLLVMOptions.cmake` probes only
`CMAKE_CXX_COMPILER`. Other languages' compilers such as
`CMAKE_CUDA_COMPILER` (`nvcc`) or `CMAKE_Fortran_COMPILER` (`gfortran`)
may not accept the flag. CMake then fails when those compilers are "not
able to compile a simple test program." because it does not accept the
`--color-diagnostics` flag.

`CMAKE_EXE_LINKER_FLAGS` does not support generator expression such that
`$<$<COMPILE_LANGUAGE:C,CXX>:-Wl,--color-diagnostics>` does not work

    [6 lines not shown]
DeltaFile
+23-12runtimes/cmake/config-Fortran.cmake
+23-121 files

LLVM/project 5892e34clang/include/clang/Parse Parser.h, clang/include/clang/Sema DeclSpec.h

[BoundsSafety][NFC] Move LateParsedAttribute outside Parser class; move LateParsedAttrList to DeclSpec.h (#192145)

Preparatory refactoring for llvm/llvm-project#179612, which introduces
late parsing of bounds-safety attributes as type attributes. The new
approach needs LateParsedAttribute accessible from DeclSpec.h (to store
late attr pointers in DeclaratorChunk, Declarator, and DeclSpec), which
cannot depend on Parser.h.

- Move LateParsedDeclaration and LateParsedAttribute to namespace level
in Parser.h
- Move LateParsedAttrList to DeclSpec.h with a forward declaration of
LateParsedAttribute

Other LateParsedDeclaration subclasses (LateParsedClass,
LateParsedPragma, LateParsedMemberInitializer, etc.) remain inside
Parser as they are only created and consumed within Parser and don't
need to cross the Parser/Sema boundary.
DeltaFile
+162-141clang/include/clang/Sema/DeclSpec.h
+44-63clang/include/clang/Parse/Parser.h
+7-7clang/lib/Parse/ParseCXXInlineMethods.cpp
+213-2113 files

LLVM/project b48d8a5libc/cmake/modules LLVMLibCTestRules.cmake, libc/utils/libctest format.py

Support loader arguments in GPU hermetic tests (#193341)

GPU tests require arguments passed to the loader (like llvm-gpu-loader)
to be placed before the test binary on the command line.

Updated LLVMLibCTestRules.cmake to generate a three-part .params file to
separate loader flags from test arguments and pass environment
overrides. Implicitly added LIBOMPTARGET_STACK_SIZE for NVPTX targets.

Modified format.py to parse this new format and position the loader
arguments correctly before the binary.
DeltaFile
+29-8libc/utils/libctest/format.py
+23-0libc/cmake/modules/LLVMLibCTestRules.cmake
+52-82 files

LLVM/project 54c1b30libcxx/utils/ci/images libcxx_next_runners.txt libcxx_runners.txt

[libcxx][Github] Bump container version (#193351)

Now that the rebuilt container images are available with an upgraded
Github runner, bump to the latest image.
DeltaFile
+1-1libcxx/utils/ci/images/libcxx_next_runners.txt
+1-1libcxx/utils/ci/images/libcxx_runners.txt
+2-22 files

LLVM/project fc0f321libc/cmake/modules LLVMLibCTestRules.cmake

[libc][NFC] Remove trailing whitespace from LLVMLibCTestRules.cmake (#193350)
DeltaFile
+7-7libc/cmake/modules/LLVMLibCTestRules.cmake
+7-71 files

LLVM/project 7014ce8utils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[bazel][lldb] Fix missing dep in ScriptedProcess (#193348)

Added in #181501
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+1-01 files