LLVM/project 1bc0f8eclang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp, clang/test/AST/HLSL TypedBuffers-AST.hlsl ByteAddressBuffers-AST.hlsl

[HLSL] Make load methods take const attribute (#193858)

Previously, HLSL shaders that declare a local resource const, cannot use
the `Load` method, since it is not attributed with const.
Load does not change a resource, it is a read-only operation, so the
method should be marked const.
This PR changes the methods so that they are marked const.
Fixes https://github.com/llvm/llvm-project/issues/192557

Assisted by: Github Copilot
DeltaFile
+37-38clang/test/AST/HLSL/TypedBuffers-AST.hlsl
+44-0clang/test/SemaHLSL/BuiltIns/Buffers-Load-const.hlsl
+21-16clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+18-18clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
+16-16clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl
+9-9clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
+145-9718 files not shown
+214-16524 files

LLVM/project 6c79d6dclang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp

[clang] instantiate base classes even if they are instantiation-dependent-only (#194719)
DeltaFile
+14-0clang/test/DebugInfo/CXX/GH193932.cpp
+8-0clang/test/SemaTemplate/instantiation-dependence.cpp
+2-0clang/docs/ReleaseNotes.rst
+1-1clang/lib/Sema/SemaTemplateInstantiate.cpp
+25-14 files

LLVM/project 3b832a0clang/test/CXX/drs cwg28xx.cpp, clang/www cxx_dr_status.html

[clang][NFC] Mark CWG2810 as implemented and add a test (#194683)

CWG2810 (https://cplusplus.github.io/CWG/issues/2810.html) just removes
some wording that could be misinterpreted as saying "a compiler must not
emit any warnings in uninstantiated templates". Clang has never
misinterpreted it that way, so we don't need to do anything here.
DeltaFile
+10-0clang/test/CXX/drs/cwg28xx.cpp
+1-1clang/www/cxx_dr_status.html
+11-12 files

LLVM/project 26c9a26llvm/docs AMDGPUUsage.rst, llvm/docs/AMDGPU DeveloperGuideline.rst

[NFC][AMDGPU][Doc] Add developer guideline

This guideline covers topics on top of existing LLVM guideline.
DeltaFile
+340-0llvm/docs/AMDGPU/DeveloperGuideline.rst
+1-0llvm/docs/AMDGPUUsage.rst
+341-02 files

LLVM/project 1adef29llvm/test/TableGen directive1.td directive2.td, llvm/utils/TableGen/Basic DirectiveEmitter.cpp

[TableGen] Use guarded assert in constexpr functions

The constexpr functions in question take a scoped enum as an argument
and a switch statement returns a value for each value of the enum.
These are all legal statements in a constexpr function in C++14.

Under constexpr rules, the evaluation of a constexpr function cannot
lead to an evaluation of any prohibited forms of expressions. An
evaluation of the functions being discussed with a valid argument
will terminate at the switch, and an code that follows will not be
evaluated.

Using "llvm_unreachable" after the switch should be ok as long as
the expansion of the llvm_unreachable macro does not contain any
statements not allowed to appear in a constexpr function.
At the same time, GCC before v9 did not tolerate any unguarded calls
to non-constexpr functions after the switch.

To avoid using "llvm_unreachable", which can have multiple expansions,

    [2 lines not shown]
DeltaFile
+10-12llvm/test/TableGen/directive1.td
+10-12llvm/test/TableGen/directive2.td
+10-12llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+30-363 files

LLVM/project 6dd9189clang/lib/ScalableStaticAnalysisFramework/Core/TUSummary TUSummaryBuilder.cpp

[clang][SSAF][NFC] Add missing LLVM file header to `TUSummaryBuilder.cpp` (#193079)
DeltaFile
+8-0clang/lib/ScalableStaticAnalysisFramework/Core/TUSummary/TUSummaryBuilder.cpp
+8-01 files

LLVM/project b1c027blldb/include/lldb/Target Target.h, lldb/source/Commands CommandObjectTarget.cpp Options.td

[LLDB] Add module hook implementation  (#185465)

Introduce a unified target hook command system for LLDB that handles
multiple target lifecycle events (module load, module unload, process
stop) through a single Hook class.

The existing target stop-hook commands remain unchanged for now, meaning
stop-hooks can now be created through either target stop-hook add or
target hook add -S.
A future follow-up can alias target stop-hook to the unified system to
consolidate the two paths.

 New commands:
- target hook add [-o cmd] [-P class] [-u] [-S] - create a hook (fires
on module load by default, optionally on unload/stop)
- target hook add-filter [filter-opts] <hook-id> - attach stop-event
filters (shlib, function, file/line, thread) to an existing hook
- target hook list / delete / enable / disable - manage hooks
- target hook {enable,disable} {module-loaded|module-unloaded|stop-hook}

    [10 lines not shown]
DeltaFile
+704-0lldb/source/Commands/CommandObjectTarget.cpp
+486-1lldb/source/Target/Target.cpp
+199-0lldb/include/lldb/Target/Target.h
+168-0lldb/test/Shell/Commands/command-module-hook.test
+105-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedHookPythonInterface.cpp
+97-0lldb/source/Commands/Options.td
+1,759-115 files not shown
+2,000-121 files

LLVM/project f70ed1fclang/include/clang/ScalableStaticAnalysisFramework/Core/Model PrivateFieldNames.def, clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization SerializationFormatRegistry.h

[clang][SSAF][NFC] Fix typos in comments (#193080)
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Core/Model/PrivateFieldNames.def
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormatRegistry.h
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Core/TUSummary/TUSummaryBuilder.h
+3-33 files

LLVM/project 1c00d16clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis DerivedAnalysis.h SummaryAnalysis.h

[clang][SSAF][NFC] Remove redundant overrides from analysis templates (#193086)

This PR removes redundant:
- `initialize()` and `finalize()` overrides from `SummaryAnalysis` already provided by `SummaryAnalysisBase`.
- `step()` and `finalize()` overrides from `DerivedAnalysis<>` already provided by `DerivedAnalysisBase`.
DeltaFile
+0-7clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/DerivedAnalysis.h
+0-7clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h
+0-142 files

LLVM/project 3c570dblldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

[lldb] Fix test failures on arm introduced by #184815 (#194157)

@jasonmolenda I don't have access to arm hardware, so I'm relying
heavily on Claude's recommendation.
DeltaFile
+1-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+1-11 files

LLVM/project ab43ab6openmp/runtime/src ompd-specific.cpp

[OpenMP] Fix use of uninitialized Dl_info when dladdr fails in ompd_init (#193643)

When dladdr() fails, dl_info is left uninitialized. The code printed the
error but then fell through to unconditionally call
strrchr(dl_info.dli_fname, '/'), accessing an uninitialized pointer --
typically NULL on the stack -- causing a SIGSEGV.

Fix by turning the second 'if' into 'else if', so the path-extraction
block is only reached when dladdr() succeeded and dl_info is valid.

Assisted-by: Claude Sonnet 4.6
DeltaFile
+2-4openmp/runtime/src/ompd-specific.cpp
+2-41 files

LLVM/project df8fd03llvm/docs ReleaseNotes.md

[lldb] Add release note for `frame variable` repeat (NFC) (#194723)

Follow up to #194195
DeltaFile
+2-0llvm/docs/ReleaseNotes.md
+2-01 files

FreeBSD/src 76de408usr.sbin/efibootmgr efibootmgr.c efibootmgr.8

efibootmgr: Show attributes, category and optional data when verbose

Also rework a bit the way device path are displayed for consistency.

Signed-off-by:  stephane.rochoy at stormshield.eu
Reviewed by:    imp
Sponsored by:   Stormshield
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2167
DeltaFile
+60-11usr.sbin/efibootmgr/efibootmgr.c
+1-1usr.sbin/efibootmgr/efibootmgr.8
+61-122 files

FreeBSD/src 48363f3lib/libefivar efiutil.c efivar.h, usr.sbin/efibootmgr Makefile

efivar: Move dump functions into libefivar

To allow their use by efibootmgr.

Signed-off-by:  stephane.rochoy at stormshield.eu
Reviewed by:    imp
Sponsored by:   Stormshield
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2167
DeltaFile
+193-0lib/libefivar/efiutil.c
+0-190usr.sbin/efivar/efiutil.c
+0-35usr.sbin/efivar/efiutil.h
+10-0lib/libefivar/efivar.h
+4-5usr.sbin/efivar/efivar.c
+3-4usr.sbin/efibootmgr/Makefile
+210-2343 files not shown
+212-2369 files

LLVM/project 1aed6b6clang/lib/CIR/CodeGen CIRGenClass.cpp, clang/test/CIR/CodeGen lambda-static-invoker.cpp

[CIR] Implement return for void lambda with static invoker (#194704)

We had an errorNYI call for emitting the return statement for a static
invoker for a lambda with a void return. All that was needed was to emit
a return operation and add a test case.
DeltaFile
+109-0clang/test/CIR/CodeGen/lambda-static-invoker.cpp
+1-2clang/lib/CIR/CodeGen/CIRGenClass.cpp
+110-22 files

LLVM/project 2fce8c9flang/lib/Parser openmp-parsers.cpp, flang/lib/Semantics check-omp-metadirective.cpp check-omp-structure.cpp

[flang][OpenMP] Frontend support for BEGIN/END METADIRECTIVE (#194402)

This implements parsing of BEGIN/END METADIRECTIVE, plus a minimal
semantic check for the association of a directive in a WHEN/OTHERWISE
clauses.

The same semantic checks for the context selectors apply here as in the
case of a standalone METADIRECTIVE.
DeltaFile
+84-24flang/lib/Parser/openmp-parsers.cpp
+80-0flang/test/Parser/OpenMP/begin-metadirective.f90
+49-0flang/lib/Semantics/check-omp-metadirective.cpp
+18-19flang/lib/Semantics/check-omp-structure.cpp
+13-2flang/lib/Semantics/resolve-directives.cpp
+12-0flang/test/Lower/OpenMP/Todo/begin-metadirective.f90
+256-456 files not shown
+287-4712 files

LLVM/project b7d6438libc/include/llvm-libc-types __mutex_type.h, libc/src/__support/threads unix_mutex.h

[libc] implement recursive mutex and fix wrong initializer (#193992)

Fix #193892.

This is found during libc++ bringing up process. This patch:
- implement recursive mutex support for real.
- fix the issue that pthread mutex initializer and public mutex
interface misalign with internal representation. this was the root cause
that hangs the libc++ test as padding bytes effectively pollute the
futex state if default initializer was used.
- additionally, we changed the field to bitfield to allow encoding more
data. (e.g. the error checking flag that is not yet added). timed bit is
removed as we always support it anyway. PI bit is added instead.
DeltaFile
+95-4libc/test/integration/src/pthread/pthread_mutex_test.cpp
+63-36libc/src/__support/threads/unix_mutex.h
+37-0libc/test/integration/src/threads/mtx_test.cpp
+23-8libc/src/pthread/pthread_mutex_init.cpp
+10-7libc/include/llvm-libc-types/__mutex_type.h
+8-6libc/src/threads/mtx_init.cpp
+236-619 files not shown
+261-7815 files

FreeBSD/src d9c0594usr.sbin/ctld ctld.cc kernel.cc

ctld: kernel-sourced portal groups are not dummies

The current and historical versions of ctld would flag our initial set
of kernel ports as dummies, because their portal groups were empty since
portals come from the configuration on-disk.

As a result, we would never try to remove a kernel port at startup that
didn't exist in the configuration (possibly a feature if you wanted
concurrent ctld(8)), and we would always try to port->kernel_add() on
ports in the configuration (even if they actually did have an existing
kernel port).

Flag these portal groups as kernel groups so that we avoid trying to add
ports that already exist.  It may be the case that the kernel_remove()
loop in conf::apply() needs to do something other than the current
`oldport->is_dummy()` to avoid removing ports that it isn't supposed to
be managing, but that wuld also seem to apply to LUNs that would be
removed today.


    [2 lines not shown]
DeltaFile
+15-0usr.sbin/ctld/ctld.cc
+4-0usr.sbin/ctld/kernel.cc
+2-0usr.sbin/ctld/ctld.hh
+21-03 files

FreeBSD/src fe9d81dlib/libiscsiutil log.c

libiscsiutil: preserve errno across warning logs

Various calls in the implementation can clobber errno; preserve it for
the caller since none of these will bubble up pass/fail to simplify
some future error handling in ctld.

Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D56539
DeltaFile
+3-1lib/libiscsiutil/log.c
+3-11 files

LLVM/project 91cf9f6lldb/source/Commands CommandObjectFrame.cpp, lldb/test/API/commands/frame/var/repeat TestFrameVarRepeat.py main.cpp

[lldb] Add repeat command for `frame variable` (#194195)

Introduce repeat command functionality for `frame variable`. The repeat behavior
increments the printing depth.

For example, when the default depth value (`target.max-children-depth`) is not enough,
hitting enter one or more times will expand the displayed data as deeply as needed.

See #149282 and then #178717.
DeltaFile
+73-0lldb/source/Commands/CommandObjectFrame.cpp
+53-0lldb/test/API/commands/frame/var/repeat/TestFrameVarRepeat.py
+28-0lldb/test/API/commands/frame/var/repeat/main.cpp
+3-0lldb/test/API/commands/frame/var/repeat/Makefile
+157-04 files

NetBSD/src ekAh0Tadoc 3RDPARTY CHANGES

   new sqlite
VersionDeltaFile
1.2191+4-4doc/3RDPARTY
1.3248+2-1doc/CHANGES
+6-52 files

NetBSD/src iu1hHtudistrib/sets/lists/base shl.mi, distrib/sets/lists/comp mi

   changes for sqlite-3.53.0
VersionDeltaFile
1.2523+49-1distrib/sets/lists/comp/mi
1.397+2-2distrib/sets/lists/debug/shl.mi
1.1037+2-2distrib/sets/lists/base/shl.mi
+53-53 files

NetBSD/src bkVinBKexternal/public-domain/sqlite/dist sqlite3.c shell.c, external/public-domain/sqlite/man SQLITE_DBCONFIG_MAINDBNAME.3 sqlite3_carray_bind_v2.3

   Merge conflicts between 3.53.3 and 3.45.1
VersionDeltaFile
1.24+24,236-11,113external/public-domain/sqlite/dist/sqlite3.c
1.7+20,894-13,252external/public-domain/sqlite/dist/shell.c
1.5+225-57external/public-domain/sqlite/man/SQLITE_DBCONFIG_MAINDBNAME.3
1.1+86-0external/public-domain/sqlite/man/sqlite3_carray_bind_v2.3
1.7+67-17external/public-domain/sqlite/man/sqlite3changeset_apply.3
1.1+75-0external/public-domain/sqlite/man/sqlite3changegroup_change_begin.3
+45,583-24,439290 files not shown
+47,315-25,221296 files

LLVM/project 898eabcclang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen overflow-behavior-types.c

[clang] Fix interaction of __ob_wrap with signed divide. (#194474)

At first glance, signed divide overflow seems similar to other forms of
signed overflow, but it's significantly different: it's the only form of
signed overflow that is not affected by -fwrapv, it has undefined
behavior at the LLVM IR level, and it can trigger trap on x86.

Given that, make ubsan trigger on signed divide overflow even if a type
is marked __ob_wrap.
DeltaFile
+4-2clang/test/CodeGen/overflow-behavior-types.c
+1-1clang/lib/CodeGen/CGExprScalar.cpp
+5-32 files

LLVM/project c147ccaclang/lib/AST ASTContext.cpp, clang/test/SemaCXX member-pointer.cpp

[clang] fix crash with c-style casts involving dependent member-pointer types (#194696)

A dependent member-pointer type doesn't necessarily have a class
declaration.

This simplifies the check performed in a helper for diagnosing a cast
which removes qualifiers, so it doesn't rely on this assumption.

This fixes a regression introduced in
https://github.com/llvm/llvm-project/pull/132401, which landed in the
last release, and this will be back ported, so no release notes.

Fixes #194524
DeltaFile
+9-10clang/lib/AST/ASTContext.cpp
+13-0clang/test/SemaCXX/member-pointer.cpp
+22-102 files

LLVM/project a0db1feclang-tools-extra/clangd SemanticHighlighting.cpp, clang/include/clang/AST Decl.h

[clang] NFC: use ArrayRef for getTemplateParameterLists (#194701)
DeltaFile
+10-14clang/include/clang/AST/Decl.h
+7-10clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+4-10clang/tools/libclang/CIndex.cpp
+5-8clang/lib/AST/DeclPrinter.cpp
+4-8clang-tools-extra/clangd/SemanticHighlighting.cpp
+6-6clang/lib/AST/ASTImporter.cpp
+36-569 files not shown
+63-8415 files

LLVM/project ab7b14cclang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp

[clang] instantiate base classes even if they are instantiation-dependent-only

This makes sure base classes are fully instantiated, even if only
instantiation-dependent.

This fixes a lack of diagnostics for substitution failures in such cases,
and also avoids leaking these instantiation-dependent types to
CodeGen.

Fixes #193932
DeltaFile
+14-0clang/test/DebugInfo/CXX/GH193932.cpp
+8-0clang/test/SemaTemplate/instantiation-dependence.cpp
+2-0clang/docs/ReleaseNotes.rst
+1-1clang/lib/Sema/SemaTemplateInstantiate.cpp
+25-14 files

FreeBSD/ports a5b0b02emulators/libc6-shim distinfo Makefile

emulators/libc6-shim: Update 20260426 => 20260428

Changelog:
Map LINUX_CLOCK_BOOTTIME to CLOCK_MONOTONIC following FreeBSD 15 change.

Commit log:
https://github.com/shkhln/libc6-shim/compare/20260426...20260428

PR:             294834
Approved by:    Alex S <iwtcex at gmail.com> (maintainer)
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit ccfb0a1a43cc2ed5c71bb6a1c8c12ee433ccdfad)
DeltaFile
+3-3emulators/libc6-shim/distinfo
+1-1emulators/libc6-shim/Makefile
+4-42 files

FreeBSD/ports 52674a0emulators/libc6-shim Makefile distinfo

emulators/libc6-shim: Update 20251025 => 20260426

Commit log:
https://github.com/shkhln/libc6-shim/compare/20251025...20260426

While here:
- Remove unnecessary GH_PROJECT - it's default value.
- Split long lines in post-patch.
- Merge MKDIRs in do-install.

PR:             294834
Sponsored by:   UNIS Labs

(cherry picked from commit 8bc63e36911e7361c397574599f42b4623ccda28)
DeltaFile
+10-8emulators/libc6-shim/Makefile
+3-3emulators/libc6-shim/distinfo
+13-112 files

FreeBSD/ports ccfb0a1emulators/libc6-shim distinfo Makefile

emulators/libc6-shim: Update 20260426 => 20260428

Changelog:
Map LINUX_CLOCK_BOOTTIME to CLOCK_MONOTONIC following FreeBSD 15 change.

Commit log:
https://github.com/shkhln/libc6-shim/compare/20260426...20260428

PR:             294834
Approved by:    Alex S <iwtcex at gmail.com> (maintainer)
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3emulators/libc6-shim/distinfo
+1-1emulators/libc6-shim/Makefile
+4-42 files