LLVM/project 57fcde7clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[AArch64] Make width of stack protector guard value load configurable. (#195379)

Certain embedded targets store the value of the stack protector global
in an MMIO register, which requires a load of a specific width. Allow
changing the backend to emit a 4-byte load for the value of the stack
protector, instead of an 8-byte load. (Or vice versa for an ilp32
target.)

The current version of the patch has a limitation: it still allocates a
pointer-sized stack slot for the guard. This could be fixed in the
future, if it becomes relevant.
DeltaFile
+44-0llvm/test/CodeGen/AArch64/stack-guard-width.ll
+19-0clang/lib/Driver/ToolChains/Clang.cpp
+14-3llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+12-0llvm/lib/IR/Module.cpp
+9-0clang/include/clang/Options/Options.td
+5-0clang/test/CodeGen/stack-protector-guard.c
+103-33 files not shown
+113-39 files

FreeBSD/src 1ae97c9release/tools ec2-small.conf basic-cloudinit.conf

Cloud releases: More firstboot_pkg_upgrade

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

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

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

FreeBSD/src 0bb2b2arelease/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.

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)
DeltaFile
+6-3release/tools/ec2-base.conf
+3-2release/tools/azure.conf
+3-2release/tools/gce.conf
+12-73 files

LLVM/project d89d4b2lldb/test/API/functionalities/data-formatter/bytecode-summary main.cpp TestBytecodeSummary.py, lldb/test/API/functionalities/data-formatter/bytecode-synthetic main.cpp TestBytecodeSynthetic.py

[lldb][bytecode] Remove @skipUnlessDarwin on tests (#197808)
DeltaFile
+10-2lldb/test/API/functionalities/data-formatter/bytecode-summary/main.cpp
+10-2lldb/test/API/functionalities/data-formatter/bytecode-synthetic/main.cpp
+0-2lldb/test/API/functionalities/data-formatter/bytecode-synthetic/TestBytecodeSynthetic.py
+0-1lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
+20-74 files

LLVM/project 7498075lldb/source/Plugins/LanguageRuntime/ObjC ObjCLanguageRuntime.h

[lldb] Use identity hashing for HashToISAMap in ObjCLanguageRuntime (#197759)

The keys of HashToISAMap are already hashes, and can be used as-is.

---------

Co-authored-by: Adrian Prantl <adrian.prantl at gmail.com>
DeltaFile
+13-1lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
+13-11 files

FreeBSD/src b92b9dasys/fs/nfs nfsproto.h, sys/fs/nfsserver nfs_nfsdport.c

nfsd: Allow vfs.nfsd.srvmaxio to be up to 4Mbytes

Without this patch, the maximum setting for
vfs.nfsd.srvmaxio was 1Mbyte.  This patch increases
that to 4Mbytes.

The same as for any setting above 128Kbytes, settings up to
4Mbytes require that kern.ipc.maxsockbuf be increased.
(A message generated after setting vfs.nfsd.srvmaxio via
the /etc/rc.conf variable nfs_server_maxio will indicate
the minimum setting, which will be somewhat greater than
four times the setting of vfs.nfsd.srvmaxio.)

Requested by:   Cedric Blancher <cedric.blancher at gmail.com>
MFC after:      2 weeks
Fixes:  13d3bd165e22 ("subr_uio.c: Remove a KASSERT() for large NFS server I/O")
DeltaFile
+3-2sys/fs/nfsserver/nfs_nfsdport.c
+3-0sys/fs/nfs/nfsproto.h
+6-22 files

FreeBSD/ports db2e300net/traefik Makefile distinfo

net/traefik: Update to upstream release 3.7.1

Details:
- Update to 3.7.x branch, details see:
  https://github.com/traefik/traefik/releases/tag/v3.7.1
- Breaking changes are not expected, but double-checking
  the migration guide is still recommended:
  https://doc.traefik.io/traefik/v3.7/migrate/v3/#v371

MFH:            2026Q2
Security:       CVE-2026-44774
DeltaFile
+1-10net/traefik/Makefile
+3-7net/traefik/distinfo
+4-172 files

FreeBSD/ports 36d50b0devel/py-sqlfluff distinfo Makefile

devel/py-sqlfluff: Update to 4.2.1
DeltaFile
+3-3devel/py-sqlfluff/distinfo
+1-1devel/py-sqlfluff/Makefile
+4-42 files

FreeBSD/src 13d3bd1sys/kern subr_uio.c

subr_uio.c: Remove a KASSERT() for large NFS server I/O

When the NFS server is set to allow an I/O size greater
than 1Mbyte (not allowed in FreeBSD's main yet), a
KASSERT() in allocuio() can fail when:
zfs_freebsd_write()->zfs_write()->zfs_uiocopy()
->cloneuio()->allocuio()
is called for a large NFS server write.

Since the userland API callers to allocuio() already
check that the size does not exceed UIO_MAXIOV,
there does not seem to be a need to a KASSERT()
here.

Removing the KASSERT() allows NFS server writes
of greater than 1Mbyte to work, once the NFS code
is patched to allow them.

Reviewed by:    kib

    [2 lines not shown]
DeltaFile
+0-2sys/kern/subr_uio.c
+0-21 files

LLVM/project dde16c6llvm/test/CodeGen/Thumb2 mve-clmul.ll

[ARM][MVE] Make clmul test hard-float. NFC (#197825)

This helps show the important codegen more clearly.
DeltaFile
+7,377-7,311llvm/test/CodeGen/Thumb2/mve-clmul.ll
+7,377-7,3111 files

LLVM/project 5210023llvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen MIRPrinter.cpp

[MIR] Save internal VirtRegMap state

Adds two optional fields to the per-vreg YAML record so MIR tests can
express VirtRegMap state that previously had no representation:

  registers:
    - { id: 1, class: vgpr_32, split-from: '%0', assigned-phys: '$vgpr5' }

Testing passes that consume sibling-register information (e.g.
InlineSpiller) requires constructing a VirtRegMap with split
relationships from a MIR test, which implies triggering live-range
splitting at minimum and make reproducers unnecessarily complicated.

So this change introduces a mechanism to serialize/deserialize the state
of the VirtRegMap pass.

Mechanism:
- For serialization:
  - MIRPrinter emits the new fields only when the VirtRegMap is available.

    [13 lines not shown]
DeltaFile
+40-0llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+24-9llvm/lib/CodeGen/MIRPrinter.cpp
+32-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash.mir
+29-0llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+18-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash-bad-phys.mir
+17-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash-self-split.mir
+160-97 files not shown
+241-2013 files

LLVM/project efd5514llvm/test/CodeGen/AMDGPU splitkit-copy-live-lanes.mir ra-inserted-scalar-instructions.mir, llvm/test/CodeGen/X86 statepoint-invoke-ra-inline-spiller.mir

[MIR] Serialize/Deserialize MachineInstr::LRSplit attribute

The LRSplit MachineInstr flag is set by SplitKit on copies inserted for
live-range splitting.
Until now the flag had no MIR-text representation.

This patch fixes that so that it gets easier to reproduce/capture issues
that involves SplitKit.

Round-trip coverage in
llvm/test/CodeGen/MIR/AMDGPU/lr-split-flag.mir.
DeltaFile
+168-168llvm/test/CodeGen/AMDGPU/splitkit-copy-live-lanes.mir
+36-36llvm/test/CodeGen/AMDGPU/ra-inserted-scalar-instructions.mir
+32-32llvm/test/CodeGen/AMDGPU/splitkit-copy-bundle.mir
+27-27llvm/test/CodeGen/AMDGPU/ran-out-of-sgprs-allocation-failure.mir
+22-22llvm/test/CodeGen/X86/statepoint-invoke-ra-inline-spiller.mir
+22-22llvm/test/CodeGen/AMDGPU/inflated-reg-class-snippet-copy-use-after-free.mir
+307-30731 files not shown
+436-40237 files

LLVM/project 8837d66llvm/test/CodeGen/AMDGPU regalloc-hoist-spill-live-range-upd.ll regalloc-hoist-spill-live-range-upd.mir

[AMDGPU][test] Use mir test for regalloc issue

Use the newly introduced split-from flag to produce a more robust test case
for the hoistSpillInsideBB live-range update issue.

NFC

DeltaFile
+0-2,870llvm/test/CodeGen/AMDGPU/regalloc-hoist-spill-live-range-upd.ll
+71-0llvm/test/CodeGen/AMDGPU/regalloc-hoist-spill-live-range-upd.mir
+71-2,8702 files

LLVM/project ced50aaclang/lib/Sema SemaDeclAttr.cpp, clang/test/SemaObjC attr-cleanup.m

Allow ObjC writeback conversion in cleanup attribute type check (#195318)

Prior to #164440, CheckAssignmentConstraints in the cleanup attribute
handler ran before ObjC lifetime qualifiers were inferred on the
variable. It compared against a type without '__strong' and accepted
both 'T **' to 'T *__autoreleasing *' and 'T **' to 'T
*__unsafe_unretained *'. #164440 reversed the order, so the check now
runs after '__strong' is inferred and rejects both 'T *__strong *' to 'T
*__autoreleasing *' and 'T *__strong *' to
'T *__unsafe_unretained *'.

Fix the valid case by falling back to isObjCWritebackConversion when the
assignment check fails. This re-allows the '__strong' to
'__autoreleasing' writeback conversion while continuing to reject
'__strong' to '__unsafe_unretained'.

rdar://175133715
DeltaFile
+29-2clang/test/SemaObjC/attr-cleanup.m
+4-2clang/lib/Sema/SemaDeclAttr.cpp
+33-42 files

LLVM/project 36fac6fllvm/test/Instrumentation/Instrumentor default_config.json

[Instrumentor] Fix test (#197820)
DeltaFile
+8-0llvm/test/Instrumentation/Instrumentor/default_config.json
+8-01 files

LLVM/project 1b47520clang/include/clang/Options FlangOptions.td, flang/docs Extensions.md

[flang][docs][nfc] Wordsmith -frelaxed-c-loc-checks flag description (#197804)

Clarify that unexpected behavior reflects the compiler's design choice
not to track aliases from non-target non-pointer C_LOC() arguments,
rather than implying a compiler defect. Align phrasing across
FlangOptions.td and Extensions.md.

Also add the `-checks` suffix to the flag per @sscalpone's suggestion.
DeltaFile
+6-8clang/include/clang/Options/FlangOptions.td
+8-6flang/docs/Extensions.md
+1-1flang/lib/Frontend/CompilerInvocation.cpp
+1-1flang/test/Semantics/c_loc01-relaxed.f90
+16-164 files

FreeNAS/freenas 5ca3110src/middlewared/middlewared/plugins/container lifecycle.py dataset.py, src/middlewared/middlewared/plugins/docker state_management.py fs_manage.py

Ruff it out
DeltaFile
+163-154tests/api2/test_apps.py
+149-61tests/api2/test_container.py
+37-34src/middlewared/middlewared/plugins/container/lifecycle.py
+26-24src/middlewared/middlewared/plugins/docker/state_management.py
+20-24src/middlewared/middlewared/plugins/container/dataset.py
+17-24src/middlewared/middlewared/plugins/docker/fs_manage.py
+412-3213 files not shown
+435-3379 files

FreeBSD/src 4080419release/tools ec2-small.conf basic-cloudinit.conf

Cloud releases: More firstboot_pkg_upgrade

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

Reviewed by:    ziaee
Fixes: 464a351267dc ("Cloud releases: Switch to firstboot_pkg_upgrade")
Differential Revision:  https://reviews.freebsd.org/D57006
DeltaFile
+6-3release/tools/ec2-small.conf
+4-3release/tools/basic-cloudinit.conf
+10-62 files

LLVM/project b7752b9llvm/lib/Analysis CostModel.cpp

[CostModel] Directly output the InstructionCost rather than using getValue() (#197794)

`getValue()` doesn't preserve fractional costs.
DeltaFile
+1-1llvm/lib/Analysis/CostModel.cpp
+1-11 files

LLVM/project 7c64cd6clang-tools-extra/clang-doc Representation.h

[clang-doc][nfc] Reformat and revise comment block
DeltaFile
+35-22clang-tools-extra/clang-doc/Representation.h
+35-221 files

LLVM/project 2fe361fclang-tools-extra/clang-doc Serialize.cpp Serialize.h

[clang-doc] Removed OwnedPtr alias

The alias served a purpose during migration, but now conveys the wrong
semantics, as the memory these pointers reference is interned inside
a local arena, and doesn't convey any sort of ownership.
DeltaFile
+40-38clang-tools-extra/clang-doc/Serialize.cpp
+29-42clang-tools-extra/clang-doc/Serialize.h
+17-18clang-tools-extra/clang-doc/Representation.cpp
+3-22clang-tools-extra/clang-doc/Representation.h
+8-8clang-tools-extra/clang-doc/JSONGenerator.cpp
+8-6clang-tools-extra/clang-doc/Generators.h
+105-13411 files not shown
+148-17717 files

LLVM/project 0d331c3clang-tools-extra/clang-doc Serialize.cpp BitcodeReader.cpp, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Use distinct APIs for fixed arena allocation sites

Typically, code either always emits data into the TransientArena or the
PersistentArena. Use more explicit APIs to convey the intent directly
instead of relying on parameters or defaults. We were not always
consistent about this.
DeltaFile
+13-14clang-tools-extra/clang-doc/Serialize.cpp
+6-7clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+6-5clang-tools-extra/clang-doc/BitcodeReader.cpp
+4-5clang-tools-extra/clang-doc/Representation.cpp
+7-1clang-tools-extra/clang-doc/Representation.h
+36-325 files

FreeBSD/ports 3e938bfgames/ktx distinfo Makefile, games/ktx/files patch-socd

games/ktx: Update 1.45 => 1.46

Changelog:
https://github.com/QW-Group/ktx/releases/tag/1.46

Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit f540bd6bbd1635d7e167c06f990f7a9d25e7dc06)
DeltaFile
+0-192games/ktx/files/patch-socd
+15-3games/ktx/distinfo
+13-3games/ktx/Makefile
+8-0games/ktx/pkg-plist
+36-1984 files

FreeBSD/ports f540bd6games/ktx distinfo Makefile, games/ktx/files patch-socd

games/ktx: Update 1.45 => 1.46

Changelog:
https://github.com/QW-Group/ktx/releases/tag/1.46

Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+0-192games/ktx/files/patch-socd
+15-3games/ktx/distinfo
+13-3games/ktx/Makefile
+8-0games/ktx/pkg-plist
+36-1984 files

LLVM/project b225b33llvm/docs Instrumentor.rst, llvm/lib/Transforms/IPO InstrumentorUtils.cpp

[Instrumentor] Add a property filter for static properties (#197530)

The user can define static filters in the json to limit instrumentation
to opportunities that match the static expression, e.g., is_volatile==1.
The matcher logic is pretty basic for now. Integer comparisons, string
equalities and `startswith` for strings are supported.

The commit was prepared with Claude (AI) and proofread/tested by me.
DeltaFile
+475-0llvm/lib/Transforms/IPO/InstrumentorUtils.cpp
+153-0llvm/docs/Instrumentor.rst
+114-0llvm/test/Instrumentation/Instrumentor/test_filter_parentheses.ll
+69-0llvm/test/Instrumentation/Instrumentor/test_filter.ll
+58-0llvm/test/Instrumentation/Instrumentor/test_filter_parentheses_config.json
+56-0llvm/test/Instrumentation/Instrumentor/test_filter_pointer_null_config.json
+925-014 files not shown
+1,242-220 files

LLVM/project 4ccf709clang-tools-extra/clang-tidy/bugprone NotNullTerminatedResultCheck.cpp

Fix `clang-tidy` missing `const` warning
DeltaFile
+1-1clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
+1-11 files

LLVM/project 10de023clang-tools-extra/clang-tidy/bugprone BadSignalToKillThreadCheck.cpp

Fix `clang-tidy` identifier case warning
DeltaFile
+3-3clang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp
+3-31 files

FreeNAS/freenas 86f1cfcsrc/middlewared/middlewared/plugins/container dataset.py lifecycle.py, src/middlewared/middlewared/utils/filesystem perms.py

Restrict on-disk perms of internal container/apps dataset roots

The internal dataset trees that back containers
(/mnt/.truenas_containers/), Docker apps (/mnt/.ix-apps/), and the
per-container idmapped bind-mount parent (/run/truenas_containers/root/)
are implementation-detail paths that aren't intended to be inspected
directly by host users. They currently mount with the default of
drwxr-xr-x root:root (or 0755 from os.makedirs for the /run parent),
which is looser than necessary.

This PR pins those three directories to 0700 root:root and re-applies
the mode at the relevant entry points so the property is idempotent
across reboots and manual chmod drift.
DeltaFile
+95-0tests/unit/test_filesystem_perms.py
+58-0tests/api2/test_container.py
+51-0src/middlewared/middlewared/utils/filesystem/perms.py
+41-1tests/api2/test_apps.py
+18-3src/middlewared/middlewared/plugins/container/dataset.py
+6-0src/middlewared/middlewared/plugins/container/lifecycle.py
+269-43 files not shown
+284-49 files

LLVM/project ad14105lldb/source/Target ThreadPlan.cpp

[lldb] Fix data race on ThreadPlan::GetNextID's plan-ID counter (#197811)

`g_nextPlanID` is a function-local static used to hand out unique
ThreadPlan IDs. It was a plain uint32_t, so concurrent ThreadPlan
constructors (e.g. each Process's private state thread queueing its base
plan) raced on the increment.

Make it std::atomic<uint32_t>. Prefix operator++ on std::atomic is
already an atomic fetch_add that returns the new value, so the call
sites are unchanged.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+3-1lldb/source/Target/ThreadPlan.cpp
+3-11 files

LLVM/project edaded2lldb/source/ValueObject ValueObject.cpp

[lldb] Fix data race on ValueObject's unique-id counter (#197809)

g_value_obj_uid is a file-scope static that hands out unique IDs to
every ValueObject. It was a plain user_id_t, so concurrent
SBTarget::FindGlobalVariables / EvaluateExpression calls raced on the
increment.

Make it std::atomic<user_id_t>. Prefix operator++ on std::atomic is
already an atomic fetch_add that returns the new value, so the call
sites are unchanged.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+2-1lldb/source/ValueObject/ValueObject.cpp
+2-11 files