llvm-6502/lib/Object
Rafael Espindola 21a01d1ea8 Make the host endianness check an integer constant expression.
I will remove the isBigEndianHost function once I update clang.

The ifdef logic is designed to
* not use configure/cmake to avoid breaking -arch i686 -arch ppc.
* default to little endian
* be as small as possible

It looks like sys/endian.h is the preferred header on most modern BSD systems,
but it is better to change this in a followup patch as machine/endian.h is
available on FreeBSD, OpenBSD, NetBSD and OS X.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179527 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-15 14:44:24 +00:00
..
Archive.cpp [Object][Archive] Improve performance. 2013-02-03 10:48:50 +00:00
Binary.cpp
CMakeLists.txt
COFFObjectFile.cpp Remove unused argument. 2013-04-07 16:40:00 +00:00
ELFObjectFile.cpp [Support] Add LLVM_IS_UNALIGNED_ACCESS_FAST. 2013-02-03 10:48:31 +00:00
Error.cpp
LLVMBuild.txt Object: drop bogus VMCore dependency 2012-04-03 15:48:10 +00:00
MachOObject.cpp Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
MachOObjectFile.cpp Finish templating MachObjectFile over endianness. 2013-04-13 01:45:40 +00:00
Makefile
Object.cpp
ObjectFile.cpp Remove unused argument. 2013-04-07 16:40:00 +00:00