[PATCH] Add {read,write}{16,32,64}{le,be} functions

Rui Ueyama ruiu at google.com
Sun Mar 8 23:47:48 PDT 2015


I deliberately excluded write8/read8 because single byte read has no
endianness issue. I understand that that feels good for completeness, but
they are for nonexistent issues. We could just cast to uint8_t and do the
stuff.

On Sun, Mar 1, 2015 at 10:14 PM, Davide Italiano <davide at freebsd.org> wrote:

> Probably doesn't really belong to Endian, but it would be nice to have
> some write8()/read8(). It can be used, e.g. for R_X86_64_8 handling.
>
>
> http://reviews.llvm.org/D7960
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150308/05fd5969/attachment.html>


More information about the llvm-commits mailing list