LLDB mainline
OperatingSystemInterface.h
Go to the documentation of this file.
1//===-- OperatingSystemInterface.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_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H
10#define LLDB_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H
11
14
15#include "lldb/lldb-private.h"
16
17namespace lldb_private {
19public:
21 lldb::addr_t context) {
22 return {};
23 }
24
25 virtual StructuredData::ArraySP GetThreadInfo() { return {}; }
26
27 virtual std::optional<std::string> GetRegisterContextForTID(lldb::tid_t tid) {
28 return std::nullopt;
29 }
30};
31} // namespace lldb_private
32
33#endif // LLDB_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H
virtual StructuredData::ArraySP GetThreadInfo()
virtual StructuredData::DictionarySP CreateThread(lldb::tid_t tid, lldb::addr_t context)
virtual std::optional< std::string > GetRegisterContextForTID(lldb::tid_t tid)
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Array > ArraySP
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
uint64_t addr_t
Definition: lldb-types.h:79
uint64_t tid_t
Definition: lldb-types.h:82