summaryrefslogtreecommitdiff
path: root/include/llvm/Linker.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-16 16:46:22 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-16 16:46:22 +0000
commitf04ff4e9ac851b6c365a218b2772b474499a4e59 (patch)
tree44ee8500018162d1d9ff90afd1bd3bf6865c1fd5 /include/llvm/Linker.h
parent154113b78ce1e1517ba8afe6dd9f832e54dd4833 (diff)
downloadllvm-f04ff4e9ac851b6c365a218b2772b474499a4e59.tar.gz
llvm-f04ff4e9ac851b6c365a218b2772b474499a4e59.tar.bz2
llvm-f04ff4e9ac851b6c365a218b2772b474499a4e59.tar.xz
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
Diffstat (limited to 'include/llvm/Linker.h')
-rw-r--r--include/llvm/Linker.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index 4bb69ae419..2e548116d0 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)