LLDB
mainline
llvm-project
lldb
include
lldb
API
SBHostOS.h
Go to the documentation of this file.
1
//===-- SBHostOS.h ----------------------------------------------*- 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
#ifndef LLDB_API_SBHOSTOS_H
10
#define LLDB_API_SBHOSTOS_H
11
12
#include "
lldb/API/SBDefines.h
"
13
#include "
lldb/API/SBFileSpec.h
"
14
15
namespace
lldb
{
16
17
class
LLDB_API
SBHostOS
{
18
public
:
19
static
lldb::SBFileSpec
GetProgramFileSpec();
20
21
static
lldb::SBFileSpec
GetLLDBPythonPath();
22
23
static
lldb::SBFileSpec
GetLLDBPath(
lldb::PathType
path_type);
24
25
static
lldb::SBFileSpec
GetUserHomeDirectory();
26
27
static
void
ThreadCreated(
const
char
*name);
28
29
static
lldb::thread_t
ThreadCreate(
const
char
*name,
30
lldb::thread_func_t
thread_function,
31
void
*thread_arg,
lldb::SBError
*err);
32
33
static
bool
ThreadCancel(
lldb::thread_t
thread,
lldb::SBError
*err);
34
35
static
bool
ThreadDetach(
lldb::thread_t
thread,
lldb::SBError
*err);
36
static
bool
ThreadJoin(
lldb::thread_t
thread,
lldb::thread_result_t
*result,
37
lldb::SBError
*err);
38
39
private
:
40
};
41
42
}
// namespace lldb
43
44
#endif // LLDB_API_SBHOSTOS_H
lldb::thread_func_t
void *(* thread_func_t)(void *)
Definition:
lldb-types.h:63
SBDefines.h
lldb::SBError
Definition:
SBError.h:20
lldb::SBHostOS
Definition:
SBHostOS.h:17
lldb::PathType
PathType
Used with SBHostOS::GetLLDBPath (lldb::PathType) to find files that are related to LLDB on the curren...
Definition:
lldb-enumerations.h:1019
lldb::thread_t
pthread_t thread_t
Definition:
lldb-types.h:58
SBFileSpec.h
lldb::thread_result_t
void * thread_result_t
Definition:
lldb-types.h:62
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb
Definition:
SBAddress.h:15
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:26
Generated on Wed Jul 20 2022 21:29:18 for LLDB by
1.8.17