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 12#include "ScriptedThreadInterface.h" 13#include "lldb/Core/StructuredDataImpl.h" 14 15#include "lldb/lldb-private.h" 16 17namespace lldb_private { 18class OperatingSystemInterface : virtual public ScriptedThreadInterface { 19public: 20 virtual StructuredData::DictionarySP CreateThread(lldb::tid_t tid, 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 34