mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
Add a verbose option to the version command and include the "build configuration" in the command output. This allows users to quickly identify if their version of LLDB was built with support for xml/curl/python/lua etc. This data is already available through the SB API using SBDebugger::GetBuildConfiguration, but this makes it more discoverable. ``` (lldb) version -v lldb version 22.0.0git (git@github.com:llvm/llvm-project.git revision 21a2aac5e5456f9181384406f3b3fcad621a7076) clang revision 21a2aac5e5456f9181384406f3b3fcad621a7076 llvm revision 21a2aac5e5456f9181384406f3b3fcad621a7076 editline_wchar: yes lzma: yes curses: yes editline: yes fbsdvmcore: yes xml: yes lua: yes python: yes targets: [AArch64, AMDGPU, ARM, AVR, BPF, Hexagon, Lanai, LoongArch, Mips, MSP430, NVPTX, PowerPC, RISCV, Sparc, SPIRV, SystemZ, VE, WebAssembly, X86, XCore] curl: yes ``` Resolves #170727
7 lines
140 B
Plaintext
7 lines
140 B
Plaintext
RUN: %lldb -b -o 'version -v' | FileCheck %s
|
|
|
|
CHECK: lldb version
|
|
CHECK: xml: {{yes|no}}
|
|
CHECK: python: {{yes|no}}
|
|
CHECK: targets: [{{.*}}]
|