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"
23 namespace lldb_private {
25 class ItaniumABILanguageRuntime :
26 public lldb_private::CPPLanguageRuntime
29 ~ItaniumABILanguageRuntime() { }
32 IsVTableName (const char *name);
35 GetDynamicTypeAndAddress (ValueObject &in_value,
36 lldb::DynamicValueType use_dynamic,
37 TypeAndOrName &class_type_or_name,
41 CouldHaveDynamicValue (ValueObject &in_value);
43 //------------------------------------------------------------------
45 //------------------------------------------------------------------
52 static lldb_private::LanguageRuntime *
53 CreateInstance (Process *process, lldb::LanguageType language);
55 static lldb_private::ConstString
56 GetPluginNameStatic();
58 //------------------------------------------------------------------
59 // PluginInterface protocol
60 //------------------------------------------------------------------
61 virtual lldb_private::ConstString
68 SetExceptionBreakpoints ();
71 ClearExceptionBreakpoints ();
74 ExceptionBreakpointsExplainStop (lldb::StopInfoSP stop_reason);
76 virtual lldb::BreakpointResolverSP
77 CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp);
79 virtual lldb::SearchFilterSP
80 CreateExceptionSearchFilter ();
84 lldb::BreakpointResolverSP
85 CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp, bool for_expressions);
88 CreateExceptionBreakpoint(bool catch_bp,
94 ItaniumABILanguageRuntime(Process *process) : lldb_private::CPPLanguageRuntime(process) { } // Call CreateInstance instead.
96 lldb::BreakpointSP m_cxx_exception_bp_sp;
99 } // namespace lldb_private
101 #endif // liblldb_ItaniumABILanguageRuntime_h_