LLVM fork for Infineon C166 architecure.
Find a file
Med Ismail Bennani 514b75bbc5
[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,
description, languages, api_usages, command_interpreter_usages}` per
extension, mirroring `plugin list`'s existing `-j`. `DoExecute` now
computes the extension grouping once and branches into
`OutputJsonFormat` or `OutputTextFormat`, sharing a
`GetLanguagesForExtension` helper. It also accepts optional positional
`<extension-name>` arguments to filter the listing to specific
extensions (matched via the same case-insensitive
`ScriptInterpreter::StringToExtension` used by `scripting extension
generate`), with completion wired up via `eScriptedExtensionCompletion`.

Also fix a latent lifetime bug in the shared language-collection helper
so it owns its `std::string` values instead of holding `StringRef`s to
temporaries; the JSON path made it observable.

Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
2026-07-14 15:38:47 -07:00
.ci
.github
bolt
clang Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330) 2026-07-15 00:35:50 +02:00
clang-tools-extra
cmake
compiler-rt
cross-project-tests
flang [flang][OpenMP] Check the context of the declare_simd directive (#209318) 2026-07-14 18:28:07 -03:00
flang-rt
libc
libclc
libcxx Make ios_base::xalloc non-atomic with LIBCXX_ENABLE_THREADS=OFF. (#208356) 2026-07-14 13:54:25 -07:00
libcxxabi
libsycl
libunwind
lld
lldb [lldb/script] Improve scripting extension list output and filtering (#209400) 2026-07-14 15:38:47 -07:00
llvm [NFC] [TableGen] mention srcvalue in unused input error (#209633) 2026-07-14 15:25:32 -07:00
llvm-libgcc
mlir [mlir][sparse] Handle dense iterators in sparse iteration lowering (#208963) 2026-07-14 15:10:08 -07:00
offload
openmp
orc-rt [orc-rt] Make noDispatch test helper fail in -Asserts builds. (#209493) 2026-07-15 07:04:24 +10:00
polly
runtimes
third-party
utils [lldb][bazel] Add ScriptedFrameProvider plugin to the Bazel overlay (#209634) 2026-07-14 15:28:16 -07:00
.clang-format
.clang-format-ignore
.clang-tidy
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.TXT
pyproject.toml
README.md
SECURITY.md

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices libc++

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.