[lld] r248848 - [elf2] Fix build.

Michael J. Spencer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 16:12:50 PDT 2015


Author: mspencer
Date: Tue Sep 29 18:12:50 2015
New Revision: 248848

URL: http://llvm.org/viewvc/llvm-project?rev=248848&view=rev
Log:
[elf2] Fix build.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=248848&r1=248847&r2=248848&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Tue Sep 29 18:12:50 2015
@@ -183,7 +183,7 @@ DynamicSection<ELFT>::DynamicSection(Sym
 }
 
 template <class ELFT> void DynamicSection<ELFT>::finalize() {
-  if (Header.sh_size)
+  if (this->Header.sh_size)
     return; // Already finalized.
 
   typename Base::HeaderT &Header = this->Header;




More information about the llvm-commits mailing list