From: Reid Spencer Date: Tue, 16 Nov 2004 16:46:22 +0000 (+0000) Subject: Make the comment for LinkFiles a bit more precise and easily understood. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f04ff4e9ac851b6c365a218b2772b474499a4e59;p=oota-llvm.git Make the comment for LinkFiles a bit more precise and easily understood. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17899 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h index 4bb69ae419e..2e548116d09 100644 --- a/include/llvm/Linker.h +++ b/include/llvm/Linker.h @@ -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)