summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-08-04 01:41:02 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-08-04 01:41:02 +0000
commit6fd87d5d33c677badffcab70b60e8dcc169de07e (patch)
treecbfbcdc89fc62be7c2d37d5e33883d9704ab8e08 /lldb/scripts/Python/interface
parentb224db72b02a17981bec61c71c02566b542f9667 (diff)
downloadbcm5719-llvm-6fd87d5d33c677badffcab70b60e8dcc169de07e.tar.gz
bcm5719-llvm-6fd87d5d33c677badffcab70b60e8dcc169de07e.zip
APIs to GetValueAsSigned/Unsigned() in SBValue now also accept an SBError parameter to give more info about any problem
The synthetic children providers now use the new (safer) APIs to get the values of objects As a side effect, fixed an issue in ValueObject where ResolveValue() was not always updating the value before reading it llvm-svn: 136861
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBValue.i8
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index 22186e1b8a3..d73e6012c62 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -95,9 +95,15 @@ public:
GetValue ();
int64_t
- GetValueAsSigned(int64_t fail_value=0);
+ GetValueAsSigned(SBError& error, int64_t fail_value=0);
uint64_t
+ GetValueAsUnsigned(SBError& error, uint64_t fail_value=0);
+
+ int64_t
+ GetValueAsSigned(int64_t fail_value=0);
+
+ uint64_t
GetValueAsUnsigned(uint64_t fail_value=0);
ValueType
OpenPOWER on IntegriCloud