LLVM/project 43e798eclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGenCXX bpf-debug-info-alias.cpp

[BPF] Handle aliases in CodeGenModule::EmitExternalDeclaration. Fixes #192365 (#192374)

Adds handling of global aliases in
CodeGenModule::EmitExternalDeclaration. This fixes a clang crash on some
real code, see llvm#192365.
DeltaFile
+16-0clang/test/CodeGenCXX/bpf-debug-info-alias.cpp
+4-0clang/lib/CodeGen/CodeGenModule.cpp
+20-02 files

FreeBSD/ports 47c6817misc/py-comfyui-workflow-templates-media-other distinfo Makefile

misc/py-comfyui-workflow-templates-media-other: update 0.3.170 → 0.3.176
DeltaFile
+3-3misc/py-comfyui-workflow-templates-media-other/distinfo
+1-1misc/py-comfyui-workflow-templates-media-other/Makefile
+4-42 files

FreeBSD/ports eabc2eemisc/py-comfyui-workflow-templates-media-image distinfo Makefile

misc/py-comfyui-workflow-templates-media-image: update 0.3.119 → 0.3.127
DeltaFile
+3-3misc/py-comfyui-workflow-templates-media-image/distinfo
+1-1misc/py-comfyui-workflow-templates-media-image/Makefile
+4-42 files

FreeBSD/ports 8bbdc17misc/py-comfyui-workflow-templates Makefile distinfo

misc/py-comfyui-workflow-templates: update 0.9.49 → 0.9.57
DeltaFile
+6-6misc/py-comfyui-workflow-templates/Makefile
+3-3misc/py-comfyui-workflow-templates/distinfo
+9-92 files

FreeBSD/ports 0b9d312misc/py-comfyui-workflow-templates-media-video distinfo Makefile

misc/py-comfyui-workflow-templates-media-video: update 0.3.76 → 0.3.78
DeltaFile
+3-3misc/py-comfyui-workflow-templates-media-video/distinfo
+1-1misc/py-comfyui-workflow-templates-media-video/Makefile
+4-42 files

FreeBSD/ports 9bdc982misc/comfyui distinfo Makefile

misc/comfyui: update 0.19.0 → 0.19.3
DeltaFile
+3-3misc/comfyui/distinfo
+1-1misc/comfyui/Makefile
+1-0misc/comfyui/pkg-plist
+5-43 files

FreeBSD/ports e624494misc/py-comfyui-workflow-templates-core distinfo Makefile

misc/py-comfyui-workflow-templates-core: update 0.3.198 → 0.3.209
DeltaFile
+3-3misc/py-comfyui-workflow-templates-core/distinfo
+1-1misc/py-comfyui-workflow-templates-core/Makefile
+4-42 files

FreeBSD/ports 6c385c8devel Makefile, devel/py-lazyarray Makefile pkg-descr

devel/py-lazyarray: New port

lazyarray is a Python package that provides a lazily-evaluated numerical
array class, larray, based on and compatible with NumPy arrays.

Lazy evaluation means that any operations on the array (potentially including
array construction) are not performed immediately, but are delayed until
evaluation is specifically requested. Evaluation of only parts of the array
is also possible.
DeltaFile
+24-0devel/py-lazyarray/Makefile
+11-0devel/py-lazyarray/files/patch-pyproject.toml
+7-0devel/py-lazyarray/pkg-descr
+3-0devel/py-lazyarray/distinfo
+1-0devel/Makefile
+46-05 files

FreeBSD/ports db7d12dmath/py-arviz-plots Makefile pkg-descr, math/py-arviz-plots/files patch-src_arviz__plots_____init____.py patch-tests_conftest.py

math/py-arviz-plots: New port: Ready to use and composable plots for Bayesian Workflow
DeltaFile
+42-0math/py-arviz-plots/Makefile
+17-0math/py-arviz-plots/files/patch-src_arviz__plots_____init____.py
+11-0math/py-arviz-plots/files/patch-tests_conftest.py
+11-0math/py-arviz-plots/files/patch-pyproject.toml
+4-0math/py-arviz-plots/pkg-descr
+3-0math/py-arviz-plots/distinfo
+88-01 files not shown
+89-07 files

FreeBSD/ports 569ccc1math Makefile, math/py-arviz-stats Makefile pkg-descr

math/py-arviz-stats: New port: Statistical computation and diagnostics for ArviZ
DeltaFile
+37-0math/py-arviz-stats/Makefile
+20-0math/py-arviz-stats/files/patch-pyproject.toml
+18-0math/py-arviz-stats/files/patch-src_arviz__stats_base_core.py
+4-0math/py-arviz-stats/pkg-descr
+3-0math/py-arviz-stats/distinfo
+1-0math/Makefile
+83-06 files

FreeBSD/ports 7186fabmath/py-arviz Makefile distinfo

math/py-arviz: update 0.23.1 → 1.0.0
DeltaFile
+10-24math/py-arviz/Makefile
+3-3math/py-arviz/distinfo
+13-272 files

FreeBSD/ports 4a555camath/py-mapbox-earcut Makefile distinfo

math/py-mapbox-earcut: update 1.0.2 → 2.0.0
DeltaFile
+6-7math/py-mapbox-earcut/Makefile
+3-3math/py-mapbox-earcut/distinfo
+9-102 files

FreeBSD/ports 0d79a06misc/py-pytorch/files patch-test_run__test.py patch-torch_csrc_jit_python_init.cpp

misc/py-pytorch: update 2.10.0 → 2.11.0

PR:             294601
Reported by:    Robert Cina <transitive at gmail.com>
DeltaFile
+59-0misc/py-pytorch/files/patch-test_run__test.py
+20-0misc/py-pytorch/files/patch-torch_csrc_jit_python_init.cpp
+17-0misc/py-pytorch/files/patch-torch_csrc_utils_python__arg__parser.cpp
+16-0misc/py-pytorch/files/patch-torch_jit___trace.py
+6-7misc/py-pytorch/files/patch-pyproject.toml
+11-0misc/py-pytorch/files/patch-torch_csrc_distributed_c10d_init.cpp
+129-712 files not shown
+178-3818 files

FreeBSD/ports 7c0290fmath Makefile, math/py-arviz-base Makefile pkg-descr

math/py-arviz-base: New port: Base ArviZ features and converters
DeltaFile
+36-0math/py-arviz-base/Makefile
+20-0math/py-arviz-base/files/patch-pyproject.toml
+4-0math/py-arviz-base/pkg-descr
+3-0math/py-arviz-base/distinfo
+1-0math/Makefile
+64-05 files

FreeBSD/ports 74f7b53math/py-linearmodels Makefile distinfo, math/py-linearmodels/files patch-pyproject.toml

math/py-linearmodels: update 6.1 → 7.0
DeltaFile
+11-10math/py-linearmodels/Makefile
+11-0math/py-linearmodels/files/patch-pyproject.toml
+3-3math/py-linearmodels/distinfo
+25-133 files

FreeBSD/ports 9f1bfc3devel/py-custodian distinfo Makefile

devel/py-custodian: update 2024.10.16 → 2025.12.14
DeltaFile
+3-3devel/py-custodian/distinfo
+2-2devel/py-custodian/Makefile
+5-52 files

FreeBSD/ports 5c7f5cewww/py-playwright distinfo Makefile

www/py-playwright: update 1.55.0 → 1.58.0
DeltaFile
+5-5www/py-playwright/distinfo
+4-4www/py-playwright/Makefile
+9-92 files

LLVM/project 029abe6lldb/include/lldb/Core Debugger.h, lldb/source/Commands CommandObjectDWIMPrint.cpp

[lldb] Store the dummy target in the selected execution context (#190496)

Store the dummy target in the selected execution context. There's no
reason for everybody to have to independently fall back to the dummy
target.
DeltaFile
+35-0lldb/unittests/Core/DebuggerTest.cpp
+14-16lldb/source/Interpreter/CommandObject.cpp
+17-9lldb/source/Core/Debugger.cpp
+10-6lldb/include/lldb/Core/Debugger.h
+5-7lldb/source/Interpreter/CommandInterpreter.cpp
+2-4lldb/source/Commands/CommandObjectDWIMPrint.cpp
+83-421 files not shown
+84-437 files

LLVM/project 492f5d7llvm/test/CodeGen/RISCV attributes.ll

[RISCV] Add missing RUN line for RV32P to attributes.ll. NFC (#192750)
DeltaFile
+2-1llvm/test/CodeGen/RISCV/attributes.ll
+2-11 files

LLVM/project 25df9f2mlir/lib/Dialect/Tensor/Transforms FoldTensorSubsetOps.cpp, mlir/test/Dialect/Tensor fold-tensor-subset-ops.mlir

[mlir][tensor] Remove unit-stride restriction in InsertSliceOp folding  (#192600)

This PR replaces manual offset/size resolution with `affine::mergeOffsetsSizesAndStrides`, simplifying the code and extending subview-of-subview folding to support non-unit strides.
DeltaFile
+7-31mlir/lib/Dialect/Tensor/Transforms/FoldTensorSubsetOps.cpp
+24-5mlir/test/Dialect/Tensor/fold-tensor-subset-ops.mlir
+31-362 files

FreeBSD/src f1834d0sys/compat/linuxkpi/common/include/linux device.h

LinuxKPI: implement devm_kmemdup_array()

Implement devm_kmemdup_array() using devm_kmemdup() in order to
prepare for Linux v7.0 based drivers.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dumbbell
Differential Revision: https://reviews.freebsd.org/D56396
DeltaFile
+7-0sys/compat/linuxkpi/common/include/linux/device.h
+7-01 files

FreeBSD/src d2c8525sys/compat/linuxkpi/common/include/linux overflow.h

LinuxKPI: sync overflow.h from Linux v7.0

overflow.h was imported directly from Linux in 3208d4ad2b8320a.
Update the file to the newer version as needed for v7.0 driver updates.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Obtained from:  git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
                028ef9c96e96197026887c0f092424679298aae8 (tag: v7.0)
Reviewed by:    emaste, dumbbell
Differential Revision: https://reviews.freebsd.org/D56394
DeltaFile
+130-14sys/compat/linuxkpi/common/include/linux/overflow.h
+130-141 files

FreeBSD/src c72ac6asys/compat/linuxkpi/common/include/linux slab.h

LinuxKPI: add kmalloc_obj[s], kzalloc_obj[s], and kzalloc_flex

Drivers in Linux v7.0 seem to have changed to the new allocation
macros using a sweep.  Add the ones I encountered with wireless
drivers so far.  They all take an optional argument for a gfp_t,
which default_gfp() deals with.

The plural version "objs" takes an extra nitems argument in addition
to the size.  We use size_mul() to possibly detect overflows.

The "flex" version uses an extra variable to track the variable sized
array allocations and if supported by the compiler will use
__builtin_counted_by_ref() to properly track bounds.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dumbbell
Differential Revision: https://reviews.freebsd.org/D56395
DeltaFile
+23-1sys/compat/linuxkpi/common/include/linux/slab.h
+23-11 files

FreeBSD/src 524df65sys/compat/linuxkpi/common/include/linux compiler_types.h

LinuxKPI: conditionally add __flex_counter()

__flex_counter() is used by overflow.h and needed for "flex allocations".
It is either a void * typed 0 (NULL) (like this for _Generic checks),
or uses __builtin_counted_by_ref.

The latter was added to gcc and llvm fairly recently and while for gcc
the __has_builtin() check suffices, clang had parts broken until recently
so needs an extra check for the next major version.  The fixed hash is
currently not part of any tag to use, so we play it save (and hope 23
will have it).  It will be a while until we will see the builting to be
used but at least we will be prepared for it.  See inline comments for
the commit hashes and versions which added the feature.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dumbbell
Differential Revision: https://reviews.freebsd.org/D56393
DeltaFile
+13-0sys/compat/linuxkpi/common/include/linux/compiler_types.h
+13-01 files

FreeBSD/src 98297ffsys/compat/linuxkpi/common/include/linux hex.h kernel.h

LinuxKPI: move hex2bin() from kernel.h to new hex.h

New Linux v7.0 drivers include hex.h.  Rather than adding a dummy
header, migrate the kernel.h hex2bin() into hex.h, where it belongs.
Care needs to be taken as the _h2b() helper function is still used by
other bits in kernel.h.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    emaste, dumbbell
Differential Revision: https://reviews.freebsd.org/D56391
DeltaFile
+44-0sys/compat/linuxkpi/common/include/linux/hex.h
+1-31sys/compat/linuxkpi/common/include/linux/kernel.h
+45-312 files

FreeBSD/src 35b90c2sys/compat/linuxkpi/common/include/linux gfp.h

LinuxKPI: add default_gfp()

Various new allocation macros can take an optional gfp_t argument.
If the argument is not given we need to set the GFP_KERNEL default.
While this is only internally used and I initialy called it differently,
should this spread elsewhere having the same name as in Linux will be
good.

Sponsored by:   The FreeBSD Foundaton
MFC after:      3 days
Reviewed by:    dumbbell
Differential Revision: https://reviews.freebsd.org/D56392
DeltaFile
+3-0sys/compat/linuxkpi/common/include/linux/gfp.h
+3-01 files

FreeBSD/src 125b09dsys/net80211 ieee80211_radiotap.h

net80211: radiotap: add more VHT flags, and struct

Add the struct for VHT information and flags for the known and flag
field as documented on radiotap.org.  iwlwifi has started filling in
these details.

While here, add Copyright information for all the additions in the
last years.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+27-0sys/net80211/ieee80211_radiotap.h
+27-01 files

FreeBSD/src 99bbfb7sys/contrib/dev/rtw89 core.c

rtw89: add a warn about beacon_int or dtim_period being 0

While after the changes to LinuxKPI 802.11 we should never be assoc
and not have dtim_period set, we have seen before that this could
happen.  Add a WARN as that will help debugging the following DIV 0.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+4-0sys/contrib/dev/rtw89/core.c
+4-01 files

FreeBSD/src f5cd992sys/modules/bnxt/bnxt_en Makefile

bnxt_en: fix module Makefile for LinuxKPI

Rather than manually including the include directory for LinuxKPI
use the provided macro.  Before there was no -I for the dummy
directory and as files synced from Linux under a permissive license
may include them the build would fail.  overflow.h will include
linux/const.h which only exists as a dummy header at this point
on FreeBSD.

Sponsored by:   The FreeBSD Foundation
Fixes:          35b53f8c989f6
MFC after:      3 days
Reviewed by:    emaste
Differential Revision: https://reviews.freebsd.org/D56424
DeltaFile
+1-1sys/modules/bnxt/bnxt_en/Makefile
+1-11 files

FreeBSD/src 9f20a4esys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: make sure dtim_period is set

When going from ASSOC to RUN LinuxKPI based wireless drivers have
certian expectations written in various ways.  I believe mac80211
waits to see a beacon before setting the vif to assoc (or the sta
to AUTHORIZED).  We have some comments in lkpi_update_dtim_tsf()
for that.
In practice we can filter out the beacons already and know when
they came in as we count them but it is hard to split up the
state machine and defer the work.

So we make sure that dtim_period is set to at least 1 before
calling the (*vif_cfg_change) after setting assoc to true;
0 is a reserved value according to the standards.

We will update it once we see a beacon and in case the value
differs from 1 shortly afterwards from the recv_mgmt callback.

While iwlwifi seems to have coped with our initial implementation,

    [5 lines not shown]
DeltaFile
+16-5sys/compat/linuxkpi/common/src/linux_80211.c
+16-51 files