summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/SemanticSelection.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-04 16:06:48 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-04 16:49:11 -0800
commitdfe9a7943bf7a926e51b319a2c2f73e4b4b4cf43 (patch)
treedcbcaac9fa5e5bc11517497b468703812abdec51 /clang-tools-extra/clangd/SemanticSelection.cpp
parentf65267ee16fbb8b05c167d2459bea0cf357b7d1c (diff)
downloadbcm5719-llvm-dfe9a7943bf7a926e51b319a2c2f73e4b4b4cf43.tar.gz
bcm5719-llvm-dfe9a7943bf7a926e51b319a2c2f73e4b4b4cf43.zip
[lldb/Reproducers] Override capture with LLDB_CAPTURE_REPRODUCER env var
Make it possible to override reproducer capture with the LLDB_CAPTURE_REPRODUCER environment variable. The goal of this change is twofold. (1) I want to be able to enable capturing reproducers during regular test runs, both locally and on the bots. To do so I need a way to force capture. I cannot do this through the Python API, because reproducer capture must be enabled *before* the debugger initialized, which happens automatically when doing `import lldb`. (2) I want to provide an escape hatch for when reproducers are enabled by default. Downstream we have reproducer capture enabled by default in the driver. This patch solves both problems by overriding the reproducer mode based on the environment variable. Acceptable values are 0/1 and ON/OFF.
Diffstat (limited to 'clang-tools-extra/clangd/SemanticSelection.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud