LLVM/project b1a3502bolt/test lit.cfg.py

[BOLT] Remove ability to use external shell

The external shell is getting removed soon, so remove the ability to
force the use of it within BOLT.

Reviewers:
aaupov, petrhosek, maksfb, yozhu, paschalis-mpeis, yavtuk, ilovepi, rafaelauler, ayermolo

Pull Request: https://github.com/llvm/llvm-project/pull/209567
DeltaFile
+1-12bolt/test/lit.cfg.py
+1-121 files

LLVM/project 13d2f17bolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

rebase

Created using spr 1.3.7
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-31110 files not shown
+5,145-1,090116 files

LLVM/project 1421e4dbolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-31110 files not shown
+5,145-1,090116 files

LLVM/project 6e62720polly/test lit.cfg, polly/test/UnitIsl lit.cfg

[Polly] Remove ability to use external shell

The external shell is getting removed soon, so remove the ability to
force enable it for polly tests.

Reviewers: ilovepi, Meinersbur, petrhosek

Pull Request: https://github.com/llvm/llvm-project/pull/209566
DeltaFile
+1-12polly/test/lit.cfg
+1-11polly/test/UnitIsl/lit.cfg
+2-232 files

LLVM/project d18dc1bbolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-31110 files not shown
+5,145-1,090116 files

LLVM/project 4376c0bmlir/test lit.cfg.py

[MLIR] Remove ability to use external shell

The external shell is getting removed soon, so clean up the logic here
to enable it.

Reviewers: petrhosek, jpienaar, ilovepi, joker-eph

Pull Request: https://github.com/llvm/llvm-project/pull/209565
DeltaFile
+1-11mlir/test/lit.cfg.py
+1-111 files

LLVM/project a91b301bolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-31110 files not shown
+5,145-1,090116 files

LLVM/project b208160clang/test lit.cfg.py, clang/test/Analysis/exploded-graph-rewriter lit.local.cfg

[Clang] Drop ability to use the external shell

The external shell in lit is getting deleted soon and it will soon no
longer be possible to force enable it.

Reviewers: compnerd, petrhosek, ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/209564
DeltaFile
+1-12clang/test/lit.cfg.py
+1-2clang/test/Analysis/exploded-graph-rewriter/lit.local.cfg
+1-2clang/test/Analysis/scan-build/lit.local.cfg
+1-2clang/utils/perf-training/bolt.lit.cfg
+1-2clang/utils/perf-training/lit.cfg
+1-2clang/utils/perf-training/order-files.lit.cfg
+6-223 files not shown
+9-259 files

LLVM/project f4eb688bolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-31109 files not shown
+5,137-1,082115 files

LLVM/project e824f1allvm/lib/Target/RISCV RISCVSchedAndes45.td

[RISCV] Rename VLSU_MEM_LATENCY to Andes45VLSU_MEM_LATENCY in RISCVSchedAndes45.td (#209388)

Prefix the defvar with the Andes45 scheduler name to match the other
Andes45-local defvars (e.g. Andes45DLEN) and avoid a bare, generic name
in the shared RISC-V TableGen namespace.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+8-8llvm/lib/Target/RISCV/RISCVSchedAndes45.td
+8-81 files

LLVM/project 2778658bolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

feedback

Created using spr 1.3.7
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-3196 files not shown
+5,036-1,025102 files

LLVM/project e82736dbolt/test/X86 dwarf-inline-range-plt-shift.s, clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest SharedLexicalRepresentationFormatTest.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+259-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/SharedLexicalRepresentationFormatTest.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+3,009-3195 files not shown
+5,036-1,024101 files

LLVM/project 6ce9488llvm/utils/lit/tests shtest-run-at-line.py shtest-timeout.py, llvm/utils/lit/tests/Inputs/shtest-readfile lit.cfg

[lit] Remove most external shell test coverage

Now that LLVM 23 has branched, we can look at removing the external
shell.

https://discourse.llvm.org/t/rfc-removal-of-the-lit-external-shell/90951

This patch removes most test coverage that was explicitly for the
external shell as it was entirely duplicated with the internal shell.
This patch leaves out removing test coverage in shtest-format as not all
the coverage there is duplicated and it seems like there is some missing
from the internal shell and I want to give it more careful
consideration.

Reviewers: hnrklssn, ilovepi, jh7370, arichardson

Pull Request: https://github.com/llvm/llvm-project/pull/209500
DeltaFile
+5-53llvm/utils/lit/tests/shtest-run-at-line.py
+7-30llvm/utils/lit/tests/shtest-timeout.py
+0-36llvm/utils/lit/tests/shtest-external-shell-kill.py
+0-25llvm/utils/lit/tests/shtest-readfile-external.py
+0-12llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/line-continuation.txt
+1-11llvm/utils/lit/tests/Inputs/shtest-readfile/lit.cfg
+13-16721 files not shown
+44-25427 files

LLVM/project f89a594clang/test/CIR/CodeGenBuiltins/X86 avx10_2bf16-builtins.c avx10_2_512bf16-builtins.c

[CIR] Fix x86 builtin tests after tighter inlining (#209653)

The behavior of the AlwaysInliner was tightened in a recent change
(https://github.com/llvm/llvm-project/pull/209345) to avoid inling
functions with mismatched target attributes even when the alwaysinline
attribute was present. This exposed a few failures in CIR where we were
either running with stale target features or missing target features
that were needed for the builtins we were testing.

This change updates the run lines to use the correct feature sets.
DeltaFile
+3-3clang/test/CIR/CodeGenBuiltins/X86/avx10_2bf16-builtins.c
+2-2clang/test/CIR/CodeGenBuiltins/X86/avx10_2_512bf16-builtins.c
+1-1clang/test/CIR/CodeGenBuiltins/X86/keylocker.c
+6-63 files

LLVM/project da43ee6llvm/docs LangRef.rst LangRef.md, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Merge branch 'main' into fix-blockfreq-unroll-unconditional-latches--uniform
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,315-0llvm/docs/LangRef.md
+23,904-12llvm/test/CodeGen/RISCV/clmul.ll
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+89,948-68,1238,879 files not shown
+556,549-389,2128,885 files

LLVM/project f7491eallvm/lib/Transforms/Utils MetaRenamer.cpp, llvm/test/Transforms/MetaRenamer opcodes.ll metarenamer.ll

[MetaRenamer] Change basic block naming from 'bb' to 'bbl' (#205393)

Currently, `update_test_checks.py` warns when run on MetaRenamer output
e.g., `WARNING: Change IR value name 'bb3' or use
--prefix-filecheck-ir-name to prevent possible conflict with scripted
FileCheck name.`

Avoid this conflict by changing MetaRenamer to use 'bbl' for basic
blocks.

This is similar in spirit to

https://github.com/llvm/llvm-project/commit/86a63b2ae147e5a3edc39643783acfd39b059c92,
which renamed instructions from 'tmp' to 'inst' to avoid a conflict with
automatically-generated checks.
DeltaFile
+9-9llvm/test/Transforms/MetaRenamer/opcodes.ll
+1-1llvm/lib/Transforms/Utils/MetaRenamer.cpp
+1-1llvm/test/Transforms/MetaRenamer/metarenamer.ll
+11-113 files

LLVM/project 97c6a88clang/test/Analysis/Scalable/TypeConstrainedPointers unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp

USR is not platform-independent. CheckFile matches should be flexible on types
DeltaFile
+3-3clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+3-31 files

LLVM/project 52c30b3bolt/lib/Core DIEBuilder.cpp BinaryContext.cpp

[BOLT] Stop materializing .dwo DIE vectors early in the pipeline

Summary: preprocessDWODebugInfo() eagerly force-extracted every .dwo
compile unit's DIE tree (getNonSkeletonUnitDIE(false)) very early in
BOLT pipeline, way before DWARFRewriter kicked in. Those vectors then
sit in memory throughout the entire rewrite pipeline, directly
contributing to BOLT's RSS peak. I did a fair amount of digging and
didn't find any reason as to why we need to keep all DIEs of DWO CU
materialized at all, since DWARFRewriter won't even read this vector
(the #197359 concurrency fix did use that, but that is unnecessary).
The problem is that these DIE trees are a massive contribution to RSS
when processing large binaries where we have 10s of K of dwos, storing
complete trees for each processed dwo.

This diff changes the #197359 concurrency fix to not rely on the DIE
sibling/children structure. It parses DWP type units selectively per
compile unit (DIEBuilder::buildDWPTypeUnitsForUnit ->
collectReferencedTypeSignatures) by finding the DW_FORM_ref_sig8
references in a unit's DIEs to decide which type units belong in that

    [23 lines not shown]
DeltaFile
+19-17bolt/lib/Core/DIEBuilder.cpp
+8-8bolt/lib/Core/BinaryContext.cpp
+27-252 files

LLVM/project a6d35f4lldb/source/Plugins/Protocol/MCP Tool.cpp Tool.h, lldb/unittests/Protocol MCPPluginTest.cpp

[lldb] Add MCP tools to create and destroy debugger instances (#209288)

Add debugger_create and debugger_delete tools to the MCP server so a
client can manage debugger instances, not just command the ones that
already exist. debugger_create detaches the new debugger's stdio from
the host process (redirecting input/output/error to the null device) so
its prompt and asynchronous output cannot corrupt an MCP stream that
shares the host's stdout. Command results flow through
CommandReturnObject and are unaffected.

Factor the tool and resource registration out of
ProtocolServerMCP::Extend into a shared PopulateServer() so an embedded
in-process server (e.g. in lldb-mcp) can install the same set.

Assisted-by: Claude

rdar://181722721
DeltaFile
+78-2lldb/unittests/Protocol/MCPPluginTest.cpp
+78-0lldb/source/Plugins/Protocol/MCP/Tool.cpp
+20-0lldb/source/Plugins/Protocol/MCP/Tool.h
+9-1lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
+5-0lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h
+190-35 files

LLVM/project e2ead47llvm/test/MC/RISCV xqcicm-invalid.s xqcibm-invalid.s

[RISCV][MC][NFC] Cleanup Xqci Tests (#209646)
DeltaFile
+61-48llvm/test/MC/RISCV/xqcicm-invalid.s
+62-32llvm/test/MC/RISCV/xqcibm-invalid.s
+50-34llvm/test/MC/RISCV/xqcilo-invalid.s
+46-38llvm/test/MC/RISCV/xqcics-invalid.s
+34-26llvm/test/MC/RISCV/xqcilia-invalid.s
+38-20llvm/test/MC/RISCV/xqcisync-invalid.s
+291-19811 files not shown
+512-33817 files

LLVM/project 6dc5473bolt/include/bolt/Core BinaryFunction.h BinaryContext.h, bolt/lib/Core BinaryContext.cpp BinaryFunction.cpp

[BOLT] Fix shifted DWARF inline-scope ranges; track scope boundaries (#207291)

Summary:
BOLT updated DWARF lexical-scope ranges (DW_TAG_inlined_subroutine /
lexical_block low_pc/high_pc and DW_AT_ranges) via
translateInputToOutputRange(), which mapped a boundary using its input
offset relative to the start of the containing basic block:

OutAddr = BB.getOutputAddressRange().first + (InputOffset -
BB.getOffset())

This assumes intra-block byte offsets are preserved input->output. Any
pass that changes instruction sizes within a block ahead of a scope
boundary breaks that assumption. With --plt=all, each `call foo at PLT` (5
bytes, e8+rel32) is rewritten to `call *foo at GOT(%rip)` (6 bytes, ff
15+rel32); N such calls before a boundary shift its emitted low_pc/
high_pc N bytes too early, onto the preceding instruction. The range
stays within the parent so `llvm-dwarfdump --verify` does not catch it;
symbolizers then attribute samples on those instructions to the wrong

    [44 lines not shown]
DeltaFile
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+82-0bolt/lib/Core/BinaryContext.cpp
+39-13bolt/lib/Core/BinaryFunction.cpp
+30-4bolt/include/bolt/Core/BinaryFunction.h
+5-10bolt/include/bolt/Core/BinaryContext.h
+14-0bolt/lib/Rewrite/RewriteInstance.cpp
+784-271 files not shown
+788-297 files

LLVM/project 5be3fdblldb/include/lldb/Host Editline.h, lldb/source/Host/common Editline.cpp

[lldb] Use std::atomic<bool> for Editline's pending-resize flag (#209619)

TerminalSizeChanged() used a volatile std::sig_atomic_t to record that a
resize is pending. That type was chosen because the SIGWINCH handler ran
in async-signal context and could only touch an sig_atomic_t. Signals
are now handled on a dedicated thread, so the flag is written from a
normal thread and std::atomic<bool> is sufficient to handle that.

el_resize() still runs on the thread that owns libedit, in its read
loop. I discovered that it is not safe to run elsewhere, because it
resets libedit's display model without redrawing. Applying it off that
thread seems to throw it off and makes it duplicate the prompt.
DeltaFile
+6-2lldb/include/lldb/Host/Editline.h
+2-2lldb/source/Host/common/Editline.cpp
+8-42 files

LLVM/project 3f58d3dlldb/test/API/functionalities/statusline TestStatusline.py statusline_flood.py

[lldb][test] Deflake the statusline scripted-command output test (#209643)

test_scripted_command_output_not_eaten failed intermittently in CI on
its assertIn(b"\x1b7", data) guard because the captured window held no
statusline escape at all, only the command output and the next prompt.

The cause is a thread-scheduling race, not a bug. The statusline is
redrawn on the event thread once per progress event, but on a loaded
machine the event thread need not run until the flood command has
already returned, so it drains the queued progress events after (lldb)
was matched and the capture stopped, leaving no redraw to inspect.

Widen the flood (the line count is now an argument) so the event thread
has a larger window to redraw in, and retry until at least one complete
cursor save/restore pair is observed before checking that no output was
spliced into it. If a redraw is never seen, skip rather than fail.

I deliberately avoided a per-line sleep as it would let each redraw
finish between prints and hide the very interleaving the test looks for.

Fixes #209605
DeltaFile
+40-26lldb/test/API/functionalities/statusline/TestStatusline.py
+4-1lldb/test/API/functionalities/statusline/statusline_flood.py
+44-272 files

LLVM/project d7e6268llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp

[msan][NFCI] Add forceIntegerIntrinsic option to handleIntrinsicByApplyingToShadow() (#207053)

Currently, if handleIntrinsicByApplyingToShadow() is given an
IntrinsicInst with floating-point arguments, it will cast the shadows to
floating-point, apply the intrinsic, and then cast the result back to
integer/shadow. This is inefficient, and, depending on the intrinsic,
may also result in floating-point exceptions.

The user can explicitly supply an integer variant of the intrinsic to be
applied to the shadow (shadowIntrinsicID), but this does not work if the
integer and floating-point variants are overloaded forms of the same
intrinsic ID.

This patch adds an option, 'forceIntegerIntrinsic', which will pass the
shadows as integers to the intrinsic, thus avoiding unnecessary casts.
(This is not enabled by default since some intrinsics do not support
integer arguments.)

As an example, future work can use 'forceIntegerIntrinsic' to handle

    [4 lines not shown]
DeltaFile
+93-63llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+93-631 files

LLVM/project 23040e8llvm/test/Instrumentation/MemorySanitizer/X86 avx512dq-intrinsics.ll

[msan][NFCI] Add AVX512 DQ tests (#207059)

This adds tests for AVX512 DQ ("Doubleword and Quadword Instructions",
not to be mistaken with Dairy Queen), forked from
llvm/test/CodeGen/X86/avx512dq-intrinsics.ll.
DeltaFile
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+1,437-01 files

LLVM/project 4a223celldb/source/Expression DWARFExpression.cpp

[lldb] Distinguish DWARF binary type-check error messages (#209644)

CheckScalarOperandsHaveSameType reported every operand-check failure
with the same "requires operands to have the same type" message, even
though it rejects operands for three different reasons: mismatched type
kind, mismatched size, and mismatched signedness. That made a failed
check hard to diagnose from the error alone.

Parameterize the message so each check names what actually differs
(type, size, or signedness).

Follow-up to Augusto's review of #209641.
DeltaFile
+7-7lldb/source/Expression/DWARFExpression.cpp
+7-71 files

LLVM/project ef81c51clang/docs/analyzer checkers.rst, clang/include/clang/StaticAnalyzer/Checkers Checkers.td

[analyzer] Disable lock order reversal check by default in PthreadLoc… (#202452)

…kChecker

Lock order reversal is a real source of deadlocks, but the current
single-path intraprocedural analysis is a single-path analysis, and it
cannot reason about potentially overlapping executions.This makes this
part of the checker too imprecise for default-on.

Add a WarnOnLockOrderReversal option (default: false) for the previous
behavior.
DeltaFile
+39-22clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
+31-7clang/test/Analysis/pthreadlock.c
+10-3clang/test/Analysis/fuchsia_lock.c
+10-2clang/test/Analysis/c11lock.c
+8-0clang/docs/analyzer/checkers.rst
+7-0clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
+105-343 files not shown
+110-349 files

LLVM/project 23977e6clang/test/SemaCXX warn-unused-local-typedef-deterministic-order.cpp, lldb/source/Commands CommandObjectScripting.cpp

address review feedback

Created using spr 1.3.7
DeltaFile
+317-0llvm/lib/Target/NVPTX/NVPTXPromoteParamAlign.cpp
+200-80clang/test/SemaCXX/warn-unused-local-typedef-deterministic-order.cpp
+217-0llvm/test/CodeGen/NVPTX/promote-param-align.ll
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+0-162llvm/lib/Target/NVPTX/NVPTXSetByValParamAlign.cpp
+0-120llvm/test/CodeGen/NVPTX/set-byval-param-align.ll
+899-39335 files not shown
+1,433-57841 files

LLVM/project 514b75blldb/source/Commands CommandObjectScripting.cpp, lldb/source/Core PluginManager.cpp

[lldb/script] Improve `scripting extension list` output and filtering (#209400)

This patch improves `scripting extension list` in three ways.

First, it groups the output by `ScriptedExtension`: instead of one row
per registered plugin instance, one entry per extension is printed with
a combined `Language` field.

Second, it colorizes and visually separates the output. Each entry is
preceded by a dimmed dashed separator; field labels are printed in bold
green, the extension name value in bold cyan as a mini-heading, and
`None` usage values are dimmed, all via the same
`ansi::FormatAnsiTerminalCodes(..., use_color)` idiom
`Breakpoint::GetDescription` uses elsewhere, gracefully no-op when color
is disabled or unsupported. `ScriptedInterfaceUsages::Dump` takes an
optional `use_color` parameter so its own `API Usages:` / `Command
Interpreter Usages:` labels can match.

Third, it adds `-j`/`--json` to emit a JSON array of `{name,

    [14 lines not shown]
DeltaFile
+165-31lldb/source/Commands/CommandObjectScripting.cpp
+103-0lldb/test/API/commands/scripting/extension/TestScriptingExtensionListJSON.py
+48-41lldb/test/Shell/Commands/command-scripting-extension-list.test
+45-0lldb/source/Interpreter/ScriptInterpreter.cpp
+13-3lldb/source/Interpreter/Interfaces/ScriptedInterfaceUsages.cpp
+13-0lldb/source/Core/PluginManager.cpp
+387-758 files not shown
+416-7714 files

LLVM/project 75fd1caclang/lib/Analysis ThreadSafety.cpp, clang/test/SemaCXX warn-thread-safety-analysis.cpp

Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330)

Previously, statement expressions (`({ bool b = mu.TryLock(); b; })`)
used as try-lock conditions were not supported. Handle StmtExpr in
getTrylockCallExpr() by recursively analyzing the last statement of the
statement expression.
DeltaFile
+14-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+5-0clang/lib/Analysis/ThreadSafety.cpp
+19-02 files