[PATCH] llvm-cov: Support for big-endianness

Justin Bogner mail at justinbogner.com
Wed Dec 18 14:33:00 PST 2013

Yuchen Wu <yuchenericwu at hotmail.com> writes:
> llvm-cov has been modified to read gcov files produced from big-endian
> machines. In addition, the instrumentation had to be changed to
> produce endian-friendly data for reading.

I don't get it. Why wouldn't you just make the file format have a
consistent byte order (ie, network byte order) if you want to share it
between machines? Is this awkward detection stuff what gcov does?

More information about the llvm-commits mailing list