diff options
-rw-r--r-- | lldb/include/lldb/Host/FileSpec.h | 2 | ||||
-rw-r--r-- | lldb/source/Host/common/Host.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Host/FileSpec.h b/lldb/include/lldb/Host/FileSpec.h index 086c8f20056..dfc4e4ae0fe 100644 --- a/lldb/include/lldb/Host/FileSpec.h +++ b/lldb/include/lldb/Host/FileSpec.h @@ -534,7 +534,7 @@ public: /// as many bytes as possible. /// /// @return - /// A shared pointer to the memeory mapped data. This shared + /// A shared pointer to the memory mapped data. This shared /// pointer can contain a NULL DataBuffer pointer, so the contained /// pointer must be checked prior to using it. //------------------------------------------------------------------ diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 1dc4b9e472c..d013935ac42 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -458,7 +458,7 @@ lldb::tid_t Host::GetCurrentThreadID() { #if defined (__APPLE__) - // Calling "mach_port_deallocate()" bumps the reference count on the thread + // Calling "mach_thread_self()" bumps the reference count on the thread // port, so we need to deallocate it. mach_task_self() doesn't bump the ref // count. thread_port_t thread_self = mach_thread_self(); |