[lld] r205510 - Add comment for Linker Script node.

Rui Ueyama ruiu at google.com
Wed Apr 2 21:10:53 PDT 2014


Author: ruiu
Date: Wed Apr  2 23:10:52 2014
New Revision: 205510

URL: http://llvm.org/viewvc/llvm-project?rev=205510&view=rev
Log:
Add comment for Linker Script node.

Modified:
    lld/trunk/include/lld/Driver/GnuLdInputGraph.h

Modified: lld/trunk/include/lld/Driver/GnuLdInputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/GnuLdInputGraph.h?rev=205510&r1=205509&r2=205510&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/GnuLdInputGraph.h (original)
+++ lld/trunk/include/lld/Driver/GnuLdInputGraph.h Wed Apr  2 23:10:52 2014
@@ -138,7 +138,9 @@ public:
     return make_range(_expandElements.begin(), _expandElements.end());
   }
 
-  // Do nothing here.
+  // Linker Script will be expanded and replaced with other elements
+  // by InputGraph::normalize(), so at link time it does not exist in
+  // the tree. No need to handle this message.
   void resetNextIndex() override {}
 
 private:





More information about the llvm-commits mailing list