LLVM/project aac212futils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes e77ae26 (#199476)

This fixes e77ae26ca8ead5ca47dd6ed909031fb3c539a488.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+1-01 files

LLVM/project 9bd8bbb.github/workflows llvm-abi-tests.yml

workflows/llvm-abi-tests: Remove template expansions (#199436)

https://github.com/llvm/llvm-project/security/code-scanning/1655
https://github.com/llvm/llvm-project/security/code-scanning/1656
https://github.com/llvm/llvm-project/security/code-scanning/1657
https://github.com/llvm/llvm-project/security/code-scanning/1658
https://github.com/llvm/llvm-project/security/code-scanning/1659
https://github.com/llvm/llvm-project/security/code-scanning/1660
https://github.com/llvm/llvm-project/security/code-scanning/1661
https://github.com/llvm/llvm-project/security/code-scanning/1662
https://github.com/llvm/llvm-project/security/code-scanning/1663
https://github.com/llvm/llvm-project/security/code-scanning/1664
DeltaFile
+16-7.github/workflows/llvm-abi-tests.yml
+16-71 files

LLVM/project d06febclibcxx/include/__memory shared_ptr.h, libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const shared_ptr_Y.pass.cpp

[libc++] Fix shared_ptr(Y*) constraint check on GCC (#199429)

GCC has fixed SFINAEing on `delete` since at least GCC 11, so we can
properly constrain the constructor.
DeltaFile
+1-1libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_Y.pass.cpp
+1-1libcxx/include/__memory/shared_ptr.h
+2-22 files

OpenBSD/ports XyrE99Ocad/prusaslicer/patches patch-tests_sla_print_sla_test_utils_cpp

   Unbreak build with catch2 update

   From Renato Aguiar (maintainer)
VersionDeltaFile
1.3+14-7cad/prusaslicer/patches/patch-tests_sla_print_sla_test_utils_cpp
+14-71 files

OpenBSD/src RMyy5YKusr.bin/find function.c

   the waitpid() can only return a real pid.  none of the error cases can
   occur.  still, it is good style to check for != -1 before using WIFEXITED().
   forgot where i heard about this.
VersionDeltaFile
1.57+2-2usr.bin/find/function.c
+2-21 files

FreeBSD/ports 9211970math/octave-forge-miscellaneous distinfo Makefile

math/octave-forge-miscellaneous: Update to 1.3.3.
DeltaFile
+3-3math/octave-forge-miscellaneous/distinfo
+1-2math/octave-forge-miscellaneous/Makefile
+4-52 files

FreeBSD/ports ad9237bmath/octave-forge-mqtt Makefile distinfo

math/octave-forge-mqtt: Update to 0.0.7.
DeltaFile
+2-4math/octave-forge-mqtt/Makefile
+3-3math/octave-forge-mqtt/distinfo
+5-72 files

FreeBSD/ports 4b17d61math/octave-forge-instrument-control distinfo Makefile

math/octave-forge-instrument-control: Update to 0.10.1.
DeltaFile
+3-3math/octave-forge-instrument-control/distinfo
+1-2math/octave-forge-instrument-control/Makefile
+4-52 files

FreeBSD/ports 214a20asecurity Makefile, security/bumblebee pkg-descr Makefile

security/bumblebee: new port

Read-only supply-chain exposure scanner for developer endpoints
DeltaFile
+23-0security/bumblebee/pkg-descr
+21-0security/bumblebee/Makefile
+7-0security/bumblebee/distinfo
+1-0security/bumblebee/pkg-plist
+1-0security/Makefile
+53-05 files

LLVM/project 63bb8dcclang/lib/Driver/ToolChains CommonArgs.cpp

[Mips] Remove mips from omitting the frame pointer for Linux (#199381)

6b1f976858eea5a64f058ca48873be834bd79569 enabled omitting
the frame pointer no matter what OS so remove the now redundancy
with having this on the Linux path.
DeltaFile
+0-4clang/lib/Driver/ToolChains/CommonArgs.cpp
+0-41 files

NetBSD/pkgsrc-wip 898b37femacs-git PLIST

emacs-git: update PLIST
DeltaFile
+25-0emacs-git/PLIST
+25-01 files

NetBSD/pkgsrc SigRPU3doc CHANGES-2026

   doc: Updated graphics/libheif to 1.22.0nb1
VersionDeltaFile
1.3260+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc X3n8oWTgraphics/libheif Makefile distinfo, graphics/libheif/patches patch-libheif_api_libheif_heif__properties.h

   libheif: add upstream bugfix

   Bump PKGREVISION.
VersionDeltaFile
1.1+16-0graphics/libheif/patches/patch-libheif_api_libheif_heif__properties.h
1.55+2-1graphics/libheif/Makefile
1.46+2-1graphics/libheif/distinfo
+20-23 files

OpenBSD/src 94VzjuPsys/arch/armv7/exynos crosec.c

   don't use an uninitialised value for Chrome EC hello

   The Chrome EC hello command adds 0x01020304 to the value and returns.
   We don't check the result, so this wasn't a problem.  With llvm 22
   this caused a -Wuninitialized-const-pointer warning.
VersionDeltaFile
1.6+2-1sys/arch/armv7/exynos/crosec.c
+2-11 files

LLVM/project e77ae26llvm/test/tools/llubi stack_overflow.ll assume_invalid_align.ll, llvm/tools/llubi llubi.cpp

[llubi] Print out inst location in stack trace (#199430)

This patch appends `file:line number` to each frame in the stack trace.
It would improve the debugging experience.

In all test files, the inputs are supplied via stdin. I think it should
be okay, as I don't need to add wildcards for filenames.
DeltaFile
+10-10llvm/test/tools/llubi/stack_overflow.ll
+4-2llvm/tools/llubi/llubi.cpp
+3-3llvm/tools/llubi/lib/Context.cpp
+5-1llvm/tools/llubi/lib/Context.h
+6-0llvm/tools/llubi/lib/ExecutorBase.cpp
+1-1llvm/test/tools/llubi/assume_invalid_align.ll
+29-1753 files not shown
+82-6959 files

LLVM/project bafeb86llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp AMDGPUMCResourceInfo.cpp

[AMDGPU] Introduce ABI occupancy for object linking

This PR introduces ABI occupancy as the contract used to compile functions under
object linking. The default is derived from the occupancy needed for a 1024
workitem workgroup, can be overridden with `-amdgpu-abi-waves-per-eu`, and can
be overridden per function by `amdgpu-flat-work-group-size` or tightened by an
accepted `amdgpu-waves-per-eu` hint.

The backend emits the selected occupancy in `.amdgpu.info` and uses it to
enforce the object linking register budget.
DeltaFile
+67-35llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+53-7llvm/docs/AMDGPUUsage.rst
+37-3llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
+34-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-preserves-attr.ll
+32-2llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+31-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-kernel-no-attr.ll
+254-4714 files not shown
+410-4820 files

LLVM/project ad0e4c0clang/lib/AST Decl.cpp DeclCXX.cpp, clang/lib/Sema SemaLookup.cpp

[clang] preserve exact redeclaration for getTemplateInstantiationPattern

This makes these functions not always return the definition if any.
The few users which depend on this are updated to fetch the definition
themselves.

Also fixes the VarDecl variant returning the queried declaration itself.
DeltaFile
+7-28clang/lib/AST/Decl.cpp
+9-10clang/test/AST/ast-dump-templates-pattern.cpp
+3-10clang/lib/AST/DeclCXX.cpp
+6-6clang/test/AST/ast-dump-decl.cpp
+6-4clang/lib/Sema/SemaLookup.cpp
+1-1clang/test/AST/ast-dump-linkage.cpp
+32-592 files not shown
+34-618 files

OpenBSD/src LgqVmZosys/arch/arm/arm cpufunc.c fiq_subr.S, sys/arch/arm/armv7 bus_space_asm_armv7.S

   remove unused cpuconf.h; ok deraadt@
VersionDeltaFile
1.68+1-3sys/arch/arm/include/cpu.h
1.59+1-2sys/arch/arm/arm/cpufunc.c
1.6+1-2sys/arch/arm/arm/fiq_subr.S
1.6+1-2sys/arch/arm/armv7/bus_space_asm_armv7.S
1.35+1-2sys/arch/arm/include/cpufunc.h
1.58+1-2sys/arch/arm/include/pmap.h
+6-132 files not shown
+8-168 files

LLVM/project 4aac0c6llvm/utils/lit/tests/unit Util.py

[AIX] Re-apply: Remove unsupported AIX native echo option -n by using printf (#199395)

AIX native echo doesn't support the `-n` flag.
Use `printf` instead to ensure the test works across all systems and
making it portable.

The current test fails as follows:
```
FAIL: lit :: unit/Util.py (1 of 1)
******************** TEST 'lit :: unit/Util.py' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
"/opt/freeware/bin/python3.12" /home/himadhit/llvm/community/build/utils/lit/tests/unit/Util.py
# executed command: /opt/freeware/bin/python3.12 /home/himadhit/llvm/community/build/utils/lit/tests/unit/Util.py
# .---command stderr------------
# | F..

    [16 lines not shown]
DeltaFile
+2-2llvm/utils/lit/tests/unit/Util.py
+2-21 files

FreeBSD/src 490c53esys/net80211 PROTOCOL.md DATAPATH_TRANSMIT.md, tools/kerneldoc/subsys Doxyfile-net80211

net80211: add initial README.md and PROTOCOL.md

* Add top level README.md, linking to in progress and todo items
* Add an 802.11 protocol overview, with todo items - this is designed
  to provide a basic introduction to 802.11 for people wishing to work
  on net80211 and drivers.
* DEBUG.md - cover the debug API
* DATAPATH_TRANSMIT.md - transmit datapath
* DATAPATH_RECEIVE.md - receive datapath
* PROTOCOL.md - a high level (for values of "high") overview of
  the 802.11 protocol and where it intersects with net80211

Differential Revision: https://reviews.freebsd.org/D56760
DeltaFile
+563-0sys/net80211/PROTOCOL.md
+390-0sys/net80211/DATAPATH_TRANSMIT.md
+160-0sys/net80211/DATAPATH_RECEIVE.md
+139-0sys/net80211/README.md
+101-0sys/net80211/DEBUG.md
+2-1tools/kerneldoc/subsys/Doxyfile-net80211
+1,355-16 files

FreeBSD/src 1ccaef9sys/net80211 ieee80211_vht.c

net80211: update/add some VHT doxygen documentation

Add and update some documentation to be picked up by doxygen.

Differential Revision: https://reviews.freebsd.org/D57079
DeltaFile
+54-17sys/net80211/ieee80211_vht.c
+54-171 files

FreeBSD/src 0c37c99sys/net80211 ieee80211_var.h

net80211: add some example doxygen inline documents

This isn't supposed to be comprehensive, I want to have examples
for the common doxygen comments:

* describing a struct
* inside a struct - single line before the item
* inside a struct - same line after an item
* inside a struct - multi-line before an item

These build fine with the doxygen build in tools/kerneldoc/subsys/ .

Differential Revision: https://reviews.freebsd.org/D57056
DeltaFile
+26-3sys/net80211/ieee80211_var.h
+26-31 files

FreeBSD/src e3b4dbbsys/dev/ath if_ath_tx.c, sys/net80211 ieee80211_ht.c ieee80211_ht.h

net80211: create ieee80211_ht_check_bar_exceed_retry_count()

Create a function to check if the BAR retry limit has been reached.
Use this in if_ath_tx instead of a hard-coded value.

I've been meaning to do this for a long time.

Differential Revision: https://reviews.freebsd.org/D57055
DeltaFile
+19-1sys/net80211/ieee80211_ht.c
+2-1sys/dev/ath/if_ath_tx.c
+2-0sys/net80211/ieee80211_ht.h
+23-23 files

LLVM/project 8811c2bllvm/lib/Transforms/Scalar ConstantHoisting.cpp

[ConstantHoisting] Avoid DenseMap reference invalidated by insertion (#199468)

Fix https://reviews.llvm.org/D28962 : DenseMap does not promise to keep
references stable across insertion. This happens to work today because
we don't do bucket eviction.

Pre-populate every node up front.
DeltaFile
+6-4llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
+6-41 files

LLVM/project a49c16aclang/include/clang/Serialization ASTRecordReader.h, clang/lib/AST ASTContext.cpp Type.cpp

trivial changes
DeltaFile
+20-14clang/lib/Sema/SemaOpenMP.cpp
+18-14clang/lib/AST/ASTContext.cpp
+16-15clang/lib/Sema/SemaTemplate.cpp
+14-11clang/lib/AST/Type.cpp
+14-8clang/lib/AST/ASTDiagnostic.cpp
+11-6clang/include/clang/Serialization/ASTRecordReader.h
+93-6833 files not shown
+202-15239 files

LLVM/project 7f629daclang/include/clang/AST ASTContext.h, clang/lib/AST ASTContext.cpp ItaniumMangle.cpp

[clang] implement CWG2064: ignore value dependence for decltype

The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.

This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.

This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.

Fixes #8740
Fixes #61818
Fixes #190388
DeltaFile
+888-161clang/lib/AST/ASTContext.cpp
+328-12clang/test/SemaTemplate/instantiation-dependence.cpp
+176-96clang/lib/AST/ItaniumMangle.cpp
+100-98clang/lib/Sema/SemaCXXScopeSpec.cpp
+62-57clang/lib/AST/Type.cpp
+88-11clang/include/clang/AST/ASTContext.h
+1,642-43569 files not shown
+2,385-79675 files

LLVM/project a029fb9clang/test/CodeGenCXX visibility.cpp, clang/test/Modules template-default-args-3.cpp template-default-args-2.cpp

[clang] NFC: add some new test cases (#199467)

These are extracted from my current and future PRs.

They don't have much to do with the PRs themselves except that they were
regressions our test suite missed catching.
DeltaFile
+36-0clang/test/Modules/template-default-args-3.cpp
+30-0clang/test/Modules/template-default-args-2.cpp
+22-0clang/test/CodeGenCXX/visibility.cpp
+7-0clang/test/SemaTemplate/partial-spec-instantiate.cpp
+7-0clang/test/SemaTemplate/generic-lambda.cpp
+102-05 files

OpenBSD/ports cnERO5Cdatabases/postgresql distinfo Makefile, databases/postgresql/pkg PLIST-docs

   Update to PostgreSQL 18.4

   Fixes:

   * CVE-2026-6472: PostgreSQL CREATE TYPE does not check multirange schema
     CREATE privilege
   * CVE-2026-6473: PostgreSQL server undersizes allocations, via integer
     wraparound
   * CVE-2026-6474: PostgreSQL timeofday() can disclose portions of server
     memory
   * CVE-2026-6475: PostgreSQL pg_basebackup and pg_rewind can overwrite
     unrelated files of origin superuser choice
   * CVE-2026-6476: PostgreSQL pg_createsubscriber allows SQL injection via
     subscription name
   * CVE-2026-6477: PostgreSQL libpq lo_* functions let server superuser
     overwrite client stack
   * CVE-2026-6478: PostgreSQL discloses MD5-hashed passwords via covert
     timing channel
   * CVE-2026-6479: PostgreSQL SSL/GSS init causes denial of service, via

    [9 lines not shown]
VersionDeltaFile
1.110+2-2databases/postgresql/distinfo
1.319+1-1databases/postgresql/Makefile
1.123+1-0databases/postgresql/pkg/PLIST-docs
+4-33 files

LLVM/project 11f0e77llvm/lib/CodeGen GCRootLowering.cpp, llvm/test/CodeGen/Generic gc-lowering.ll

[CodeGen][GC] Initialize roots with `Constant::getNullValue()` instead of `ConstantPointerNull::get()` (#199367)

Fixes #199219
DeltaFile
+26-0llvm/test/CodeGen/Generic/gc-lowering.ll
+2-3llvm/lib/CodeGen/GCRootLowering.cpp
+28-32 files

LLVM/project ab17454llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize select-cmp-blend-chain.ll

Revert "[LV] Handle chained selects/blends when creating new rdx chain. (#199443)" (#199461)

This reverts commit 3f561eab147abf17c1838b4e3dc19837837a9740 due to
buildbot breakage
((https://lab.llvm.org/staging/#/builders/7/builds/1736/steps/9/logs/stdio).
DeltaFile
+0-284llvm/test/Transforms/LoopVectorize/select-cmp-blend-chain.ll
+24-25llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+24-3092 files