blob: 4ae6a89bad8a36bbd8e62afc5db367840d96e6d7 [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
33 //------------------------------------------------------------------
34 // Static Functions
35 //------------------------------------------------------------------
36 static void
37 Initialize();
38
39 static void
40 Terminate();
41
42 static lldb_private::LanguageRuntime *
43 CreateInstance (Process *process, lldb::LanguageType language);
44
45 //------------------------------------------------------------------
46 // PluginInterface protocol
47 //------------------------------------------------------------------
48 virtual const char *
49 GetPluginName();
50
51 virtual const char *
52 GetShortPluginName();
53
54 virtual uint32_t
55 GetPluginVersion();
56
57 virtual void
58 GetPluginCommandHelp (const char *command, lldb_private::Stream *strm);
59
60 virtual lldb_private::Error
61 ExecutePluginCommand (lldb_private::Args &command, lldb_private::Stream *strm);
62
63 virtual lldb_private::Log *
64 EnablePluginLogging (lldb_private::Stream *strm, lldb_private::Args &command);
65 protected:
66 private:
67 ItaniumABILanguageRuntime(Process *process) : lldb_private::CPPLanguageRuntime(process) { } // Call CreateInstance instead.
68 };
69
70} // namespace lldb_private
71
72#endif // liblldb_ItaniumABILanguageRuntime_h_