[lld] r276322 - Update comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 12:45:22 PDT 2016


Author: ruiu
Date: Thu Jul 21 14:45:22 2016
New Revision: 276322

URL: http://llvm.org/viewvc/llvm-project?rev=276322&view=rev
Log:
Update comment.

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=276322&r1=276321&r2=276322&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Thu Jul 21 14:45:22 2016
@@ -8,8 +8,12 @@
 //===----------------------------------------------------------------------===//
 //
 // This file contains the parser/evaluator of the linker script.
-// It does not construct an AST but consume linker script directives directly.
-// Results are written to Driver or Config object.
+// It parses a linker script and write the result to Config or ScriptConfig
+// objects.
+//
+// If SECTIONS command is used, a ScriptConfig contains an AST
+// of the command which will later be consumed by createSections() and
+// assignAddresses().
 //
 //===----------------------------------------------------------------------===//
 




More information about the llvm-commits mailing list