UnstableChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [lldb/Reproducers] Override capture with LLDB_CAPTURE_REPRODUCER env var (details)
  2. [lldb/Reproducers] Propagate LLDB_CAPTURE_REPRODUCER to the test suite (details)
Commit dfe9a7943bf7a926e51b319a2c2f73e4b4b4cf43 by Jonas Devlieghere
[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.
The file was addedlldb/test/Shell/Reproducer/TestCaptureEnvOverride.test
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/test/Shell/Reproducer/lit.local.cfg
Commit acda2bc0adf62d9e54bf6d284f91e6cfa5b3cc6e by Jonas Devlieghere
[lldb/Reproducers] Propagate LLDB_CAPTURE_REPRODUCER to the test suite
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/test/Shell/Reproducer/lit.local.cfg
The file was modifiedlldb/test/Shell/lit.cfg.py