LLVM/project 14877f9clang/lib/AST AttrImpl.cpp Type.cpp, clang/utils/TableGen ClangAttrEmitter.cpp

[clang][AST] Attributed Type Deduplication Logic Cleanup (#204263)

https://github.com/llvm/llvm-project/pull/200961 implemented
`AttributedType` deduplication using the attributes' arguments. This PR
addresses the post-commit feedback.

The reason to have `llvm_unreachable("profile not implemented for this
type");` in the body of `profileAttrArg` for non-supported attribute
types is that none of the attributes that currently instantiate this
method are type attributes. The methods that are instantiated and not
supported are all for decl attributes. Leaving the body out will lead to
compilation failures, but the method's body should never be executed. If
an unsupported attribute type happens to execute this code path, the
failure should be loud and clear.
DeltaFile
+3-1clang/lib/AST/AttrImpl.cpp
+2-2clang/utils/TableGen/ClangAttrEmitter.cpp
+0-1clang/lib/AST/Type.cpp
+5-43 files

LLVM/project 1c78804llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp AMDGPUBaseInfo.h

AMDGPU: Refactor AMDGPUTargetID to not store MCSubtargetInfo

Store the triple string and GPUKind instead. The dependence
on checking AMDHSA seems like an anti-feature, but maintain the
behavior of not printing the modifiers for other OSes. Start
parsing the target ID instead of performing a direct string
comparison. Also improve test coverage for the treatment of the
environment component of the triple. The main behavioral change
is this will now produce normalized triples in the output and
diagnostics. Practially, this means all of the places that
currently emit "--" will be expanded into "-unknown-".

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+102-102llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
+79-36llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+34-10llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+22-22llvm/test/CodeGen/AMDGPU/hsa-note-no-func.ll
+27-1llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+17-0llvm/test/MC/AMDGPU/amdgcn-target-directive-triple-env.s
+281-17136 files not shown
+369-24742 files

NetBSD/pkgsrc-wip 06c3b25doggo DESCR Makefile

net/doggo - please pkglint
DeltaFile
+3-23doggo/DESCR
+4-5doggo/Makefile
+7-282 files

NetBSD/pkgsrc-wip e04aa31doggo distinfo go-modules.mk

Import net/doggo - a command-line DNS client for humans
DeltaFile
+251-0doggo/distinfo
+84-0doggo/go-modules.mk
+24-0doggo/Makefile
+23-0doggo/DESCR
+2-0doggo/PLIST
+1-0doggo/COMMIT_MSG
+385-06 files

NetBSD/pkgsrc-wip 664b637just distinfo cargo-depends.mk

Initial import of devel/just - execute project-specific commands
DeltaFile
+530-0just/distinfo
+177-0just/cargo-depends.mk
+34-0just/Makefile
+3-0just/PLIST
+1-0just/DESCR
+1-0just/COMMIT_MSG
+746-06 files

FreeNAS/freenas aef0bd3src/middlewared/middlewared/plugins network.py

fix list indentation
DeltaFile
+20-20src/middlewared/middlewared/plugins/network.py
+20-201 files

LLVM/project 3b26820cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng dbgeng.py, cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py

[Dexter] Switch to using script-mode by default

This patch changes the default mode of Dexter from heuristic-mode to
script-mode. The --use-script argument is replaced with --use-heuristic,
some comments/docs/error messages are updated accordingly, and tests have
their flags switched accordingly.
DeltaFile
+2-6cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
+3-4cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/view.cpp
+3-3cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
+2-2cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_sublist_aggregates.cpp
+14-19168 files not shown
+188-193174 files

LLVM/project 38ce2c0cross-project-tests/debuginfo-tests/dexter-tests optnone-vectors-and-functions.cpp optnone-simple-functions.cpp, cross-project-tests/debuginfo-tests/dexter-tests/memvars inlining-dse.c

[Dexter] Update lldb-based dexter-tests to use script-mode

This patch replaces uses of heuristic-mode Dexter in the dexter-tests suite
with uses of the script-mode, for tests that use DAP (via lldb-dap). The
updates are largely straightforward but occasionally non-trivial, and in
some cases some slight modifications have been made to keep the "spirit" of
the test intact.
DeltaFile
+93-73cross-project-tests/debuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp
+98-51cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
+68-54cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
+57-33cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
+30-19cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
+19-22cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c
+365-25221 files not shown
+669-39227 files

LLVM/project 51f54bbclang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[Driver][DirectX] Add `-Zss` and `-Zsb` flags (#203960)

Add flags that control whether the shader hash is computed with or
without including debug info (from ILDB or DXIL part).
DeltaFile
+24-6llvm/test/CodeGen/DirectX/ContainerData/DebugShaderHash.ll
+17-4llvm/lib/Target/DirectX/DXContainerGlobals.cpp
+12-3clang/lib/Driver/ToolChains/Clang.cpp
+7-0clang/test/Driver/dxc_debug.hlsl
+6-0llvm/test/CodeGen/DirectX/ContainerData/ShaderHash.ll
+4-0clang/include/clang/Options/Options.td
+70-131 files not shown
+72-137 files

LLVM/project 980e948llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AArch64 clmul-scalable.ll clmul-fixed.ll

[AArch64] Update Cost model for CLMUL (#202965)

CLMUL now has custom backend lowering and the efficiency of its lowering
is heavily dependant on available flags. This patch aligns the cost
model from the generic costs to the realistic costs.
DeltaFile
+72-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+57-0llvm/test/Analysis/CostModel/AArch64/clmul-scalable.ll
+37-0llvm/test/Analysis/CostModel/AArch64/clmul-fixed.ll
+23-12llvm/test/Analysis/CostModel/AArch64/clmul.ll
+2-2llvm/test/Transforms/LoopVectorize/AArch64/clmul.ll
+191-145 files

FreeBSD/ports ee6af35misc/ollama Makefile distinfo

misc/ollama: update 0.30.7 → 0.30.9
DeltaFile
+19-10misc/ollama/Makefile
+15-13misc/ollama/distinfo
+34-232 files

FreeBSD/ports 6650490misc/lean-ctx distinfo Makefile

misc/lean-ctx: update 3.8.7 → 3.8.8
DeltaFile
+7-3misc/lean-ctx/distinfo
+3-1misc/lean-ctx/Makefile
+10-42 files

FreeBSD/ports cdf3494sysutils/mise distinfo Makefile, sysutils/mise/files patch-cargo-crates_rattler__conda__types-0.47.0_src_platform.rs patch-cargo-crates_rattler__conda__types-0.47.1_src_platform.rs

sysutils/mise: update 2026.6.10 → 2026.6.11
DeltaFile
+79-79sysutils/mise/distinfo
+0-107sysutils/mise/files/patch-cargo-crates_rattler__conda__types-0.47.0_src_platform.rs
+107-0sysutils/mise/files/patch-cargo-crates_rattler__conda__types-0.47.1_src_platform.rs
+40-40sysutils/mise/Makefile
+226-2264 files

FreeBSD/ports 0f88147devel/buf distinfo Makefile

devel/buf: update 1.70.0 → 1.71.0
DeltaFile
+5-5devel/buf/distinfo
+1-2devel/buf/Makefile
+6-72 files

FreeBSD/ports 17ee21acad/librepcb distinfo Makefile

cad/librepcb: update 2.1.0 → 2.1.1
DeltaFile
+3-3cad/librepcb/distinfo
+1-2cad/librepcb/Makefile
+4-52 files

FreeBSD/ports 7b3582bmisc/onnx Makefile pkg-plist, misc/onnx/files patch-CMakeLists.txt

misc/onnx: update 1.19.1 → 1.22.0
DeltaFile
+7-24misc/onnx/files/patch-CMakeLists.txt
+4-5misc/onnx/Makefile
+7-0misc/onnx/pkg-plist
+3-3misc/onnx/distinfo
+21-324 files

LLVM/project 92fa580cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py, cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

format
DeltaFile
+6-2cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+1-1cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+7-32 files

LLVM/project 640dccccross-project-tests/debuginfo-tests/dexter-tests optnone-vectors-and-functions.cpp optnone-simple-functions.cpp, cross-project-tests/debuginfo-tests/dexter-tests/memvars inlining-dse.c

[Dexter] Update lldb-based dexter-tests to use script-mode

This patch replaces uses of heuristic-mode Dexter in the dexter-tests suite
with uses of the script-mode, for tests that use DAP (via lldb-dap). The
updates are largely straightforward but occasionally non-trivial, and in
some cases some slight modifications have been made to keep the "spirit" of
the test intact.
DeltaFile
+93-73cross-project-tests/debuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp
+98-51cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
+68-54cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
+57-33cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
+30-19cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
+19-22cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c
+365-25221 files not shown
+669-39227 files

LLVM/project 44198f0cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py

Fix: Account for weird function name endings in lldb-dap
DeltaFile
+5-0cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+5-01 files

LLVM/project 7adfd7ccross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

backport: add optimized out metric
DeltaFile
+7-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+7-11 files

LLVM/project 9a22cc0cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

Add irretrievable metric
DeltaFile
+5-0cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+5-01 files

LLVM/project 6acc564cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectMatch.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Nodes.py

[Dexter] Add ability to check float values within a range

Adds a new node type, !float, which can be used to match debugger ouptut as
float values rather than as strings, optionally allowing a range to be
specified for inexact matches. This new node allows a list of values to be
given, effectively a shorthand for a list of individual !float nodes.
DeltaFile
+109-1cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+68-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/floats.cpp
+12-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
+189-23 files

LLVM/project e7db53ccross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectMatch.py, cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation eval_sublist_aggregates.cpp eval_sublist_aggregates_addresses.cpp

[Dexter] Allow matching lists of values for aggregate members

This patch slightly extends the matching of aggregate members to allow for
lists of expected values for individual members, functioning the same as
lists of expected values for scalar values.
DeltaFile
+136-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_sublist_aggregates.cpp
+54-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_sublist_aggregates_addresses.cpp
+8-3cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
+198-33 files

LLVM/project 04e2cc4cross-project-tests/debuginfo-tests/dexter-tests nrvo-string.cpp optnone-simple-functions.cpp, cross-project-tests/debuginfo-tests/dexter/dex/tools TestToolBase.py

[Dexter] Switch to using script-mode by default

This patch changes the default mode of Dexter from heuristic-mode to
script-mode. The --use-script argument is replaced with --use-heuristic,
some comments/docs/error messages are updated accordingly, and tests have
their flags switched accordingly.
DeltaFile
+3-4cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/view.cpp
+3-3cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
+2-2cross-project-tests/debuginfo-tests/dexter-tests/nrvo-string.cpp
+2-2cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
+2-2cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
+2-2cross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
+14-15168 files not shown
+188-189174 files

LLVM/project 0ecc05across-project-tests/debuginfo-tests/dexter README.md Heuristic.md

[Dexter] Document the structured script model

This patch adds documentation for the script model to the Dexter README,
shunting heuristic-mode information into a separate doc, creating a new
doc for script-mode, and linking to both (with a brief summary of the
differences) from the base README.
DeltaFile
+6-232cross-project-tests/debuginfo-tests/dexter/README.md
+231-0cross-project-tests/debuginfo-tests/dexter/Heuristic.md
+213-0cross-project-tests/debuginfo-tests/dexter/Script.md
+450-2323 files

LLVM/project c997cd8cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectWriter.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Script.py

[Dexter] Add support for writing !step values

Following from the previous patch, this patch adds support to Dexter for
generating expected values for !step nodes. This is relatively limited:
the kind of !step which this is most well-suited to this is !step exactly,
as the !step order of ignoring extra lines is redundant (all lines are added
as expected values), and !step never can't know what lines could have been
stepped on but weren't without some extra work (e.g. finding viable
breakpoint locations in the enclosing state node).
DeltaFile
+97-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_step_lines_expected.cpp
+56-9cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectWriter.py
+31-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_step_lines.cpp
+21-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_step_lines.test
+1-3cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
+206-125 files

LLVM/project 85af089cross-project-tests/debuginfo-tests/dexter/dex/evaluation RunMatch.py Metrics.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Nodes.py

[Dexter] Add !step node for testing stepping behaviour

This patch adds a node for generating metrics based on lines stepped on. The
new node has 3 versions: !step exactly, !step order, and !step never, which
check an expected list of line numbers against the actual line numbers seen
while the expect is active.
DeltaFile
+94-28cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
+79-2cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+69-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_steps_penalties.cpp
+46-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_steps_perfect.cpp
+32-1cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+19-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/step-node-expected-values.test
+339-312 files not shown
+354-338 files

LLVM/project 35b58d7cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers ScriptDebuggerController.py, cross-project-tests/debuginfo-tests/dexter/dex/evaluation StateMatch.py ExpectWriter.py

[Dexter] Add condition check to state nodes

This patch enables the ability for state nodes to check conditions, meaning
they will be active only if the condition is met.

Condition evaluation is somewhat language specific; we directly check
whether the value of the evaluated expression is "true" (case-insensitive),
which works for the languages we actually use Dexter with, but may require
generalizing in future.

We also cache conditions as they are evaluated; each time we step, we clear
all cached conditions for the current frame and any expired frames, but we
keep the cached conditions for any frames rootwards from the current frame;
this prevents us from unexpectedly exiting out of a callee frame because of
debug info not surviving a stack unwind; if the early exit is desired, an
!and{at_frame_idx, condition} under the lower frame may suffice.
DeltaFile
+45-10cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
+53-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/conditions.cpp
+9-1cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
+6-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectWriter.py
+6-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
+1-1cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+120-146 files

LLVM/project 9cde7f8cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers ScriptDebuggerController.py, cross-project-tests/debuginfo-tests/dexter/dex/evaluation StateMatch.py RunMatch.py

[Dexter] Enable after_hit_count for state nodes

The after_hit_count attribute for a state node causes it to become active
only after it would have become active N times. This uses the existing logic
for incrementing hit counts, i.e. after the node becomes "active", we will
not add another hit count until it stops being active for at least one step.
Since state nodes with after_hit_count do not become active before reaching
the required hit count, this requires us to keep track of an "early" set of
state nodes, meaning nodes that would be active if not for their
after_hit_count.
DeltaFile
+66-29cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
+38-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/where_hit_count.cpp
+31-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging/then_after_hit_count.cpp
+8-10cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
+7-4cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
+0-8cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+150-511 files not shown
+153-547 files

LLVM/project 02d0b48cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectWriter.py Metrics.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Nodes.py

[Dexter] Add !type and !type/all nodes to test variable types

This patch adds the second kind of variable expect, !type, which tests the
type of a variable as reported by the debugger. As with !value, this is a
string comparison of the debugger output with the script expected value -
this means that even if two types are identical (e.g. typedef), a !type node
will only match the one that the debugger displays by default.

Script writing and aggregates work the same for !type as for !value, and the
metrics reported are largely similar, with the exception that "unexpected",
"seen", and "missing" metrics are reported separately for values and types.
DeltaFile
+98-2cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+71-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_types_expected.cpp
+55-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_types.cpp
+54-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_types.cpp
+9-6cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectWriter.py
+6-5cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+293-133 files not shown
+301-199 files