diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:06:29 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:06:29 +0000 | 
| commit | 94994d372d014ce4c8758b9605d63fae651bd8aa (patch) | |
| tree | 51c0b708bd59f205d6b35cb2a8c24d62f0c33d77 /source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h | |
| parent | 39be7ce23363d12ae3e49aeb1fdb2bfeb892e836 (diff) | |
Notes
Diffstat (limited to 'source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h')
| -rw-r--r-- | source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h | 86 | 
1 files changed, 0 insertions, 86 deletions
diff --git a/source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h b/source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h deleted file mode 100644 index 9c2ee15cff65..000000000000 --- a/source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h +++ /dev/null @@ -1,86 +0,0 @@ -//===-- GoLanguageRuntime.h -------------------------------------*- C++ -*-===// -// -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef liblldb_GoLanguageRuntime_h_ -#define liblldb_GoLanguageRuntime_h_ - -// C Includes -// C++ Includes -// Other libraries and framework includes -// Project includes -#include "lldb/Breakpoint/BreakpointResolver.h" -#include "lldb/Core/Value.h" -#include "lldb/Target/LanguageRuntime.h" -#include "lldb/lldb-private.h" - -namespace lldb_private { - -class GoLanguageRuntime : public lldb_private::LanguageRuntime { -public: -  ~GoLanguageRuntime() override = default; - -  //------------------------------------------------------------------ -  // Static Functions -  //------------------------------------------------------------------ -  static void Initialize(); - -  static void Terminate(); - -  static lldb_private::LanguageRuntime * -  CreateInstance(Process *process, lldb::LanguageType language); - -  static lldb_private::ConstString GetPluginNameStatic(); - -  lldb::LanguageType GetLanguageType() const override { -    return lldb::eLanguageTypeGo; -  } - -  bool GetObjectDescription(Stream &str, ValueObject &object) override { -    // TODO(ribrdb): Maybe call String() method? -    return false; -  } - -  bool GetObjectDescription(Stream &str, Value &value, -                            ExecutionContextScope *exe_scope) override { -    return false; -  } - -  bool GetDynamicTypeAndAddress(ValueObject &in_value, -                                lldb::DynamicValueType use_dynamic, -                                TypeAndOrName &class_type_or_name, -                                Address &address, -                                Value::ValueType &value_type) override; - -  bool CouldHaveDynamicValue(ValueObject &in_value) override; - -  lldb::BreakpointResolverSP CreateExceptionResolver(Breakpoint *bkpt, -                                                     bool catch_bp, -                                                     bool throw_bp) override { -    return lldb::BreakpointResolverSP(); -  } - -  TypeAndOrName FixUpDynamicType(const TypeAndOrName &type_and_or_name, -                                 ValueObject &static_value) override; - -  //------------------------------------------------------------------ -  // PluginInterface protocol -  //------------------------------------------------------------------ -  lldb_private::ConstString GetPluginName() override; - -  uint32_t GetPluginVersion() override; - -private: -  GoLanguageRuntime(Process *process) -      : lldb_private::LanguageRuntime(process) { -  } // Call CreateInstance instead. -}; - -} // namespace lldb_private - -#endif // liblldb_GoLanguageRuntime_h_  | 
