[lld] r329062 - [ELF] - Fix the comment. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 05:28:53 PDT 2018


Author: grimar
Date: Tue Apr  3 05:28:53 2018
New Revision: 329062

URL: http://llvm.org/viewvc/llvm-project?rev=329062&view=rev
Log:
[ELF] - Fix the comment. NFC.

Modified:
    lld/trunk/ELF/Writer.cpp

Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=329062&r1=329061&r2=329062&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Tue Apr  3 05:28:53 2018
@@ -1985,9 +1985,8 @@ template <class ELFT> void Writer<ELFT>:
   // not do that. Unfortunately, there are apps in the wild, for example, Linux
   // kernel, which control segment distribution explicitly and move the counter
   // backwards, so we have to allow doing that to support linking them. We
-  // perform non-critical checks for overlaps in checkNoOverlappingSections(),
-  // but here we want to prevent file size overflows because it would crash the
-  // linker.
+  // perform non-critical checks for overlaps in checkSectionOverlap(), but here
+  // we want to prevent file size overflows because it would crash the linker.
   for (OutputSection *Sec : OutputSections) {
     if (Sec->Type == SHT_NOBITS)
       continue;




More information about the llvm-commits mailing list