[lld] r239232 - COFF: Update comments.

Rui Ueyama ruiu at google.com
Sat Jun 6 15:56:55 PDT 2015


Author: ruiu
Date: Sat Jun  6 17:56:55 2015
New Revision: 239232

URL: http://llvm.org/viewvc/llvm-project?rev=239232&view=rev
Log:
COFF: Update comments.

Modified:
    lld/trunk/COFF/Writer.cpp

Modified: lld/trunk/COFF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Writer.cpp?rev=239232&r1=239231&r2=239232&view=diff
==============================================================================
--- lld/trunk/COFF/Writer.cpp (original)
+++ lld/trunk/COFF/Writer.cpp Sat Jun  6 17:56:55 2015
@@ -128,7 +128,10 @@ void Writer::createSections() {
   }
 }
 
-// Create .idata section contents.
+// Create .idata section for the DLL-imported symbol table.
+// The format of this section is inherently Windows-specific.
+// IdataContents class abstracted away the details for us,
+// so we just let it create chunks and add them to the section.
 void Writer::createImportTables() {
   if (Symtab->ImportFiles.empty())
     return;





More information about the llvm-commits mailing list