summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-01-12 02:28:31 +0000
committerRui Ueyama <ruiu@google.com>2018-01-12 02:28:31 +0000
commit478d6351569195f86f12896392d2f86e84136fa3 (patch)
tree8b8624b1c286c23e0874241863a526fbef1dcea1 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
parente3d248361eecf4a6d8d394821a2407f292f9bf98 (diff)
downloadbcm5719-llvm-478d6351569195f86f12896392d2f86e84136fa3.tar.gz
bcm5719-llvm-478d6351569195f86f12896392d2f86e84136fa3.zip
Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC.
llvm-svn: 322346
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index c0047d0cde6..61b93bef38f 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -148,7 +148,7 @@ template <typename ELFT>
static Expected<std::unique_ptr<DyldELFObject<ELFT>>>
createRTDyldELFObject(MemoryBufferRef Buffer, const ObjectFile &SourceObject,
const LoadedELFObjectInfo &L) {
- typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
+ typedef typename ELFT::Shdr Elf_Shdr;
typedef typename ELFDataTypeTypedefHelper<ELFT>::value_type addr_type;
Expected<std::unique_ptr<DyldELFObject<ELFT>>> ObjOrErr =
OpenPOWER on IntegriCloud