LLVM/project ea198d0libc/src/__support/OSUtil/linux/syscall_wrappers fdatasync.h, libc/src/unistd fdatasync.h

[libc] Implement fdatasync (#225613)

This patch implements the fdatasync entry point for Linux, matching the
existing fsync implementation. I'm adding it to all supported Linux
architectures (x86_64, aarch64, arm, and riscv), where it's backed by
the SYS_fdatasync syscall.

Assisted-by: Gemini
DeltaFile
+49-0libc/test/src/unistd/fdatasync_test.cpp
+33-0libc/src/__support/OSUtil/linux/syscall_wrappers/fdatasync.h
+32-0libc/src/unistd/linux/fdatasync.cpp
+25-0libc/src/unistd/fdatasync.h
+19-0libc/test/src/unistd/CMakeLists.txt
+14-0libc/src/unistd/linux/CMakeLists.txt
+172-07 files not shown
+201-013 files

LLVM/project 2522dfdlibc/src/__support/OSUtil/linux/syscall_wrappers chmod.h getcwd.h

[libc] Migrate filesystem syscall wrappers to syscall_checked (#225636)

Migrate a batch of related filesystem/path syscall wrappers to use
syscall_checked instead of manual syscall_impl error checking.

While in there:
- update file headers to the new style
- reformat includes into a single block so clang-format can sort them

Assisted-by: Gemini
DeltaFile
+10-10libc/src/__support/OSUtil/linux/syscall_wrappers/utimensat.h
+11-9libc/src/__support/OSUtil/linux/syscall_wrappers/link.h
+10-8libc/src/__support/OSUtil/linux/syscall_wrappers/unlink.h
+6-9libc/src/__support/OSUtil/linux/syscall_wrappers/rename.h
+5-8libc/src/__support/OSUtil/linux/syscall_wrappers/getcwd.h
+4-7libc/src/__support/OSUtil/linux/syscall_wrappers/chmod.h
+46-5112 files not shown
+75-11718 files

LLVM/project dc0ff7amlir/test/mlir-tblgen op-format.td, mlir/tools/mlir-tblgen OpFormatGen.cpp

[mlir][ODS] Optimize generated assembly printers for size

Favor smaller code for declarative assembly printers. The OpenMP TU uses
1.8% fewer compiler instructions and emits 37 KB less text on top of the
shared interface change. Printing is not performance sensitive.

Assisted-by: Codex
DeltaFile
+3-1mlir/tools/mlir-tblgen/OpFormatGen.cpp
+1-1mlir/test/mlir-tblgen/op-format.td
+4-22 files

OPNSense/core 17bc925src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces NetworkInterface.php

interfaces: offload $legacybools and $legacyempties to NetworkInterface model; closes #10918

So we can fix the mocked $config apply in apply_pending_if_changes.php.
Ideally, toLegacy() should already do this and we just replace the whole
interface section in the script.
DeltaFile
+4-26src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+26-0src/opnsense/mvc/app/models/OPNsense/Interfaces/NetworkInterface.php
+9-1src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+39-273 files

FreeBSD/ports 658aec9x11/xwayland-satellite Makefile Makefile.crates

x11/xwayland-satellite: update to 0.8.3

Changes:        https://github.com/Supreeeme/xwayland-satellite/releases/tag/v0.8.3
Reported by:    GitHub (watch releases)

(cherry picked from commit 5efd8248707a17e95f892b2bbb57749a366cbeb6)
DeltaFile
+7-3x11/xwayland-satellite/distinfo
+1-1x11/xwayland-satellite/Makefile
+2-0x11/xwayland-satellite/Makefile.crates
+10-43 files

FreeBSD/ports 5efd824x11/xwayland-satellite Makefile.crates Makefile

x11/xwayland-satellite: update to 0.8.3

Changes:        https://github.com/Supreeeme/xwayland-satellite/releases/tag/v0.8.3
Reported by:    GitHub (watch releases)
DeltaFile
+7-3x11/xwayland-satellite/distinfo
+1-2x11/xwayland-satellite/Makefile
+2-0x11/xwayland-satellite/Makefile.crates
+10-53 files

LLVM/project 5c1c226mlir/lib/IR Diagnostics.cpp

[mlir] Match diagnostic string vector return type (#226011)

Match the local `SmallVector<std::string>` type to
`Diagnostic::strs()`'s declared return type.
Fix the build on some platform/toolchains.

Assisted by: codex
DeltaFile
+1-1mlir/lib/IR/Diagnostics.cpp
+1-11 files

LLVM/project 93740delldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift scanner.c

[lldb] Fix heap-buffer-overflow in tree-sitter-swift scanner state (#224001)

Running the `HighlighterTests` unit test under AddressSanitizer aborts
on every Swift test case, for example `SwiftComments`:

```
==69424==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000008070 at pc 0x000116a1f36c bp 0x00016d07c3c0 sp 0x00016d07c3b8
READ of size 4 at 0x602000008070 thread T0
    #0 0x000116a1f368 in eat_raw_str_part scanner.c:700
    #1 0x000116a1b5f4 in tree_sitter_swift_external_scanner_scan scanner.c:858
    #2 0x00012cc77420 in ts_parser_parse
    #3 0x00012cc79afc in ts_parser_parse_string
    #4 0x00010a3536a4 in lldb_private::TreeSitterHighlighter::Highlight(...)

0x602000008071 is located 0 bytes after 1-byte region [0x602000008070,0x602000008071)
allocated by thread T0 here:
    #0 0x00012d68d560 in calloc
    #1 0x00012cc763b8 in ts_parser_parse
    #2 0x00012cc79afc in ts_parser_parse_string

    [21 lines not shown]
DeltaFile
+1-1lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift/scanner.c
+1-11 files

LLVM/project 162edfeclang/docs/analyzer checkers.md, clang/include/clang/StaticAnalyzer/Checkers Checkers.td

[WebKit Checkers] Add alpha.webkit.UnborrowedCallArgsChecker (#225854)

Like alpha.webkit.UnborrowedLocalVarsChecker, but for function
arguments.

As in the local variable checker, we do not treat an origin that
outlives a function call as sufficient evidence of safety. We need to
prove not only that an object is live, but also that it prevents
interior destruction.

Assisted-by: Claude
DeltaFile
+204-0clang/test/Analysis/Checkers/WebKit/unborrowed-call-args.cpp
+90-75clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
+46-0clang/docs/analyzer/checkers.md
+5-5clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
+6-0clang/test/Analysis/Checkers/WebKit/mock-canborrow.h
+4-0clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
+355-801 files not shown
+356-817 files

FreeBSD/src b5f0e7fstand/efi/loader framebuffer.c

loader.efi: Be cautious about using GOPs

When we're searching for the EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID (GOPs) to
use, skip any whose Mode or Mode->Info pointers are NULL. The spec
requires these to be non-null, however, some firmwares seem to fail to
populate the Info when, for example, a monitor is not present. Work
around these bugs by skipping any GOPs with bad pointers.

PR: 288900
Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D59830
DeltaFile
+8-1stand/efi/loader/framebuffer.c
+8-11 files

LLVM/project 3476cb8llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU move-to-valu-absdiff.mir

AMDGPU: Mark the carry-out of the scalar abs expansion dead

lowerScalarAbs and lowerScalarAbsDiff build V_SUB_CO_U32_e32 on targets
without the carry-less add/sub instructions. The carry-out is never read,
but it was left without a dead flag. Fix the missing flag to reduce
implicit dependence on LiveVariables introducing dead flags.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+20-11llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+24-2llvm/test/CodeGen/AMDGPU/move-to-valu-absdiff.mir
+44-132 files

FreeBSD/ports bcaf5d8multimedia/termplay distinfo

multimedia/termplay: convert to .crate after 162d8b02848e

fetch: https://static.crates.io/crates/termplay/termplay-2.0.6.tar.gz?dummy=/rust/crates/termplay-2.0.6.tar.gz: Forbidden

PR:             298812
DeltaFile
+180-180multimedia/termplay/distinfo
+180-1801 files

FreeBSD/ports 162d8b0net-mgmt/geom-exporter Makefile, net-mgmt/nfs-exporter Makefile

all: unbreak fetch after bc18f00c490c

fetch: https://static.crates.io/crates/cargo-c/0.10.25+cargo-0.99.0?dummy=/rust/crates/cargo-c-0.10.25+cargo-0.99.0.crate: Forbidden
fetch: https://static.crates.io/crates/desed/1.2.2?dummy=/rust/crates/desed-1.2.2.crate: Forbidden
fetch: https://static.crates.io/crates/fsx/0.3.2?dummy=/rust/crates/fsx-0.3.2.crate: Forbidden
fetch: https://static.crates.io/crates/gbump/1.3.0?dummy=/rust/crates/gbump-1.3.0.crate: Forbidden
fetch: https://static.crates.io/crates/bindgen-cli/0.72.1?dummy=/rust/crates/bindgen-cli-0.72.1.crate: Forbidden
fetch: https://static.crates.io/crates/cbindgen/0.29.4?dummy=/rust/crates/cbindgen-0.29.4.crate: Forbidden
fetch: https://static.crates.io/crates/doh-proxy/0.9.16?dummy=/rust/crates/doh-proxy-0.9.16.crate: Forbidden
fetch: https://static.crates.io/crates/pjdfstest/0.2.2?dummy=/rust/crates/pjdfstest-0.2.2.crate: Forbidden
fetch: https://static.crates.io/crates/dify/0.8.0?dummy=/rust/crates/dify-0.8.0.crate: Forbidden
fetch: https://static.crates.io/crates/dssim/3.2.4?dummy=/rust/crates/dssim-3.2.4.crate: Forbidden
fetch: https://static.crates.io/crates/termplay/2.0.6?dummy=/rust/crates/termplay-2.0.6.tar.gz: Forbidden
fetch: https://static.crates.io/crates/s3req/1.3.1?dummy=/rust/crates/s3req-1.3.1.crate: Forbidden
fetch: https://static.crates.io/crates/%SUBDIR%?dummy=/rust/crates/freebsd-geom-exporter-0.1.4.crate: Bad Request
fetch: https://static.crates.io/crates/%SUBDIR%?dummy=/rust/crates/freebsd-nfs-exporter-0.4.7.crate: Bad Request
fetch: https://static.crates.io/crates/sequoia-chameleon-gnupg/0.13.1?dummy=/rust/crates/sequoia-chameleon-gnupg-0.13.1.crate: Forbidden
fetch: https://static.crates.io/crates/sequoia-sq/1.4.0?dummy=/rust/crates/sequoia-sq-1.4.0.crate: Forbidden
fetch: https://static.crates.io/crates/ssh-vault/1.0.10?dummy=/rust/crates/ssh-vault-1.0.10.crate: Forbidden

    [10 lines not shown]
DeltaFile
+1-2net-mgmt/nfs-exporter/Makefile
+1-2net-mgmt/geom-exporter/Makefile
+1-1x11/swayrbar/Makefile
+1-1x11/swayr/Makefile
+1-1x11/alacritty/Makefile
+1-1sysutils/flowgger/Makefile
+6-818 files not shown
+24-2624 files

NetBSD/pkgsrc CLfF1rEdoc CHANGES-2026

   doc: Updated net/tor to 0.4.9.13
VersionDeltaFile
1.6310+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc KUfnx2Tnet/tor Makefile distinfo

   tor: update to 0.4.9.13.

   Changes in version 0.4.9.13 - 2026-09-23
     This security release includes several high severity fixes, once again
     originating from the LLM report firehose. The fixes affect all Tor
     components: relays, clients, and onion services. We strongly recommend
     upgrading as soon as possible.

     o Major bugfixes (security):
       - Avoid a set of possible memory corruption, double-free, and null
         pointer dereference bugs that could occur with some reverse DNS
         virtual address configurations. Fixes bug 41381; bugfix on
         0.1.0.1-rc. Tracked as TROVE-2026-051.
       - Avoid cacheing DNS PTR responses when DNS caching is disabled.
         Previous code to prevent this caching parsed the response
         addresses incorrectly, and defaulted to caching when the address
         could not be parsed. Fixes bug 41380; bugfix on 0.2.4.7-alpha.
         Tracked as TROVE-2026-050.


    [100 lines not shown]
VersionDeltaFile
1.146+4-4net/tor/distinfo
1.202+2-2net/tor/Makefile
+6-62 files

LLVM/project 48a0b89mlir/include/mlir/Dialect/LLVMIR LLVMOps.td, mlir/test/Target/LLVMIR llvmir-invalid.mlir

[mlir][LLVMIR] Fix a crash when `llvm.mlir.constant` fails to create an LLVM constant. (#224951)

Fix the `llvm.mlir.constant` translation to handle a failed
`getLLVMConstant()` conversion. The current code can pass a null
`llvm::Value` to users of the constant, causing an assertion. Check the
result of `getLLVMConstant()` and return failure when the conversion
fails.

Fixes #224815
DeltaFile
+13-0mlir/test/Target/LLVMIR/llvmir-invalid.mlir
+10-2mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+23-22 files

LLVM/project 6c6e2b5clang/include/clang/CIR/Dialect Passes.td, clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp

[CIR] Wire AMDGPU into the call-convention lowering pass
DeltaFile
+89-60clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+105-0clang/test/CIR/Transforms/abi-lowering/amdgpu-scalars.cir
+6-2clang/test/CIR/CodeGenHIP/amdgcn-buffer-rsrc-type.hip
+4-2clang/lib/CIR/Lowering/CIRPasses.cpp
+3-1clang/include/clang/CIR/Dialect/Passes.td
+1-1clang/test/CIR/Transforms/abi-lowering/x86_64-lang-addrspace-nyi.cir
+208-661 files not shown
+209-677 files

LLVM/project b273b5fllvm/docs/PDB HashTable.md

[docs] Fix PDB serialized hash table on-disk format description (#225889)

Fixes #76602 

Updating HashTable.md to match how the PDB hash table format is
serialized according to the microsoft-pdb repository:


https://github.com/microsoft/microsoft-pdb/blob/805655a28bd8198004be2ac27e6e0290121a5e89/PDB/include/map.h#L584

The key/value list contains Size entries rather than Capacity entries,
and the present bit vector identifies which bucket each pair belongs to.
DeltaFile
+6-4llvm/docs/PDB/HashTable.md
+6-41 files

LLVM/project 68c4af7llvm/lib/Target/AMDGPU SIWholeQuadMode.cpp, llvm/test/CodeGen/AMDGPU wqm.mir

AMDGPU: Invalidate VCC live ranges when lowering kill instructions

lowerKillInstr replaces the kill pseudo with a v_cmp defining VCC plus
two instructions reading it, but left any previously computed VCC
regunit ranges alone. If something had already materialized them, the
new uses have no live segment:

  *** Bad machine code: No live segment at use ***
  - instruction: $exec = S_ANDN2_B64_term $exec, $vcc, implicit-def $scc

Drop the ranges so they are recomputed on demand, as is already done for
EXEC and SCC.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+38-0llvm/test/CodeGen/AMDGPU/wqm.mir
+2-0llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
+40-02 files

LLVM/project d68eb98llvm/include/llvm/IR Metadata.h, llvm/lib/IR Metadata.cpp

[Local] Preserve !callees when merging calls (#225307)

When `SimplifyCFG` hoists or sinks two calls, `combineMetadata` drops `!callees`
even if both calls have it. Take the union of the lists when the retained
call moves, since it must allow the targets of either call. If either call
has no `!callees`, drop it from the merged call. For CSE, keep the list on
the call that stays in place.
DeltaFile
+164-0llvm/test/Transforms/SimplifyCFG/merge-callees-metadata.ll
+31-0llvm/test/Transforms/GVN/callees-metadata.ll
+12-0llvm/lib/IR/Metadata.cpp
+6-0llvm/lib/Transforms/Utils/Local.cpp
+1-0llvm/include/llvm/IR/Metadata.h
+214-05 files

FreeBSD/src 85fb40bstand/efi/loader decompress.c

loader.efi: Use EfiLoaderData memory type for ram disks

For the images we read into the memory, use EfiLoaderData memory type
instead of EfiReservedMemoryType. The kernel handles the former properly
and won't reallocate it. While the latter isn't necessarily mapped,
which can cause ram disks to fault when loaded. memdisk_uefi.efi
used the latter type, but also registered the device as an ACPI
RAM disk, which we don't do.

Fixes: afee781523e45
Sponsored by: Netflix
DeltaFile
+8-1stand/efi/loader/decompress.c
+8-11 files

LLVM/project d6e9ffdllvm/lib/ExecutionEngine/Orc/Shared OrcRTBridge.cpp

[ORC] Re-rename eh-frame alloc actions. (#226038)

Use 'Section' as the suffix rather than 'Frame' to make clear that these
actions register whole sections at a time. This aligns eh-frame
registration action names with the MachO unwind info registration action
names.

An ORC runtime commit implementing these actions will land as a
follow-up commit.
DeltaFile
+2-2llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
+2-21 files

OpenBSD/ports TQI7ncFsysutils/flatpak/xdg-dbus-proxy Makefile distinfo

   Update to xdg-dbus-proxy-0.1.9.
VersionDeltaFile
1.5+2-2sysutils/flatpak/xdg-dbus-proxy/distinfo
1.7+1-1sysutils/flatpak/xdg-dbus-proxy/Makefile
+3-32 files

FreeBSD/src e960cb4sys/contrib/edk2/Include/Protocol LoadFile2.h TcgService.h

edk2: Import Loadfile2.h and TcgService.h from edk2-stable202502

Verbatim import of these files, with unix line endings.

Sponsored by:           Netflix
DeltaFile
+195-0sys/contrib/edk2/Include/Protocol/TcgService.h
+78-0sys/contrib/edk2/Include/Protocol/LoadFile2.h
+273-02 files

FreeBSD/ports 8ccbf46misc/py-langchain-classic distinfo

misc/py-langchain-classic: fix distinfo

PR:     296704
(cherry picked from commit 61a03925aa2b9a0112eb95b364f649c70df28c41)
DeltaFile
+2-2misc/py-langchain-classic/distinfo
+2-21 files

LLVM/project ca879ffllvm/test/CodeGen/X86 min-legal-vector-width.ll udiv_fix_sat.ll

RegisterCoalescer: Don't mark a remat def dead when the copy destination covers it

When rematerializing into a physical register that is not exactly the copy's
destination, reMaterializeDef marks the rematerialized def dead and adds an
implicit-def of the copy destination. That is only correct when the rematerialized
instruction defines more than the copy asked for, so the extra part really is unused.

It is wrong when the def is covered by the copy destination, since then it is
part of that live value:

  undef %0.sub_32bit:gr64 = MOV32ri -11
  $rax = COPY %0

  ; coalesces to
  dead $eax = MOV32ri -11, implicit-def $rax

$eax is the live low half of $rax, so it must not be dead. Only set the dead
flag when the def has register units the copy destination does not cover.
This makes the dead flags consistent with what LiveVariables would produce

    [3 lines not shown]
DeltaFile
+214-231llvm/test/CodeGen/X86/masked-udiv.ll
+89-106llvm/test/CodeGen/X86/vector-idiv-strictfp.ll
+60-72llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
+84-0llvm/test/CodeGen/X86/rematerialize-sub-super-reg-dead-flags.mir
+40-42llvm/test/CodeGen/X86/udiv_fix_sat.ll
+35-35llvm/test/CodeGen/X86/min-legal-vector-width.ll
+522-4869 files not shown
+616-52315 files

LLVM/project 8b1eed8llvm/lib/ABI/Targets AMDGPU.cpp, llvm/unittests/ABI AMDGPUTargetInfoTest.cpp

rebase and update tests
DeltaFile
+181-62llvm/unittests/ABI/AMDGPUTargetInfoTest.cpp
+21-66llvm/lib/ABI/Targets/AMDGPU.cpp
+202-1282 files

OPNSense/core b736555src/etc/inc/plugins.inc.d core.inc

filter:aliases - wrong expiry default when set to < 3600 seconds. closes https://github.com/opnsense/core/issues/10917
DeltaFile
+2-0src/etc/inc/plugins.inc.d/core.inc
+2-01 files

LLVM/project 0f6b03fllvm/include/llvm/MC MCAsmInfo.h, llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp SelectionDAGBuilder.cpp

CodeGen: Suppress per-invoke EH labels via an MCAsmInfo object predicate (#225903)

This is to avoid depending on TargetOptions::ExceptionModel in the
X86ISelLowering constructor. This was used to legalize EH_LABEL to a
nop. Legality rules cannot depend on program state, and the exception model
should be read from the IR module flag. In this instance the exception model
isn't really the relevant property. The specific personality and the target
object's EH table format are. Introduce a new MCAsmInfo predicate which
is a known constant for the triple. Also just do this during the initial label 
emission instead of leaving it to legalization. This cleans up some unused 
labels for wasm. This is also a minor behavior change for unknown
personalities; the labels will now be conservatively emitted.

I don't know all that much about exceptions, there's a lot of AI reverse
engineering of intent here. Another bruteforce approach would be to just
relocate the current condition to the selector which has access to the
exception model, but the MCAsmInfo check will be reusable in other
contexts.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+40-0llvm/test/CodeGen/WebAssembly/eh-invoke-label-suppression.ll
+28-0llvm/test/CodeGen/X86/eh-labels-unknown-personality.ll
+15-0llvm/include/llvm/MC/MCAsmInfo.h
+11-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+0-7llvm/lib/Target/X86/X86ISelLowering.cpp
+0-1llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+94-96 files

FreeBSD/src 47275d8. Makefile.in configure, admin ltmain.sh config.guess

kyua: import kyua-0.15.0-rc2

This change adds kyua kyua-0.15.0-rc2 from [upstream][1].

The kyua-0.15.0-rc2 artifact was been verified by [SHA256 checksum][3].

This contains a removal for umount(8) support as all supported OSes have
access to the u(n)?mount syscall.

More information about the release (from a high level) can be found in
the [release notes][4].

Updated via [`update_kyua.sh`][4] `update_kyua.sh 0.15.0-rc2 kyua-0.15.0`.

1: https://github.com/freebsd/kyua/releases/download/kyua-0.15.0-rc2/kyua-0.15.0-rc2.tar.gz
2: https://github.com/freebsd/kyua/releases/download/kyua-0.15.0-rc2/kyua-0.15.0-rc2.tar.gz.sha256
3: https://github.com/freebsd/kyua/blob/kyua-0.15.0-rc2/NEWS.md
4: https://codeberg.org/ngie/freebsd-powertools:shell/update_kyua.sh@10a04edb
DeltaFile
+1,490-927admin/config.sub
+947-604admin/config.guess
+601-159m4/libtool.m4
+450-280configure
+245-80admin/ltmain.sh
+93-38Makefile.in
+3,826-2,08812 files not shown
+3,977-2,27618 files