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

Shankar Easwaran shankare at codeaurora.org
Wed Nov 5 19:48:15 PST 2014


Just curious, does clang support X86 Big Endian ?

On 11/5/2014 9:33 PM, Rui Ueyama wrote:
> 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
>>


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




More information about the llvm-commits mailing list