[lldb-vscode] Use libOption with tablegen to parse command line options.
authorIvan Hernandez <ivanhernandez@google.com>
Fri, 21 Feb 2020 16:13:05 +0000 (08:13 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 21 Feb 2020 16:15:06 +0000 (08:15 -0800)
commitc47e0e2d37d32ec56c760f1a2c9740d69c370b57
tree12aa4ba0dbba503f4fdc0ce6acedf88090ca4e76
parentde0dda54d38137d0714c279a540074fe73822b8b
[lldb-vscode] Use libOption with tablegen to parse command line options.

This change will bring lldb-vscode in line with how several other llvm
tools process command line arguments and make it easier to add future
options.

Differential revision: https://reviews.llvm.org/D74798
lldb/test/Shell/VSCode/TestOptions.test [new file with mode: 0644]
lldb/test/Shell/helper/toolchain.py
lldb/tools/lldb-vscode/CMakeLists.txt
lldb/tools/lldb-vscode/Options.td [new file with mode: 0644]
lldb/tools/lldb-vscode/lldb-vscode.cpp