[LLVMdev] Win32 COFF Support

Nathan Jeffords blunted2night at gmail.com
Wed May 5 23:19:37 PDT 2010


On Wed, May 5, 2010 at 9:38 PM, Chris Lattner <clattner at apple.com> wrote:

> On May 5, 2010, at 6:44 PM, Nathan Jeffords wrote:
>
> ...
>> Thanks, applied in r103150!  llvm-mc -filetype=obj probably needs a
>> similar patch.
>>
>>
> cool!, I will make that change and submit it too.
>
>
> Thanks!
>
>
After looking into this, I have found that AsmParser is hard coded to use
MachO sections which causes my code to segfault, reworking this code to use
TargetLoweringObjectFile or some equivalent is a larger change than I am
comfortable with at the moment.

On the other hand, llc, clang, and (according to Aaron) llvm-gcc all work
with my COFF backend, so I will continue to work on it using one of those to
test it.

>  - Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/f40371e6/attachment.html>


More information about the llvm-dev mailing list