[LLVMdev] Win32 COFF Support

Daniel Dunbar daniel at zuster.org
Fri May 7 08:43:44 PDT 2010


On Wed, May 5, 2010 at 11:19 PM, Nathan Jeffords
<blunted2night at gmail.com> wrote:
>
>
> 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.

This is a bug. Feel free to file a PR for it, I will *try* to get to
it, but it may take me a while (>1 month).

 - Daniel

> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list