[lld] r226380 - Update comments.

Rui Ueyama ruiu at google.com
Sat Jan 17 14:38:11 PST 2015


Author: ruiu
Date: Sat Jan 17 16:38:09 2015
New Revision: 226380

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

Modified:
    lld/trunk/lib/Driver/CoreDriver.cpp
    lld/trunk/lib/Driver/GnuLdDriver.cpp
    lld/trunk/lib/Driver/WinLinkDriver.cpp

Modified: lld/trunk/lib/Driver/CoreDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/CoreDriver.cpp?rev=226380&r1=226379&r2=226380&view=diff
==============================================================================
--- lld/trunk/lib/Driver/CoreDriver.cpp (original)
+++ lld/trunk/lib/Driver/CoreDriver.cpp Sat Jan 17 16:38:09 2015
@@ -111,7 +111,7 @@ bool CoreDriver::parse(int argc, const c
   ctx.setAllowRemainingUndefines(true);
   ctx.setSearchArchivesToOverrideTentativeDefinitions(false);
 
-  // Process all the arguments and create Input Elements
+  // Process all the arguments and create input files.
   for (auto inputArg : *parsedArgs) {
     switch (inputArg->getOption().getID()) {
     case OPT_mllvm:

Modified: lld/trunk/lib/Driver/GnuLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdDriver.cpp?rev=226380&r1=226379&r2=226380&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/GnuLdDriver.cpp Sat Jan 17 16:38:09 2015
@@ -460,7 +460,7 @@ bool GnuLdDriver::parse(int argc, const
     ctx->registry().addSupportELFDynamicSharedObjects(
         ctx->useShlibUndefines(), ctx->targetHandler());
 
-  // Process all the arguments and create Input Elements
+  // Process all the arguments and create input files.
   for (auto inputArg : *parsedArgs) {
     switch (inputArg->getOption().getID()) {
     case OPT_mllvm:

Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=226380&r1=226379&r2=226380&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Sat Jan 17 16:38:09 2015
@@ -947,7 +947,7 @@ bool WinLinkDriver::parse(int argc, cons
 
   std::vector<StringRef> inputFiles;
 
-  // Process all the arguments and create Input Elements
+  // Process all the arguments and create input files
   for (auto inputArg : *parsedArgs) {
     switch (inputArg->getOption().getID()) {
     case OPT_mllvm:
@@ -1365,7 +1365,7 @@ bool WinLinkDriver::parse(int argc, cons
     }
   }
 
-  // Prepare objects to add them to input graph.
+  // Prepare objects to add them to the list of input files.
   for (StringRef path : inputFiles) {
     path = ctx.allocate(path);
     if (isLibraryFile(path)) {
@@ -1408,7 +1408,7 @@ bool WinLinkDriver::parse(int argc, cons
     ctx.setOutputPath(replaceExtension(ctx, path, ".exe"));
   }
 
-  // Add the input files to the input graph.
+  // Add the input files to the linking context.
   for (std::unique_ptr<File> &file : files) {
     if (isReadingDirectiveSection) {
       File *f = file.get();
@@ -1417,7 +1417,7 @@ bool WinLinkDriver::parse(int argc, cons
     ctx.getNodes().push_back(llvm::make_unique<FileNode>(std::move(file)));
   }
 
-  // Add the library group to the input graph.
+  // Add the library group to the linking context.
   if (!isReadingDirectiveSection) {
     // Add a group-end marker.
     ctx.getNodes().push_back(llvm::make_unique<GroupEnd>(0));





More information about the llvm-commits mailing list