summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-10-13 00:05:42 +0000
committerSiva Chandra <sivachandra@google.com>2015-10-13 00:05:42 +0000
commitda38894497a17f1dc458ac5426b15ea313ae0ffe (patch)
tree6f6591e4463c7f1a3751fc2d1f876bdd154800f4
parent3c4927b723594dd6c6c243402467ad9f1c75aca4 (diff)
downloadbcm5719-llvm-da38894497a17f1dc458ac5426b15ea313ae0ffe.tar.gz
bcm5719-llvm-da38894497a17f1dc458ac5426b15ea313ae0ffe.zip
[libstdc++ data-formatters] Remove size limits.
Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13682 llvm-svn: 250131
-rw-r--r--lldb/examples/synthetic/gnu_libstdcpp.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/examples/synthetic/gnu_libstdcpp.py b/lldb/examples/synthetic/gnu_libstdcpp.py
index 654266fd353..cc205960506 100644
--- a/lldb/examples/synthetic/gnu_libstdcpp.py
+++ b/lldb/examples/synthetic/gnu_libstdcpp.py
@@ -48,17 +48,13 @@ class StdListSynthProvider:
return False
def num_children(self):
- global _list_capping_size
logger = lldb.formatters.Logger.Logger()
if self.count == None:
self.count = self.num_children_impl()
- if self.count > _list_capping_size:
- self.count = _list_capping_size
return self.count
def num_children_impl(self):
logger = lldb.formatters.Logger.Logger()
- global _list_capping_size
try:
next_val = self.next.GetValueAsUnsigned(0)
prev_val = self.prev.GetValueAsUnsigned(0)
@@ -76,8 +72,6 @@ class StdListSynthProvider:
while current.GetChildMemberWithName('_M_next').GetValueAsUnsigned(0) != self.node_address:
size = size + 1
current = current.GetChildMemberWithName('_M_next')
- if size > _list_capping_size:
- return _list_capping_size
return (size - 1)
except:
return 0;
@@ -346,12 +340,9 @@ class StdMapSynthProvider:
pass
def num_children(self):
- global _map_capping_size
logger = lldb.formatters.Logger.Logger()
if self.count == None:
self.count = self.num_children_impl()
- if self.count > _map_capping_size:
- self.count = _map_capping_size
return self.count
def num_children_impl(self):
@@ -445,6 +436,4 @@ class StdMapSynthProvider:
def has_children(self):
return True
-_map_capping_size = 255
-_list_capping_size = 255
_list_uses_loop_detector = True
OpenPOWER on IntegriCloud