[lld] r266979 - [ELF] - Make LinkerScript::getSectionOrder private. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 04:29:45 PDT 2016


Author: grimar
Date: Thu Apr 21 06:28:11 2016
New Revision: 266979

URL: http://llvm.org/viewvc/llvm-project?rev=266979&view=rev
Log:
[ELF] - Make LinkerScript::getSectionOrder private. NFC.

Modified:
    lld/trunk/ELF/LinkerScript.h

Modified: lld/trunk/ELF/LinkerScript.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.h?rev=266979&r1=266978&r2=266979&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Thu Apr 21 06:28:11 2016
@@ -83,9 +83,9 @@ public:
   bool shouldKeep(InputSectionBase<ELFT> *S);
   void assignAddresses(ArrayRef<OutputSectionBase<ELFT> *> S);
   int compareSections(StringRef A, StringRef B);
-  uint32_t getSectionOrder(StringRef Name);
 
 private:
+  uint32_t getSectionOrder(StringRef Name);
   SectionRule *find(InputSectionBase<ELFT> *S);
 
   ScriptConfiguration &Opt = *ScriptConfig;




More information about the llvm-commits mailing list