Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:49

0001 //===-- OperatingSystemInterface.h ------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
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 } // namespace lldb_private
0034 
0035 #endif // LLDB_INTERPRETER_INTERFACES_OPERATINGSYSTEMINTERFACE_H