llvm-project/lldb/tools/lldb-server
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
..
Darwin/resources [NFC] Darwin llgs support from Week of Code 2016-09-04 00:18:56 +00:00
Acceptor.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Acceptor.h Move Connection and IOObject interfaces to Utility module 2017-06-27 10:33:14 +00:00
CMakeLists.txt Introduce lldb-framework CMake target and centralize its logic 2018-06-18 18:27:16 +00:00
LLDBServerUtilities.cpp Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
LLDBServerUtilities.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemInitializerLLGS.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
SystemInitializerLLGS.h [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
lldb-gdbserver.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
lldb-platform.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
lldb-server.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
lldb-server.exports