LLVM: SBHostOS.h Source File
Description: C++ source code API documentation for LLDB.
Keywords: LLDB,C++,doxygen,API,documentation

LLDB API Documentation

- Main Page
- Namespaces
- Classes
- Files

- File List

SBHostOS.h
Go to the documentation of this file.
1 //===-- SBHostOS.h ----------------------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLDB_SBHostOS_h_
11 #define LLDB_SBHostOS_h_
12
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBFileSpec.h"
15
16 namespace lldb {
17
18 class SBHostOS
19 {
20 public:
21
22 static lldb::SBFileSpec
23 GetProgramFileSpec ();
24
25 static lldb::SBFileSpec
26 GetLLDBPythonPath ();
27
28 static void
29 ThreadCreated (const char *name);
30
31 static lldb::thread_t
32 ThreadCreate (const char *name,
33 void *(*thread_function)(void *),
34 void *thread_arg,
35 lldb::SBError *err);
36
37 static bool
38 ThreadCancel (lldb::thread_t thread,
39 lldb::SBError *err);
40
41 static bool
42 ThreadDetach (lldb::thread_t thread,
43 lldb::SBError *err);
44 static bool
45 ThreadJoin (lldb::thread_t thread,
46 void **result,
47 lldb::SBError *err);
48
49
50 private:
51
52 };
53
54
55 } // namespace lldb
56
57 #endif // LLDB_SBHostOS_h_