LLVM/project b75f5d7lldb/include/lldb/Target ScriptedThreadPlan.h, lldb/source/API SBThreadPlan.cpp SBThread.cpp

[lldb] Consolidate ScriptedThreadPlan state into ScriptedMetadata (#199064)

This is a follow-up to 1b4a578a9f77.

Replace ScriptedThreadPlan's separate `m_class_name` and `m_args_data`
members with a single `m_scripted_metadata`, and update its constructor,
Thread::QueueThreadPlanForStepScripted and the SB/CLI callers to take a
`const ScriptedMetadata &` directly. Drop the now-redundant `args_sp`
parameter from ScriptedThreadPlanInterface::CreatePluginObject; the
Python override constructs a StructuredDataImpl from the metadata's args
dict for the dispatched call.

ScriptedThreadPlan keeps its own `m_scripted_metadata` member because
the interface's metadata is only set when `DidPush()` calls
`CreatePluginObject`, so the plan needs to hold the metadata between
construction and `DidPush()`.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+22-24lldb/source/Target/ScriptedThreadPlan.cpp
+23-9lldb/source/API/SBThreadPlan.cpp
+5-4lldb/include/lldb/Target/ScriptedThreadPlan.h
+3-5lldb/source/Target/Thread.cpp
+6-1lldb/source/API/SBThread.cpp
+3-2lldb/source/Commands/CommandObjectThread.cpp
+62-454 files not shown
+70-5310 files

LLVM/project 691d540lldb/include/lldb/Interpreter/Interfaces ScriptedHookInterface.h, lldb/include/lldb/Target Target.h

[lldb] Consolidate Target Hook/StopHook scripted state into ScriptedMetadata (#199088)

This is a follow-up to 1b4a578a9f77.

Replace `Target::HookScripted`'s and `Target::StopHookScripted`'s
separate `m_class_name` and `m_extra_args` members with a single
`m_scripted_metadata`, and update `SetScriptCallback to take a `const
ScriptedMetadata &` directly. Drop the now-redundant `args_sp` parameter
from ScriptedHookInterface::CreatePluginObject and
ScriptedStopHookInterface::CreatePluginObject; the Python overrides
construct a StructuredDataImpl from the metadata's args dict for the
dispatched call.

Each hook subclass keeps its own `m_scripted_metadata` member because
the interface's metadata is only set when SetScriptCallback runs the
Python override of CreatePluginObject; the hook needs to hold the
metadata between construction and that callback. Read-side description
printing goes through the new GetScriptClassName() helper which
delegates to m_interface_sp->GetScriptedMetadata(). The two

    [3 lines not shown]
DeltaFile
+44-43lldb/source/Target/Target.cpp
+7-10lldb/include/lldb/Target/Target.h
+6-4lldb/source/Commands/CommandObjectTarget.cpp
+2-2lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStopHookPythonInterface.cpp
+2-2lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedHookPythonInterface.cpp
+1-2lldb/include/lldb/Interpreter/Interfaces/ScriptedHookInterface.h
+62-633 files not shown
+65-699 files

LLVM/project 85c3be1llvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorUtils.h, llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorUtils.cpp

[Instrumentor][FIX] Ensure we indicate changes properly. (#199106)

We now indicate changes whenever we might have changed things even if
the filter will rule out instrumentation. The issue was that we need to
get the argument to check the filter and that process might create new
IR, e.g., a global variable containing the function name.
DeltaFile
+13-8llvm/lib/Transforms/IPO/Instrumentor.cpp
+4-2llvm/include/llvm/Transforms/IPO/Instrumentor.h
+5-1llvm/lib/Transforms/IPO/InstrumentorUtils.cpp
+1-1llvm/include/llvm/Transforms/IPO/InstrumentorUtils.h
+23-124 files

LLVM/project 1e58c28.github/actions/checkout-baseline-tooling action.yml

Whoops, too much copy and paste
DeltaFile
+1-1.github/actions/checkout-baseline-tooling/action.yml
+1-11 files

FreeBSD/src ac8fe88release/pkg_repos release-dvd.conf

Switch from "quarterly" to "release" pkgs on DVD

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1release/pkg_repos/release-dvd.conf
+1-11 files

LLVM/project fae43d7.github/workflows issue-write.yml

[CI] Remove unnecessary PR validation

There's no reason to try to verify the PR number here - if it's not correct
we error out anyway, so just ignore it entirely and pull the information in
directly from github.
DeltaFile
+48-52.github/workflows/issue-write.yml
+48-521 files

LLVM/project b687efbclang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGen wide-string.cpp string-literals.cpp

[CIR] Wide String literals in a larger variable lowering (#198966)

This showed up in a test suite: If the size of the variable is larger
than the literal, we were asserting since we were only accounting for a
single null terminator. The FE will ensure that we have enough room for
the variable + a null terminator, but the size must be larger!

This patch counds on 'trailing-zeroes' to make sure the null terminator
is in place.
DeltaFile
+9-4clang/test/CIR/CodeGen/wide-string.cpp
+2-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+6-0clang/test/CIR/CodeGen/string-literals.cpp
+17-93 files

LLVM/project 5ab3297clang/lib/CIR/CodeGen CIRGenBuiltin.cpp, clang/test/CIR/CodeGenBuiltins builtins-overflow.cpp

[CIR] Fix cast kind to support bool in builtin_*_overflow (#198958)

'bool' is an acceptable type to the __builtin_*_overflow functions, but
we were unconditionally doing an integral cast. This adds some logic to
do a bool-to-int cast if necessary.
DeltaFile
+18-0clang/test/CIR/CodeGenBuiltins/builtins-overflow.cpp
+13-4clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+31-42 files

LLVM/project 6149387clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen call.c

[CIR] Implement lowering of atomic-func ptrs (#199045)

This actually is a near-zero effort implementation, since other than an
assertion, we had everything correct. It isn't clear where that
assertion came from (other than an over abundance of caution?). It
doesn't exist in classic codegen, which always counts on the
fallthrough.

However, we ARE missing some ptr-auth work in that area, so a
MissingFeatures is added to be a placeholder for it.
DeltaFile
+20-0clang/test/CIR/CodeGen/call.c
+6-5clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+26-52 files

FreeBSD/ports e7b69dcmath/octave-forge Makefile

math/octave-forge: Add new optional dependency.

- math/octave-forge-octave_ffmpeg_free added as optional dependency.
- Update to 20260521.
DeltaFile
+3-1math/octave-forge/Makefile
+3-11 files

LLVM/project 2cbcd18clang/lib/CIR/CodeGen CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic.c

[CIR] Fix Cmp-Xchg generation when casting to int (#198924)

We have logic in CIRGenAtomic to handle 'cast float to an int', which
works for most of our atomics. However, compare-exchange uses a second
'val' value, which was not getting cast, which caused a verification
error.

This patch ensures that the correct cast is generated for 'val2' as
well.
DeltaFile
+29-0clang/test/CIR/CodeGen/atomic.c
+2-0clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+31-02 files

LLVM/project 7b429c9clang-tools-extra/clang-doc YAMLGenerator.cpp ClangDoc.cpp

[clang-doc] Use explicit for single param constructors (#198068)

This trips up some clang-tidy checks, so add the explicit keyword as
needed to satisfy the lints.
DeltaFile
+2-2clang-tools-extra/clang-doc/YAMLGenerator.cpp
+2-2clang-tools-extra/clang-doc/ClangDoc.cpp
+1-1clang-tools-extra/clang-doc/Serialize.cpp
+1-1clang-tools-extra/clang-doc/BitcodeWriter.cpp
+6-64 files

FreeBSD/ports c2ee32cmath Makefile, math/octave-forge-octave_ffmpeg_free Makefile pkg-descr

math/octave-forge-octave_ffmpeg_free: New port.

The octave_ffmpeg_free package provides a comprehensive multimedia
processing toolkit for GNU Octave, based on FFmpeg-free libraries.
DeltaFile
+26-0math/octave-forge-octave_ffmpeg_free/Makefile
+9-0math/octave-forge-octave_ffmpeg_free/pkg-descr
+3-0math/octave-forge-octave_ffmpeg_free/distinfo
+1-0math/Makefile
+39-04 files

LLVM/project cfc03d6clang/include/clang/CIR/Dialect Passes.td, clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp

[CIR] Add CallConvLowering pass + Direct/Ignore ABI rewriting (#195737)

Depends on #195725 (merged).

Stacked on #195725 (PR A1). The diff in this PR is the CIR side; A1 has
the dialect-agnostic infrastructure.

Adds the `cir-call-conv-lowering` pass plus the `CIRABIRewriteContext`
skeleton with handlers for Direct (true pass-through) and Ignore (drop
empty-record args/returns). Subsequent PRs in the split add Extend,
Direct-with-coercion + a new reinterpret op, Indirect/sret,
Indirect/byval, and Expand — each is purely additive because the
rewriter dispatches on `argClass.kind` via a switch with explicit "not
yet implemented" diagnostics for every other kind.

The pass takes one of two driver options: `target=test` uses the test
target from PR A1, and `classification-attr=<name>` reads a pre-built
`DictionaryAttr` from each `cir.func` (also via the helper from PR A1).
It also requires `dlti.dl_spec` on the module and emits a clear

    [20 lines not shown]
DeltaFile
+322-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+228-0clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+56-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.h
+47-6clang/include/clang/CIR/Dialect/Passes.td
+49-0clang/test/CIR/Transforms/abi-lowering/ignore-return.cir
+42-0clang/test/CIR/Transforms/abi-lowering/direct-passthrough-injection.cir
+744-614 files not shown
+1,029-1020 files

LLVM/project c0da185clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 avx512vl-builtins.c

[CIR][CIRGen][Builtin][X86] Compress Store Intrinsics (#169648)

This implements CIR handling for the x86-specific compressed store builtins.
DeltaFile
+80-0clang/test/CIR/CodeGenBuiltins/X86/avx512vl-builtins.c
+19-5clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+99-52 files

LLVM/project 9694b19llvm/lib/DebugInfo/DWARF DWARFDebugLine.cpp DWARFDebugAbbrev.cpp

DebugInfo: Shrink-to-fit some containers to reduce peak memory usage (#198935)

Changes originally by Tipp Moseley (tipp at google.com)
DeltaFile
+3-0llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+1-0llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
+1-0llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
+5-03 files

LLVM/project 975aeb4llvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorUtils.h, llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorUtils.cpp

[Instrumentor][FIX] Ensure we indicate changes properly.

We now indicate changes whenever we might have changed things even if
the filter will rule out instrumentation. The issue was that we need to
get the argument to check the filter and that process might create new
IR, e.g., a global variable containing the function name.
DeltaFile
+13-8llvm/lib/Transforms/IPO/Instrumentor.cpp
+4-2llvm/include/llvm/Transforms/IPO/Instrumentor.h
+5-1llvm/lib/Transforms/IPO/InstrumentorUtils.cpp
+1-1llvm/include/llvm/Transforms/IPO/InstrumentorUtils.h
+23-124 files

LLVM/project 6c48b17.github/actions/checkout-baseline-tooling action.yml, .github/workflows pr-code-lint.yml pr-code-format.yml

[CI] Unify handling of scripted PR workflows

A few workflows already force the use of baseline scripting when
testing PRs. This PR pulls that out into a separate action that
we can just reuse in other workflows as well.
DeltaFile
+17-0.github/actions/checkout-baseline-tooling/action.yml
+5-2.github/workflows/pr-code-lint.yml
+5-2.github/workflows/pr-code-format.yml
+27-43 files

LLVM/project c6cb310llvm/lib/Target/AMDGPU AMDGPUInsertDelayAlu.cpp, llvm/test/CodeGen/AMDGPU insert-delay-alu-attr.ll coexec-scheduler.ll

[AMDGPU] Don't insert delay_alu for 1 waves-per-eu (#198638)

These instructions are used to improve hardware utilization rates in the
multi-wave case. In the 1 wave per eu case these do not help and just
add extra instructions.
DeltaFile
+73-0llvm/test/CodeGen/AMDGPU/insert-delay-alu-attr.ll
+0-10llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+0-7llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
+6-0llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
+79-174 files

LLVM/project 4476253clang-tools-extra/clang-doc Representation.cpp YAMLGenerator.cpp

[clang-doc][nfc] Prefer range based APIs
DeltaFile
+2-2clang-tools-extra/clang-doc/Representation.cpp
+2-1clang-tools-extra/clang-doc/YAMLGenerator.cpp
+4-32 files

LLVM/project 56f8879clang-tools-extra/clang-doc Serialize.cpp

[clang-doc][nfc] Declare pointer with auto explicitly

This silences some errors from clang-tidy.
DeltaFile
+1-1clang-tools-extra/clang-doc/Serialize.cpp
+1-11 files

LLVM/project 4a67876clang-tools-extra/clang-doc Serialize.cpp

[clang-doc][nfc] Silence tidy warning about anonymous namespace

clang-tidy complains that we should prefer static over the anonymous
namespace, despite the API being static in addition to being in the
anonymous namespace. We can silence the diagnostic by simply removing
the namespace declaration.
DeltaFile
+0-2clang-tools-extra/clang-doc/Serialize.cpp
+0-21 files

LLVM/project a80f4e9clang-tools-extra/clang-doc YAMLGenerator.cpp

[clang-doc][nfc] Use static declarations to enforce internal linkage
DeltaFile
+4-4clang-tools-extra/clang-doc/YAMLGenerator.cpp
+4-41 files

LLVM/project a735e16clang-tools-extra/clang-doc YAMLGenerator.cpp ClangDoc.cpp

[clang-doc] Use explicit for single param constructors

This trips up some clang-tidy checks, so add the explicit keyword as
needed to satisfy the lints.
DeltaFile
+2-2clang-tools-extra/clang-doc/YAMLGenerator.cpp
+2-2clang-tools-extra/clang-doc/ClangDoc.cpp
+1-1clang-tools-extra/clang-doc/Serialize.cpp
+1-1clang-tools-extra/clang-doc/BitcodeWriter.cpp
+6-64 files

LLVM/project 9955c42llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO InstrumentorConfigFile.cpp

[llvm][Instrumentor] Fix non-determinism in Instrumentor (#198833)

In InstrumentorStubPrinter the StringMap was being iterated over, which
broke the Instrumentation/Instrumentor/write_config.ll test under
LLVM_REVERSE_ITERATION builds. We can use a MapVector to ensure the
order is stable. We only need to update the test json ordering to match
the stable order for with and without LLVM_REVERSE_ITERATION.
DeltaFile
+27-27llvm/test/Instrumentation/Instrumentor/default_config.json
+5-5llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+2-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+34-333 files

LLVM/project d7ff015lldb/examples/python formatter_bytecode.py, lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode RigidArrayLLDBFormatterSwift.txt

[lldb][bytecode] Disable formatters for Wasm object format (#199124)

Identified as an issue in
https://github.com/apple/swift-collections/issues/648
DeltaFile
+1-1lldb/examples/python/formatter_bytecode.py
+1-1lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/RigidArrayLLDBFormatterSwift.txt
+2-22 files

FreeBSD/ports 6a9a9bbdevel/air-go distinfo Makefile

devel/air-go: Update to 1.65.3

Changes: https://github.com/air-verse/air/releases/tag/v1.65.3
DeltaFile
+5-5devel/air-go/distinfo
+1-1devel/air-go/Makefile
+6-62 files

LLVM/project cae36e3clang-tools-extra/clang-doc BitcodeWriter.cpp BitcodeWriter.h

[clang-doc] Clean up inconsistent namespace usage in BitcodeWriter (#198067)

Typically we forgo prefixing things with clang::doc or llvm:: unless
they overlap with something in std::, like `to_underlying()`. We also
group things to avoid non-internal symbols by placing types in the
anonymous namespace, and more logically grouping things that don't need
to be in the clang::doc namespace.
DeltaFile
+56-61clang-tools-extra/clang-doc/BitcodeWriter.cpp
+2-3clang-tools-extra/clang-doc/BitcodeWriter.h
+58-642 files

LLVM/project 135ec89clang-tools-extra/clang-doc YAMLGenerator.cpp

[clang-doc][nfc] Use static declarations to enforce internal linkage
DeltaFile
+4-4clang-tools-extra/clang-doc/YAMLGenerator.cpp
+4-41 files

LLVM/project 8479c32clang-tools-extra/clang-doc Serialize.cpp

[clang-doc][nfc] Declare pointer with auto explicitly

This silences some errors from clang-tidy.
DeltaFile
+1-1clang-tools-extra/clang-doc/Serialize.cpp
+1-11 files