summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/EmulateInstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/EmulateInstruction.h')
-rw-r--r--lldb/source/Plugins/Process/Utility/EmulateInstruction.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Utility/EmulateInstruction.h b/lldb/source/Plugins/Process/Utility/EmulateInstruction.h
index d3f21d43d28..f3ea42f1e72 100644
--- a/lldb/source/Plugins/Process/Utility/EmulateInstruction.h
+++ b/lldb/source/Plugins/Process/Utility/EmulateInstruction.h
@@ -11,7 +11,7 @@
#define lldb_EmulateInstruction_h_
#include "lldb/lldb-include.h"
-
+#include "lldb/Core/PluginInterface.h"
//----------------------------------------------------------------------
/// @class EmulateInstruction EmulateInstruction.h "lldb/Core/EmulateInstruction.h"
@@ -75,9 +75,14 @@
namespace lldb_private {
-class EmulateInstruction
+class EmulateInstruction :
+ public PluginInterface
{
-public:
+public:
+
+ static Disassembler*
+ FindPlugin (const ArchSpec &arch);
+
enum ContextType
{
eContextInvalid = 0,
@@ -188,6 +193,9 @@ public:
{
}
+ virtual bool
+ SetTargetTriple (const ConstString &triple) = 0;
+
virtual bool
ReadInstruction () = 0;
OpenPOWER on IntegriCloud