[llvm-commits] [lld] r158336 - in /lld/trunk: include/lld/ReaderWriter/WriterMachO.h lib/ReaderWriter/MachO/CMakeLists.txt lib/ReaderWriter/MachO/MachOFormat.hpp lib/ReaderWriter/MachO/ReferenceKinds.cpp lib/ReaderWriter/MachO/ReferenceKinds.h li

Sean Silva silvas at purdue.edu
Wed Jun 13 10:15:14 PDT 2012


I'll comment about the new documentation on the thread for the commit.

Some other general documentation desires related to this:

I'd like to know how to map the specifics of the new object file format
onto the atom model. Should I just come up with a bunch of new atoms? Is
there an opportunity to share code for the atom representation with other
object file formats (e.g., relocations are a universal concept; is there a
base class that my relocation atom needs to inherit from?)? How can I
identify in what situations to write completely new atoms, and what
situations to factor out a common base from an existing atom type for
another object format?

On Tue, Jun 12, 2012 at 3:53 PM, Nick Kledzik <kledzik at apple.com> wrote:

> I just committed some documentation about this.  I'd be interested to know
> what areas you think need more explanation.  Thanks.
>
> -Nick
>
> On Jun 11, 2012, at 8:09 PM, Sean Silva wrote:
>
> I would like a "how to add support for a new object file format to lld"
> tutorial.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120613/4041b16b/attachment.html>


More information about the llvm-commits mailing list