Files
clang-p2996/lldb/test/Shell/Driver/TestHelp.test
Jonas Devlieghere d3173f4ab6 [lldb] Remove -d(ebug) mode from the lldb driver (#83330)
The -d(ebug) option broke 5 years ago when I migrated the driver to
libOption. Since then, we were never check if the option is set. We were
incorrectly toggling the internal variable (m_debug_mode) based on
OPT_no_use_colors instead.

Given that the functionality doesn't seem particularly useful and nobody
noticed it has been broken for 5 years, I'm just removing the flag.
2024-02-28 15:23:55 -08:00

64 lines
987 B
Plaintext

UNSUPPORTED: lldb-repro
RUN: %lldb --help | FileCheck %s
RUN: cat %S/../../../docs/man/lldb.rst | FileCheck %s
CHECK: ATTACHING
CHECK: --attach-name
CHECK: --attach-pid
CHECK: -n <value>
CHECK: -p <value>
CHECK: --wait-for
CHECK: -w
CHECK: COMMANDS
CHECK: --batch
CHECK: -b
CHECK: -K <value>
CHECK: -k <value>
CHECK: --local-lldbinit
CHECK: --no-lldbinit
CHECK: --one-line-before-file
CHECK: --one-line-on-crash
CHECK: --one-line
CHECK: -O
CHECK: -o
CHECK: -Q
CHECK: --source-before-file
CHECK: --source-on-crash
CHECK: --source-quietly
CHECK: --source
CHECK: -S
CHECK: -s
CHECK: -x
CHECK: OPTIONS
CHECK: --arch
CHECK: -a
CHECK: --core
CHECK: -c
CHECK: --editor
CHECK: -e
CHECK: --file
CHECK: -f
CHECK: --help
CHECK: -h
CHECK: --no-use-colors
CHECK: --version
CHECK: -v
CHECK: -X
CHECK: REPL
CHECK: -r
CHECK: --repl-language
CHECK: --repl
CHECK: -R
CHECK: -r
CHECK: SCRIPTING
CHECK: -l
CHECK: --print-script-interpreter-info
CHECK: --python-path
CHECK: -P
CHECK: --script-language