[lld] r272146 - Move a function declaration to a header.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 07:35:22 PDT 2016


Author: ruiu
Date: Wed Jun  8 09:35:22 2016
New Revision: 272146

URL: http://llvm.org/viewvc/llvm-project?rev=272146&view=rev
Log:
Move a function declaration to a header.

Modified:
    lld/trunk/ELF/Relocations.cpp
    lld/trunk/ELF/Target.h

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=272146&r1=272145&r2=272146&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Wed Jun  8 09:35:22 2016
@@ -58,8 +58,6 @@ using namespace llvm::support::endian;
 namespace lld {
 namespace elf {
 
-StringRef getRelName(uint32_t Type);
-
 static bool refersToGotEntry(RelExpr Expr) {
   return Expr == R_GOT || Expr == R_GOT_OFF || Expr == R_MIPS_GOT_LOCAL ||
          Expr == R_MIPS_GOT_LOCAL_PAGE || Expr == R_GOT_PAGE_PC ||

Modified: lld/trunk/ELF/Target.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Target.h?rev=272146&r1=272145&r2=272146&view=diff
==============================================================================
--- lld/trunk/ELF/Target.h (original)
+++ lld/trunk/ELF/Target.h Wed Jun  8 09:35:22 2016
@@ -98,6 +98,7 @@ public:
   virtual void relaxTlsLdToLe(uint8_t *Loc, uint32_t Type, uint64_t Val) const;
 };
 
+StringRef getRelName(uint32_t Type);
 uint64_t getPPC64TocBase();
 
 const unsigned MipsGPOffset = 0x7ff0;




More information about the llvm-commits mailing list