From c694b40590d24e92554c8abd9e3a6da8afec9d21 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 3 Jun 2015 22:47:41 +0000 Subject: [PATCH] [ELF/AArch64] Fix build issue on MSVC This patch fixes a build issue from r238981. llvm-svn: 238986 --- lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp | 2 +- lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp b/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp index fa83cf9..de071d2 100644 --- a/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp @@ -23,7 +23,7 @@ AArch64TargetLayout::AArch64TargetLayout(ELFLinkingContext &ctx) : AtomSection *AArch64TargetLayout::createSection( StringRef name, int32_t type, DefinedAtom::ContentPermissions permissions, - typename TargetLayout::SectionOrder order) { + TargetLayout::SectionOrder order) { if (type == DefinedAtom::typeGOT && name == ".got") return _gotSection; return TargetLayout::createSection(name, type, permissions, order); diff --git a/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h b/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h index 6f077e6..905cfb0 100644 --- a/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h +++ b/lld/lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h @@ -30,7 +30,7 @@ public: AtomSection * createSection(StringRef name, int32_t type, DefinedAtom::ContentPermissions permissions, - typename TargetLayout::SectionOrder order) override; + TargetLayout::SectionOrder order) override; const AArch64GOTSection &getGOTSection() const { return *_gotSection; } -- 2.7.4