mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-26 23:09:03 -04:00

- Ported the SWIG wrapper shell scripts to Python so that they would work on Windows too along with other platforms - Updated CMake handling to fix SWIG errors and manage sym-linking on Windows to liblldb.dll - More build fixes for Windows The pending issues are that two Python modules, termios and pexpect are not available on Windows. These are currently required for the Python command interpreter to be used from within LLDB. llvm-svn: 212111
42 lines
1.0 KiB
C++
42 lines
1.0 KiB
C++
//===-- SWIG Interface for SBHostOS -----------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
namespace lldb {
|
|
|
|
class SBHostOS
|
|
{
|
|
public:
|
|
|
|
static lldb::SBFileSpec
|
|
GetProgramFileSpec ();
|
|
|
|
static void
|
|
ThreadCreated (const char *name);
|
|
|
|
static lldb::thread_t
|
|
ThreadCreate (const char *name,
|
|
lldb::thread_func_t,
|
|
void *thread_arg,
|
|
lldb::SBError *err);
|
|
|
|
static bool
|
|
ThreadCancel (lldb::thread_t thread,
|
|
lldb::SBError *err);
|
|
|
|
static bool
|
|
ThreadDetach (lldb::thread_t thread,
|
|
lldb::SBError *err);
|
|
static bool
|
|
ThreadJoin (lldb::thread_t thread,
|
|
lldb::thread_result_t *result,
|
|
lldb::SBError *err);
|
|
};
|
|
|
|
} // namespace lldb
|