[lld] r316073 - [ELF] - Make LinkerScript::assignOffsets private. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 05:09:41 PDT 2017


Author: grimar
Date: Wed Oct 18 05:09:41 2017
New Revision: 316073

URL: http://llvm.org/viewvc/llvm-project?rev=316073&view=rev
Log:
[ELF] - Make LinkerScript::assignOffsets 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=316073&r1=316072&r2=316073&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Wed Oct 18 05:09:41 2017
@@ -217,6 +217,8 @@ class LinkerScript final {
   uint64_t advance(uint64_t Size, unsigned Align);
   void output(InputSection *Sec);
 
+  void assignOffsets(OutputSection *Sec);
+
   std::unique_ptr<AddressState> Ctx;
   OutputSection *Aether;
 
@@ -242,7 +244,6 @@ public:
   bool needsInterpSection();
 
   bool shouldKeep(InputSectionBase *S);
-  void assignOffsets(OutputSection *Sec);
   void assignAddresses();
   void allocateHeaders(std::vector<PhdrEntry *> &Phdrs);
   void processSectionCommands(OutputSectionFactory &Factory);




More information about the llvm-commits mailing list