Make the comment for LinkFiles a bit more precise and easily understood.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 16 Nov 2004 16:46:22 +0000 (16:46 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 16 Nov 2004 16:46:22 +0000 (16:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17899 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Linker.h

index 4bb69ae419e061c9ab80a999b512e3857f17531e..2e548116d0953bca4ad789093bd0d79376d0e075 100644 (file)
@@ -36,9 +36,10 @@ bool LinkModules(
   std::string* ErrorMsg  ///< Optional error message string
 );
 
-/// This function links the bytecode \p Files into the \p HeadModule. No 
-/// matching of symbols is done. It simply calls loads each module and calls
-/// LinkModules for each one.
+/// This function links the bytecode \p Files into the \p HeadModule. Note that
+/// this does not do any linking of unresolved symbols. The \p Files are all
+/// completely linked into \p HeadModule regardless of unresolved symbols. This
+/// function just loads each bytecode file and calls LinkModules on them. 
 /// @returns true if an error occurs, false otherwise
 bool LinkFiles (
   const char * progname, ///< Name of the program being linked (for output)