Author: Dave Lee Date: 2020-09-24T08:44:45-07:00 New Revision: ada1e2ffa1172ede1790b4b42ef8ab01508d3a47
URL: https://github.com/llvm/llvm-project/commit/ada1e2ffa1172ede1790b4b42ef8ab01508d3a47 DIFF: https://github.com/llvm/llvm-project/commit/ada1e2ffa1172ede1790b4b42ef8ab01508d3a47.diff LOG: [lldb/examples] Add missing declaration in heap.py Add missing declaration for `malloc_get_all_zones` in heap.py. Differential Revision: https://reviews.llvm.org/D88158 Added: Modified: lldb/examples/darwin/heap_find/heap.py Removed: ################################################################################ diff --git a/lldb/examples/darwin/heap_find/heap.py b/lldb/examples/darwin/heap_find/heap.py index 8fb2a8c95927..4174d396feb6 100644 --- a/lldb/examples/darwin/heap_find/heap.py +++ b/lldb/examples/darwin/heap_find/heap.py @@ -129,6 +129,7 @@ def get_iterate_memory_expr( void *reserved1[12]; struct malloc_introspection_t *introspect; } malloc_zone_t; +kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t **addresses, unsigned *count); memory_reader_t task_peek = [](task_t task, vm_address_t remote_address, vm_size_t size, void **local_memory) -> kern_return_t { *local_memory = (void*) remote_address; return KERN_SUCCESS; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits