HardenedBSD/src b10f92ashare/man/man4 ixv.4, sys/dev/e1000 e1000_defines.h if_em.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+895-17sys/dev/e1000/if_em.c
+104-67sys/dev/ixgbe/if_ixv.c
+98-0share/man/man4/ixv.4
+70-20sys/dev/ixgbe/if_ix.c
+63-0sys/dev/e1000/e1000_defines.h
+38-24sys/dev/igc/if_igc.c
+1,268-12815 files not shown
+1,508-15721 files

LLVM/project 9bda6c4clang/lib/Parse ParseDecl.cpp

[clang][NFC] Fix comment in `ParseDecl.cpp` (#219761)

Solve
https://github.com/llvm/llvm-project/pull/219270#discussion_r3887904776
DeltaFile
+1-1clang/lib/Parse/ParseDecl.cpp
+1-11 files

LLVM/project 59e78e8orc-rt/include/orc-rt-internal/support/sys CacheControl.h, orc-rt/include/orc-rt-internal/support/sys/posix CacheControl.h

[orc-rt] Fold the default clear_icache into sys/CacheControl.h. (#219758)

It was in a sys/posix/ header, but the default belongs with the
declaration: sys/CacheControl.h now selects on the builtin rather than
on an OS, so a freestanding target -- which has no __unix__ but does
have the builtin -- is served too. Darwin keeps its own header, to call
libSystem directly rather than depend on __clear_cache being linked in.
DeltaFile
+0-31orc-rt/include/orc-rt-internal/support/sys/posix/CacheControl.h
+20-10orc-rt/include/orc-rt-internal/support/sys/CacheControl.h
+20-412 files

FreeBSD/ports 7202308misc/py-anthropic Makefile distinfo, misc/py-anthropic/files patch-pyproject.toml

misc/py-anthropic: update to 1.2.0
DeltaFile
+4-4misc/py-anthropic/files/patch-pyproject.toml
+3-3misc/py-anthropic/distinfo
+2-3misc/py-anthropic/Makefile
+9-103 files

HardenedBSD/ports 7202308misc/py-anthropic Makefile distinfo, misc/py-anthropic/files patch-pyproject.toml

misc/py-anthropic: update to 1.2.0
DeltaFile
+4-4misc/py-anthropic/files/patch-pyproject.toml
+3-3misc/py-anthropic/distinfo
+2-3misc/py-anthropic/Makefile
+9-103 files

FreeBSD/ports 27fe18fsecurity/cl-md5-sbcl Makefile, textproc/cl-ppcre-sbcl Makefile

*/*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.
DeltaFile
+1-1x11/cl-clx-sbcl/Makefile
+1-1x11-wm/stumpwm/Makefile
+1-1www/nyxt/Makefile
+1-1www/cl-lml-sbcl/Makefile
+1-1textproc/cl-ppcre-sbcl/Makefile
+1-1security/cl-md5-sbcl/Makefile
+6-614 files not shown
+20-2020 files

HardenedBSD/ports 27fe18fsecurity/cl-md5-sbcl Makefile, textproc/cl-ppcre-sbcl Makefile

*/*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.
DeltaFile
+1-1x11/cl-clx-sbcl/Makefile
+1-1x11-wm/stumpwm/Makefile
+1-1www/nyxt/Makefile
+1-1www/cl-lml-sbcl/Makefile
+1-1textproc/cl-ppcre-sbcl/Makefile
+1-1security/cl-md5-sbcl/Makefile
+6-614 files not shown
+20-2020 files

FreeBSD/ports 79ff116lang/sbcl Makefile distinfo, lang/sbcl/files patch-contrib_sb-manual_texinfo.lisp

lang/sbcl: Update to 2.6.8
DeltaFile
+0-110lang/sbcl/files/patch-contrib_sb-manual_texinfo.lisp
+3-3lang/sbcl/distinfo
+1-2lang/sbcl/Makefile
+4-1153 files

HardenedBSD/ports 79ff116lang/sbcl Makefile distinfo, lang/sbcl/files patch-contrib_sb-manual_texinfo.lisp

lang/sbcl: Update to 2.6.8
DeltaFile
+0-110lang/sbcl/files/patch-contrib_sb-manual_texinfo.lisp
+3-3lang/sbcl/distinfo
+1-2lang/sbcl/Makefile
+4-1153 files

HardenedBSD/ports b262313www/code-server Makefile pkg-plist

www/code-server: Update to 4.135.0

Update to code-server 4.135.0, which bundles VS Code 1.135.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-11www/code-server/distinfo
+11-0www/code-server/pkg-plist
+2-2www/code-server/Makefile
+24-133 files

FreeBSD/ports b262313www/code-server Makefile pkg-plist

www/code-server: Update to 4.135.0

Update to code-server 4.135.0, which bundles VS Code 1.135.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-11www/code-server/distinfo
+11-0www/code-server/pkg-plist
+2-2www/code-server/Makefile
+24-133 files

HardenedBSD/ports e1b100fcad/qcad Makefile distinfo, cad/qcad/files patch-src_entity_entity.pro

cad/qcad: Update qcad and related *jsapi* to 3.33.0.0
DeltaFile
+24,281-5,292cad/qcad/pkg-plist
+3-6cad/qcad/files/patch-src_entity_entity.pro
+3-3cad/qtjsapi/distinfo
+3-3cad/qcadjsapi/distinfo
+3-3cad/qcad/distinfo
+4-1cad/qcad/Makefile
+24,297-5,3084 files not shown
+24,303-5,31410 files

FreeBSD/ports e1b100fcad/qcad Makefile distinfo, cad/qcad/files patch-src_entity_entity.pro

cad/qcad: Update qcad and related *jsapi* to 3.33.0.0
DeltaFile
+24,281-5,292cad/qcad/pkg-plist
+3-6cad/qcad/files/patch-src_entity_entity.pro
+3-3cad/qtjsapi/distinfo
+3-3cad/qcadjsapi/distinfo
+3-3cad/qcad/distinfo
+4-1cad/qcad/Makefile
+24,297-5,3084 files not shown
+24,303-5,31410 files

LLVM/project 11e915flld/ELF SyntheticSections.cpp, llvm/include/llvm/ADT FoldingSet.h

[FoldingSet] Add typed lookup/insert/erase/getOrInsert (#219644)

FindNodeOrInsertPos hands the insertion state to InsertNode as a `void *`:
any pointer converts to it, only a comment says where it may come from,
and since the switch to linear probing the value is the node's hash, not
a position at all.

Carry it in FoldingSetInsertToken instead, the hash wrapped in a type
whose constructor and accessor are private to FoldingSetBase, with
NotAHash as the no-token state. The `void *` overloads remain,
forwarding to the typed ones, until their callers are migrated.

LLM-aided
DeltaFile
+85-38llvm/include/llvm/ADT/FoldingSet.h
+42-45llvm/lib/TableGen/Record.cpp
+43-26llvm/unittests/ADT/FoldingSet.cpp
+23-10llvm/lib/Support/FoldingSet.cpp
+3-3lld/ELF/SyntheticSections.cpp
+196-1225 files

LLVM/project 93c6f4fclang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/test/Analysis/Scalable/source-edit-generation end-to-end-cpp-bounded-buffers.cpp

[SSAF][clang-reforge] Add end-to-end clang-reforge tests

- Make CppBoundedBuffers adapt to flattened WPA results;
- Let CppBoundedBuffers use qualified EntityNames so that it can
  associate ASTNodes with WPA results;
- Add end-to-end tests

Final step of:
rdar://185840466
DeltaFile
+623-0clang/test/Analysis/Scalable/source-edit-generation/end-to-end-cpp-bounded-buffers.cpp
+23-9clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+22-4clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+668-133 files

LLVM/project acb8ba4clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp

[SSAF] Flatten 'UnsafeBufferReachableAnalysisResult' to a plain set

Previously, an 'UnsafeBufferReachableAnalysisResult' was organized as
a map from contributors to their mutually exclusive
sub-results. Because this extra layer of contributor information
proved unnecessary, this commit flattens the result into a plain set.

The source transformation expects the result to be a plain set, so
this is a prerequisite step for
rdar://185840466
DeltaFile
+10-10clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+5-11clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+4-7clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+1-4clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+1-3clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+0-3clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
+21-381 files not shown
+23-397 files

LLVM/project 61a82f0clang/include/clang/ScalableStaticAnalysis/Core ASTEntityMapping.h, clang/include/clang/ScalableStaticAnalysis/SourceTransformation Transformation.h

[SSAF] Add APIs for resolving bare EntityNames to qualified EntityNames

Also give Transformation access to SSAFOptions so that it can use
link-unit and compilation-unit IDs to resolve bare EntityNames.

first step of
rdar://185840466
DeltaFile
+64-0clang/lib/ScalableStaticAnalysis/Core/ASTEntityMapping.cpp
+0-41clang/lib/ScalableStaticAnalysis/Core/TUSummary/TUSummaryExtractor.cpp
+35-0clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
+26-0clang/include/clang/ScalableStaticAnalysis/Core/ASTEntityMapping.h
+5-5clang/lib/ScalableStaticAnalysis/Core/EntityLinker/EntityLinker.cpp
+6-3clang/include/clang/ScalableStaticAnalysis/SourceTransformation/Transformation.h
+136-498 files not shown
+172-5714 files

LLVM/project 5aacc08clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/unittests/ScalableStaticAnalysis/SourceTransformation CppBoundedBuffersTest.cpp

fix clang-format
DeltaFile
+4-2clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+1-1clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+5-32 files

LLVM/project 7312ebaclang/unittests/ScalableStaticAnalysis ASTEntityMappingTest.cpp

fix clang-format
DeltaFile
+2-3clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
+2-31 files

LLVM/project 0f3ffcdclang/docs/ScalableStaticAnalysis/user-docs SourceEditGeneration.md, clang/include/clang/Frontend SSAFOptions.h

[SSAF][SourceTransform] Add '--ssaf-link-unit-id=' for specifying link unit IDs (#218823)

The source-transformation pass takes WPA results as input, where
entities are named under link-unit and compilation-unit namespaces. To
associate ASTNodes with entities, the source-transformation pass needs
to know both link-unit and compilation-unit IDs. Such information is
provided by the caller.

rdar://185818153
DeltaFile
+30-5clang/test/Analysis/Scalable/source-edit-generation/cli-errors.cpp
+8-3clang/docs/ScalableStaticAnalysis/user-docs/SourceEditGeneration.md
+9-0clang/include/clang/Options/Options.td
+6-0clang/lib/ScalableStaticAnalysis/Frontend/SourceTransformationFrontendAction.cpp
+4-0clang/include/clang/Frontend/SSAFOptions.h
+2-1clang/test/Analysis/Scalable/source-edit-generation/downgradable-errors.cpp
+59-96 files not shown
+68-1012 files

LLVM/project 00aa82bflang/lib/Semantics expression.cpp, flang/test/Semantics bindings09.f90

[flang][Semantics] Resolve private PDT binding overrides (#218832)

Use the selected binding declaration owner when determining the module
in which a private binding may be overridden. A generic cloned into a
PDT instantiation is owned by the instantiation scope, which can
otherwise cause a legal same-module override to be skipped.

Add coverage for external, unrelated-module, module-owned, use-renamed,
and cross-module private/public PDT cases.

Fixes #218683

Assisted-by: AI
DeltaFile
+134-0flang/test/Semantics/bindings09.f90
+1-1flang/lib/Semantics/expression.cpp
+135-12 files

LLVM/project 09be095llvm/tools/dsymutil MachODebugMapParser.cpp

[dsymutil] Fix cross-container iterator comparison in MachODebugMapParser (#219370)

This patch fixes a cross-container iterator comparison in
handleStabSymbolTableEntry.

Without this patch, ObjectSymIt starts as an iterator into
CurrentObjectAddresses.  If alias lookup succeeds, ObjectSymIt is
assigned AliasIt, an iterator into CurrentObjectAliasMap:

  auto AliasIt = CurrentObjectAliasMap.find(Name);
  if (AliasIt != CurrentObjectAliasMap.end())
    ObjectSymIt = AliasIt;

Subsequent checks then evaluate:

  if (ObjectSymIt == CurrentObjectAddresses.end())

which compares an iterator from CurrentObjectAliasMap against the end of
CurrentObjectAddresses.

    [7 lines not shown]
DeltaFile
+12-10llvm/tools/dsymutil/MachODebugMapParser.cpp
+12-101 files

LLVM/project f4a4a1dflang/test/Semantics func-proc-result-callees.f90 func-proc-result-valid.f90

[flang][test] Extend coverage for procedure-valued function results (#219477)

Follow-up test coverage for #216322, which fixed `IsProcedure()` for
references to functions whose result is a plain procedure — a shape that
previously aborted a production build on the `CHECK(IsProcedure(expr) ||
IsProcedurePointer(expr))` in intrinsic argument checking instead of
reporting the declaration error flang had already recorded.

The tests that landed with that fix reference the callee directly and
recursively (`func-proc-result.f90`) or vary the intrinsic
(`func-proc-result-intrinsics.f90`). This adds the two dimensions they
leave uncovered.

Assisted-by: AI
DeltaFile
+136-0flang/test/Semantics/func-proc-result-valid.f90
+108-0flang/test/Semantics/func-proc-result-callees.f90
+244-02 files

FreeBSD/src 1911838sys/dev/dpaa fman_xmdio.c

dpaa/fman_xmdio: Make xmdio a "real" MDIO

Instead of forcing an `mdio` pseudo-device to hang off the xmdio, rename
xmdio to "mdio" and make it an ofw bus device, akin to the mii_fdt
driver, so that children can get the device tree goodies.
DeltaFile
+45-6sys/dev/dpaa/fman_xmdio.c
+45-61 files

FreeBSD/src 32b99a2sys/dev/dpaa fman.c

dpaa/fman: Pad the qman channel search array

The loop goes over the qman channel total (16), so if a port ID is not
found in the list it could walk off the end of the list and return
garbage.  Not a problem in practice, as only valid ports are included in
our device trees, but protect it anyway.
DeltaFile
+3-3sys/dev/dpaa/fman.c
+3-31 files

LLVM/project 45b4eeallvm/include/llvm/ADT FoldingSet.h DenseMap.h, llvm/unittests/ADT DenseMapTest.cpp FoldingSet.cpp

[ADT] Add DebugEpochBase::HandleBase::isComparableWith (#219738)

This patch unifies operator== across hash table iterators with
DebugEpochBase::HandleBase::isComparableWith, performing the following
safety checks:

- LHS is either default-constructed or in sync with its container.

- RHS is likewise either default-constructed or in sync with its
container.

- Both iterators belong to the same container instance and share the
  same state (without intervening mutations).

Assisted-by: Antigravity
DeltaFile
+19-0llvm/unittests/ADT/FoldingSet.cpp
+18-0llvm/unittests/ADT/DenseMapTest.cpp
+10-0llvm/include/llvm/ADT/EpochTracker.h
+1-6llvm/include/llvm/ADT/DenseMap.h
+1-1llvm/include/llvm/ADT/FoldingSet.h
+49-75 files

FreeBSD/src 26d5c4fsys/powerpc/pseries xics.c

powerpc64/powernv: Migrate XICS to PIC_AP_INIT

Get rid of the powernv-specific AP callback and use the new-ish
PIC_AP_INIT() PIC KPI instead.
DeltaFile
+7-10sys/powerpc/pseries/xics.c
+7-101 files

NetBSD/src hoIO0JOsys/net if_wg.c

   if_wg.c: s/liftime/lifetime in sysctl descriptions
VersionDeltaFile
1.143+4-4sys/net/if_wg.c
+4-41 files

FreeBSD/ports 7541161math/octave-forge-statistics Makefile distinfo

math/octave-forge-statistics: Update to 1.9.1.
DeltaFile
+3-3math/octave-forge-statistics/distinfo
+1-1math/octave-forge-statistics/Makefile
+4-42 files

HardenedBSD/ports 7541161math/octave-forge-statistics Makefile distinfo

math/octave-forge-statistics: Update to 1.9.1.
DeltaFile
+3-3math/octave-forge-statistics/distinfo
+1-1math/octave-forge-statistics/Makefile
+4-42 files