[lld] r315419 - Rename Align -> Alignment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 19:46:09 PDT 2017


Author: ruiu
Date: Tue Oct 10 19:46:09 2017
New Revision: 315419

URL: http://llvm.org/viewvc/llvm-project?rev=315419&view=rev
Log:
Rename Align -> Alignment.

Modified:
    lld/trunk/ELF/LinkerScript.cpp

Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=315419&r1=315418&r2=315419&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Tue Oct 10 19:46:09 2017
@@ -466,11 +466,11 @@ void LinkerScript::addOrphanSections(Out
   }
 }
 
-uint64_t LinkerScript::advance(uint64_t Size, unsigned Align) {
+uint64_t LinkerScript::advance(uint64_t Size, unsigned Alignment) {
   bool IsTbss =
       (Ctx->OutSec->Flags & SHF_TLS) && Ctx->OutSec->Type == SHT_NOBITS;
   uint64_t Start = IsTbss ? Dot + Ctx->ThreadBssOffset : Dot;
-  Start = alignTo(Start, Align);
+  Start = alignTo(Start, Alignment);
   uint64_t End = Start + Size;
 
   if (IsTbss)




More information about the llvm-commits mailing list