forked from OSchip/llvm-project
parent
3429f78289
commit
3cfa8e217e
|
|
@ -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.
|
||||
//------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue