Typo in comments

llvm-svn: 196577
This commit is contained in:
Jean-Daniel Dupas 2013-12-06 09:35:53 +00:00
parent 3429f78289
commit 3cfa8e217e
2 changed files with 2 additions and 2 deletions

View File

@ -534,7 +534,7 @@ public:
/// as many bytes as possible. /// as many bytes as possible.
/// ///
/// @return /// @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 can contain a NULL DataBuffer pointer, so the contained
/// pointer must be checked prior to using it. /// pointer must be checked prior to using it.
//------------------------------------------------------------------ //------------------------------------------------------------------

View File

@ -458,7 +458,7 @@ lldb::tid_t
Host::GetCurrentThreadID() Host::GetCurrentThreadID()
{ {
#if defined (__APPLE__) #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 // port, so we need to deallocate it. mach_task_self() doesn't bump the ref
// count. // count.
thread_port_t thread_self = mach_thread_self(); thread_port_t thread_self = mach_thread_self();