From 4b63a5c1ced953fae2d82f65e905ff131fca5690 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 4 Jan 2013 18:10:18 +0000 Subject: Added SBTarget::EvaluateExpression() so expressions can be evaluated without needing a process. Also fixed many functions that deal with clang AST types to be able to properly handle the clang::Type::Elaborated types ("struct foo", "class bar"). llvm-svn: 171476 --- lldb/scripts/Python/interface/SBTarget.i | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/scripts/Python') diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 8b23dda8256..88fcf036ee1 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -697,6 +697,8 @@ public: bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level); + lldb::SBValue + EvaluateExpression (const char *expr, const lldb::SBExpressionOptions &options); %pythoncode %{ class modules_access(object): '''A helper object that will lazily hand out lldb.SBModule objects for a target when supplied an index, or by full or partial path.''' -- cgit v1.2.3