summaryrefslogtreecommitdiff
path: root/lldb/examples
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-09-22 05:07:56 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-09-22 05:07:56 +0000
commit1f671b3c9e87a5962d4e46e350f948da4c81ab60 (patch)
tree9d826d1374c7873760fe0641f9c586920e3044dc /lldb/examples
parentf8fec032a93b30be01b38b25b2d37a6a30f7c52f (diff)
Fix typos.
Summary: Another round of minor typo fixes. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13026
Diffstat (limited to 'lldb/examples')
-rwxr-xr-xlldb/examples/python/symbolication.py2
-rw-r--r--lldb/examples/summaries/cocoa/CFArray.py2
-rw-r--r--lldb/examples/synthetic/gnu_libstdcpp.py4
-rw-r--r--lldb/examples/synthetic/libcxx.py4
4 files changed, 6 insertions, 6 deletions
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py
index d5215ad922d..2f2a274dbc4 100755
--- a/lldb/examples/python/symbolication.py
+++ b/lldb/examples/python/symbolication.py
@@ -223,7 +223,7 @@ class Image:
@classmethod
def InitWithSBTargetAndSBModule(cls, target, module):
- '''Initalize this Image object with a module from a target.'''
+ '''Initialize this Image object with a module from a target.'''
obj = cls(module.file.fullpath, module.uuid)
obj.resolved_path = module.platform_file.fullpath
obj.resolved = True
diff --git a/lldb/examples/summaries/cocoa/CFArray.py b/lldb/examples/summaries/cocoa/CFArray.py
index 11188d04565..5068875b5b3 100644
--- a/lldb/examples/summaries/cocoa/CFArray.py
+++ b/lldb/examples/summaries/cocoa/CFArray.py
@@ -147,7 +147,7 @@ class NSArray_SynthProvider:
return
self.wrapper.update()
- # this code acts as our defense against NULL and unitialized
+ # this code acts as our defense against NULL and uninitialized
# NSArray pointers, which makes it much longer than it would be otherwise
def make_wrapper(self):
logger = lldb.formatters.Logger.Logger()
diff --git a/lldb/examples/synthetic/gnu_libstdcpp.py b/lldb/examples/synthetic/gnu_libstdcpp.py
index 90cbcd7c70b..654266fd353 100644
--- a/lldb/examples/synthetic/gnu_libstdcpp.py
+++ b/lldb/examples/synthetic/gnu_libstdcpp.py
@@ -27,7 +27,7 @@ class StdListSynthProvider:
logger = lldb.formatters.Logger.Logger()
return node.GetValueAsUnsigned()
- # Floyd's cyle-finding algorithm
+ # Floyd's cycle-finding algorithm
# try to detect if this list has a loop
def has_loop(self):
global _list_uses_loop_detector
@@ -154,7 +154,7 @@ class StdVectorSynthProvider:
end_val = self.end.GetValueAsUnsigned(0)
# Before a vector has been constructed, it will contain bad values
# so we really need to be careful about the length we return since
- # unitialized data can cause us to return a huge number. We need
+ # uninitialized data can cause us to return a huge number. We need
# to also check for any of the start, finish or end of storage values
# being zero (NULL). If any are, then this vector has not been
# initialized yet and we should return zero
diff --git a/lldb/examples/synthetic/libcxx.py b/lldb/examples/synthetic/libcxx.py
index e1f0fa9eb6e..6623fea097c 100644
--- a/lldb/examples/synthetic/libcxx.py
+++ b/lldb/examples/synthetic/libcxx.py
@@ -73,7 +73,7 @@ class stdvector_SynthProvider:
finish_val = self.finish.GetValueAsUnsigned(0)
# Before a vector has been constructed, it will contain bad values
# so we really need to be careful about the length we return since
- # unitialized data can cause us to return a huge number. We need
+ # uninitialized data can cause us to return a huge number. We need
# to also check for any of the start, finish or end of storage values
# being zero (NULL). If any are, then this vector has not been
# initialized yet and we should return zero
@@ -219,7 +219,7 @@ class stdlist_SynthProvider:
logger = lldb.formatters.Logger.Logger()
return node.GetValueAsUnsigned()
- # Floyd's cyle-finding algorithm
+ # Floyd's cycle-finding algorithm
# try to detect if this list has a loop
def has_loop(self):
global _list_uses_loop_detector