summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i4
-rw-r--r--lldb/scripts/Python/interface/SBThread.i11
2 files changed, 15 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i
index 46f464f2c58..525b6a5ce79 100644
--- a/lldb/scripts/Python/interface/SBExpressionOptions.i
+++ b/lldb/scripts/Python/interface/SBExpressionOptions.i
@@ -92,6 +92,10 @@ public:
void
SetTrapExceptions (bool trap_exceptions = true);
+ %feature ("docstring", "Sets the language that LLDB should assume the expression is written in") SetLanguage;
+ void
+ SetLanguage (lldb::LanguageType language);
+
protected:
SBExpressionOptions (lldb_private::EvaluateExpressionOptions &expression_options);
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index d1dd82a0cda..0371f7b452b 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -166,6 +166,17 @@ public:
GetQueueID() const;
%feature("autodoc", "
+ Takes a path string and a SBStream reference as parameters, returns a bool.
+ Collects the thread's 'info' dictionary from the remote system, uses the path
+ argument to descend into the dictionary to an item of interest, and prints
+ it into the SBStream in a natural format. Return bool is to indicate if
+ anything was printed into the stream (true) or not (false).
+ ") GetInfoItemByPathAsString;
+
+ bool
+ GetInfoItemByPathAsString (const char *path, lldb::SBStream &strm);
+
+ %feature("autodoc", "
Return the SBQueue for this thread. If this thread is not currently associated
with a libdispatch queue, the SBQueue object's IsValid() method will return false.
If this SBThread is actually a HistoryThread, we may be able to provide QueueID
OpenPOWER on IntegriCloud