[Lldb-commits] [lldb] r156586 - /lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp

Greg Clayton gclayton at apple.com
Thu May 10 16:20:50 PDT 2012


Author: gclayton
Date: Thu May 10 18:20:50 2012
New Revision: 156586

URL: http://llvm.org/viewvc/llvm-project?rev=156586&view=rev
Log:
Fixed a build error.


Modified:
    lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp

Modified: lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp?rev=156586&r1=156585&r2=156586&view=diff
==============================================================================
--- lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp (original)
+++ lldb/trunk/examples/darwin/heap_find/heap/heap_find.cpp Thu May 10 18:20:50 2012
@@ -264,7 +264,7 @@
                                                                        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 @@
     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();





More information about the lldb-commits mailing list