[lld] r240732 - llvm api change.
Michael J. Spencer
bigcheesegs at gmail.com
Thu Jun 25 16:41:55 PDT 2015
Author: mspencer
Date: Thu Jun 25 18:41:55 2015
New Revision: 240732
URL: http://llvm.org/viewvc/llvm-project?rev=240732&view=rev
Log:
llvm api change.
Modified:
lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
Modified: lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h?rev=240732&r1=240731&r2=240732&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h Thu Jun 25 18:41:55 2015
@@ -36,6 +36,11 @@ class File;
class Reference;
namespace elf {
+using llvm::object::ELF32LE;
+using llvm::object::ELF32BE;
+using llvm::object::ELF64LE;
+using llvm::object::ELF64BE;
+
class ELFWriter;
std::unique_ptr<ELFLinkingContext> createAArch64LinkingContext(llvm::Triple);
@@ -46,11 +51,6 @@ std::unique_ptr<ELFLinkingContext> creat
std::unique_ptr<ELFLinkingContext> createX86LinkingContext(llvm::Triple);
std::unique_ptr<ELFLinkingContext> createX86_64LinkingContext(llvm::Triple);
-typedef llvm::object::ELFType<llvm::support::little, false> ELF32LE;
-typedef llvm::object::ELFType<llvm::support::big, false> ELF32BE;
-typedef llvm::object::ELFType<llvm::support::little, true> ELF64LE;
-typedef llvm::object::ELFType<llvm::support::big, true> ELF64BE;
-
class TargetRelocationHandler {
public:
virtual ~TargetRelocationHandler() {}
More information about the llvm-commits
mailing list