[llvm-commits] MachO header file creation

Aaron Gray aaronngray.lists at googlemail.com
Tue Jun 2 09:33:53 PDT 2009


This patch moves structures and classes into header files, providing two new headers and one new .cpp file, in preparation for merging in the Direct Object Emission changes.

MachO.h

   * Main MachO data structures

MachOWriter.h

   * MachOWriter class

MachOWriter.cpp

   * MachO methods
   * Separated out EmitRelocations() from EmitSections() as separate function

MachOCodeEmitter.h

   * MachOCodeEmitter class

MachOCodeEmitter.cpp

   * MachOCodeEmitter methods
   * Moved clear() methods from startFunction() to finishFunction()

Since there is no real usage of the MachO backend and the changes are minimal and non functional changes this proposed patch should be easy to review.

Aaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090602/020fb1df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MachO.patch
Type: application/octet-stream
Size: 79205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090602/020fb1df/attachment.obj>


More information about the llvm-commits mailing list