[patch] Start fixing pr24429

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 19:41:30 PDT 2015


On Tue, Aug 11, 2015 at 1:32 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> Just noticed I forgot llvm-commits. Sorry about that.
>
> On 11 August 2015 at 10:52, Rafael EspĂ­ndola <rafael.espindola at gmail.com>
> wrote:
> > The attached patch just centralizes the knowledge of what file format
> > is being used in the triple.
> >
> > Other than some places that were handling unknown as ELF, this should
> > have no change. The test updates are because we were detecting
> > arm-coff or x86_64-win64-coff as ELF targets before.
> >
> > Cheers,
> > Rafael
>

I really like the underlying idea here.  The only thing that Im not fully
convinced by is the idea that the enumeration of various file formats we
support should be part of the triple (purely a movement of the enum).  That
is something that is definitely outside of the scope of this change.

LGTM.

-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/de92ff23/attachment.html>


More information about the llvm-commits mailing list