[lld] r238825 - Update for LLVM api change.

Rafael Espindola rafael.espindola at gmail.com
Tue Jun 2 05:05:37 PDT 2015


Author: rafael
Date: Tue Jun  2 07:05:36 2015
New Revision: 238825

URL: http://llvm.org/viewvc/llvm-project?rev=238825&view=rev
Log:
Update for 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=238825&r1=238824&r2=238825&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h Tue Jun  2 07:05:36 2015
@@ -46,10 +46,10 @@ 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, 2, false> ELF32LE;
-typedef llvm::object::ELFType<llvm::support::big, 2, false> ELF32BE;
-typedef llvm::object::ELFType<llvm::support::little, 2, true> ELF64LE;
-typedef llvm::object::ELFType<llvm::support::big, 2, true> ELF64BE;
+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:





More information about the llvm-commits mailing list