summaryrefslogtreecommitdiffstats
path: root/lldb/examples/darwin/heap_find
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-05-11 21:57:50 +0000
committerGreg Clayton <gclayton@apple.com>2012-05-11 21:57:50 +0000
commit0021bd2fe31cb93e3c4f1468eb5bbbbaa39a32e0 (patch)
treeacffb75cf48dac3a6bcb3953ea74767e442d99e9 /lldb/examples/darwin/heap_find
parent8ab86cb34446dfc147d3faf27074d49cdda6f3f0 (diff)
downloadbcm5719-llvm-0021bd2fe31cb93e3c4f1468eb5bbbbaa39a32e0.tar.gz
bcm5719-llvm-0021bd2fe31cb93e3c4f1468eb5bbbbaa39a32e0.zip
Remove comments and an extra print statement.
llvm-svn: 156651
Diffstat (limited to 'lldb/examples/darwin/heap_find')
-rw-r--r--lldb/examples/darwin/heap_find/heap.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/examples/darwin/heap_find/heap.py b/lldb/examples/darwin/heap_find/heap.py
index e6d2b1f073b..85ad63d2e7b 100644
--- a/lldb/examples/darwin/heap_find/heap.py
+++ b/lldb/examples/darwin/heap_find/heap.py
@@ -126,12 +126,10 @@ def dump_stack_history_entry(stack_history_entry, idx):
def dump_stack_history_entries(addr, history):
# malloc_stack_entry *get_stack_history_for_address (const void * addr)
expr = 'get_stack_history_for_address((void *)0x%x, %u)' % (addr, history)
- print 'expr = "%s"' % (expr)
expr_sbvalue = lldb.frame.EvaluateExpression (expr)
if expr_sbvalue.error.Success():
if expr_sbvalue.unsigned:
expr_value = lldb.value(expr_sbvalue)
- #print 'expr_value = ', expr_value
idx = 0;
stack_history_entry = expr_value[idx]
while int(stack_history_entry.address) != 0:
OpenPOWER on IntegriCloud