[LLVMdev] Win32 COFF Support

Nathan Jeffords blunted2night at gmail.com
Mon Jun 21 12:15:57 PDT 2010


write_uint32_le is used to write into a arbitrary data buffer, where as
 WriteLE32 is used to write into the object file.

On Mon, Jun 21, 2010 at 9:01 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:

> On Mon, Jun 21, 2010 at 9:37 AM, Aaron Gray <aaronngray.lists at gmail.com>
> wrote:
> >
> > Whats going on with having both write_uint32_le()
> > in WinCOFFObjectWriter::DefineSection() and WriteLE32() in
> > WinCOFFObjectWriter::WriteFileHeader() ?
> > Aaron
>
> Thanks, missed that one. Nathan used write_uint32_le in WinCOFF.h, and
> I guess accidentally used it in WinCOFFObjectWriter.cpp. I'll remove
> the calls from WinCOFFObjectWriter.cpp now, and remove them (and the
> decl+deff) from WinCOFF.h when it gets moved over to Support/COFF.h.
>
> - Michael Spencer
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100621/bf003066/attachment.html>


More information about the llvm-dev mailing list