LLVM/project dee6af3 — clang/lib/AST ASTContext.cpp, clang/test/Modules merge-lambda-call-operator.cppm

[clang][modules] Allow merging module-local class members across modules (#236509)

When the same variable template specialization is instantiated in two
module units and a TU imports both, clang merges the lambda closure
types (closure types are merged by identity), but not their `operator()`
members: the instantiated `operator()` is module-local to the
instantiating module, and `ASTContext::isSameEntity` refuses to merge
module-local declarations from different modules. The merged closure
type then has two `operator()` declarations that are not redeclarations
of each other, which is diagnosed as a false ODR violation during
deserialization.

The change allows merging class members across modules even when they
are marked module-local, provided that the (already checked) shared
declaration context is a class: a class definition determines its
members, so two members of the same class are the same entity. Two
*distinct* module-local classes are still not merged — the module-local
rule still applies to the classes themselves — so their members are
never compared, which is what that check exists for.

    [16 lines not shown]
DeltaFile
+51-0clang/test/Modules/merge-lambda-call-operator.cppm
+11-3clang/lib/AST/ASTContext.cpp
+62-32 files

FreeNAS/freenas 324b8dd — src/middlewared/middlewared/plugins/container crud.py container_device_crud.py, src/middlewared/middlewared/plugins/vm crud.py vm_device_crud.py

NAS-144956 / 28.0.0-BETA.1 / Remove explicit `force_sql_filters` when querying VM and container devices (#20086)

Followup to https://github.com/truenas/middleware/pull/20065
DeltaFile
+0-2src/middlewared/middlewared/plugins/vm/crud.py
+1-1src/middlewared/middlewared/plugins/vm/vm_device_crud.py
+1-1src/middlewared/middlewared/plugins/container/container_device_crud.py
+0-1src/middlewared/middlewared/plugins/container/crud.py
+2-54 files

LLVM/project 5f66585 — clang/lib/CodeGen CGStmt.cpp CodeGenFunction.h, clang/test/CodeGen/X86 inline-asm-complex-output.c

[Clang][CodeGen] Add support for _Complex arguments to "asm goto"

Clang emitted "=*r" for _Complex register outputs. On a callbr, the
SelectionDAG stores that output only on the fallthrough path, which
would silently skip adding a "store" on the indirect paths (#235940
turns that into an error). The HandleOutputConstraints method acceps
scalar and aggregate kinds, but not _Complex.

We fix this by treating a _Complex as an aggregate for this specific
case. The infrastructure already exists to handle {T, T} structs, so the
asm goto successor stores come for "free."

Fixes: 235946

Assisted-by: Claude for generating testcases
DeltaFile
+214-0clang/test/CodeGen/X86/inline-asm-complex-output.c
+4-0clang/lib/CodeGen/CodeGenFunction.h
+2-1clang/lib/CodeGen/CGStmt.cpp
+220-13 files

FreeBSD/ports 284de94 — databases/mongodb-tools Makefile distinfo

databases/mongodb-tools: 100.20.0

Changes:
https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md#100200

The test files are renamed from foo_test.go to foo_unit_test.go. This makes that "make test" does not find any tests.
[00:00:32] ===>  Testing ./...
[00:01:02] ?    github.com/mongodb/mongo-tools  [no test files]
[00:01:04] ?    github.com/mongodb/mongo-tools/bsondump [no test files]
...
[00:01:06] testing: warning: no tests to run
[00:01:06] PASS

Let's see if this gets resolved in a future release or maybe somebody has a hint for me for go tests in the ports framework.
DeltaFile
+1-5databases/mongodb-tools/Makefile
+3-3databases/mongodb-tools/distinfo
+4-82 files

FreeBSD/ports 71e0912 — textproc/oyo Makefile.crates Makefile

textproc/oyo: Update to 0.1.61

ChangeLog:

1. https://github.com/ahkohd/oyo/releases/tag/v0.1.61

Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+5-5textproc/oyo/distinfo
+1-1textproc/oyo/Makefile.crates
+1-1textproc/oyo/Makefile
+7-73 files

NetBSD/pkgsrc fD5Hbad — security/uacme distinfo Makefile, security/uacme/patches patch-uacme.1.txt patch-crypto.c

   fix some minor issues

   1. the DISTFILE is stored as v1.8.1.tar.gz which is prone to conflict, use
   the github framework to ensure it is stored as uacme-1.8.1.tar.gz

   2. the manpage uacme.1 claims a default CONFDIR which is wrong, fix that

   3. a ctype error in crypto.c
VersionDeltaFile
1.1+15-0security/uacme/patches/patch-uacme.1.txt
1.1+15-0security/uacme/patches/patch-crypto.c
1.17+6-8security/uacme/Makefile
1.4+6-4security/uacme/distinfo
+42-124 files

OPNSense/core 9697800 — src/opnsense/mvc/app/controllers/OPNsense/Core/Api SnapshotsController.php

System: Snapshots - always enforce note directory to be owned by "wwwonly:wheel" as configured to prevent notes created by the ui in root mode not being readable when switching to wwwonly.

(cherry picked from commit f81d527a436e5376cbac112ac444a5e54b7fdc93)
DeltaFile
+5-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/SnapshotsController.php
+5-01 files

FreeBSD/ports 98025cd — misc/fabric Makefile distinfo

misc/fabric: update 1.4.553 → 1.4.556
DeltaFile
+5-5misc/fabric/distinfo
+1-1misc/fabric/Makefile
+6-62 files

FreeBSD/ports f0498b5 — dns/amass Makefile distinfo

dns/amass: update 5.1.2 → 5.1.3
DeltaFile
+5-5dns/amass/distinfo
+1-1dns/amass/Makefile
+6-62 files

FreeBSD/ports 0998b80 — misc/wacli Makefile distinfo

misc/wacli: update 0.25.0 → 0.25.1
DeltaFile
+5-5misc/wacli/distinfo
+1-1misc/wacli/Makefile
+6-62 files

FreeBSD/ports cef4481 — devel/bazel-buildtools Makefile distinfo

devel/bazel-buildtools: update 10.1.0 → 10.2.0
DeltaFile
+7-7devel/bazel-buildtools/distinfo
+1-2devel/bazel-buildtools/Makefile
+8-92 files

FreeBSD/ports 442e09f — databases/weaviate Makefile distinfo

databases/weaviate: update 1.40.2 → 1.40.3
DeltaFile
+5-5databases/weaviate/distinfo
+1-1databases/weaviate/Makefile
+6-62 files

FreeBSD/ports 14fc063 — databases/rqlite Makefile distinfo

databases/rqlite: update 10.6.5 → 10.6.6
DeltaFile
+5-5databases/rqlite/distinfo
+1-1databases/rqlite/Makefile
+6-62 files

OPNSense/core c089fec — src/www system_advanced_admin.php

system: let the user know that strict security is best served with a reboot

(cherry picked from commit fab7648251ffcde9cc51ef80e1b1d77304f9bf68)
DeltaFile
+1-1src/www/system_advanced_admin.php
+1-11 files

LLVM/project 174be02 — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/Transforms remove-dead-values-try.cir

[CIR] Fix cir.try successor regions

`TryOp::getSuccessorRegions` sent every exit from the try region back to the
parent, so nothing led from the try region to the handlers. A `cir.resume`
ending the try region, left there once FlattenCFG has flattened an inner
cleanup scope, unwinds into a handler, and `CIRTryOpFlattening` branches it
to the handler dispatch block. Now every exit from the try region can enter
the handlers, and a `cir.resume` leaves the op only when there are none. The
parent keeps its edges to the handlers. An unwind out of a call in the try
region is not a region branch point, so these edges stand in for it, and
without them -remove-dead-values empties a handler that is reached only that
way.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+112-3clang/unittests/CIR/ControlFlowTest.cpp
+40-0clang/test/CIR/Transforms/remove-dead-values-try.cir
+21-9clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+173-123 files

OPNSense/core fab7648 — src/www system_advanced_admin.php

system: let the user know that strict security is best served with a reboot
DeltaFile
+1-1src/www/system_advanced_admin.php
+1-11 files

LLVM/project 9d41755 — llvm/lib/Transforms/IPO GlobalOpt.cpp, llvm/test/Transforms/GlobalOpt function-unnamed-addr.ll

[GlobalOpt] Skip use analysis for saturated function unnamed_addr (#236455)

For functions, `processGlobal()` only strengthens `unnamed_addr`: to
`unnamed_addr` for local linkage, or to `local_unnamed_addr` otherwise.

If the function already has that attribute or a stronger one, analyzing
its uses cannot lead to any change, so skip
`GlobalStatus::analyzeGlobal()`. Local functions with
`local_unnamed_addr` still need the analysis because they can be
upgraded to `unnamed_addr`.

This avoids redundant use-list walks observed while profiling large
Kotlin/Native builds.

Assisted-by: OpenAI Codex
DeltaFile
+83-0llvm/test/Transforms/GlobalOpt/function-unnamed-addr.ll
+7-0llvm/lib/Transforms/IPO/GlobalOpt.cpp
+90-02 files

LLVM/project e1e027e — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/Transforms remove-dead-values-cleanup-scope.cir

[CIR] Keep cir.cleanup.scope cleanup regions reachable (#232217)

`getSuccessorRegions` must list every region that may run next. A
`cir.cleanup.scope` cleanup can also run from the middle of the body: on
an unwind out of a call, or on a `cir.return`, `cir.break`,
`cir.continue` or `cir.goto`. None of those is a region branch point, so
a cleanup reached only that way had no predecessor and generic MLIR
passes treated it as dead. For example, `cir-opt -remove-dead-values`
erased this whole scope, store included:

```mlir
cir.cleanup.scope {
  cir.call @may_throw() : () -> ()
  cir.yield
} cleanup eh {
  %c = cir.const #cir.int<7> : !s32i
  cir.store %c, %p : !s32i, !cir.ptr<!s32i>
  cir.yield
}

    [19 lines not shown]
DeltaFile
+37-31clang/unittests/CIR/ControlFlowTest.cpp
+17-17clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+33-0clang/test/CIR/Transforms/remove-dead-values-cleanup-scope.cir
+87-483 files

OPNSense/core f81d527 — src/opnsense/mvc/app/controllers/OPNsense/Core/Api SnapshotsController.php

System: Snapshots - always enforce note directory to be owned by "wwwonly:wheel" as configured to prevent notes created by the ui in root mode not being readable when switching to wwwonly.
DeltaFile
+5-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/SnapshotsController.php
+5-01 files

LLVM/project cd6a58c — offload/libompaccsupport PluginManager.cpp device.cpp, offload/plugins-nextgen/amdgpu/src rtl.cpp

[Offload][Omp] Launch kernels through liboffload (#233735)

Launch kernels through olLaunchKernel. Stop using KernelLaunchArgsTy
from the PluginInterface and use ol_kernel_launch_size_args_t. Removed
unused Plugin and Device launch kernel interfaces.

OpenMP specific trip count information was still being passed through
KernelLaunchArgs only to be printed inside the AMD plugin. Moved the
print to libomptarget which allowed to remove the last OpenMP piece from
KernelLaunchArgsTy.

Tested on Intel and AMD GPUs.

Assisted by Claude.
DeltaFile
+129-88offload/libompaccsupport/device.cpp
+14-44offload/plugins-nextgen/common/src/PluginInterface.cpp
+2-15offload/plugins-nextgen/common/include/PluginInterface.h
+2-5offload/plugins-nextgen/amdgpu/src/rtl.cpp
+2-2offload/test/offloading/info.c
+2-1offload/libompaccsupport/PluginManager.cpp
+151-1551 files not shown
+152-1557 files

NetBSD/pkgsrc-wip 1b82360 — vscode Makefile PLIST, vscode/patches patch-remote_package.json patch-package.json

vscode: update to 1.143.1
DeltaFile
+93-1vscode/TODO
+25-4vscode/PLIST
+24-0vscode/patches/extra-patch-node_ovsx_sign
+15-4vscode/Makefile
+0-14vscode/patches/patch-remote_package.json
+0-14vscode/patches/patch-package.json
+157-372 files not shown
+168-478 files

FreeBSD/ports 8c36655 — devel/py-pydbus Makefile

devel/py-pydbus: Switch to USE_PYTHON=pep517

Build with the PEP 517 frontend (setuptools legacy backend; the source
has no [build-system]); the package metadata becomes dist-info.

PR:             300055
DeltaFile
+4-2devel/py-pydbus/Makefile
+4-21 files

OPNSense/core f894fab — src/opnsense/mvc/app/controllers/OPNsense/Core/Api SnapshotsController.php

Revert "System: Snapshots - always enforce notes to be owned by wwwonly to prevent notes created by the ui in root mode not being readable when switching to wwwonly."

This reverts commit b2fb2b63f479c8879d9a54fefabe310712cefd70.
DeltaFile
+3-2src/opnsense/mvc/app/controllers/OPNsense/Core/Api/SnapshotsController.php
+3-21 files

LLVM/project 9932017 — llvm/lib/Target/XCore XCoreTargetMachine.h XCorePassRegistry.def, llvm/test/CodeGen/XCore newpm-pipeline.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+90-0llvm/test/CodeGen/XCore/newpm-pipeline.ll
+89-0llvm/lib/Target/XCore/XCoreCodeGenPassBuilder.cpp
+28-20llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
+30-13llvm/lib/Target/XCore/XCore.h
+26-0llvm/lib/Target/XCore/XCorePassRegistry.def
+8-0llvm/lib/Target/XCore/XCoreTargetMachine.h
+271-333 files not shown
+282-389 files

LLVM/project d675a81 — llvm/lib/Target/XCore XCoreISelDAGToDAG.cpp XCoreTargetMachine.h, llvm/test/CodeGen/XCore newpm-pipeline.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+88-0llvm/lib/Target/XCore/XCoreCodeGenPassBuilder.cpp
+88-0llvm/test/CodeGen/XCore/newpm-pipeline.ll
+21-13llvm/lib/Target/XCore/XCore.h
+20-0llvm/lib/Target/XCore/XCorePassRegistry.def
+6-2llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
+8-0llvm/lib/Target/XCore/XCoreTargetMachine.h
+231-152 files not shown
+234-168 files

LLVM/project c1101b0 — clang/lib/AST/ByteCode Record.cpp, clang/test/AST/ByteCode cxx20.cpp

[clang][bytecode] Use first decl in Record base map (#236334)
DeltaFile
+20-0clang/test/AST/ByteCode/cxx20.cpp
+4-4clang/lib/AST/ByteCode/Record.cpp
+24-42 files

FreeBSD/ports f147c9f — sysutils/bfs Makefile distinfo

sysutils/bfs: update to 4.1.5

Changes:        https://github.com/tavianator/bfs/releases/tag/4.1.5
DeltaFile
+3-3sysutils/bfs/distinfo
+1-1sysutils/bfs/Makefile
+4-42 files

NetBSD/xsrc Z5BrdNP — external/mit/brotli/dist/c/common platform.h

   use upstream e230f474b87134e8c6c85b630084c612057f253e and fix ia64 builds.

   upstream commit message:
   disable BROTLI_MODEL macro for some targets

   PiperOrigin-RevId: 827486322
VersionDeltaFile
1.2+244-153external/mit/brotli/dist/c/common/platform.h
+244-1531 files

FreeBSD/src ebb369a — share/man/man4 pci.4, sys/dev/pci pci_private.h pci_iov.c

pci: Reserve bus numbers required by SR-IOV VFs

Some firmware assigns only one bus number to each PCI-PCI bridge.  This
prevents later SR-IOV VF enumeration when a VF routing ID falls on a bus
number already allocated to a sibling bridge.

Reserve only the additional bus numbers required by SR-IOV PFs.
Enumerate all directly attached functions before child drivers and
bridges attach, inspect their device_t objects for SR-IOV, and grow the
PCI bus resource through the highest possible VF routing ID.

First VF Offset and VF Stride may change when NumVFs changes.  Probe
every valid NumVFs value and preserve the original setting.  When the
upstream hierarchy uses ARI, temporarily enable the SR-IOV ARI Hierarchy
control in the lowest-numbered PF while sizing, then restore it.  Scope
active-VF detection to each conventional PCI slot; an ARI bus remains
one slot-0 hierarchy.  If firmware left VFs enabled on a device, do not
modify it and reserve only its active layout.


    [21 lines not shown]
DeltaFile
+189-0sys/dev/pci/pci.c
+9-9sys/dev/pci/pci_iov.c
+10-1share/man/man4/pci.4
+3-0sys/powerpc/ofw/ofw_pcibus.c
+3-0sys/dev/pci/pci_private.h
+214-105 files

FreeBSD/src 3189766 — sys/dev/pci pci_iov.c

pci_iov: Reuse downstream bridge bus window if it already covers VF bus

If the parent bridge's [secondary, subordinate] window already covers
the VF bus (e.g., programmed by BIOS or a prior PF), skip allocating
PCI_RES_BUS. This avoids a duplicate rman allocation in the multi-PF
case while still allocating when growth is actually needed.

Reviewed by: ssaxena
Differential Revision: https://reviews.freebsd.org/D52163

(cherry picked from commit feb0a7e19f3c2e4c7eb90668b1e3dc34b5bb6dd6)
DeltaFile
+20-9sys/dev/pci/pci_iov.c
+20-91 files