[lldb/Reproducers] Capture reproducers from the API test suite.
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 14 Apr 2020 15:41:50 +0000 (08:41 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 14 Apr 2020 16:24:23 +0000 (09:24 -0700)
commitfc410138939fbc98d7eb700e0e898500a00efc4d
treefc6c99eec9108bbb1b19bb4a6b2251b733811d7c
parentc1a9dd9aea498dd78d6583f29f15a690ddd5466a
[lldb/Reproducers] Capture reproducers from the API test suite.

Make it possible to capture reproducers from the API test suite. Given
the symmetry between capture and replay, this patch also adds the
necessary code for replay. For now this is a NO-OP until the
corresponding reproducer instrumentation changes land.

For more info please refer to the RFC on lldb-dev:
http://lists.llvm.org/pipermail/lldb-dev/2020-April/016100.html

Differential revision: https://reviews.llvm.org/D77588
12 files changed:
lldb/bindings/headers.swig
lldb/bindings/interface/SBReproducer.i [new file with mode: 0644]
lldb/bindings/interfaces.swig
lldb/include/lldb/API/SBReproducer.h
lldb/packages/Python/lldbsuite/test/configuration.py
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/dotest_args.py
lldb/source/API/SBReproducer.cpp
lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
lldb/test/API/lit.cfg.py
lldb/test/API/lldbtest.py