LLVM/project 8d9a772lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h, lldb/unittests/Process/gdb-remote ProcessGDBRemoteTest.cpp CMakeLists.txt

[lldb] Contribute the GDB-remote packet history to diagnostics bundles

Register a Diagnostics artifact provider from ProcessGDBRemote so a
diagnostics bundle captures the GDB-remote packet history, the same data
"process plugin packet history" prints.
DeltaFile
+103-0lldb/unittests/Process/gdb-remote/ProcessGDBRemoteTest.cpp
+19-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+4-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+1-0lldb/unittests/Process/gdb-remote/CMakeLists.txt
+127-04 files

LLVM/project 2120490lldb/include/lldb/Core Diagnostics.h, lldb/source/Core Diagnostics.cpp

[lldb] Add an artifact provider mechanism to Diagnostics (#210417)

Add a hook that lets a subsystem contribute a file to the diagnostics
bundle, without breaking layering and making Core depend on it. A plugin
registers an ArtifactProvider callback and a file name via AddArtifactProvider.
Providers run when a bundle is collected, and each one that yields
content is written into the bundle and recorded in the report's
attachments.

This restores, in a simpler form, the collection point that the removed
Diagnostics callback mechanism offered. The motivating consumer is the
downstream Swift health check, which registers a provider to write its
"swift-healthcheck.log" into the bundle. Unlike the old callback, a
provider does not open or write its own file: it just returns the
contents as a string and Diagnostics handles the rest.
DeltaFile
+140-0lldb/unittests/Core/DiagnosticsTest.cpp
+30-0lldb/source/Core/Diagnostics.cpp
+30-0lldb/include/lldb/Core/Diagnostics.h
+1-0lldb/unittests/Core/CMakeLists.txt
+201-04 files

LLVM/project 965fa41llvm/lib/Target/AArch64/MCTargetDesc AArch64MCLFIRewriter.cpp, llvm/test/MC/AArch64/LFI debug-info.s

[LFI][AArch64] Fix Segfault due to infinite recursion in LFI rewriter (#210267)

When emitting a deferred LR guard, if debug info is enabled, the
emission of the guard instruction can trigger temporary labels (e.g. for
DWARF line entries), which recursively calls onLabel. Since
DeferredLRGuard was only set to false after emission, the nested call
would re-emit the guard, causing infinite recursion which leads to a
SegFault due to stack overflow. This was detected compiling
ubsan_minimal_handlers.cpp in compiler-rt. I fixed it by using the
existing recursion guard (Guard).
DeltaFile
+13-0llvm/test/MC/AArch64/LFI/debug-info.s
+3-0llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.cpp
+16-02 files

LLVM/project 9eb2dc0libcxx/utils/libcxx/test format.py, llvm/utils/lit/lit TestRunner.py

Revert "[lit] Delete the external shell" (#210433)

Reverts llvm/llvm-project#209571

Breaks some buildbots:
1.
https://lab.llvm.org/buildbot/#/builders/232/builds/3690/steps/11/logs/stdio
2. https://lab.llvm.org/buildbot/#/builders/222/builds/11180
DeltaFile
+135-5llvm/utils/lit/lit/TestRunner.py
+11-0llvm/utils/lit/lit/formats/shtest.py
+4-1libcxx/utils/libcxx/test/format.py
+150-63 files

LLVM/project 284c1a1lldb/docs/use variable.md, lldb/source/API SBValue.cpp

[LLDB] Enable SBTypeSynthetic manipulation for SBValue instances (#209056)

Allow manipulating the scripted synthetic children frontend selection
process for individual `SBValue` instances.

The motivating use-case is supporting custom data structures, type
erasure systems, and facilitating debugging handle based C APIs. Below
is an example of such a use-case of an anonymized 3rd party C library:
```C
using ErrorCode = int;
using Handle = void*;

using FooHandle = Handle;
using BarHandle = Handle;

struct ArrayOfHandles {
  int size;
  Handle* data;
};

    [12 lines not shown]
DeltaFile
+93-0lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp
+89-0lldb/test/API/python_api/sbvalue_set_type_synthetic/library_support.py
+66-0lldb/test/API/python_api/sbvalue_set_type_synthetic_override/TestSBValueSetTypeSyntheticOverride.py
+65-0lldb/test/API/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic.py
+37-0lldb/docs/use/variable.md
+27-0lldb/source/API/SBValue.cpp
+377-011 files not shown
+478-417 files

LLVM/project a12cbbcclang/include/clang/ScalableStaticAnalysis BuiltinAnchorSources.def, clang/lib/ScalableStaticAnalysis/Analyses CMakeLists.txt

[SSAF] Add EntitySourceLocationExtractor (#210201)

Walks every entity-producing decl in the TU and emits
SourceLocationRecord(s) per entity-kind anchor:

* Identifier-bearing decls (FunctionDecl/VarDecl/FieldDecl/ RecordDecl):
Decl::getLocation().
* Synthetic function return-slot entity:
FD->getReturnTypeSourceRange().getBegin().
* ParmVarDecl (named or unnamed): P->getTypeSpecStartLoc().

Skips compiler-synthesized implicits and builtins via the getEntityName
gate, system-header decls via SourceManager, and silently drops records
whose location is invalid or whose file path cannot be canonicalized via
real_path.

Assisted-By: Claude Opus 4.7
DeltaFile
+479-0clang/unittests/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/EntitySourceLocationExtractorTest.cpp
+188-0clang/lib/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/EntitySourceLocationExtractor.cpp
+1-0clang/include/clang/ScalableStaticAnalysis/BuiltinAnchorSources.def
+1-0clang/lib/ScalableStaticAnalysis/Analyses/CMakeLists.txt
+1-0clang/unittests/ScalableStaticAnalysis/CMakeLists.txt
+670-05 files

LLVM/project 986cdd8llvm/lib/Transforms/Vectorize VPlanTransforms.cpp VPlanEVLTailFolding.cpp

[VPlan] Move EVL-based transforms to VPlanEVLTransforms.cpp (NFC) (#209883)

VPlanTransforms.cpp has become quite big and is one of the top 20 most
expensive files in terms of compile-time.


https://llvm-compile-time-tracker.com/compare_clang.php?from=b8ba3c2b72cb53268129bbecfeb4ba7ec5b8d831&to=96a722a0ace661626d071166635728def97f6820&stat=instructions%3Au

Split off the mostly self-contained EVL related transforms and move them
to a new VPlanEVLTransforms.cpp.

This moves simplifyKnownEVL, optimizeEVLMasks, addExplicitVectorLength,
convertToVariableLengthStep and convertEVLExitCond together with their
EVL-specific static helpers.

Shared helpers used by the moved code (isDeadRecipe,
collectUsersRecursively, recursivelyDeleteDeadRecipes,
getOpcodeOrIntrinsicID and tryToFoldLiveIns, pullOutPermutations) are
promoted to vputils.

PR: https://github.com/llvm/llvm-project/pull/209883
DeltaFile
+18-830llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+657-0llvm/lib/Transforms/Vectorize/VPlanEVLTailFolding.cpp
+178-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+44-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+1-0llvm/lib/Transforms/Vectorize/CMakeLists.txt
+898-8305 files

LLVM/project f97dcd0llvm/tools/llvm-libtool-darwin llvm-libtool-darwin.cpp

[llvm-libtool-darwin] Ensure filelist buffer is null-terminated (#205115)

[llvm-libtool-darwin] Ensure filelist buffer is null-terminated

In llvm-libtool-darwin.cpp, `MemoryBuffer::getFileOrSTDIN` was
previously called to load the filelist with `RequiresNullTerminator` set
to `false`. However, the retrieved buffer is subsequently passed to
`llvm::line_iterator`.

Since `llvm::line_iterator` explicitly requires its underlying buffer to
be null-terminated, omitting this requirement can result in an
out-of-bounds read/buffer overrun when parsing the file list.

This change fixes the issue by requesting a null-terminated buffer
(`RequiresNullTerminator=true`).

Co-authored-by: Alexander Shaposhnikov <ashaposhnikov at google.com>
DeltaFile
+1-1llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
+1-11 files

LLVM/project 466503dllvm/lib/Target/X86 X86InstrTBM.td, llvm/test/CodeGen/X86 tbm_patterns.ll

X86: Add pattern for optimized BLSIC IR form (#209814)

Add DAG pattern to recognize the optimized IR form of BLSIC: (xor (and
x, -x), -1)

Fixes #209718 - matches the IR form produced after InstCombine
optimizations

Added tests for both 32-bit and 64-bit BLSIC patterns

Assisted by: Claude Code, helped me understand
pattern-matching/intrinsics, and some file structure. As well as how
testing for LLVM works.
DeltaFile
+34-12llvm/test/CodeGen/X86/tbm_patterns.ll
+5-0llvm/lib/Target/X86/X86InstrTBM.td
+39-122 files

FreeBSD/src 8a16004sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: stop ieee80211_start_tx_ba_session() if no HT supported

rtw89(4) would constantly try to start a TX BlockACK session even if no
HT or higher was available.  The only way to stop this (currently) is
to return -EINVAL instead of any other error.

Note: we should investigate if/when to call (*set_tid_config)() as that
will also offer the ability to forbid BA.

Sponsored by:   The FreeBSD Foundation
Reported by:    arved, bnovkov
Tested by:      bnovkov
MFC after:      3 days
DeltaFile
+1-1sys/compat/linuxkpi/common/src/linux_80211.c
+1-11 files

LLVM/project 17ba014lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h, lldb/unittests/Process/gdb-remote ProcessGDBRemoteTest.cpp CMakeLists.txt

[lldb] Contribute the GDB-remote packet history to diagnostics bundles

Register a Diagnostics artifact provider from ProcessGDBRemote so a
diagnostics bundle captures the GDB-remote packet history, the same data
"process plugin packet history" prints.
DeltaFile
+103-0lldb/unittests/Process/gdb-remote/ProcessGDBRemoteTest.cpp
+19-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+4-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+1-0lldb/unittests/Process/gdb-remote/CMakeLists.txt
+127-04 files

LLVM/project b41eda2lldb/include/lldb/Core Diagnostics.h, lldb/source/Core Diagnostics.cpp

[lldb] Add an artifact provider mechanism to Diagnostics

Add a hook that lets a subsystem contribute a file to the diagnostics
bundle, without breaking layering and making Core depend on it. A plugin registers an
ArtifactProvider callback and a file name via AddArtifactProvider.
Providers run when a bundle is collected, and each one that yields
content is written into the bundle and recorded in the report's
attachments.

This restores, in a simpler form, the collection point that the removed
Diagnostics callback mechanism offered. The motivating consumer is the
downstream Swift health check, which registers a provider to write its
"swift-healthcheck.log" into the bundle. Unlike the old callback, a
provider does not open or write its own file: it just returns the
contents as a string and Diagnostics handles the rest.

I have a follow-up PR that takes advantage of this new mechanism
upstream to collect the GDB remote packet log.
DeltaFile
+140-0lldb/unittests/Core/DiagnosticsTest.cpp
+30-0lldb/include/lldb/Core/Diagnostics.h
+30-0lldb/source/Core/Diagnostics.cpp
+1-0lldb/unittests/Core/CMakeLists.txt
+201-04 files

FreeNAS/freenas 64a704esrc/middlewared/middlewared/pytest/unit/plugins/apps test_compose_progress.py

merge test_up_without_pull_does_not_peg_at_network_creation and test_up_multi_container_progresses_incrementally
DeltaFile
+17-22src/middlewared/middlewared/pytest/unit/plugins/apps/test_compose_progress.py
+17-221 files

LLVM/project 1e37b62libcxx/utils/libcxx/test format.py, llvm/utils/lit/lit TestRunner.py

[lit] Delete the external shell (#209571)

This was deprecated in LLVM 23 and slated for removal in LLVM 24. Now
that we have branched and everything has been updated to not set
execute_external, we can remove it.
DeltaFile
+5-135llvm/utils/lit/lit/TestRunner.py
+0-11llvm/utils/lit/lit/formats/shtest.py
+1-4libcxx/utils/libcxx/test/format.py
+6-1503 files

LLVM/project ea863cbllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 dagcombine-sub-globaladdress.ll

[DAGCombiner] Fix APInt truncation assertion (#209914)

getConstant() would create an APInt with ImplicitTrunc = false, but the
constant here can really be anything.

Fixes #209884.
DeltaFile
+37-0llvm/test/CodeGen/X86/dagcombine-sub-globaladdress.ll
+4-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+41-22 files

LLVM/project 82134c7clang/lib/CIR/CodeGen CIRGenExpr.cpp CIRGenExprAggregate.cpp, clang/test/CIR/CodeGen ternary-throw.cpp

[CIR] Terminate conditional regions after creation; fix glvalue conditional with a throw arm (#210384)

Follow-up to #208850: @andykaylor's comments about
`CIRGenFunction::emitConditionalBlocks` also have a similar
insertion-point problem.

The PR addresses the two related problems found while looking into the
conditional branch emission path:

**1. Terminate conditional regions after creation instead of patching
yields**
`CIRGenFunction::emitConditionalBlocks` still had the save-and-patch
insertion-point machinery removed from the scalar path in #208850. The
path is unreachable, and its guard is saved only after
`cir.unreachable`, where a patched yield would generate the dead code.
The machinery is removed; regions are closed with
`terminateStructuredRegionBody` after creation.

The aggregate emitter had the reverse problem: an unconditional

    [49 lines not shown]
DeltaFile
+342-12clang/test/CIR/CodeGen/ternary-throw.cpp
+27-45clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+2-2clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
+371-593 files

Dreckly/dreckly 977ac46devel/libevent distinfo Makefile.common

libevent: Security update to 2.1.13
DeltaFile
+3-3devel/libevent/distinfo
+1-1devel/libevent/Makefile.common
+0-1devel/libevent/Makefile
+4-53 files

NetBSD/pkgsrc xyOndqRdoc TODO CHANGES-2026

   doc: Updated lang/nodejs24 to 24.18.0nb1
VersionDeltaFile
1.27601+4-1doc/TODO
1.4524+2-1doc/CHANGES-2026
+6-22 files

NetBSD/pkgsrc lM2OgJ8lang/nodejs24 distinfo Makefile, lang/nodejs24/patches patch-src_node__platform.cc patch-src_node__platform.h

   nodejs24: fix hang on shutdown

   patch from upstream pull request

   Bump PKGREVISION.
VersionDeltaFile
1.1+45-0lang/nodejs24/patches/patch-src_node__platform.cc
1.1+14-0lang/nodejs24/patches/patch-src_node__platform.h
1.13+3-1lang/nodejs24/distinfo
1.13+2-1lang/nodejs24/Makefile
+64-24 files

GhostBSD/ports 1cc35b1devel/electron43/files/packagejsons yarn.lock, devel/libddwaf/files patch-update-fmt

Merge remote-tracking branch 'freebsd/main'
DeltaFile
+18,821-20,532mail/thunderbird-esr/files/patch-libwebrtc-generated
+18,821-20,532www/firefox-esr/files/patch-libwebrtc-generated
+1,693-12,785editors/vscode/pkg-plist
+0-12,986devel/libddwaf/files/patch-update-fmt
+12,174-0devel/electron43/files/packagejsons/yarn.lock
+5,974-0net-im/gomuks/files/packagejsons/package-lock.json
+57,483-66,8358,546 files not shown
+202,716-113,5288,552 files

FreeBSD/ports 37df854filesystems/pjdfstest distinfo Makefile.crates, filesystems/pjdfstest/files patch-Cargo.lock

filesystems/pjdfstest: fix the build in vanilla RISCV

Patch the port to update libc to a version that will work on RISCV
without COMPAT11.

Sponsored by:   ConnectWise
DeltaFile
+14-0filesystems/pjdfstest/files/patch-Cargo.lock
+3-3filesystems/pjdfstest/distinfo
+1-1filesystems/pjdfstest/Makefile.crates
+1-0filesystems/pjdfstest/Makefile
+19-44 files

LLVM/project 0e3852fclang/lib/Sema SemaDecl.cpp, clang/test/Parser cxx1z-decomposition.cpp

[clang][sema] Fix crash on decomposition decl missing initializer (#210151)

ActOnUninitializedDecl dereferenced the std::optional<Token> from
Lexer::findNextToken() unconditionally when diagnosing a structured
binding with no initializer. Guard the optional and fall back to the
declaration's location.
DeltaFile
+9-6clang/lib/Sema/SemaDecl.cpp
+3-0clang/test/Parser/cxx1z-decomposition.cpp
+12-62 files

LLVM/project 4e0dbfellvm/test/Analysis/ScalarEvolution max-backedge-taken-count-guard-info.ll

[SCEV][NFC] Precommit test for MatchRangeCheckIdiom tightening (#210386)
DeltaFile
+43-0llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
+43-01 files

FreeBSD/src d7ea4aa. CLAUDE.md, include ucl.h

libucl: Import libucl 0.9.4

Changelog: https://github.com/vstakhov/libucl/releases/tag/0.9.4
DeltaFile
+82-0CLAUDE.md
+27-4src/ucl_util.c
+23-0include/ucl.h
+13-0tests/basic/issue312.res
+8-4tests/CMakeLists.txt
+9-3src/ucl_emitter.c
+162-116 files not shown
+196-1412 files

LLVM/project 977ecedlldb/source/Expression IRInterpreter.cpp

[lldb] Truncate an over-wide symbol address in the IR interpreter (#210372)

IRInterpreter::ResolveConstantValue built a pointer-width APInt directly
from the address returned by FindSymbol. That address can be wider than
a target pointer, because lldb records extra information in the high
bits on some targets, such as the code/memory address-space tag on
WebAssembly.

A 32-bit pointer then cannot hold the tagged address and the APInt
constructor asserts, aborting the debugger when a function-valued
expression is evaluated (for example `expr main`).

Truncate to the pointer width instead of asserting, matching the idiom
already used in DWARFExpression. On targets whose addresses fit in a
pointer this is a no-op.
DeltaFile
+6-1lldb/source/Expression/IRInterpreter.cpp
+6-11 files

LLVM/project 6ff0ebelldb/include/lldb/Core Diagnostics.h, lldb/source/Core Diagnostics.cpp CoreProperties.td

[lldb] Collect the executable, symbol file, and core in diagnostics (#210391)

The diagnostics bundle already gathers logs, statistics, and a snapshot
of the first triage commands, but sometimes the binaries are required to
reproduce an issue. Collect the main executable, its symbol file, and
the core file into the bundle.

Gate this on a new global setting, diagnostics.collect-binaries, which
defaults to false: these files can be large and privacy sensitive, so
including them is opt-in.

Assisted-by: Claude
DeltaFile
+76-0lldb/source/Core/Diagnostics.cpp
+44-0lldb/test/Shell/Diagnostics/TestDiagnosticsCollectBinaries.test
+21-3lldb/include/lldb/Core/Diagnostics.h
+7-0lldb/source/Core/CoreProperties.td
+4-0lldb/source/Core/Debugger.cpp
+152-35 files

LLVM/project dc3b1edllvm/test/TableGen RuntimeLibcallEmitter-predicate-cc-sort.td, llvm/utils/TableGen/Basic RuntimeLibcallsEmitter.cpp

TableGen: Deterministically order predicate groups by calling convention (#210409)
DeltaFile
+38-0llvm/test/TableGen/RuntimeLibcallEmitter-predicate-cc-sort.td
+7-1llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
+45-12 files

LLVM/project aef6bdeclang/test/Analysis/Scalable/ssaf-linker/Outputs libtwo.json, clang/test/CodeGen/RISCV rvp-intrinsics.c

Rebase

Created using spr 1.3.7
DeltaFile
+1,074-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+408-402llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+640-0clang/test/Analysis/Scalable/ssaf-linker/Outputs/libtwo.json
+593-0llvm/test/CodeGen/AArch64/sve-ptrue-coalesce.mir
+541-0llvm/test/CodeGen/Hexagon/rdfopt-liveins-hang.mir
+112-409llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+3,368-811657 files not shown
+20,023-7,597663 files

LLVM/project 9bae0aallvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp, llvm/test/CodeGen/AMDGPU div-rem-fast-path.ll udiv.ll

[AMDGPU] Remove unnecessary and broken sign/zero extension in fastdiv (#210348)

Remove unnecessary and broken sign/zero-extension when using float-point
reciprocal to implement division/remainder. This change is analogous to
the change done in https://github.com/llvm/llvm-project/pull/203436 but
in AMDGPUISelLowering.cpp.

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+81-4llvm/test/CodeGen/AMDGPU/div-rem-fast-path.ll
+8-10llvm/test/CodeGen/AMDGPU/udiv.ll
+0-12llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+4-7llvm/test/CodeGen/AMDGPU/sdiv.ll
+0-1llvm/test/CodeGen/AMDGPU/med3-knownbits.ll
+93-345 files

LLVM/project cc71917llvm/test/CodeGen/NVPTX atomicrmw-sm60.ll atomicrmw-sm70.ll, llvm/test/Transforms/AtomicExpand/AMDGPU expand-atomic-f32-agent.ll

rebase

Created using spr 1.3.7
DeltaFile
+2,949-1,487llvm/test/CodeGen/NVPTX/atomicrmw-sm60.ll
+2,871-1,461llvm/test/CodeGen/NVPTX/atomicrmw-sm70.ll
+3,624-0mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+1,635-849llvm/test/CodeGen/NVPTX/atomicrmw-sm90.ll
+803-803llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
+982-327llvm/test/Transforms/LoopIdiom/cyclic-redundancy-check.ll
+12,864-4,9273,144 files not shown
+91,235-42,8953,150 files