[Lldb-commits] [PATCH] D70886: [lldb-vscode] capture the debuggers file handles before lldbinit runs

António Afonso via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 12:25:26 PST 2019


aadsm added a comment.

> Maybe you could do something similar to LocalLLDBInit.test ?

That test uses the `lldb` `-S` (and others) flags that `lldb-vscode` doesn't support :(. These flags should really be added to the initialize packet but they're very specific to lldb and the DAP doesn't support it.. We could implement something like what `Driver::ProcessArgs` does and pass options through envs but, the logic in ProcessArgs itself is sketchy (just like the comment mentions) and I l also find it odd to pass options through env vars...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70886/new/

https://reviews.llvm.org/D70886





More information about the lldb-commits mailing list