aboutsummaryrefslogtreecommitdiffstats
path: root/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Plugins/ObjectFile/JIT/ObjectFileJIT.h')
-rw-r--r--source/Plugins/ObjectFile/JIT/ObjectFileJIT.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h b/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
index 99241126cd1a..c992683cfc3c 100644
--- a/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
+++ b/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
@@ -46,6 +46,13 @@ public:
lldb::offset_t length,
lldb_private::ModuleSpecList &specs);
+ // LLVM RTTI support
+ static char ID;
+ bool isA(const void *ClassID) const override {
+ return ClassID == &ID || ObjectFile::isA(ClassID);
+ }
+ static bool classof(const ObjectFile *obj) { return obj->isA(&ID); }
+
// Member Functions
bool ParseHeader() override;