Make it easier to use DwarfContext with MCJIT
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / RuntimeDyldCOFF.cpp
index 8055d5500060c88c5aea374e16f412dbf6abf84a..0cb1d7bcf1d6b534167d145ef859234786a4995e 100644 (file)
@@ -34,6 +34,8 @@ public:
   getObjectForDebug(const ObjectFile &Obj) const override {
     return OwningBinary<ObjectFile>();
   }
+
+  RuntimeDyld::LoadedObjectInfo *clone() const { return new LoadedCOFFObjectInfo(*this); }
 };
 }