[llvm] r240731 - [ELF] Move ELF{32,64}{L,B}E typedefs to llvm.
Michael J. Spencer
bigcheesegs at gmail.com
Thu Jun 25 16:41:24 PDT 2015
Author: mspencer
Date: Thu Jun 25 18:41:23 2015
New Revision: 240731
URL: http://llvm.org/viewvc/llvm-project?rev=240731&view=rev
Log:
[ELF] Move ELF{32,64}{L,B}E typedefs to llvm.
Modified:
llvm/trunk/include/llvm/Object/ELFTypes.h
Modified: llvm/trunk/include/llvm/Object/ELFTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELFTypes.h?rev=240731&r1=240730&r2=240731&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELFTypes.h (original)
+++ llvm/trunk/include/llvm/Object/ELFTypes.h Thu Jun 25 18:41:23 2015
@@ -24,6 +24,11 @@ template <endianness target_endianness,
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.
More information about the llvm-commits
mailing list