1 //===-- ItaniumABILanguageRuntime.h ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_ItaniumABILanguageRuntime_h_
11 #define liblldb_ItaniumABILanguageRuntime_h_
15 // Other libraries and framework includes
17 #include "lldb/lldb-private.h"
18 #include "lldb/Breakpoint/BreakpointResolver.h"
19 #include "lldb/Target/LanguageRuntime.h"
20 #include "lldb/Target/CPPLanguageRuntime.h"
21 #include "lldb/Core/Value.h"
26 namespace lldb_private {
28 class ItaniumABILanguageRuntime :
29 public lldb_private::CPPLanguageRuntime
32 ~ItaniumABILanguageRuntime() { }
35 IsVTableName (const char *name);
38 GetDynamicTypeAndAddress (ValueObject &in_value,
39 lldb::DynamicValueType use_dynamic,
40 TypeAndOrName &class_type_or_name,
44 CouldHaveDynamicValue (ValueObject &in_value);
46 //------------------------------------------------------------------
48 //------------------------------------------------------------------
55 static lldb_private::LanguageRuntime *
56 CreateInstance (Process *process, lldb::LanguageType language);
58 static lldb_private::ConstString
59 GetPluginNameStatic();
61 //------------------------------------------------------------------
62 // PluginInterface protocol
63 //------------------------------------------------------------------
64 virtual lldb_private::ConstString
71 SetExceptionBreakpoints ();
74 ClearExceptionBreakpoints ();
77 ExceptionBreakpointsAreSet ();
80 ExceptionBreakpointsExplainStop (lldb::StopInfoSP stop_reason);
82 virtual lldb::BreakpointResolverSP
83 CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp);
85 virtual lldb::SearchFilterSP
86 CreateExceptionSearchFilter ();
89 GetAlternateManglings(const ConstString &mangled, std::vector<ConstString> &alternates);
93 lldb::BreakpointResolverSP
94 CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp, bool for_expressions);
97 CreateExceptionBreakpoint(bool catch_bp,
103 ItaniumABILanguageRuntime(Process *process) : lldb_private::CPPLanguageRuntime(process) { } // Call CreateInstance instead.
105 lldb::BreakpointSP m_cxx_exception_bp_sp;
108 } // namespace lldb_private
110 #endif // liblldb_ItaniumABILanguageRuntime_h_