OSDN Git Service

[lldb/Reproducers] Make SBStream::Print an API instead of a SWIG extension
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 20 May 2020 17:32:51 +0000 (10:32 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 20 May 2020 17:37:18 +0000 (10:37 -0700)
commitbfb278372633c50ae595f0b89241a143090c967e
tree932c25cdb5f78e6826a320b0f7dd399d621ac5f8
parentb8cbff51d39b1f96d827adac569b8a64200ea7bb
[lldb/Reproducers] Make SBStream::Print an API instead of a SWIG extension

This makes it possible to instrument the call for the reproducers. This
fixes TestStructuredDataAPI.py with reproducer replay.

Differential revision: https://reviews.llvm.org/D80312
lldb/bindings/interface/SBStream.i
lldb/include/lldb/API/SBStream.h
lldb/source/API/SBStream.cpp