File indexing completed on 2026-05-10 08:42:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H
0010 #define LLDB_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H
0011
0012 #include "ScriptedThreadInterface.h"
0013 #include "lldb/Core/StructuredDataImpl.h"
0014
0015 #include "lldb/lldb-private.h"
0016
0017 namespace lldb_private {
0018 class OperatingSystemInterface : virtual public ScriptedThreadInterface {
0019 public:
0020 virtual StructuredData::DictionarySP CreateThread(lldb::tid_t tid,
0021 lldb::addr_t context) {
0022 return {};
0023 }
0024
0025 virtual StructuredData::ArraySP GetThreadInfo() { return {}; }
0026
0027 virtual std::optional<std::string> GetRegisterContextForTID(lldb::tid_t tid) {
0028 return std::nullopt;
0029 }
0030
0031 virtual std::optional<bool> DoesPluginReportAllThreads() { return {}; }
0032 };
0033 }
0034
0035 #endif