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

Samuel Marks samuelmarks at hotmail.com
Fri Nov 8 03:31:51 PST 2013


*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 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Added-support-for-the-BSDs-and-Solaris-endianness-co.patch
Type: application/octet-stream
Size: 1956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131108/fe22ea9f/attachment.obj>


More information about the llvm-commits mailing list