[Lldb-commits] [PATCH] D88158: [lldb/examples] Add missing declaration in heap.py
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 09:13:40 PDT 2020
kastiglione created this revision.
kastiglione added reviewers: JDevlieghere, teemperor, aprantl.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
kastiglione requested review of this revision.
Add missing declaration for `malloc_get_all_zones` in heap.py.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88158
Files:
lldb/examples/darwin/heap_find/heap.py
Index: lldb/examples/darwin/heap_find/heap.py
===================================================================
--- lldb/examples/darwin/heap_find/heap.py
+++ lldb/examples/darwin/heap_find/heap.py
@@ -129,6 +129,7 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88158.293767.patch
Type: text/x-patch
Size: 630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200923/ba90fa91/attachment.bin>
More information about the lldb-commits
mailing list