[Lldb-commits] [lldb] r156651 - /lldb/trunk/examples/darwin/heap_find/heap.py

Greg Clayton gclayton at apple.com
Fri May 11 14:57:50 PDT 2012


Author: gclayton
Date: Fri May 11 16:57:50 2012
New Revision: 156651

URL: http://llvm.org/viewvc/llvm-project?rev=156651&view=rev
Log:
Remove comments and an extra print statement.


Modified:
    lldb/trunk/examples/darwin/heap_find/heap.py

Modified: lldb/trunk/examples/darwin/heap_find/heap.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/darwin/heap_find/heap.py?rev=156651&r1=156650&r2=156651&view=diff
==============================================================================
--- lldb/trunk/examples/darwin/heap_find/heap.py (original)
+++ lldb/trunk/examples/darwin/heap_find/heap.py Fri May 11 16:57:50 2012
@@ -126,12 +126,10 @@
 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:





More information about the lldb-commits mailing list