write_uint32_le is used to write into a arbitrary data buffer, where as WriteLE32 is used to write into the object file.<br><br><div class="gmail_quote">On Mon, Jun 21, 2010 at 9:01 AM, Michael Spencer <span dir="ltr"><<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Mon, Jun 21, 2010 at 9:37 AM, Aaron Gray <<a href="mailto:aaronngray.lists@gmail.com">aaronngray.lists@gmail.com</a>> wrote:<br>
><br>
> Whats going on with having both write_uint32_le()<br>
> in WinCOFFObjectWriter::DefineSection() and WriteLE32() in<br>
> WinCOFFObjectWriter::WriteFileHeader() ?<br>
> Aaron<br>
<br>
Thanks, missed that one. Nathan used write_uint32_le in WinCOFF.h, and<br>
I guess accidentally used it in WinCOFFObjectWriter.cpp. I'll remove<br>
the calls from WinCOFFObjectWriter.cpp now, and remove them (and the<br>
decl+deff) from WinCOFF.h when it gets moved over to Support/COFF.h.<br>
<br>
- Michael Spencer<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>