summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-11-18 23:36:25 +0000
committerEnrico Granata <egranata@apple.com>2014-11-18 23:36:25 +0000
commit49bfafb5108a463f3c46c11d91d92c5528770928 (patch)
tree34aeb1b0684c8f3ec2c71f78ac779922f93f3cb9 /lldb/scripts/Python/interface
parentaa5bb91f5aefce4b9692a4925a23d3c738cecfb8 (diff)
downloadbcm5719-llvm-49bfafb5108a463f3c46c11d91d92c5528770928.tar.gz
bcm5719-llvm-49bfafb5108a463f3c46c11d91d92c5528770928.zip
Shuffle APIs around a little bit, so that if you pass custom summary options, we don't end up caching the summary hence obtained. You may want to obtain an uncapped summary, but this should not be reflected in the summary we cache. The drawback is that we don't cache as aggressively as we could, but at least you get to have different summaries with different options without having to reset formatters or the SBValue at each step
llvm-svn: 222280
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBValue.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index db780394e71..728dae93249 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -122,7 +122,8 @@ public:
GetSummary ();
const char *
- GetSummary (lldb::SBTypeSummaryOptions& options);
+ GetSummary (lldb::SBStream& stream,
+ lldb::SBTypeSummaryOptions& options);
const char *
GetObjectDescription ();
OpenPOWER on IntegriCloud