summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-01-04 18:10:18 +0000
committerGreg Clayton <gclayton@apple.com>2013-01-04 18:10:18 +0000
commit4b63a5c1ced953fae2d82f65e905ff131fca5690 (patch)
tree046dfeaa09ca1ada5cb7cb363fb1660b5c840ca9 /lldb/scripts
parent338322516782f0adaee312bc834d6bf3b9713346 (diff)
downloadbcm5719-llvm-4b63a5c1ced953fae2d82f65e905ff131fca5690.tar.gz
bcm5719-llvm-4b63a5c1ced953fae2d82f65e905ff131fca5690.zip
<rdar://problem/12928282>
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
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/Python/interface/SBTarget.i2
1 files changed, 2 insertions, 0 deletions
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.'''
OpenPOWER on IntegriCloud