LLVM/project 157413dflang/lib/Semantics resolve-names.cpp

Add taskgraph

"taskgraph" is explicitly mentioned in the data-sharing rules in the spec.
DeltaFile
+1-0flang/lib/Semantics/resolve-names.cpp
+1-01 files

LLVM/project 5ad9cecllvm/lib/Target/RISCV RISCVInstrInfoC.td

[RISCV] NFC: Use the new "let append" TableGen feature to reduce duplication (#198761)

llvm#182382 introduced a language extension to accumulate field values:
“append” concatenates the new value after the current value, whilst
"prepend" concatenates before the existing value. This change uses that
feature to eliminate repetition in the definition of some of the
compressed instructions.

For example, line 267 of RISCVIntrInfoC.td establishes a scope for “`let
Predicates = [HasStdExtZca] in {`”; this scope ends on line 515.
Meanwhile, line 454 wants to add the `IsRV64` predicate for a single
instruction but was forced to duplicate the previous condition as well:
“`let Predicates = [HasStdExtZca, IsRV64] in`”. That’s no longer
necessary since the addition can now be explicit: “`let append
Predicates = [IsRV64] in `”

I‘ve verified that this change has no effect on the TableGen output.

It seems quite likely that this same change could be made in some of the
other RISC-V TableGen source files…
DeltaFile
+22-36llvm/lib/Target/RISCV/RISCVInstrInfoC.td
+22-361 files

LLVM/project f755811libc/include/llvm-libc-types EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h CMakeLists.txt

[libc][nfc] Include header for EFIAPI macro (#198876)

This file uses `EFIAPI`, but it's not included. It looks like
compilation currently succeeds because `EFI_SYSTEM_TABLE.h` is the only
header that includes `EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h`, and it happens
to include `EFIAPI-macros.h` indirectly.

We will be adding Bazel rules for this file, and Bazel typically
requires all headers to be compilable on their own. This build error is
theoretically reproducable by running cmake build with
`-DCMAKE_VERIFY_INTERFACE_HEADER_SETS` if we had the appropriate
FILE_SETs defined.
DeltaFile
+1-0libc/include/llvm-libc-types/EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h
+1-0libc/include/llvm-libc-types/CMakeLists.txt
+2-02 files

LLVM/project 8b1dbe5clang/test/CIR/CodeGen new-array-in-ternary.cpp, lldb/tools/lldb-dap/extension package-lock.json

Merge branch 'main' into users/ilovepi/instrumentor-nondet
DeltaFile
+2,504-1,285lldb/tools/lldb-dap/extension/package-lock.json
+272-176mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
+281-149mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
+136-153mlir/utils/vscode/package-lock.json
+180-0clang/test/CIR/CodeGen/new-array-in-ternary.cpp
+56-38llvm/lib/Transforms/Vectorize/VPlan.h
+3,429-1,80196 files not shown
+4,522-2,182102 files

FreeBSD/ports 7a483afx11-wm/river distinfo Makefile.zig

x11-wm/river: update to 0.4.5

Approved by:    lwhsu (mentor, implicitly)
DeltaFile
+11-9x11-wm/river/distinfo
+5-4x11-wm/river/Makefile.zig
+2-2x11-wm/river/Makefile
+18-153 files

LLVM/project 4e17b5bclang-tools-extra/clangd ClangdLSPServer.cpp, clang-tools-extra/clangd/unittests ClangdLSPServerTests.cpp

[clangd] Fix crash when server shuts down with in-flight rename or tweak (#198019)

Fixes #196225.

Root cause: When clangd shuts down, `ClangdLSPServer`'s destructor calls
`Server.reset()` to destroy the `ClangdServer` object. `ClangdServer`
then destroys the work scheduler, which blocks and waits for in-flight
tasks to finish. If a rename task is in flight, the callback will try to
access the now-reset `ClangdLSPServer::Server` in
https://github.com/llvm/llvm-project/blob/4f9a7d09f4760ac9c5745e8bb829366d29ff9687/clang-tools-extra/clangd/ClangdLSPServer.cpp#L916-L917

The same issue occurs with `onCommandApplyTweak`, as its callback also
accesses `ClangdLSPServer::Server`:
https://github.com/llvm/llvm-project/blob/4f9a7d09f4760ac9c5745e8bb829366d29ff9687/clang-tools-extra/clangd/ClangdLSPServer.cpp#L828-L829

A reproducer has been added to #196225.

This PR fixes these issues by capturing a reference to `ClangdServer`
and using it in the callbacks instead of the `ClangdLSPServer::Server`

    [8 lines not shown]
DeltaFile
+16-0clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
+5-5clang-tools-extra/clangd/ClangdLSPServer.cpp
+21-52 files

FreeBSD/ports 488c71btextproc/diffstat distinfo Makefile

textproc/diffstat: update to 1.69
DeltaFile
+3-3textproc/diffstat/distinfo
+1-1textproc/diffstat/Makefile
+4-42 files

LLVM/project 7801c10clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis UnsafeBufferReachableAnalysisTest.cpp

clang format
DeltaFile
+2-2clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+2-21 files

LLVM/project 570b6e5flang/lib/Semantics resolve-names.cpp

Update directive list

Add dispatch - it accepts privatizing clause: is_device_ptr.
Remove workshare, workdistribute - they execute in implicit tasks.
DeltaFile
+1-2flang/lib/Semantics/resolve-names.cpp
+1-21 files

LLVM/project 0489434llvm/lib/Target/AMDGPU AMDGPURegBankCombiner.cpp, llvm/test/CodeGen/AMDGPU global-saddr-load.ll

PR feedback, fix tests
DeltaFile
+24-90llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
+12-14llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+36-1042 files

FreeBSD/ports ec77ae3games/open-adventure Makefile distinfo, games/open-adventure/files patch-advent.adoc

games/open-adventure: upgrade to version 1.21

Changes relative to the previous port version 1.16:

 * Saying Z’ZZZ at reservoir no longer causes the waters to part
   and crash.
 * Man-page has been brought up-to-date.
 * Ensure that the KNIVES_VANISH message can’t issue twice.
 * Make oldstyle correctly suppress line editing.
 * Code-hardening and spell-checking of texts.
DeltaFile
+8-4games/open-adventure/Makefile
+10-0games/open-adventure/files/patch-advent.adoc
+3-3games/open-adventure/distinfo
+21-73 files

LLVM/project 1b4a578lldb/source/Plugins/Process/scripted ScriptedThread.cpp, lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptedThreadPythonInterface.cpp ScriptedProcessPythonInterface.cpp

[lldb/Interpreter] Plumb ScriptedMetadata through scripted plugin CreatePluginObject (NFC) (#198425)

Replace the (class_name, args_sp) parameter pair on CreatePluginObject
across the scripted plugin interfaces (ScriptedThread, OperatingSystem,
ScriptedBreakpoint, ScriptedFrameProvider, ScriptedProcess, and the
underlying ScriptedPythonInterface template) with a single `const
ScriptedMetadata &`. Callers (OperatingSystemPython, ScriptedThread,
ScriptedProcess, BreakpointResolverScripted, ScriptedFrameProvider) pass
their existing ScriptedMetadata directly, removing the need to re-bundle
class_name and args at every call site.

ScriptedBreakpoint, ScriptedFrameProvider and ScriptedProcess no longer
carry a redundant `args_sp` parameter; their callers fold those args
into the metadata, and the Python overrides reconstruct a
StructuredDataImpl from the metadata's args dict for the dispatched
call.

ScriptedInterface gains an `m_scripted_metadata` member and a
`GetScriptedMetadata()` accessor; ScriptedPythonInterface populates it

    [6 lines not shown]
DeltaFile
+10-2lldb/source/Plugins/Process/scripted/ScriptedThread.cpp
+5-5lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
+5-5lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
+9-1lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
+4-5lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFrameProviderPythonInterface.cpp
+4-4lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStopHookPythonInterface.cpp
+37-2229 files not shown
+110-8035 files

FreeBSD/ports 7a4d1a7net-im/kaidan Makefile

net-im/kaidan: add missing runtime dependency

PR:             295455
Reported by:    Sarah Quartz the BSD gal

(cherry picked from commit 8b3dacee2b74759652d8ba11c186cdf5551b1820)
DeltaFile
+4-3net-im/kaidan/Makefile
+4-31 files

FreeBSD/ports 8b3dacenet-im/kaidan Makefile

net-im/kaidan: add missing runtime dependency

PR:             295455
Reported by:    Sarah Quartz the BSD gal
DeltaFile
+4-3net-im/kaidan/Makefile
+4-31 files

LLVM/project a09d2bblldb/tools/lldb-dap/extension package-lock.json .npmrc, mlir/utils/vscode package-lock.json .npmrc

[MLIR][lldb-dap] Update brace-expansion dependencies in VSCode plugins, resolving security alerts (#198549)
DeltaFile
+2,504-1,285lldb/tools/lldb-dap/extension/package-lock.json
+136-153mlir/utils/vscode/package-lock.json
+2-0lldb/tools/lldb-dap/extension/.npmrc
+2-0mlir/utils/vscode/.npmrc
+2,644-1,4384 files

LLVM/project d020217clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.h PointerFlow.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp

[SSAF][WPA] Bounds propagation graph is a supergraph of the pointer-flow graph

Background: The whole-program UnsafeBufferReachableAnalysis propagates bounds
between pointers. It uses the pointer-flow graph extracted and linked
from translation units.

This commit patches the gap between the semantics of bounds
propagation and pointer-flow: the bounds propagation graph is a
supergraph of the pointer-flow graph in that a pointer-flow graph edge
(src, i) -> (dst, j) is the projection of a finite set of bounds
propagation graph edges {(src, i+d) -> (dst, j+d) | 0 <= d < UB} for a
small constant upper bound UB.  See the following example for the idea:

```
void f(int ***p, int **q) {
   *p = q;
   (**p)[5] = 0;
}
```

    [7 lines not shown]
DeltaFile
+377-174clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+66-15clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+9-13clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.h
+5-4clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.h
+457-2064 files

LLVM/project 88367b2clang/lib/CIR/CodeGen CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic.c

[CIR] Handle atomic-fetch lowering of pointer types. (#198871)

We previously didn't properly handle the pointer type conversions, which
resulted in a verifier error. This patch does what classic codegen does
for these: casts them to an integer type. The rest of the logic around
this in classic codegen isn't necessary as the llvm intrinsics now
handle those types properly.
DeltaFile
+36-30clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+47-0clang/test/CIR/CodeGen/atomic.c
+83-302 files

FreeBSD/ports c5fd5d5www/librewolf/files patch-libwebrtc-generated patch-languageid-de-constexpr-ify

www/librewolf: Update 150.0.3-1 => 151.0-1

Release Notes:
https://www.firefox.com/en-US/firefox/151.0/releasenotes/

PR:             295437
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 39a96cc33eeb61fcaeb53819d1b70e1e0693c613)
DeltaFile
+76,245-75,897www/librewolf/files/patch-libwebrtc-generated
+138-0www/librewolf/files/patch-languageid-de-constexpr-ify
+0-92www/librewolf/files/patch-bug1626236
+0-56www/librewolf/files/patch-bug1716707
+40-0www/librewolf/files/patch-toolkit_crashreporter_google-breakpad_src_common_linux_memory__mapped__file.cc
+38-0www/librewolf/files/patch-bug2040125
+76,461-76,0458 files not shown
+76,513-76,14514 files

NetBSD/pkgsrc oXGblrUmisc/window distinfo Makefile, misc/window/patches patch-ww.h

   Additional fixes for handling extended terminal escape sequences.
VersionDeltaFile
1.10+4-5misc/window/distinfo
1.10+2-2misc/window/Makefile
1.2+1-1misc/window/patches/patch-ww.h
+7-83 files

LLVM/project 4de983flibc/src/unistd alarm.h CMakeLists.txt, libc/src/unistd/linux alarm.cpp CMakeLists.txt

[libc] implement alarm entrypoint (#198620)

Implemented the alarm entrypoint for unistd.h.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+64-0libc/test/src/unistd/alarm_test.cpp
+48-0libc/src/unistd/linux/alarm.cpp
+25-0libc/src/unistd/alarm.h
+15-0libc/test/src/unistd/CMakeLists.txt
+14-0libc/src/unistd/linux/CMakeLists.txt
+7-0libc/src/unistd/CMakeLists.txt
+173-04 files not shown
+182-010 files

NetBSD/src 5s00Dbydoc 3RDPARTY

   unbound 1.25.1 security release out
VersionDeltaFile
1.2209+3-3doc/3RDPARTY
+3-31 files

LLVM/project d8fa68fclang/lib/CIR/CodeGen CIRGenExpr.cpp CIRGenExprScalar.cpp, clang/test/CIR/CodeGen new-array-in-ternary.cpp

[CIR] Fix bugs with array new in a ternary expression (#198869)

While attempting to compile Clang with CIR enabled, we ran into a
problem with the cleanup handling for array new inside of a ternary
operation. The reduced test case ended up showing different failure
modes with and without exceptions enabled, but it failed in both cases.
With exceptions enabled, we were failing to spill the value to be
returned and reload it outside of the cleanup scope. With exceptions
disabled, we were pushing an effectively empty entry on the EH stack and
later asserting when trying to pop it.

This change fixes the spill and reload problem by inserting a
RunCleanupsScope RAII object around the ternary branch generation code
with a call to forceCleanups to generate the spill and reload.

The assertion failure is fixed by replacing the assert call with code to
safely handle the condition of having an empty cleanup on the EH stack.
We should probably modify the code that pushes EH-only cleanups to avoid
doing so when exceptions are disabled, but that's a more extensive

    [7 lines not shown]
DeltaFile
+180-0clang/test/CIR/CodeGen/new-array-in-ternary.cpp
+12-5clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+11-4clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+9-1clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+212-104 files

LLVM/project 567d27bllvm/lib/Transforms/Vectorize VPlan.h VPlanVerifier.cpp, llvm/unittests/Transforms/Vectorize VPlanTest.cpp

[VPlan] Add type in VPRecipeValue, migrate first set of recipes. (NFC) (#195485)

This patch adds a new Type field to hold the scalar type for the
VPRecipeValue. It starts the migration of an initial set of recipes to
set the scalar type and use it directly in VPTypeAnalysis, removing
special handling for those types.

Eventually, VPTypeAnalysis can be retired when the migration is
complete, hopefully eliminating the need for type related caching, which
can lead to subtle invalidation errors.

To help the transition, a temporary getScalarTypeOrInfer has been added,
which returns the scalar type set in the VPValue for already migrated
recipes or falls back o type inferrence otherwise.

VPlanVerifier has been extended verify the set scalar type where
possible.

Tracking the type directly means a few places that change the type will

    [5 lines not shown]
DeltaFile
+56-38llvm/lib/Transforms/Vectorize/VPlan.h
+56-0llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+12-36llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
+24-10llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+19-4llvm/lib/Transforms/Vectorize/VPlan.cpp
+8-9llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
+175-973 files not shown
+195-1109 files

LLVM/project f5007fcoffload/liboffload/API Event.td, offload/liboffload/src OffloadImpl.cpp

[Offload] Make profiling support opt-in on events (#198810)

Summary:
Profiling requires getting time stamp information, which required
actually materializing barriers on the event. This caused performance
regressions in some OpenMP applications. Instead, we want to make this
opt in. This just adds a new argument to `olCreateEvent` which takes
some flags. Right now this is just none and profiling. Pretty mechanical
beyond that. Should revert this to the old behavior for OpenMP.

Co-authored-by: Kevin Sala Penades <kevinsala.ks at gmail.com>
DeltaFile
+52-10offload/plugins-nextgen/amdgpu/src/rtl.cpp
+34-8offload/unittests/OffloadAPI/event/olGetEventElapsedTime.cpp
+23-11offload/liboffload/src/OffloadImpl.cpp
+17-7offload/plugins-nextgen/cuda/src/rtl.cpp
+14-3offload/liboffload/API/Event.td
+8-7offload/plugins-nextgen/common/src/PluginInterface.cpp
+148-469 files not shown
+190-7315 files

LLVM/project 859c550libcxx/include/__cxx03/__memory uninitialized_algorithms.h, libcxx/include/__memory uninitialized_algorithms.h

[libc++] Require the exact assignment expression to be trivial in __uninitialized_allocator_copy_impl (#196648)

Fixes https://github.com/llvm/llvm-project/issues/196645

`__uninitialized_allocator_copy_impl` has an optimization that replaces
`allocator_traits::construct` with `std::copy` for raw pointer ranges
when the element type is trivially copy constructible and trivially copy
assignable.

The copy-assignment trait only checks whether assignment from `const T&`
is trivial. That is weaker than the expression used by `std::copy`,
which evaluates `*out = *in`. If overload resolution selects a different
non-trivial assignment operator for that expression, `std::copy` can
call that operator on uninitialized storage.

Check `is_trivially_assignable<_Out&, _In&>` instead. This matches the
assignment expression used by `std::copy`, preserves the optimized path
when that assignment is actually trivial, and avoids making non-const
raw pointer callers select the generic `allocator_traits::construct`

    [4 lines not shown]
DeltaFile
+76-1libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
+1-1libcxx/include/__memory/uninitialized_algorithms.h
+1-1libcxx/include/__cxx03/__memory/uninitialized_algorithms.h
+78-33 files

LLVM/project b387674flang/lib/Evaluate formatting.cpp, flang/lib/Semantics expression.cpp

[flang][PPC] Improve vector type names in expression diagnostics (NFC) (#197821)

Improve Flang semantic diagnostics for vector types by printing vector
type spellings in Fortran syntax instead of internal builtin-derived
type names.

Use `DerivedTypeSpec::VectorTypeAsFortran()` when producing vector
operand type names in `ArgumentAnalyzer::TypeAsFortran()`, instead of
relying on the generic type formatting path.

This updates diagnostics to print vector types as Fortran source-like
spellings, such as:
- `vector(integer(4))`
- `vector(real(4))`

while preserving the existing formatting for non-vector derived types.
DeltaFile
+15-0flang/test/Semantics/PowerPC/ppc-vector-diagnostics.f90
+3-1flang/lib/Semantics/expression.cpp
+3-0flang/lib/Evaluate/formatting.cpp
+21-13 files

FreeBSD/src f15df0ausr.sbin/bsdconfig/share/media wlan.subr

bsdconfig: Make sure that SSID names are properly escaped

The f_menu_wpa_scan_results() function returns a list of networks
discovered by a scan.  The untrusted network names are evaluated in
f_dialog_menu_wireless_edit.  The quoting applied in
f_menu_wpa_scan_results() protects against evaluation of something like
"$(whoami)" but one can add single quotes to defeat that.

Pass the SSID names through f_shell_escape to work around this.  Escape
single quotes in f_dialog_wireless_edit() and f_menu_wireless_configs()
too for consistency.

I note that this module doesn't seem to actually work, see e.g.,
bugzilla PR 229883.

Approved by:    so
Security:       FreeBSD-SA-26:23.bsdinstall
Security:       CVE-2026-45255
Reported by:    Austin Ralls

    [2 lines not shown]
DeltaFile
+3-0usr.sbin/bsdconfig/share/media/wlan.subr
+3-01 files

FreeBSD/src 9e74d5elib/libcasper/libcasper service.c libcasper_service.c, lib/libcasper/tests cap_main_test.c Makefile

libcasper: switch from select(2) to poll(2)

The previous implementation used FD_SET() on a stack-allocated fd_set,
which is an out-of-bounds write whenever the socket fd is >= FD_SETSIZE
(1024).

poll(2) takes an array indexed by slot rather than by fd value, so it
has no FD_SETSIZE limit.

Approved by:    so
Security:       FreeBSD-SA-26:22.libcasper
Security:       CVE-2026-39461
Reported by:    Joshua Rogers
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56695
DeltaFile
+105-83lib/libcasper/libcasper/service.c
+142-0lib/libcasper/tests/cap_main_test.c
+4-53lib/libcasper/libcasper/libcasper_service.c
+10-2lib/libcasper/tests/Makefile
+2-4lib/libcasper/libcasper/libcasper_impl.h
+263-1425 files

FreeBSD/src 25148c5sys/fs/fuse fuse_vnops.c fuse_ipc.h, tests/sys/fs/fusefs xattr.cc

fusefs: Handle buggy servers' LISTXATTR response

The fuse protocol requires server to respond to LISTXATTR with a
NUL-terminated string.  If they don't, report an error rather than
attempt to scan through uninitialized memory for a NUL.

Approved by:    so
Security:       FreeBSD-SA-26:20.fusefs
Security:       CVE-2026-45252
admbugs:        1039
Reported by:    Joshua Rogers
Sponsored by:   ConnectWise
DeltaFile
+73-0tests/sys/fs/fusefs/xattr.cc
+11-6sys/fs/fuse/fuse_vnops.c
+1-0sys/fs/fuse/fuse_ipc.h
+85-63 files

FreeBSD/src b90b25csys/dev/netmap netmap_freebsd.c

netmap: Drain selinfo sleepers in nm_os_selinfo_uninit()

Approved by:    so
Security:       FreeBSD-SA-26:19.file
Security:       CVE-2026-45251
DeltaFile
+1-0sys/dev/netmap/netmap_freebsd.c
+1-01 files