diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-05-10 23:20:50 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-05-10 23:20:50 +0000 |
| commit | 370f5fd20ada3bed37cc1c97fe5487cdcd8d420c (patch) | |
| tree | f293d9a71470bde88c54f008fcf8f462a1d220fc /lldb/examples/darwin | |
| parent | f573030391ce1f67e4d656dd941cb86cd91ee9ba (diff) | |
| download | bcm5719-llvm-370f5fd20ada3bed37cc1c97fe5487cdcd8d420c.tar.gz bcm5719-llvm-370f5fd20ada3bed37cc1c97fe5487cdcd8d420c.zip | |
Fixed a build error.
llvm-svn: 156586
Diffstat (limited to 'lldb/examples/darwin')
| -rw-r--r-- | lldb/examples/darwin/heap_find/heap/heap_find.cpp | 4 |
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(); |

