forked from OSchip/llvm-project
[ELF] Move ELF{32,64}{L,B}E typedefs to llvm.
llvm-svn: 240731
This commit is contained in:
parent
deeaa31ce5
commit
7d313d72ef
|
@ -24,6 +24,11 @@ template <endianness target_endianness, bool is64Bits> struct ELFType {
|
|||
static const bool Is64Bits = is64Bits;
|
||||
};
|
||||
|
||||
typedef ELFType<support::little, false> ELF32LE;
|
||||
typedef ELFType<support::big, false> ELF32BE;
|
||||
typedef ELFType<support::little, true> ELF64LE;
|
||||
typedef ELFType<support::big, true> ELF64BE;
|
||||
|
||||
// Use an alignment of 2 for the typedefs since that is the worst case for
|
||||
// ELF files in archives.
|
||||
|
||||
|
|
Loading…
Reference in New Issue