summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBThread.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index dac0f9bc4a7..53848214352 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -110,6 +110,14 @@ public:
") GetStopReasonDataAtIndex;
uint64_t
GetStopReasonDataAtIndex(uint32_t idx);
+
+ %feature("autodoc", "
+ Collects a thread's stop reason extended information dictionary and prints it
+ into the SBStream in a JSON format. The format of this JSON dictionary depends
+ on the stop reason and is currently used only for instrumentation plugins.
+ ") GetStopReasonExtendedInfoAsJSON;
+ bool
+ GetStopReasonExtendedInfoAsJSON (lldb::SBStream &stream);
%feature("autodoc", "
Pass only an (int)length and expect to get a Python string describing the
OpenPOWER on IntegriCloud