commit | 926f5fc7c946a599e9403480e38103f7b40f439c | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Mon Mar 14 22:58:21 2016 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Mon Mar 14 22:58:21 2016 +0000 |
tree | 6ecd194eeb5216a5648dedc9f82d7f3c8742b2fc | |
parent | b4891447ceaed3f4e23aea23db859a7d032bef34 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263504 91177308-0d34-0410-b5e6-96231b3b80d8