summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-01-12 19:59:43 +0000
committerRui Ueyama <ruiu@google.com>2018-01-12 19:59:43 +0000
commitfc63551082d47c0c84adf3f9189fe3597171f476 (patch)
tree4ef3884cc0e51f2858b456245a12f451b80ca6f0 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
parentd138088c2f45ee91425846e41100541c5ab28d46 (diff)
downloadbcm5719-llvm-fc63551082d47c0c84adf3f9189fe3597171f476.tar.gz
bcm5719-llvm-fc63551082d47c0c84adf3f9189fe3597171f476.zip
Remove ELFDataTypeTypedefHelper class.
Differential Revision: https://reviews.llvm.org/D41973 llvm-svn: 322395
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 61b93bef38f..7307db7ee61 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -65,7 +65,7 @@ template <class ELFT> class DyldELFObject : public ELFObjectFile<ELFT> {
typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr;
- typedef typename ELFDataTypeTypedefHelper<ELFT>::value_type addr_type;
+ typedef typename ELFT::uint addr_type;
DyldELFObject(ELFObjectFile<ELFT> &&Obj);
@@ -149,7 +149,7 @@ static Expected<std::unique_ptr<DyldELFObject<ELFT>>>
createRTDyldELFObject(MemoryBufferRef Buffer, const ObjectFile &SourceObject,
const LoadedELFObjectInfo &L) {
typedef typename ELFT::Shdr Elf_Shdr;
- typedef typename ELFDataTypeTypedefHelper<ELFT>::value_type addr_type;
+ typedef typename ELFT::uint addr_type;
Expected<std::unique_ptr<DyldELFObject<ELFT>>> ObjOrErr =
DyldELFObject<ELFT>::create(Buffer);
OpenPOWER on IntegriCloud