Skip to content

Commit e4c9404

Browse files
committed
Reword the variable
1 parent b128131 commit e4c9404

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/bindings/interface/SBSaveCoreOptionsExtensions.i

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef SWIGPYTHON
33
%pythoncode% {
44
'''Add a thread to the SaveCoreOptions thread list, and follow it's children N pointers deep, adding each memory region to the SaveCoreOptions Memory region list.'''
5-
def save_thread_with_heaps(self, thread, num_heaps_deep = 3):
5+
def save_thread_with_heaps(self, thread, num_pointers_deep = 3):
66
self.AddThread(thread)
77
frame = thread.GetFrameAtIndex(0)
88
process = thread.GetProcess()
@@ -11,7 +11,7 @@
1111
if var.TypeIsPointerType():
1212
queue.append(var.Dereference())
1313
14-
while (num_heaps_deep > 0 and len(queue) > 0):
14+
while (num_pointers_deep > 0 and len(queue) > 0):
1515
queue_size = len(queue)
1616
for i in range(0, queue_size):
1717
var = queue.pop(0)
@@ -26,6 +26,6 @@
2626
if x.TypeIsPointerType():
2727
queue.append(x.Dereference())
2828
29-
num_heaps_deep -= 1
29+
num_pointers_deep -= 1
3030
}
3131
#endif SWIGPYTHON

0 commit comments

Comments
 (0)