LLVM/project 91d101b — clang/lib/Sema TreeTransform.h SemaDecl.cpp, clang/test/CodeGenCXX vla-lambda-enclosing-function.cpp

[clang] Diagnose VLA types from an enclosing function in local classes and blocks (#229697)

A variably modified type whose array bound is evaluated in an enclosing
function cannot be used in a member function of a local class or in a
block: the size is only computed in the enclosing function, so CodeGen
crashed when emitting such a declaration.

Record the context in which each VLA bound is evaluated, and diagnose
uses of such a type (variable, parameter and typedef declarations,
casts, sizeof) across a local class or block boundary:

```
error: variably modified type 'X' (aka 'int[foo()]') cannot be used in a local class because its size is evaluated in an enclosing function
note: size expression is evaluated here
```

Such a declaration is now rejected even in a member function that is
never used, the same way a reference to a local variable of the
enclosing function already is.

    [12 lines not shown]
DeltaFile
+120-62clang/lib/Sema/SemaExpr.cpp
+124-0clang/test/SemaCXX/vla-enclosing-function.cpp
+56-0clang/test/CodeGenCXX/vla-lambda-enclosing-function.cpp
+39-0clang/test/Sema/vla-enclosing-function-blocks.c
+18-0clang/lib/Sema/SemaDecl.cpp
+7-7clang/lib/Sema/TreeTransform.h
+364-695 files not shown
+401-6911 files

FreeBSD/ports 63e5876 — devel/py-ty Makefile Makefile.crates

devel/py-ty: Update to 0.0.107

Changelog: https://github.com/astral-sh/ty/blob/0.0.107/CHANGELOG.md

Reported by:    portscout
DeltaFile
+25-43devel/py-ty/distinfo
+11-20devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+37-643 files

LLVM/project 942817f — llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-split.ll, offload/liboffload/plugins/amdgpu/src rtl.cpp

[spr] rebase on main

Created using spr 2.0.0-beta.2
DeltaFile
+0-4,979offload/plugins-nextgen/amdgpu/src/rtl.cpp
+4,979-0offload/liboffload/plugins/amdgpu/src/rtl.cpp
+2,331-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-split.ll
+0-1,980offload/plugins-nextgen/cuda/src/rtl.cpp
+1,980-0offload/liboffload/plugins/cuda/src/rtl.cpp
+1,709-0offload/liboffload/plugins/common/include/PluginInterface.h
+10,999-6,959605 files not shown
+50,283-27,322611 files

LLVM/project e1c2b42 — flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-data-operands-remapping.f90 acc-bounds.f90

[flang][OpenACC] Map OPTIONAL operands through their descriptor (#243141)

OPTIONAL data operands used to be mapped through their raw address,
which dropped the descriptor. Keep the descriptor unless the base is
neither an acc PointerLikeType nor a MappableType (e.g. a `fir.boxchar`
for `CHARACTER(*)`).

When remapping an OPTIONAL symbol in a compute region, replace the TODO
with a fir.box_addr guarded by `fir.is_present`, so an absent argument's
null descriptor is never read.
DeltaFile
+30-11flang/lib/Lower/OpenACC.cpp
+16-4flang/test/Lower/OpenACC/acc-bounds.f90
+12-4flang/test/Lower/OpenACC/acc-data-operands-remapping.f90
+58-193 files

HardenedBSD/src 32fc4bc — sys/arm/allwinner aw_thermal.c, sys/dev/sound/pcm sound.c mixer.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+482-0usr.sbin/sysrc/sysrc.subr
+137-160sys/dev/sound/pcm/dsp.c
+108-102sys/dev/sound/pcm/mixer.c
+68-101sys/dev/sound/pcm/sound.c
+150-11sys/arm/allwinner/aw_thermal.c
+153-0usr.sbin/sysrc/tests/sysrc_test.sh
+1,098-37447 files not shown
+2,395-73653 files

HardenedBSD/src ce8f1a6 — tests/sys/netpfil/common dummynet_config_test.c, tests/sys/netpfil/pf forward.sh

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+482-0usr.sbin/sysrc/sysrc.subr
+153-0usr.sbin/sysrc/tests/sysrc_test.sh
+135-0tests/sys/netpfil/pf/forward.sh
+119-0tests/sys/netpfil/common/dummynet_config_test.c
+93-9usr.sbin/sysrc/sysrc.8
+43-19usr.sbin/sysrc/sysrc
+1,025-2818 files not shown
+1,414-11824 files

HardenedBSD/src 9b86b66 — sys/cam/scsi scsi_pass.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+5-2sys/cam/scsi/scsi_pass.c
+5-21 files

HardenedBSD/ports 3c75a3a — dns/bind9-devel/files extrapatch-bind-min-override-ttl, emulators/libretro-np2kai Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1,260-67www/phpmyfaq/pkg-plist
+245-0security/vuxml/vuln/2026.xml
+0-84dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+33-31misc/codex/distinfo
+34-0emulators/libretro-np2kai/Makefile
+16-15misc/codex/Makefile.crates
+1,588-19796 files not shown
+1,892-459102 files

LLVM/project 805b58c — clang/lib/Parse ParseTentative.cpp, clang/test/Parser gh243727.c

[Clang][Parse] Do not treat '::' as a decl-specifier outside C++

isCXXDeclarationSpecifier's '::' case annotates the token and then recurses to
handle whatever it got, which only makes progress when the token can actually be
annotated as a scope specifier. Outside C++ it cannot be, so in C the recursion
never advanced and the stack overflowed:

  void f() { if (::0); }

Since 226b0b59bfca ([Clang][C2y] Add support for if declarations (N3356
paper)) C parses conditions through ParseCondition, so C conditions now reach
this code. Parser::isDeclarationSpecifier already guards the same case; this
adds the matching guard to its C++ twin. Objective-C is unaffected: it keeps
diagnosing '::' through TryAnnotateTypeOrScopeToken.

Fixes #243727.
DeltaFile
+40-0clang/test/Parser/gh243727.c
+5-0clang/lib/Parse/ParseTentative.cpp
+45-02 files

LLVM/project 8dba343 — llvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor indirect-call-debug-location.ll

[Attributor] Preserve debug locations when replacing indirect calls (#244004)

When an indirect call and its known callee have incompatible return
types, Attributor creates a replacement call without copying the
original debug location.

Copy the debug location in both the single-callee and multiple-callee
paths.

Assisted by gpt-6.1.
DeltaFile
+39-0llvm/test/Transforms/Attributor/indirect-call-debug-location.ll
+2-0llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+41-02 files

FreeNAS/freenas ff2a646 — tests/api2 test_audit_basic.py

Add integration test for audit.download_report report names

Names that are not a single file name are rejected.
DeltaFile
+8-0tests/api2/test_audit_basic.py
+8-01 files

FreeNAS/freenas b16283c — src/middlewared/middlewared/plugins/audit audit.py

Only accept a report file name in audit.download_report

audit.export creates each report directly in the user's report
directory, so report_name must be a single file name.
DeltaFile
+6-1src/middlewared/middlewared/plugins/audit/audit.py
+6-11 files

LLVM/project d828ef6 — libc/src/__support/File file.h, libc/src/__support/File/linux file.h file.cpp

[libc] Fix fileno() to return EBADF for non-Linux File streams (#227760)

## Summary
`fileno()` currently assumes every `FILE*` is backed by a `LinuxFile`
and unconditionally casts to read its file descriptor. For streams
created by `fopencookie()` or `fmemopen()` (backed by
`CookieFile`/`MemoryFile`, neither of which has a file descriptor
member), this reads unrelated memory and returns a bogus "descriptor"
instead of following POSIX, which requires `fileno()` to fail with
`EBADF` when "the stream is not associated with a file."

## Fix
`File` has no RTTI/type tag by design (some `LinuxFile` instances, e.g.
`stdin`/`stdout`/`stderr`, are `constexpr` globals). Instead of adding
one, this adds `is_linux_file()`, which positively identifies a
`LinuxFile` by checking that all four of its registered I/O callbacks
(`read`/`write`/`seek`/`close`) are the known `linux_file_*` functions —
every `LinuxFile` always registers exactly these, and no other `File`
subclass does. `get_fileno()` now checks this first and returns `-1`

    [17 lines not shown]
DeltaFile
+19-2libc/src/__support/File/linux/file.cpp
+18-0libc/test/src/stdio/fopencookie_test.cpp
+13-0libc/test/src/stdio/fmemopen_test.cpp
+10-1libc/src/__support/File/file.h
+7-1libc/src/stdio/generic/fileno.cpp
+6-0libc/src/__support/File/linux/file.h
+73-42 files not shown
+76-48 files

FreeNAS/freenas 4809dc6 — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/truenas_s3 bucket_crud.py

Refuse every ZFS attribute change on S3 bucket datasets

filesystem.set_zfs_attributes refused only a change of immutable on
the dataset of an S3 bucket. It now refuses the path whatever
attributes the request names, through the write guard
filesystem.mkdir and filesystem.put already use, and the
immutable-only check is removed.

nounlink and appendonly refuse the S3 service's deletes and renames,
root included, and appendonly its xattr writes too. The DOS
attributes refuse none of its steps, but the setter writes the whole
flag mask back, so a change of one of them rewrites immutable as it
was read.

The refusal now names the path instead of the attribute. The test
case adds nounlink, appendonly and hidden to immutable.
DeltaFile
+17-16tests/api2/test_s3_bucket.py
+4-16src/middlewared/middlewared/plugins/filesystem.py
+0-18src/middlewared/middlewared/utils/service/path.py
+0-11src/middlewared/middlewared/plugins/truenas_s3/bucket_crud.py
+21-614 files

LLVM/project d75a6eb — llvm/lib/CodeGen/SelectionDAG SelectionDAGISel.cpp, llvm/test/TableGen dag-isel-regclass-emit-enum.td

[DAGISel] Add OPC_SwitchChildInteger to dispatch on an integer child (#237647)

When every option of a Scope starts with a CheckChildInteger of the same
child, convert it to a switch like SwitchOpcode/SwitchType. This is
common for INTRINSIC_WO_CHAIN, where each pattern starts by checking the
intrinsic ID in child 0.

This still requires a linear scan to find the matching intrinsic ID, but
may reduce some repeated overhead.

Assisted-by: Claude

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
DeltaFile
+74-0llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+67-0llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+37-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+35-0llvm/utils/TableGen/DAGISelMatcher.h
+10-0llvm/utils/TableGen/DAGISelMatcher.cpp
+2-3llvm/test/TableGen/dag-isel-regclass-emit-enum.td
+225-32 files not shown
+228-58 files

LLVM/project dc8b2eb — compiler-rt/test/cfi vdtor.cpp simple-fail.cpp

[spr] add -fno-whole-program-vtables cfi_diag test runs

Created using spr 2.0.0-beta.2
DeltaFile
+7-2compiler-rt/test/cfi/anon-namespace.cpp
+4-1compiler-rt/test/cfi/vdtor.cpp
+4-1compiler-rt/test/cfi/simple-fail.cpp
+4-1compiler-rt/test/cfi/overwrite.cpp
+19-54 files

LLVM/project 7923e1d — llvm/utils/TableGen DAGISelEmitter.cpp

TableGen: Compute DAGISel pattern sort keys before sorting (#244009)

The pattern sort recomputed each pattern's complexity, cost and size on
every comparison. Compute them once per pattern instead.

RISCVGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    61.5              31.4            9.8
  After     57.1 (-7.1%)      27.8 (-11.4%)   8.7 (-10.9%)

AMDGPUGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    94.6              46.1            14.3
  After     91.4 (-3.4%)      44.6 (-3.3%)    13.9 (-3.1%)

All 376 tablegen runs in an LLVM build with all targets:


    [4 lines not shown]
DeltaFile
+42-46llvm/utils/TableGen/DAGISelEmitter.cpp
+42-461 files

LLVM/project f7e3566 — llvm/lib/CodeGen AssignmentTrackingAnalysis.cpp

[DebugInfo][AT] Retire dead LiveIn/LiveOut state and avoid redundant RPO queuing (#234310)

AssignmentTrackingLowering and MemLocFragmentFill previously
pre-reserved and retained LiveIn/LiveOut maps for every block across the
entire pass, and re-queued forward RPO successors onto Pending even when
already scheduled on Worklist, scaling as O(Blocks * Vars).

Add BlockLivenessTracker and worklist helpers to:
- Skip storing LiveIn for acyclic blocks (unreachable from backedges),
  moving a single predecessor's LiveOut when it has no other readers.
- Track remaining successor reads to erase dead predecessor LiveOut
  entries eagerly, and clear LiveIn/LiveOut after traversal.
- Avoid queuing forward RPO successors (SuccRPO > RPO) already scheduled
  on Worklist.

On a pathological case from glslang/SPIRV (9,049 blocks, 7,540
variables, 0 backedges; `llc -O2`):
- Peak RSS: 17.37 GB -> 354.5 MB (~49x reduction)
- Total `llc` wall time: 15.84s -> 4.97s (-68.6%)

    [3 lines not shown]
DeltaFile
+304-106llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
+304-1061 files

LLVM/project 8db60b0 — libc/src/unistd/linux CMakeLists.txt syscall.cpp

[libc] Fix syscall under ASAN (#244038)

Followup to #243647 which broke the ASAN bot. Just mark the va_args
reads as ignored by the sanitizer.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+26-16libc/src/unistd/linux/syscall.cpp
+4-1libc/src/unistd/linux/CMakeLists.txt
+30-172 files

LLVM/project eb6215c — flang/docs/MeetingNotes/2026 2026-11-18.md

[flang] Add Flang Community Call Notes from meeting on 2026-11-18
DeltaFile
+88-0flang/docs/MeetingNotes/2026/2026-11-18.md
+88-01 files

FreeBSD/ports d7692a1 — devel/php-swoole Makefile distinfo

devel/php-swoole: update to 6.2.6.
DeltaFile
+3-3devel/php-swoole/distinfo
+1-1devel/php-swoole/Makefile
+4-42 files

HardenedBSD/ports d7692a1 — devel/php-swoole Makefile distinfo

devel/php-swoole: update to 6.2.6.
DeltaFile
+3-3devel/php-swoole/distinfo
+1-1devel/php-swoole/Makefile
+4-42 files

LLVM/project 937da5a — llvm/test/Transforms/LoopVectorize/VPlan unroll-uf1-remove-extract-last-part.ll

[LV] Add tests for ExtractLastPart with UF 1 (NFC). (#244027)

Add test checking the VPlan after unrolling with UF 1 for the users of
ExtractLastPart.
DeltaFile
+192-0llvm/test/Transforms/LoopVectorize/VPlan/unroll-uf1-remove-extract-last-part.ll
+192-01 files

LLVM/project bf4d546 — clang/include/clang/Basic Module.h, clang/lib/Lex ModuleMap.cpp

[clang] Shrink inline capacities of `Module` unresolved directives (#243156)

`Module` stores the module map directives that haven't been resolved yet
(`UnresolvedHeaders`, `UnresolvedExports`, `UnresolvedDirectUses`,
`UnresolvedConflicts`) and the headers that couldn't be found
(`MissingHeaders`) inline, with room for one or two elements each. These
lists are empty in modules deserialized from PCMs, and in modules parsed
from a module map usually only the unresolved exports (typically a
single `export *`) are non-empty. The dependency scanner creates a lot
of modules, so the inline storage adds up.

This patch drops the inline capacity of these lists:

- `UnresolvedHeaders`, `MissingHeaders`, `UnresolvedDirectUses`:
`SmallVector<T, 1/2>` -> `SmallVector<T, 0>`
- `UnresolvedExports`: `SmallVector<T, 2>` -> `SmallVector<T, 1>`, so
the common single `export *` still doesn't allocate
- `UnresolvedConflicts`: `std::vector<T>` (24 bytes) -> `SmallVector<T,
0>` (16 bytes)

    [30 lines not shown]
DeltaFile
+5-5clang/include/clang/Basic/Module.h
+1-1clang/lib/Lex/ModuleMap.cpp
+6-62 files

LLVM/project 350a584 — llvm/include/llvm/CodeGen TargetInstrInfo.h TargetLowering.h

CodeGen: Document best practices on target hooks (#243984)

Document that this is not a place to put controls for specific
transformations. This is a plea to agents to stop producing
fix-this-one-case or target virtual methods.
DeltaFile
+4-0llvm/include/llvm/CodeGen/TargetLowering.h
+3-0llvm/include/llvm/CodeGen/TargetInstrInfo.h
+7-02 files

OpenBSD/src BV7qccq — usr.sbin/rpki-client rpki-client.8

   Update RPKI Trust Anchor Tiebreaker reference

   As luck would have it, on the very day this spec got published as RFC,
   one of the RIRs helped demonstrate the usefulness of the concept in the
   production environment.

   https://www.rfc-editor.org/rfc/rfc10097.html with Theo Buehler & Ties de Kock

   Rpki-client instances globally did not suffer from the below RPKI
   certification service outage.

   """
   RPKI repositories unavailable - Incident Report for RIPE NCC

   Future Dated Trust Anchor Certificate temporarily in the RPKI Repository

   The RPKI Trust Anchor (TA) Certificate is signed using an offline
   machine that's disconnected from the Internet. As the clock may drift
   on this machine while it's turned off, the normal procedure is to

    [15 lines not shown]
VersionDeltaFile
1.148+7-8usr.sbin/rpki-client/rpki-client.8
+7-81 files

LLVM/project 93831dd — offload/liboffload/plugins/amdgpu/src rtl.cpp, offload/liboffload/plugins/common/include GlobalHandler.h PluginInterface.h

[Offload][NFC] Move plugin namespaces to llvm::offload and update include guards

Replace libomptarget namespaces and header guards with liboffload equivalents.

Mostly mechanical work by Claude.
DeltaFile
+9-13offload/liboffload/plugins/amdgpu/src/rtl.cpp
+6-8offload/liboffload/plugins/common/include/JIT.h
+5-8offload/liboffload/plugins/common/include/PluginInterface.h
+6-7offload/liboffload/plugins/cuda/src/rtl.cpp
+5-7offload/liboffload/plugins/host/src/rtl.cpp
+5-7offload/liboffload/plugins/common/include/GlobalHandler.h
+36-5037 files not shown
+128-15443 files

LLVM/project 2b3f0f0 — llvm/include/llvm/CodeGen MachineBlockPlacement.h, llvm/lib/CodeGen MachineBlockPlacement.cpp

Revert "[CodeGen][NFC] Factor MachineBlockPlacement::alignBlocks into reusable helper (#241995)" (#243994)

This reverts commit 6447d4dda5706f5d7946f86c1225fd964abfb39e (#241995)
at a reviewer's request while concerns about the change are addressed.
DeltaFile
+88-108llvm/lib/CodeGen/MachineBlockPlacement.cpp
+0-64llvm/include/llvm/CodeGen/MachineBlockPlacement.h
+88-1722 files

OpenBSD/src tWaWapt — usr.sbin/rpki-client rpki-client.8

   revert & commit with correct URL
VersionDeltaFile
1.147+6-5usr.sbin/rpki-client/rpki-client.8
+6-51 files

OpenBSD/src f2AeQuP — usr.sbin/rpki-client rpki-client.8

   Update RPKI Trust Anchor Tiebreaker reference

   As luck would have it, on the very day this spec got published as RFC,
   one of the RIRs helped demonstrate the usefulness of the concept in the
   production environment. Rpki-client instances did not suffer from the
   below certification service outage.

   with tb@

   """
   RPKI repositories unavailable - Incident Report for RIPE NCC

   Future Dated Trust Anchor Certificate temporarily in the RPKI Repository

   The RPKI Trust Anchor (TA) Certificate is signed using an offline
   machine that's disconnected from the Internet. As the clock may drift
   on this machine while it's turned off, the normal procedure is to
   recalibrate it manually before signing a new certificate. During the
   re-signing on 18 November 2026, the clock on the TA machine was set

    [13 lines not shown]
VersionDeltaFile
1.146+7-8usr.sbin/rpki-client/rpki-client.8
+7-81 files