summaryrefslogtreecommitdiffstats
path: root/lldb/examples/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/darwin')
-rw-r--r--lldb/examples/darwin/heap_find/heap/heap_find.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/examples/darwin/heap_find/heap/heap_find.cpp b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
index 4432d5b830c..ddc19bad4b9 100644
--- a/lldb/examples/darwin/heap_find/heap/heap_find.cpp
+++ b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
@@ -264,7 +264,7 @@ get_stack_for_address_enumerator(mach_stack_logging_record_t stack_record, void
MAX_FRAMES,
&num_frames);
g_malloc_stack_history.resize(g_malloc_stack_history.size() + 1);
- g_malloc_stack_history.back().addr = (void *)stack_record.address;
+ g_malloc_stack_history.back().address = (void *)stack_record.address;
g_malloc_stack_history.back().type_flags = stack_record.type_flags;
g_malloc_stack_history.back().argument = stack_record.argument;
if (num_frames > 0)
@@ -292,7 +292,7 @@ get_stack_history_for_address (const void * addr)
if (g_malloc_stack_history.empty())
return NULL;
g_malloc_stack_history.resize(g_malloc_stack_history.size() + 1);
- g_malloc_stack_history.back().addr = 0;
+ g_malloc_stack_history.back().address = 0;
g_malloc_stack_history.back().type_flags = 0;
g_malloc_stack_history.back().argument = 0;
return g_malloc_stack_history.data();
OpenPOWER on IntegriCloud