Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents

Rafael Espíndola rafael.espindola at gmail.com
Wed Nov 13 12:30:24 PST 2013


Isn't this redundant given r182419?

On 8 November 2013 08:11, Samuel Marks <samuelmarks at hotmail.com> wrote:
> nbjoerg didn't like the OS_* notation; so I've reverted to the other notation and added a few more specialisations.
>
> ----------------------------------------
> From: samuelmarks at hotmail.com
> To: llvm-commits at cs.uiuc.edu
> Subject: RE: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
> Date: Fri, 8 Nov 2013 22:31:51 +1100
>
>
> *attached
> ----------------------------------------
>> From: samuelmarks at hotmail.com
>> To: llvm-commits at cs.uiuc.edu
>> Subject: RE: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
>> Date: Fri, 8 Nov 2013 22:08:38 +1100
>>
>> *Attached
>> ----------------------------------------
>>> From: samuelmarks at hotmail.com
>>> To: llvm-commits at cs.uiuc.edu
>>> Subject: RE: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
>>> Date: Fri, 8 Nov 2013 22:07:54 +1100
>>>
>>> Hmm, actually it might be better to copy how they managed it in the ChromiumOS project (LevelDB ppl); patch attached.
>>>
>>> See https://chromium.googlesource.com/chromiumos/third_party/leveldb/+/master/port/port_posix.h
>>>
>>> ----------------------------------------
>>> From: samuelmarks at hotmail.com
>>> To: llvm-commits at cs.uiuc.edu
>>> Subject: RE: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
>>> Date: Wed, 6 Nov 2013 20:34:09 +1100
>>>
>>>
>>> Somehow lost `|| defined(__GNU__)` from the end of `#elif defined(__linux__)`; please see revised patch (attached)
>>>
>>> From: samuelmarks at hotmail.com
>>> To: llvm-commits at cs.uiuc.edu
>>> Subject: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
>>> Date: Wed, 6 Nov 2013 09:02:54 +0000
>>>
>>> Please see attached.
>>>
>>> Note that this PATCH has been stolen from http://permalink.gmane.org/gmane.network.dns.powerdns.devel/1172 😜
>>>
>>> Tested on Sun OS 5.10 (SPARC).
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list