[llvm-commits] Extract MachObjectWriter class to own header and code files

Daniel Dunbar daniel at zuster.org
Tue Mar 16 08:20:03 PDT 2010


On Mon, Mar 15, 2010 at 6:01 PM, Aaron Gray
<aaronngray.lists at googlemail.com> wrote:
> On 16 March 2010 00:31, Daniel Dunbar <daniel at zuster.org> wrote:
>>
>> Hi Aaron,
>>
>> This has been on my list, but for the time being I find it convenient
>> to have all the code in the same place. I also want to factor out a
>> few more minor things before splitting in the target independent
>> assembler and the object file writer.
>>
>> Is this blocking work you are hoping to do?
>
> Hi Daniel,
> It would be good to get to the stage where I can work on the COFFWriter and
> COFFStreamer.

Ok. Do you mind waiting ~a week?

> Basically I can wait but I thought a few file and class wise normalizations
> would not go a miss :)
> Also I wanted to introduce a common ObjectWriter abstract class for
> MachObjectWriter, ELFObjectWriter, and COFFWriter, with Write and virtual
> WriteObject methods.

Right. I have this stuff planned out in my head, along similar lines.
I'll try to get it in the next week but right now I wanted to get
x86_64 Mach-O support up, which gives two concrete implementations to
factor for. Work for you?

 - Daniel

> I had worked on the older COFFWriter and got that nearly working with
> LLVM-GCC so would like to get back to where I was progress wise.
> Hope not to rock the boat :)
> Aaron
>
>>
>> On Mon, Mar 15, 2010 at 10:06 AM, Aaron Gray
>> <aaronngray.lists at googlemail.com> wrote:
>> > Hi,
>> > This patch extracts 'class MachObjectWriter' into its own .h and .cpp
>> > files.
>> > Tested on MSVC and Cygwin.
>> > Aaron
>> >
>> > _______________________________________________
>> > llvm-commits mailing list
>> > llvm-commits at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> >
>> >
>
>



More information about the llvm-commits mailing list