[LLVMdev] Changing Endian in TargetData

Ryan Taylor ryta1203 at gmail.com
Mon Jul 9 09:56:58 PDT 2012


Anton,

  I have fixed this, thanks for the help. I missed the subtargets X86_32/64
(the data layout string) in that file and had previously only changed the
generic target X86, thanks again.

On Sat, Jul 7, 2012 at 11:15 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:

> No luck there with modifying clang/lib/Basic/Targets.cpp unfortunately. I
> only modified BigEndian to 'true' and Builder.defineMacro to
> "__BIG_ENDIAN__"
>
>
> On Sat, Jul 7, 2012 at 2:34 AM, Anton Korobeynikov <
> anton at korobeynikov.info> wrote:
>
>> > Oh sorry, clang.
>> Then you should modify clang, not backends, look into Basic/Targets.cpp
>> there.
>>
>> PS: Note the "Reply All" button in your email client
>>
>> --
>> With best regards, Anton Korobeynikov
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120709/c94588ae/attachment.html>


More information about the llvm-dev mailing list