LLVM/project 4a223celldb/source/Expression DWARFExpression.cpp

[lldb] Distinguish DWARF binary type-check error messages (#209644)

CheckScalarOperandsHaveSameType reported every operand-check failure
with the same "requires operands to have the same type" message, even
though it rejects operands for three different reasons: mismatched type
kind, mismatched size, and mismatched signedness. That made a failed
check hard to diagnose from the error alone.

Parameterize the message so each check names what actually differs
(type, size, or signedness).

Follow-up to Augusto's review of #209641.
DeltaFile
+7-7lldb/source/Expression/DWARFExpression.cpp
+7-71 files

LLVM/project ef81c51clang/docs/analyzer checkers.rst, clang/include/clang/StaticAnalyzer/Checkers Checkers.td

[analyzer] Disable lock order reversal check by default in PthreadLoc… (#202452)

…kChecker

Lock order reversal is a real source of deadlocks, but the current
single-path intraprocedural analysis is a single-path analysis, and it
cannot reason about potentially overlapping executions.This makes this
part of the checker too imprecise for default-on.

Add a WarnOnLockOrderReversal option (default: false) for the previous
behavior.
DeltaFile
+39-22clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
+31-7clang/test/Analysis/pthreadlock.c
+10-3clang/test/Analysis/fuchsia_lock.c
+10-2clang/test/Analysis/c11lock.c
+8-0clang/docs/analyzer/checkers.rst
+7-0clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
+105-343 files not shown
+110-349 files

FreeBSD/ports 31ba707math/R-cran-sandwich distinfo Makefile

math/R-cran-sandwich: Update to 3.1-2

Reported by:    portscout
DeltaFile
+3-3math/R-cran-sandwich/distinfo
+1-1math/R-cran-sandwich/Makefile
+4-42 files

FreeNAS/freenas 88a9663src/middlewared/middlewared/plugins/container lifecycle.py, tests/api2 test_container_docker.py

Inject mknod for privileged Allow-All containers

## Problem
A privileged container with `capabilities_policy` "ALLOW" keeps every capability in the bounding set, but libvirt only widens the LXC cgroup device ACL when an explicit `<mknod state='on'/>` child is emitted. As a result "Allow All" can't create device nodes, so Docker fails to extract images whose layers contain overlay whiteouts (character 0:0 nodes made via mknod) even though CAP_MKNOD is present.

## Solution
For privileged containers (idmap None) under an ALLOW policy, inject the mknod capability unless the user set it explicitly, so libvirt emits `<mknod state='on'/>` and widens the device ACL — making "Allow All" actually allow device-node creation. Adds an api2 integration test that pulls and runs a complex image inside such a container.
DeltaFile
+128-0tests/api2/test_container_docker.py
+15-0src/middlewared/middlewared/plugins/container/lifecycle.py
+143-02 files

FreeBSD/doc 5055f66documentation/content/en/articles/committers-guide _index.adoc, website/content/en/internal cross-repo-commits.adoc

Harmonize the cross repo advice.

The other committer's guide was written years before the cross repo
commit bit stuff. Harmonize and expand a little the advice given to make
it also match the tone of the new policy and our usual practices being a
little more relaxed than what was documented previously.

Sponsored by:           Netflix
Feedback by:            jhb
Differential Revision:  https://reviews.freebsd.org/D58007
DeltaFile
+22-5documentation/content/en/articles/committers-guide/_index.adoc
+3-0website/content/en/internal/cross-repo-commits.adoc
+25-52 files

LLVM/project 23977e6clang/test/SemaCXX warn-unused-local-typedef-deterministic-order.cpp, lldb/source/Commands CommandObjectScripting.cpp

address review feedback

Created using spr 1.3.7
DeltaFile
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+200-80clang/test/SemaCXX/warn-unused-local-typedef-deterministic-order.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+0-162llvm/lib/Target/NVPTX/NVPTXSetByValParamAlign.cpp
+0-120llvm/test/CodeGen/NVPTX/set-byval-param-align.ll
+899-39335 files not shown
+1,433-57841 files

LLVM/project 514b75blldb/source/Commands CommandObjectScripting.cpp, lldb/source/Core PluginManager.cpp

[lldb/script] Improve `scripting extension list` output and filtering (#209400)

This patch improves `scripting extension list` in three ways.

First, it groups the output by `ScriptedExtension`: instead of one row
per registered plugin instance, one entry per extension is printed with
a combined `Language` field.

Second, it colorizes and visually separates the output. Each entry is
preceded by a dimmed dashed separator; field labels are printed in bold
green, the extension name value in bold cyan as a mini-heading, and
`None` usage values are dimmed, all via the same
`ansi::FormatAnsiTerminalCodes(..., use_color)` idiom
`Breakpoint::GetDescription` uses elsewhere, gracefully no-op when color
is disabled or unsupported. `ScriptedInterfaceUsages::Dump` takes an
optional `use_color` parameter so its own `API Usages:` / `Command
Interpreter Usages:` labels can match.

Third, it adds `-j`/`--json` to emit a JSON array of `{name,

    [14 lines not shown]
DeltaFile
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+103-0lldb/test/API/commands/scripting/extension/TestScriptingExtensionListJSON.py
+48-41lldb/test/Shell/Commands/command-scripting-extension-list.test
+45-0lldb/source/Interpreter/ScriptInterpreter.cpp
+13-3lldb/source/Interpreter/Interfaces/ScriptedInterfaceUsages.cpp
+13-0lldb/source/Core/PluginManager.cpp
+387-758 files not shown
+416-7714 files

LLVM/project 75fd1caclang/lib/Analysis ThreadSafety.cpp, clang/test/SemaCXX warn-thread-safety-analysis.cpp

Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330)

Previously, statement expressions (`({ bool b = mu.TryLock(); b; })`)
used as try-lock conditions were not supported. Handle StmtExpr in
getTrylockCallExpr() by recursively analyzing the last statement of the
statement expression.
DeltaFile
+14-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+5-0clang/lib/Analysis/ThreadSafety.cpp
+19-02 files

LLVM/project e2fe51eutils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel plugin_config.bzl

[lldb][bazel] Add ScriptedFrameProvider plugin to the Bazel overlay (#209634)

Adds the PluginScriptedFrameProvider cc_library for the new
SyntheticFrameProvider/ScriptedFrameProvider category and registers it
in DEFAULT_PLUGINS. Deps mirror the plugin's CMakeLists.txt (lldbCore,
lldbInterpreter, lldbTarget, lldbUtility, Support) plus the
:PluginScriptedProcess plugin dep it uses.

The ScriptedFrameProvider plugin was added upstream in PR #161870
("[lldb] Introduce ScriptedFrameProvider for real threads"), relanded as
PR #170236; this wires it into the Bazel overlay build.

bazel rule creation assisted with: claude

Can confirm this rule translates into a valid buck2 rule for Meta to
build internally, but no bazel build locally; will await CI testing.
DeltaFile
+18-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl
+19-02 files

LLVM/project 68f74b7llvm/utils/TableGen/Common CodeGenDAGPatterns.cpp

[NFC] [TableGen] mention `srcvalue` in unused input error (#209633)
DeltaFile
+2-1llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+2-11 files

LLVM/project 4d0a302llvm/lib/Target/NVPTX NVPTXPromoteParamAlign.cpp NVPTXSetByValParamAlign.cpp, llvm/test/CodeGen/NVPTX promote-param-align.ll set-byval-param-align.ll

[NVPTX] Promote internal function alignments in IR pass (#208040)

During lowering NVPTX will update the alignment of parameters and return
values if the function is internal and has only compatible direct calls.
Previously this happened within the alignment helper functions during
ISel and assembly printing making it opaque and unreliable. This change
moves that logic to an IR pass so that it can be inspected and disabled
more easily.
DeltaFile
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+0-162llvm/lib/Target/NVPTX/NVPTXSetByValParamAlign.cpp
+0-120llvm/test/CodeGen/NVPTX/set-byval-param-align.ll
+29-28llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
+13-19llvm/lib/Target/NVPTX/NVPTXUtilities.h
+576-3297 files not shown
+608-36713 files

FreeBSD/ports 58be4a0games/trx distinfo Makefile

games/trx: Update to 1.9.2

ChangeLog: https://github.com/LostArtefacts/TRX/releases/tag/trx-1.9.2
DeltaFile
+3-3games/trx/distinfo
+1-1games/trx/Makefile
+4-42 files

LLVM/project 2e38be8lldb/source/Expression DWARFExpression.cpp, lldb/source/Target RegisterContextUnwind.cpp

[lldb] Allow generic operands in DWARF binary type check (#209641)

fc298ccbc52a's CheckScalarOperandsHaveSameType also rejects legitimate
generic-typed operands, breaking breakpad STACK WIN / raSearch unwinding
on 32-bit targets. For `DW_OP_breg7 +0, DW_OP_consts +80, DW_OP_plus`,
DW_OP_breg yields a register-sized (8-byte) scalar while DW_OP_const*
yields an address-sized (4-byte) generic one. The strict size gate ran
before the genericness escape, and the escape only checked the left
operand, so the CFA expression was rejected and the unwind failed.

Reorder so two integers that are each at least as wide as the generic
type are accepted before the size/signedness gate. The commit's own
type-check unit tests still pass.

Also fix a latent crash the failure exposed: ReadFrameAddress and
GetReturnAddressHint only consumed the error inside an UNWIND_LOG
argument, which is skipped when the log is off, so the errored Expected
was destroyed unchecked and aborted. Consume it via LLDB_LOG_ERROR /
LLDB_LOG_ERRORV instead.
DeltaFile
+28-19lldb/source/Expression/DWARFExpression.cpp
+4-5lldb/source/Target/RegisterContextUnwind.cpp
+32-242 files

FreeBSD/ports 6aff6camath/lean4 pkg-plist Makefile

math/lean4: update 4.31.0 → 4.32.0
DeltaFile
+288-216math/lean4/pkg-plist
+6-3math/lean4/Makefile
+3-3math/lean4/distinfo
+297-2223 files

FreeBSD/ports 60a509dmisc Makefile, misc/py-groq Makefile pkg-descr

misc/py-groq: New port: Official Python library for the Groq API
DeltaFile
+42-0misc/py-groq/Makefile
+34-0misc/py-groq/files/patch-pyproject.toml
+4-0misc/py-groq/pkg-descr
+3-0misc/py-groq/distinfo
+1-0misc/Makefile
+84-05 files

FreeBSD/ports 3dd6a7amisc/colibri Makefile pkg-plist, misc/colibri/files patch-c_resource__plan.py patch-c_tests_test__makefile__platform.py

misc/colibri: New port: Run GLM-5.2 (744B MoE) on a 25GB-RAM consumer machine
DeltaFile
+34-0misc/colibri/Makefile
+30-0misc/colibri/files/patch-c_resource__plan.py
+23-0misc/colibri/files/patch-c_tests_test__makefile__platform.py
+22-0misc/colibri/pkg-plist
+14-0misc/colibri/pkg-message
+8-0misc/colibri/pkg-descr
+131-02 files not shown
+135-08 files

LLVM/project 71db296mlir/lib/Dialect/SparseTensor/Transforms SparseIterationToScf.cpp, mlir/test/Dialect/SparseTensor sparse_iteration_to_scf.mlir

[mlir][sparse] Handle dense iterators in sparse iteration lowering (#208963)

Fixes #205980.

`lower-sparse-iteration-to-scf` always called `linkNewScope()` when
lowering
iterators handled by `scf.for`. Dense levels are random-access
iterators, and
`linkNewScope()` asserts for random-access iterators because those
should be
  traversed by coordinate.

Use `locate()` for random-access iterators and keep `linkNewScope()` for
  non-random-access iterators.

  Verification:
  - `cmake --build /tmp/mlir-208198 --target mlir-opt`
- `/tmp/mlir-208198/bin/mlir-opt -lower-sparse-iteration-to-scf
/tmp/issue-

    [4 lines not shown]
DeltaFile
+15-0mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
+4-1mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
+19-12 files

LLVM/project 629da97llvm/lib/Target/AMDGPU SIRegisterInfo.cpp, llvm/test/CodeGen/AMDGPU eliminate-frame-index-flat-scratch-svs.mir

[AMDGPU] Fold constant offset into SV form addressing in SVS frame index fallback
DeltaFile
+16-16llvm/test/CodeGen/AMDGPU/eliminate-frame-index-flat-scratch-svs.mir
+13-2llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+29-182 files

LLVM/project a012988clang/test/C/C2y n3267.c, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

fix lldb

Created using spr 1.3.7
DeltaFile
+578-0llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit-postinc.ll
+0-514llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+213-0clang/test/C/C2y/n3267.c
+153-0llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit-latch-counted.ll
+76-76llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32.mir
+1,279-590273 files not shown
+3,546-1,515279 files

LLVM/project e615cb5clang/include/clang/Sema Sema.h, clang/lib/Sema Sema.cpp

clang-format

Created using spr 1.3.7
DeltaFile
+5-4clang/lib/Sema/Sema.cpp
+2-1clang/include/clang/Sema/Sema.h
+7-52 files

LLVM/project d48deb7clang/include/clang/Sema Sema.h, clang/include/clang/Serialization ASTReader.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+92-0clang/test/SemaCXX/warn-unused-local-typedef-deterministic-order.cpp
+27-0clang/test/PCH/unused-local-typedef-determinism.cpp
+16-1clang/lib/Sema/Sema.cpp
+8-4clang/lib/Serialization/ASTWriter.cpp
+5-2clang/include/clang/Sema/Sema.h
+1-1clang/include/clang/Serialization/ASTReader.h
+149-84 files not shown
+153-1210 files

FreeNAS/freenas 78226efsrc/middlewared/middlewared/plugins/catalog config.py

NAS-141786 / 26.0.0-RC.1 / Merge catalog update onto current config before persisting (by Qubad786) (#19318)

## Problem
`catalog.update` wrote the raw partial request straight to the datastore
and validated it directly. Because `CatalogUpdate` is a for-update
model, a call that omits `preferred_trains` left the field as the
`undefined` sentinel — so on ENTERPRISE systems
`OFFICIAL_ENTERPRISE_TRAIN not in data.preferred_trains` raised a
TypeError, and any partial write could drop the existing trains.

## Solution
Read the current config, merge the incoming update onto it, then
validate and persist the merged result so partial updates keep untouched
fields. Only `preferred_trains` is written back, since it's the sole
stored column.

Original PR: https://github.com/truenas/middleware/pull/19314

Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>
DeltaFile
+6-3src/middlewared/middlewared/plugins/catalog/config.py
+6-31 files

LLVM/project 5fc6966flang/lib/Semantics check-omp-structure.cpp, flang/test/Semantics/OpenMP declare-simd-scope.f90 declare-simd.f90

[flang][OpenMP] Check the context of the declare_simd directive (#209318)

OpenMP 6.0, 9.8 "declare_simd Directive", restricts the placement of the
directive:

  Any declare_simd directive must appear in the specification part of a
  subroutine subprogram, function subprogram, or interface body to which
  it applies.

Flang did not enforce this, and accepted the directive in the
specification part of a module, submodule, main program or block data.

Note: the restriction requiring the argument to name the procedure to
which the directive applies is not implemented here.

Fixes #205478
DeltaFile
+93-0flang/test/Semantics/OpenMP/declare-simd-scope.f90
+15-9flang/test/Semantics/OpenMP/declare-simd.f90
+20-0flang/lib/Semantics/check-omp-structure.cpp
+3-0flang/test/Semantics/OpenMP/declare-simd-empty.f90
+131-94 files

OpenBSD/ports ieBc2egsysutils/u-boot/octeon Makefile

   sysutils/u-boot/octeon: add missed BDEP; reported by naddy@
VersionDeltaFile
1.2+2-1sysutils/u-boot/octeon/Makefile
+2-11 files

FreeNAS/freenas 4eb6c20src/middlewared/middlewared/plugins/zfs snapshot_rollback_impl.py

NAS-141780 / 26.0.0-BETA.3 / Use get_clones() for clone destruction during rollback (by anodos325) (#19316)

Use the built-in method for snapshot objects `get_clones()` rather than
trying to read and parse the libzfs dataset clones property.

Original PR: https://github.com/truenas/middleware/pull/19315

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+10-12src/middlewared/middlewared/plugins/zfs/snapshot_rollback_impl.py
+10-121 files

FreeNAS/freenas 51206c6src/middlewared/middlewared/plugins/zfs snapshot_rollback_impl.py

NAS-141780 / 26.0.0-RC.1 / Use get_clones() for clone destruction during rollback (by anodos325) (#19317)

Use the built-in method for snapshot objects `get_clones()` rather than
trying to read and parse the libzfs dataset clones property.

Original PR: https://github.com/truenas/middleware/pull/19315

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+10-12src/middlewared/middlewared/plugins/zfs/snapshot_rollback_impl.py
+10-121 files

FreeBSD/ports 445d97cgraphics/cimg distinfo Makefile

graphics/cimg: upgrade to 4.0.2
DeltaFile
+3-3graphics/cimg/distinfo
+1-1graphics/cimg/Makefile
+4-42 files

FreeBSD/ports e2280fcmath/eclib pkg-plist Makefile, math/eclib/files patch-configure.ac

math/eclib: upgrade to 20260707

Also add a test target.
DeltaFile
+16-13math/eclib/pkg-plist
+0-17math/eclib/files/patch-configure.ac
+4-4math/eclib/Makefile
+3-3math/eclib/distinfo
+23-374 files

FreeBSD/ports 0e9d109cad/tochnog Makefile, cad/tochnog/files patch-makefile patch-tochnog.h

cad/tochnog: fix build

Don’t try to use f2c for compilation, just link with it.

Since I’m here, remove the ATLAS option and switch to openBLAS.
DeltaFile
+16-15cad/tochnog/files/patch-makefile
+11-19cad/tochnog/Makefile
+14-6cad/tochnog/files/patch-tochnog.h
+6-7cad/tochnog/files/patch-tn.cc
+2-2cad/tochnog/files/patch-sysposix.cc
+2-2cad/tochnog/files/patch-tnsuplu.h
+51-516 files

FreeBSD/ports b7cda01cad/verilator Makefile

cad/verilator: Bump after adding dependency

PR:             296673
Approved by:    portmgr (blanket)
Fixes:          40e5f725452b ("cad/verilator: Add missing lz4 run-time dependency")

(cherry picked from commit bb7e2e391c85eed8375739c4b7341de80b5c3598)
DeltaFile
+1-0cad/verilator/Makefile
+1-01 files