| 1 |
//===-- HostThreadMacOSX.cpp ------------------------------------*- C++ -*-===// |
| 2 |
// |
| 3 |
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 |
// See https://llvm.org/LICENSE.txt for license information. |
| 5 |
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 |
// |
| 7 |
//===----------------------------------------------------------------------===// |
| 8 |
|
| 9 |
#include "lldb/Host/macosx/HostThreadMacOSX.h" |
| 10 |
#include <CoreFoundation/CoreFoundation.h> |
| 11 |
#include <Foundation/Foundation.h> |
| 12 |
|
| 13 |
using namespace lldb_private; |
| 14 |
|
| 15 |
lldb::thread_result_t |
| 16 |
HostThreadMacOSX::ThreadCreateTrampoline(lldb::thread_arg_t arg) { |
| 17 |
@autoreleasepool { |
| 18 |
return HostThreadPosix::ThreadCreateTrampoline(arg); |
| 19 |
} |
| 20 |
} |