LLVM/project 328a3b3 — llvm/utils/gn/secondary/llvm/lib/Target/AArch64 BUILD.gn

[gn build] Port e020f90b6608 (#248624)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
+1-01 files

LLVM/project 5442381 — llvm/utils/gn/secondary/clang/unittests/Basic BUILD.gn

[gn build] Port dc7bdfc097ed (#248623)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/Basic/BUILD.gn
+1-01 files

FreeBSD/ports e090d13 — games/xray-16 Makefile distinfo

games/xray-16: Update 2921-january-2025-rc1.20261115 => 2921-january-2025-rc1.20261203

Commit log:
https://github.com/OpenXRay/xray-16/compare/5c431a1...e973013

PR:     301451
DeltaFile
+5-5games/xray-16/distinfo
+3-3games/xray-16/Makefile
+8-82 files

LLVM/project 228f060 — flang-rt/lib/runtime unit.cpp

[flang-rt] Avoid recursion through BeginReadingRecord on the device (#248582)

Commit e2da32dd7802 made ExternalFileUnit::BeginReadingRecord() call
Endfile() after a short direct-access read. In CUDA device code this
closes a call graph cycle:

  AdvanceRecord() -> BeginReadingRecord() -> Endfile() -> DoEndfile()
    -> AdvanceRecord()

AdvanceRecord() is statically reachable from EndIoStatement(), so nvlink
can no longer compute the stack size of any kernel that performs I/O,
such as a list-directed WRITE ("Stack size for entry function ... cannot
be statically determined"), and such kernels may overflow their stack at
run time.

The device pseudo unit supports only output, so BeginReadingRecord()
never runs there. Under RT_DEVICE_AVOID_RECURSION, replace its body with
a crash, as is already done for child I/O. This also keeps future
changes to the input record handling from adding cycles to device code.

Assisted-by: Cursor
DeltaFile
+6-0flang-rt/lib/runtime/unit.cpp
+6-01 files

FreeNAS/freenas 2c42b7d — src/middlewared/middlewared/plugins tunables.py

Use os.scandir to list ZFS module parameters

ruff bans os.listdir. Same implementation as master.
DeltaFile
+2-1src/middlewared/middlewared/plugins/tunables.py
+2-11 files

LLVM/project fc7faf4 — llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-function-analyses.ll

AMDGPU: Preserve function analyses in AMDGPULowerModuleLDS

Assisted-by: Claude
DeltaFile
+18-0llvm/test/CodeGen/AMDGPU/lower-module-lds-function-analyses.ll
+9-2llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+27-22 files

LLVM/project b34a8ff — llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-link-time-constant-use.ll amdgpu-sw-lower-lds-object-linking.ll

[AMDGPU] Replace constant uses of LDS variables in the object linking mode (#248503)

In the object linking mode, `AMDGPULowerModuleLDS` moves an LDS variable
into a struct and replaces the uses of the variable in instructions. A
use outside instructions, for example in the initializer of a table in
global memory, kept the old variable as an LDS definition next to the
struct. Code that read the address from the table then used another
location than the instructions, and `AMDGPUAsmPrinter` stopped at the
assertion for LDS definitions.

The LDS lowering for ASan (`AMDGPUSwLowerLDS`) makes such a table for
the LDS slot of each kernel. So in object linking mode, ASan code
crashed when a non-kernel function used LDS.

Since the linker does the allocation in object linking mode, the
remaining uses now get the same field of the struct, after the variables
are removed from the used lists.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+128-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-object-linking.ll
+55-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-constant-use.ll
+12-2llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+195-23 files

LLVM/project 135b666 — llvm/test/CodeGen/AMDGPU fence-barrier-latency.ll lower-intrinsics-mcast-full-mask.ll

[AMDGPU] Flush LDS before async strore from LDS

Fixes: ROCM-33926
DeltaFile
+686-297llvm/test/CodeGen/AMDGPU/asyncmark-stage.ll
+369-187llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
+251-91llvm/test/CodeGen/AMDGPU/lds-dma-war-async.ll
+236-29llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tensor.load.store.ll
+218-2llvm/test/CodeGen/AMDGPU/lower-intrinsics-mcast-full-mask.ll
+113-84llvm/test/CodeGen/AMDGPU/fence-barrier-latency.ll
+1,873-6908 files not shown
+2,528-74414 files

LLVM/project e020f90 — llvm/lib/Target/AArch64 AArch64WinCFI.cpp, llvm/test/CodeGen/AArch64 win-shrink-wrap-arm64ec.ll win-shrink-wrap-arm64ec.mir

[aarch64][win] Reland (again) "Support shrink-wrapped SEH unwind ranges, with limitations" (#247273)

Relands #231596 and #244458 with an additional fix:

Reject shrink-wrapping on when the callee must pop incoming
stack arguments, even when the shrink wrapping is explicitly enabled.
If shrink wrapping were to be enabled in this case, then we would skip
the required pop.

Assisted-by: GPT-6.2 Sol
DeltaFile
+658-0llvm/test/CodeGen/AArch64/win-shrink-wrap-fragments.mir
+331-0llvm/test/CodeGen/AArch64/win-cfi-ranges.mir
+269-0llvm/lib/Target/AArch64/AArch64WinCFI.cpp
+151-0llvm/test/CodeGen/AArch64/win-cfi-ranges-invalid.mir
+130-0llvm/test/CodeGen/AArch64/win-shrink-wrap-arm64ec.mir
+122-0llvm/test/CodeGen/AArch64/win-shrink-wrap-arm64ec.ll
+1,661-028 files not shown
+2,489-2234 files

FreeNAS/freenas 7670922 — tests/api2 test_path_safety.py

NAS-145420 / 28.0.0-BETA.1 / Fix broken path security tests (#20305)

27.1 backport notes:
- test_authorized_keys_symlink_is_not_read: this branch already set the
user's home to the dataset; took master's version of that hunk

(cherry picked from commit f5a2141fd0727e659a57854723000f3cd5175774)
DeltaFile
+6-5tests/api2/test_path_safety.py
+6-51 files

FreeNAS/freenas 6042788 — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145364 / 28.0.0-BETA.1 / middleware: strengthen path handling (#20280)

Paths that an unprivileged user may control are opened with safe_open,
safe_open_raw and safe_makedirs from truenas_os_pyutils, which refuse a
symlink anywhere in the path, and a FIFO, socket or device node before
opening it.

- rsync: create and chown ~/.ssh/known_hosts through symlink-refusing
fds; cap the known_hosts read at 4 MiB
- ssh-keyscan: pass "--" before the host
- user: read authorized_keys with safe_open, capped at 1 MiB; unlink it
through a symlink-free .ssh fd
- filesystem.mkdir: chmod, rmdir and listxattr through fds; compare .ssh
by component
- NFS: refuse export paths that exportfs would rewrite
- nvmet: a FILE namespace must be a symlink-free regular file in a data
pool
- SMB: path_suffix and dataset_naming_schema must stay beneath the share
- filesystem.set_zfs_attributes: callers without FULL_ADMIN are limited

    [28 lines not shown]
DeltaFile
+118-0tests/api2/test_path_safety.py
+55-33src/middlewared/middlewared/plugins/nvmet/namespace.py
+57-29src/middlewared/middlewared/plugins/filesystem.py
+42-25src/middlewared/middlewared/utils/libvirt/cdrom.py
+7-32src/middlewared/middlewared/plugins/filesystem_/acl.py
+14-21src/middlewared/middlewared/utils/filesystem/directory.py
+293-14018 files not shown
+510-18924 files

LLVM/project 6a93b64 — utils/bazel/llvm-project-overlay/lldb/unittests BUILD.bazel

[Bazel] Fixes 21f50c3 (#248616)

This fixes 21f50c31cd17cebdf6f959400eae56b5c51b0364 (#236288).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=21f50c31cd17cebdf6f959400eae56b5c51b0364

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/unittests/BUILD.bazel
+1-01 files

LLVM/project 7f0bd97 — llvm/lib/Target/Hexagon/AsmParser HexagonAsmParser.cpp, llvm/test/MC/Hexagon packet-error-eof.s packet-error-macro.s

[Hexagon] Fix infinite loop during packet error recovery (#248447)

Stop eatToEndOfPacket() at end of file instead of repeatedly looking for
a closing brace. Only consume the closing brace and clear InBrackets
when one is found.

Add regression tests for an unavailable instruction inside a macro
expansion and an incomplete packet.

Fixes #248446

Signed-off-by: Rishabh Bali <rbali at qti.qualcomm.com>
Co-authored-by: Alexey Karyakin <akaryaki at qti.qualcomm.com>
DeltaFile
+14-0llvm/test/MC/Hexagon/packet-error-macro.s
+5-3llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
+7-0llvm/test/MC/Hexagon/packet-error-eof.s
+26-33 files

LLVM/project 8435659 — llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp, llvm/test/CodeGen/AMDGPU amdgpu-attributor-function-analyses.ll

AMDGPU: Preserve the function analysis manager proxy in AMDGPUAttributor

Assisted-by: Claude
DeltaFile
+15-9llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+19-0llvm/test/CodeGen/AMDGPU/amdgpu-attributor-function-analyses.ll
+34-92 files

LLVM/project bba899e — clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/test/CIR/CodeGenHIP call-conv-lowering-amdgcnspirv-kernel-args.hip

[CIR] Keep the callee address space in indirect calls (#248584)

CallConvLowering dropped the address space when it changed the callee
type, so the cast failed to verify on spirv64-amd-amdhsa
DeltaFile
+17-0clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgcnspirv-kernel-args.hip
+2-5clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+19-52 files

LLVM/project 1ea10aa — llvm/test/CodeGen/X86 pr244615.ll

[X86] Add test coverage for #244615 (#248596)
DeltaFile
+80-0llvm/test/CodeGen/X86/pr244615.ll
+80-01 files

LLVM/project 297b296 — llvm/test/Transforms/Coroutines coro-elide-safe-bundles.ll

Autogenerate test checks

Created using spr 2.0.0-beta.2
DeltaFile
+79-18llvm/test/Transforms/Coroutines/coro-elide-safe-bundles.ll
+79-181 files

LLVM/project 665a23b — llvm/lib/Transforms/Coroutines CoroAnnotationElide.cpp, llvm/test/Transforms/Coroutines coro-elide-safe-bundles.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+97-0llvm/test/Transforms/Coroutines/coro-elide-safe-bundles.ll
+4-4llvm/lib/Transforms/Coroutines/CoroAnnotationElide.cpp
+101-42 files

LLVM/project 21f50c3 — lldb/source/Plugins/Process/OpenBSD NativeRegisterContextOpenBSD.h NativeThreadOpenBSD.h, lldb/unittests/Platform PlatformOpenBSDTest.cpp

[lldb] Add native process support for OpenBSD (#236288)

Add a NativeProcessOpenBSD plugin so that lldb-server can launch,
attach to and debug processes on OpenBSD, and allow process debugging
in PlatformOpenBSD.

This is the architecture-independent core of the plugin. Following
fork() and memory region information follow in a separate change, as
do the register contexts for x86_64, i386 and aarch64; until those
land, launching or attaching reports that the architecture is not
supported.

The plugin provides:

- Launch, attach and detach. Attaching to a process that is not a
  child of the debugger requires root or kern.global_ptrace=1.
- Software breakpoints, instruction stepping and step-out.
- Memory reads and writes via PT_IO, and auxv via PIOD_READ_AUXV.
- Multi-threaded processes. OpenBSD does not report thread creation

    [15 lines not shown]
DeltaFile
+722-0lldb/source/Plugins/Process/OpenBSD/NativeProcessOpenBSD.cpp
+141-0lldb/source/Plugins/Process/OpenBSD/NativeThreadOpenBSD.cpp
+116-0lldb/source/Plugins/Process/OpenBSD/NativeProcessOpenBSD.h
+71-0lldb/source/Plugins/Process/OpenBSD/NativeThreadOpenBSD.h
+38-0lldb/source/Plugins/Process/OpenBSD/NativeRegisterContextOpenBSD.h
+33-0lldb/unittests/Platform/PlatformOpenBSDTest.cpp
+1,121-08 files not shown
+1,197-314 files

LLVM/project 36e36b4 — llvm/lib/Transforms/Utils MetadataUtils.cpp

[MetadataUtils] Remove redundant implementation doc comment
DeltaFile
+0-1llvm/lib/Transforms/Utils/MetadataUtils.cpp
+0-11 files

FreeBSD/ports 14c052c — security/vuxml/vuln 2026.xml

security/vuxml: Add entry for archivers/zstd

 * CVE-2026-124851

PR:             301293
Reported by:    diizzy at FreeBSD.org
DeltaFile
+34-0security/vuxml/vuln/2026.xml
+34-01 files

LLVM/project c4d9323 — clang/include/clang/Basic HLSLIntrinsics.td, clang/test/CodeGenHLSL/builtins smoothstep_mat.hlsl

[Matrix] Implement matrix support for the `smoothstep` intrinsic (#246131)

Closes #184489.

This PR implements the matrix api for `smoothstep` and adds matrix
codegen tests. Matrix sema tests were not added because `smoothstep` has
no HLSL builtin. Matrix backend tests were not added because no DirectX
or SPIRV backend changes were made.

Assisted-by: Claude Opus 5.5
DeltaFile
+74-0clang/test/CodeGenHLSL/builtins/smoothstep_mat.hlsl
+3-3clang/test/SemaHLSL/BuiltIns/smoothstep-errors.hlsl
+0-1clang/include/clang/Basic/HLSLIntrinsics.td
+77-43 files

FreeBSD/src a61ec24 — release/tools gce.conf

GCE: Switch to using kvmclock timecounter on GCE VMs

Currently, GCE VMs are configured to use the "ACPI-safe" timecounter,
which does not exist on modern VM hardware. The system then falls back
to TSC-low because it has a higher quality rating than kvmclock.
However, TSC-low may report incorrect time after a VM migrates to a
different host system.

Instruct GCE VMs to use the kvmclock timecounter so that timekeeping
remains accurate across live migrations.

Reported by:    delphij
Reviewed by:    delphij
Approved by:    delphij (mentor)
Approved by:    re (cperciva)
Differential Revision:  https://reviews.freebsd.org/D62121

(cherry picked from commit 141e74291075785c7898763d33288b7fd8b9f06d)
DeltaFile
+1-1release/tools/gce.conf
+1-11 files

NetBSD/pkgsrc-wip 29615b1 — croc PLIST TODO

croc: Update to version 11.6.8
(using workaround from ci4ic4 for tailscale/wireguard-go, thx!)
DeltaFile
+363-402croc/distinfo
+120-133croc/go-modules.mk
+19-15croc/COMMIT_MSG
+12-8croc/Makefile
+3-0croc/TODO
+1-0croc/PLIST
+518-5586 files

FreeNAS/freenas 8d8a92f — src/middlewared/middlewared/plugins sysdataset.py directoryservices.py, src/middlewared/middlewared/plugins/directoryservices_ util_cache.py cache.py

Fix stale directory services cache after system dataset mount

Validate TDB handles by dev/inode; a mount over /var/db/system keeps the path.
Close handles after mounting and check the cache version as a post-mount action.
DeltaFile
+5-5src/middlewared/middlewared/utils/tdb.py
+9-1src/middlewared/middlewared/plugins/directoryservices_/cache.py
+0-7src/middlewared/middlewared/plugins/directoryservices.py
+6-0src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+1-4src/middlewared/middlewared/plugins/directoryservices_/util_cache.py
+3-0src/middlewared/middlewared/plugins/sysdataset.py
+24-176 files

LLVM/project 4d28687 — llvm/include/llvm/Transforms/IPO Attributor.h

Attributor: Only store AAKindSet IDs of kinds without a mask bit

AAKindSet::contains only searches the ID list for kinds that have no
bit in the mask, but the list held the IDs of every kind in the
set. Store only the ones without a bit, so AMDGPUAttributor searches 8
IDs instead of 18.

amdgpu-attributor pass, callgrind: -0.08% on a full-LTO rocPRIM module.

Assisted-by: Claude
DeltaFile
+17-2llvm/include/llvm/Transforms/IPO/Attributor.h
+17-21 files

LLVM/project 43aa1a0 — compiler-rt/lib/sanitizer_common sanitizer_stoptheworld_linux_libcdep.cpp, compiler-rt/test/lsan/TestCases/Linux seccomp_kills_ptrace.cpp

[sanitizer_common] Wait for the tracer with CLONE_CHILD_CLEARTID (#248327)

StopTheWorld() spins until the tracer thread sets a flag. If seccomp
kills the tracer on ptrace, the flag is never set and the leak check
hangs (#150380). #151406 added a fork to the first leak check to warn
about that, but the fork is expensive and the process still hangs.

Wait instead on a word that the kernel clears when the tracer exits for
any reason. The leak check now fails with an error instead of hanging,
and the fork is not needed.

Alternative to #248249.

Assisted-by: Gemini
DeltaFile
+22-90compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
+29-0compiler-rt/test/lsan/TestCases/Linux/seccomp_kills_ptrace.cpp
+51-902 files

NetBSD/pkgsrc-wip b2c3404 — libcef Makefile distinfo, libcef/patches patch-services_device_hid_hid__service__freebsd.cc patch-services_device_hid_hid__service__fido.cc

libcef: add cef based on chromium 150

The Chromium Embedded Framework (CEF) is a simple framework for embedding Chromium-based browsers in other applications.
DeltaFile
+2,310-0libcef/distinfo
+519-0libcef/patches/patch-chrome_browser_about__flags.cc
+487-0libcef/Makefile
+454-0libcef/patches/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
+405-0libcef/patches/patch-services_device_hid_hid__service__fido.cc
+404-0libcef/patches/patch-services_device_hid_hid__service__freebsd.cc
+4,579-01,685 files not shown
+59,765-01,691 files

LLVM/project 66310ba — libc/src/__support/macros hardening.h

[libc] Fix building with clang 21 in C++20 (#248574)

There were build errors when building clang using LLVM-libc through
hand-in-hand with the C++ standard set to 20. The `'` digit separator
didn't work properly for clang-scan-deps version <23. Anyways the
solution is just to remove the digit separator since it's not necessary
in this case.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+6-4libc/src/__support/macros/hardening.h
+6-41 files

LLVM/project 0e27596 — clang/docs index.md SourceFortification.md, clang/include/clang/Basic DiagnosticGroups.td DiagnosticDocs.td

[Clang][Docs] Add documentation for -Wfortify-source (#224111)

Add user-facing documentation for the `-Wfortify-source` diagnostic group in `clang/docs/SourceFortification.md` (linked from `clang/docs/index.md` and `DiagnosticDocs.td`/`DiagnosticGroups.td`).

Part of #142230

Assisted-by: Gemini
DeltaFile
+86-0clang/docs/SourceFortification.md
+13-0clang/include/clang/Basic/DiagnosticDocs.td
+3-1clang/include/clang/Basic/DiagnosticGroups.td
+1-0clang/docs/index.md
+103-14 files