blob: 817c07603403330c3b136c418378d4f20475beaf [file] [log] [blame]
Jim Ingham22777012010-09-23 02:01:19 +00001//===-- ItaniumABILanguageRuntime.h ----------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_ItaniumABILanguageRuntime_h_
11#define liblldb_ItaniumABILanguageRuntime_h_
12
13// C Includes
14// C++ Includes
15// Other libraries and framework includes
16// Project includes
17#include "lldb/lldb-private.h"
18#include "lldb/Target/LanguageRuntime.h"
19#include "lldb/Target/CPPLanguageRuntime.h"
20#include "lldb/Core/Value.h"
21
22namespace lldb_private {
23
24 class ItaniumABILanguageRuntime :
25 public lldb_private::CPPLanguageRuntime
26 {
27 public:
28 ~ItaniumABILanguageRuntime() { }
29
30 virtual bool
31 IsVTableName (const char *name);
32
Jim Ingham5a369122010-09-28 01:25:32 +000033 virtual lldb::ValueObjectSP
34 GetDynamicValue (lldb::ValueObjectSP in_value, ExecutionContextScope *exe_scope);
35
Jim Ingham22777012010-09-23 02:01:19 +000036 //------------------------------------------------------------------
37 // Static Functions
38 //------------------------------------------------------------------
39 static void
40 Initialize();
41
42 static void
43 Terminate();
44
45 static lldb_private::LanguageRuntime *
46 CreateInstance (Process *process, lldb::LanguageType language);
47
48 //------------------------------------------------------------------
49 // PluginInterface protocol
50 //------------------------------------------------------------------
51 virtual const char *
52 GetPluginName();
53
54 virtual const char *
55 GetShortPluginName();
56
57 virtual uint32_t
58 GetPluginVersion();
59
60 virtual void
61 GetPluginCommandHelp (const char *command, lldb_private::Stream *strm);
62
63 virtual lldb_private::Error
64 ExecutePluginCommand (lldb_private::Args &command, lldb_private::Stream *strm);
65
66 virtual lldb_private::Log *
67 EnablePluginLogging (lldb_private::Stream *strm, lldb_private::Args &command);
68 protected:
69 private:
70 ItaniumABILanguageRuntime(Process *process) : lldb_private::CPPLanguageRuntime(process) { } // Call CreateInstance instead.
71 };
72
73} // namespace lldb_private
74
75#endif // liblldb_ItaniumABILanguageRuntime_h_