[lld] r221427 - [ELF] Implement isLittleEndian for all architectures

Shankar Easwaran shankare at codeaurora.org
Thu Nov 6 08:49:05 PST 2014


On 11/6/2014 9:52 AM, Charlie Turner wrote:
> Hi Shankar,
>
>> No. There is no reason too -- the CPU does not allow endian switching
> unlike ARM.
>
> That's why this method wasn't pure virtual to start with. This distinction
> isn't relevant for all architectures.
>
>
I didnt want to make a blanket function, that returns true for all 
architectures. Its not good to have a default value for endianness.

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-commits mailing list