summaryrefslogtreecommitdiffstats
path: root/lldb/examples/darwin
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-06-18 05:27:05 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-06-18 05:27:05 +0000
commit58ef391f3ef80cc4e4e375b7e2f1f397afd47b90 (patch)
tree5745c92f275d16ef1c8c47b79e523929b3169a36 /lldb/examples/darwin
parent8b2492f2a0e0b143c4c4f17765901e568af92e68 (diff)
downloadbcm5719-llvm-58ef391f3ef80cc4e4e375b7e2f1f397afd47b90.tar.gz
bcm5719-llvm-58ef391f3ef80cc4e4e375b7e2f1f397afd47b90.zip
Fix a variety of typos.
No functional change. llvm-svn: 239995
Diffstat (limited to 'lldb/examples/darwin')
-rw-r--r--lldb/examples/darwin/heap_find/heap/heap_find.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/examples/darwin/heap_find/heap/heap_find.cpp b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
index 2ac13192057..a400cce526f 100644
--- a/lldb/examples/darwin/heap_find/heap/heap_find.cpp
+++ b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
@@ -1,4 +1,4 @@
-//===-- head_find.c ---------------------------------------------*- C++ -*-===//
+//===-- heap_find.c ---------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -903,7 +903,7 @@ find_pointer_in_heap (const void * addr, int check_vm_regions)
{
g_matches.clear();
// Setup "info" to look for a malloc block that contains data
- // that is the a pointer
+ // that is the pointer
if (addr)
{
range_contains_data_callback_info_t data_info;
@@ -933,7 +933,7 @@ find_pointer_in_memory (uint64_t memory_addr, uint64_t memory_size, const void *
{
g_matches.clear();
// Setup "info" to look for a malloc block that contains data
- // that is the a pointer
+ // that is the pointer
range_contains_data_callback_info_t data_info;
data_info.type = eDataTypeContainsData; // Check each block for data
data_info.data.buffer = (uint8_t *)&addr; // What data? The pointer value passed in
@@ -960,7 +960,7 @@ find_objc_objects_in_memory (void *isa, int check_vm_regions)
if (g_objc_classes.Update())
{
// Setup "info" to look for a malloc block that contains data
- // that is the a pointer
+ // that is the pointer
range_contains_data_callback_info_t data_info;
data_info.type = eDataTypeObjC; // Check each block for data
data_info.objc.match_isa = isa;
@@ -989,7 +989,7 @@ get_heap_info (int sort_type)
// Reset all stats
g_objc_class_snapshot.Reset ();
// Setup "info" to look for a malloc block that contains data
- // that is the a pointer
+ // that is the pointer
range_contains_data_callback_info_t data_info;
data_info.type = eDataTypeHeapInfo; // Check each block for data
data_info.match_count = 0; // Initialize the match count to zero
OpenPOWER on IntegriCloud