llvm-project/lldb/unittests/Utility
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
..
Inputs Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
AnsiTerminalTest.cpp Fix some crashes and deadlocks in FormatAnsiTerminalCodes 2018-07-16 16:38:30 +00:00
ArchSpecTest.cpp [ArchSpec] Add a unittest to complement the change in r321856. 2018-01-05 18:00:44 +00:00
ArgsTest.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
CMakeLists.txt [Reproducers] Improve reproducer API and add unit tests. 2018-11-27 22:11:02 +00:00
CleanUpTest.cpp [Utility] Simplify and generalize the CleanUp helper, NFC 2018-02-23 22:08:38 +00:00
CompletionRequestTest.cpp Add support for descriptions with command completions. 2018-09-13 21:26:00 +00:00
ConstStringTest.cpp Fix: ConstString::GetConstCStringAndSetMangledCounterPart() should update the value if the key exists already 2018-08-14 11:07:18 +00:00
DataExtractorTest.cpp Move DataExtractorTest to unittests/Utility 2018-11-14 14:58:36 +00:00
EnvironmentTest.cpp Add Utility/Environment class for handling... environments 2018-01-10 11:57:31 +00:00
FileSpecTest.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
FlagsTest.cpp Added unit tests for Flags 2018-07-19 17:45:51 +00:00
JSONTest.cpp Fixup for r311483: Use correct path to StreamString.h 2017-08-22 19:09:39 +00:00
LogTest.cpp [lit] Fix several tests that fail when using Python 3 or on Windows 2018-05-14 21:04:24 +00:00
NameMatchesTest.cpp Fix a couple of corner cases in NameMatches 2017-02-20 11:35:33 +00:00
OptionsWithRawTest.cpp Refactor parsing of option lists with a raw string suffix. 2018-07-10 20:17:38 +00:00
PredicateTest.cpp Move Predicate.h from Host to Utility 2018-08-30 17:51:10 +00:00
RegisterValueTest.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
ReproducerTest.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
ScalarTest.cpp Move ScalarTest to follow the class being tested 2018-08-07 13:10:16 +00:00
StateTest.cpp Remove undefined behavior around the use of StateType 2018-09-11 16:08:05 +00:00
StatusTest.cpp [lldb] Add support in Status::AsCString to retrieve win32 system error strings 2018-10-19 18:58:24 +00:00
StreamTeeTest.cpp Add byte counting mechanism to LLDB's Stream class. 2018-08-02 16:38:34 +00:00
StreamTest.cpp Add byte counting mechanism to LLDB's Stream class. 2018-08-02 16:38:34 +00:00
StringExtractorTest.cpp
StringLexerTest.cpp Add unit test for StringLexer 2018-08-22 20:22:34 +00:00
StringListTest.cpp Added unit test for StringList 2018-08-04 17:28:21 +00:00
StructuredDataTest.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
TildeExpressionResolverTest.cpp Revert "[FileSystem] Make use of FS in TildeExpressionResolver" 2018-11-09 01:59:28 +00:00
TimeoutTest.cpp Add a format_provider for the Timeout class 2017-02-10 11:49:33 +00:00
TimerTest.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
UUIDTest.cpp UUID: Add support for arbitrary-sized module IDs 2018-06-29 11:20:29 +00:00
UriParserTest.cpp UriParser cleanup 2017-02-10 12:21:22 +00:00
VASprintfTest.cpp Fix VASprintfTest.cpp for Darwin, add checks 2017-08-09 17:27:02 +00:00
VMRangeTest.cpp Add unit tests for VMRange 2018-07-24 23:52:39 +00:00