[Lldb-commits] [PATCH] D70882: Add environment var LLDBVSCODE_SKIP_INIT_FILES to lldb-vscode

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 2 14:25:51 PST 2019


clayborg added inline comments.


================
Comment at: lldb/tools/lldb-vscode/lldb-vscode.cpp:64
 
+const bool skip_init_files = getenv("LLDBVSCODE_SKIP_INIT_FILES") != NULL;
+
----------------
make singleton function:

```
bool GetSkipInitFiles() {
  static const bool skip_init = getenv("LLDBVSCODE_SKIP_INIT_FILES") != NULL;
  return skip_init;
}
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70882





More information about the lldb-commits mailing list