[llvm-commits] Add to RuntimeDyld support different object formats

Danil Malyshev dmalyshev at accesssoftek.com
Fri Jul 1 00:55:27 PDT 2011


Hello everyone,

Please find attached the patch for review.
This patch re-factors the RuntimeDyldImpl to support multiple formats as following:


 1.  All MachO-specific code has been moved to a new MachODyldImpl class which derives from RuntimeDyldImpl.
 2.  Changed RuntimeDyldImpl class to keep only code common for all formats.
 3.  Changed RuntimeDyld::loadObject() to figure out the given object format and instantiate a specific implementation (for now only MachO is supported, but I'll add implementation for ELF in the coming patches).

How does it look?


Regards,
Danil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110701/f068ff67/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RuntimeDyld_different_object_formats-01.patch
Type: application/octet-stream
Size: 55982 bytes
Desc: RuntimeDyld_different_object_formats-01.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110701/f068ff67/attachment.obj>


More information about the llvm-commits mailing list