llvm-project/lldb/unittests
Jonas Devlieghere 15eacd741f [Reproducers] Change how reproducers are initialized.
This patch changes the way the reproducer is initialized. Rather than
making changes at run time we now do everything at initialization time.
To make this happen we had to introduce initializer options and their SB
variant. This allows us to tell the initializer that we're running in
reproducer capture/replay mode.

Because of this change we also had to alter our testing strategy. We
cannot reinitialize LLDB when using the dotest infrastructure. Instead
we use lit and invoke two instances of the driver.

Another consequence is that we can no longer enable capture or replay
through commands. This was bound to go away form the beginning, but I
had something in mind where you could enable/disable specific providers.
However this seems like it adds very little value right now so the
corresponding commands were removed.

Finally this change also means you now have to control this through the
driver, for which I replaced --reproducer with --capture and --replay to
differentiate between the two modes.

Differential revision: https://reviews.llvm.org/D55038

llvm-svn: 348152
2018-12-03 17:28:29 +00:00
..
Breakpoint Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Core Move DataExtractorTest to unittests/Utility 2018-11-14 14:58:36 +00:00
Disassembler If we fail to get an armv7em-- disassembler from llvm, skip the 2018-09-12 19:30:03 +00:00
Editline [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
Expression Remove Go debugger plugin 2018-11-05 19:33:59 +00:00
Host [unittests] Fix the File System Test on Windows 2018-11-28 19:34:01 +00:00
Interpreter Revert "[FileSystem] Make use of FS in TildeExpressionResolver" 2018-11-09 01:59:28 +00:00
Language CPlusPlusLanguage: Use new demangler API to implement type substitution 2018-11-06 15:41:37 +00:00
ObjectFile [ObjectFile] Prefer reinterpret_cast<> 2018-11-06 17:42:14 +00:00
Platform [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
Process Fix compilation failure in unit tests on Windows. 2018-11-15 22:03:49 +00:00
ScriptInterpreter [FileSystem] Open File instances through the FileSystem. 2018-11-02 22:34:51 +00:00
Signals Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
Symbol Remove Go debugger plugin 2018-11-05 19:33:59 +00:00
SymbolFile [Symbol] Search symbols with name and type in a symbol file 2018-11-30 06:56:37 +00:00
Target [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
TestingSupport Revert "[FileSystem] Make use of FS in TildeExpressionResolver" 2018-11-09 01:59:28 +00:00
UnwindAssembly [x86] Fix issues with a realigned stack in MSVC compiled applications 2018-10-30 10:07:08 +00:00
Utility [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
debugserver [CMake] Need to set WITH_LOCKDOWN on debugserver target 2017-09-06 20:15:43 +00:00
tools Revert "[CMake] Streamline code signing for debugserver and pass entitlements to extended llvm_codesign" 2018-11-27 00:25:49 +00:00
CMakeLists.txt Add the Disassembler unit test dir. 2018-09-07 18:51:10 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00