This reverts commit 16317f1ced77e1d8711188f2fcc6c86a783d9c56. Reverting because of test failures: ******************** TEST 'lldb-api :: tools/lldb-vscode/console/TestVSCode_console.py' FAILED ******************** Script: -- /usr/local/Frameworks/Python.framework/Versions/3.10/bin/python3.10 /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./lib --env LLVM_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/include --env LLVM_TOOLS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin --libcxx-include-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/include/c++/v1 --libcxx-library-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/tools/lldb-vscode/console -p TestVSCode_console.py https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/57586/
42 lines
1.4 KiB
TableGen
42 lines
1.4 KiB
TableGen
include "llvm/Option/OptParser.td"
|
|
|
|
class F<string name>: Flag<["--", "-"], name>;
|
|
class S<string name>: Separate<["--", "-"], name>;
|
|
class R<list<string> prefixes, string name>
|
|
: Option<prefixes, name, KIND_REMAINING_ARGS>;
|
|
|
|
def help: F<"help">,
|
|
HelpText<"Prints out the usage information for the LLDB VSCode tool.">;
|
|
def: Flag<["-"], "h">,
|
|
Alias<help>,
|
|
HelpText<"Alias for --help">;
|
|
|
|
def wait_for_debugger: F<"wait-for-debugger">,
|
|
HelpText<"Pause the program at startup.">;
|
|
def: Flag<["-"], "g">,
|
|
Alias<wait_for_debugger>,
|
|
HelpText<"Alias for --wait-for-debugger">;
|
|
|
|
def port: Separate<["--", "-"], "port">,
|
|
MetaVarName<"<port>">,
|
|
HelpText<"Communicate with the lldb-vscode tool over the defined port.">;
|
|
def: Separate<["-"], "p">,
|
|
Alias<port>,
|
|
HelpText<"Alias for --port">;
|
|
|
|
def launch_target: Separate<["--", "-"], "launch-target">,
|
|
MetaVarName<"<target>">,
|
|
HelpText<"Launch a target for the launchInTerminal request. Any argument "
|
|
"provided after this one will be passed to the target. The parameter "
|
|
"--comm-file must also be specified.">;
|
|
|
|
def comm_file: Separate<["--", "-"], "comm-file">,
|
|
MetaVarName<"<file>">,
|
|
HelpText<"The fifo file used to communicate the with the debug adaptor "
|
|
"when using --launch-target.">;
|
|
|
|
def debugger_pid: Separate<["--", "-"], "debugger-pid">,
|
|
MetaVarName<"<pid>">,
|
|
HelpText<"The PID of the lldb-vscode instance that sent the launchInTerminal "
|
|
"request when using --launch-target.">;
|