[lld] r220182 - [ELF] Check for target architecture.

Simon Atanasyan simon at atanasyan.com
Mon Oct 20 04:46:39 PDT 2014


On Mon, Oct 20, 2014 at 3:40 PM, Shankar Easwaram <shankarke at gmail.com> wrote:
> I agree that it would be simpler to add all the functionality in the parent class which is the ELFObjectReader, but i think it's much cleaner and flexible with each elf subtarget own what all in the elf header to check.
>
> For example ARM may need to check against other attributes too.

+1. MIPS needs to check big/little endian and ABI.

-- 
Simon Atanasyan



More information about the llvm-commits mailing list