diff options
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 425274eef1b..97339235746 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -1504,6 +1504,17 @@ Process::UpdateThreadListIfNeeded () } } +ThreadSP +Process::CreateOSPluginThread (lldb::tid_t tid, lldb::addr_t context) +{ + OperatingSystem *os = GetOperatingSystem (); + if (os) + return os->CreateThread(tid, context); + return ThreadSP(); +} + + + // This is obsoleted. Staged removal for Xcode. uint32_t Process::GetNextThreadIndexID () |