summaryrefslogtreecommitdiff
path: root/lldb/examples
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-07-22 00:16:02 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-07-22 00:16:02 +0000
commit953f6d0d6462a8a020aba18abcf85d4da6613f6a (patch)
tree7372a8272134cc9c122eec6dc427abf4dc630ebd /lldb/examples
parent20fa0e35b9dfad20244b362c52e9b471b6948330 (diff)
Fix typos.
Summary: Fix a bunch of typos. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11386
Diffstat (limited to 'lldb/examples')
-rw-r--r--lldb/examples/darwin/heap_find/heap/heap_find.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/examples/darwin/heap_find/heap/heap_find.cpp b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
index a400cce526f..de896775e40 100644
--- a/lldb/examples/darwin/heap_find/heap/heap_find.cpp
+++ b/lldb/examples/darwin/heap_find/heap/heap_find.cpp
@@ -144,7 +144,7 @@ range_info_callback (task_t task,
uint64_t ptr_size);
//----------------------------------------------------------------------
-// Redefine private gloval variables prototypes from
+// Redefine private global variables prototypes from
// "/usr/local/include/stack_logging.h"
//----------------------------------------------------------------------
@@ -556,7 +556,7 @@ private:
static int
compare_bytes (const Entry *a, const Entry *b)
{
- // Reverse the comparisong to most bytes entries end up at top of list
+ // Reverse the comparison to most bytes entries end up at top of list
if (a->bytes > b->bytes) return -1;
if (a->bytes < b->bytes) return +1;
return 0;
@@ -565,7 +565,7 @@ private:
static int
compare_count (const Entry *a, const Entry *b)
{
- // Reverse the comparisong to most count entries end up at top of list
+ // Reverse the comparison to most count entries end up at top of list
if (a->count > b->count) return -1;
if (a->count < b->count) return +1;
return 0;
@@ -659,7 +659,7 @@ foreach_zone_in_this_process (range_callback_info_t *info)
// dump_malloc_block_callback
//
// A simple callback that will dump each malloc block and all available
-// info from the enumeration callback perpective.
+// info from the enumeration callback perspective.
//----------------------------------------------------------------------
static void
dump_malloc_block_callback (task_t task, void *baton, unsigned type, uint64_t ptr_addr, uint64_t ptr_size)