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

Rui Ueyama ruiu at google.com
Wed Nov 5 19:33:05 PST 2014


We don't need to and we don't want to support that hypothetical
architecture. This can be a source of confusion. X86's isLittleEndian could
just return true.

On Wed, Nov 5, 2014 at 7:26 PM, Shankar Easwaran <shankare at codeaurora.org>
wrote:

> On 11/5/2014 9:15 PM, Joerg Sonnenberger wrote:
>
>> On Thu, Nov 06, 2014 at 02:03:39AM -0000, Shankar Easwaran wrote:
>>
>>> [ELF] Implement isLittleEndian for all architectures
>>>
>> X86 with Big Endian?
>>
> It would just be a matter of creating a TargetHandler for X86 with
> BigEndian, and have the API return false for isLittleEndian().
>
> There might be other simpler ways too.
>
> Shankar Easwaran
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by the Linux Foundation
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141105/826f949e/attachment.html>


More information about the llvm-commits mailing list