[llvm-commits] MCSectionCOFF patch

Nathan Jeffords blunted2night at gmail.com
Fri May 7 15:50:18 PDT 2010

From: "Sandeep Patel" <deeppatel1987 at gmail.com>
Sent: Friday, May 07, 2010 3:22 PM
To: "Chris Lattner" <clattner at apple.com>
Cc: "Nathan Jeffords" <blunted2night at gmail.com>; <llvm-commits at cs.uiuc.edu>; 
"Peter S. Housel" <housel at acm.org>
Subject: Re: [llvm-commits] MCSectionCOFF patch

> On Fri, May 7, 2010 at 9:50 PM, Chris Lattner <clattner at apple.com> wrote:
>> On May 7, 2010, at 1:16 PM, Nathan Jeffords wrote:
>> here is my additional changes to MCSectionCOFF, mostly it adds support 
>> for
>> COMDAT sections, but I also renamed Flags to Characteristics <TLOF.patch>
>> Looks fine to me (though again, I'm not a COFF knowledgable person),
>> committed in r103304.
>> RE this comment:
>> +    //FIXME: all COFF enumerations/flags should be standardized into one
>> place...
>> +    // Target/X86COFF.h doesn't seem right as COFF can be used for other
>> targets,
>> +    // MC/WinCOFF.h maybe right as it isn't target or entity specific, 
>> and
>> it is
>> +    //   pretty low on the dependancy graph (is there any need to 
>> support
>> non
>> +    //   windows COFF?)
>> It would make sense to put it in llvm/include/Support/COFF.h.  We already
>> have an ELF.h, Dwarf.h etc in that directory.  While it might not be the
>> best place long term, it is good to be consistent.
> Shouldn't it be PECOFF.h? Variants of this format are used for non-x86
> targets as well as some embedded OSes that may not be called Windows.
> deep

Sounds good to me


More information about the llvm-commits mailing list