Object: Add ELF types to ELFType.
authorRui Ueyama <ruiu@google.com>
Mon, 14 Mar 2016 22:58:21 +0000 (22:58 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 14 Mar 2016 22:58:21 +0000 (22:58 +0000)
commit113819bf8b52b852ca18114c8a946077609afa03
treeaa0b88aa4ae0903d36819049f453c71f09a000ea
parentbdb261b4c01b0bdd3fa22b60ffbe1318ab906630
Object: Add ELF types to ELFType.

These types are defined in ELFFile, so in order to use them, you have
to write ELFFile<ELFT>::SomeType. But there seems to be no reason to have
ELFFile have these types. This patch allows you to write ELFT::SomeType
instead.

This simplifies libObject users.
This is an example: http://reviews.llvm.org/D18129

http://reviews.llvm.org/D18130

llvm-svn: 263504
llvm/include/llvm/Object/ELFTypes.h