From 972be53f029f9181f13756685b6614a9687ed721 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 17 Dec 2014 21:18:43 +0000 Subject: Provide CreateValueFromData,Expression at the SBTarget level as well as the SBValue level; and also make all the implenentations agree on using the matching ValueObject::Create instead of doing code copypastas llvm-svn: 224460 --- lldb/scripts/Python/interface/SBTarget.i | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 0237dd5cc1f..bc3ae59e7fd 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -869,6 +869,12 @@ public: lldb::SBValue CreateValueFromAddress (const char *name, lldb::SBAddress addr, lldb::SBType type); + lldb::SBValue + CreateValueFromData (const char *name, lldb::SBData data, lldb::SBType type); + + lldb::SBValue + CreateValueFromExpression (const char *name, const char* expr); + %feature("docstring", " Disassemble a specified number of instructions starting at an address. Parameters: -- cgit v1.2.3