aboutsummaryrefslogtreecommitdiff
path: root/lib/Linker/LinkFiles.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 03:13:18 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 03:13:18 +0000
commit04f5412496b077fb4eaff7a0d3f8557e669d5ec9 (patch)
treef9ff9306728b47e7c9942e4e8445f4e648488160 /lib/Linker/LinkFiles.cpp
parent6c4b7bded1188903ac6a4deeddbfad8c7d425ddf (diff)
Fix header and function comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkFiles.cpp')
-rw-r--r--lib/Linker/LinkFiles.cpp20
1 files changed, 6 insertions, 14 deletions
diff --git a/lib/Linker/LinkFiles.cpp b/lib/Linker/LinkFiles.cpp
index 7eba82d13f..28683469f3 100644
--- a/lib/Linker/LinkFiles.cpp
+++ b/lib/Linker/LinkFiles.cpp
@@ -1,20 +1,18 @@
-//===- lib/Linker/LinkArchives.cpp - Link LLVM objects and libraries ------===//
+//===- lib/Linker/LinkFiles.cpp - Link LLVM bytecode files ---------------===//
//
// The LLVM Compiler Infrastructure
//
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file was developed by Reid Spencer and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
-// This file contains routines to handle linking together LLVM bytecode files,
-// and to handle annoying things like static libraries.
+// This file contains routines to handle linking together LLVM bytecode files.
//
//===----------------------------------------------------------------------===//
#include "llvm/Linker.h"
#include "llvm/Module.h"
-//#include "llvm/Bytecode/Archive.h"
using namespace llvm;
@@ -22,9 +20,7 @@ using namespace llvm;
/// provide symbols that are currently undefined.
///
/// Inputs:
-/// HeadModule - The module in which to link the bytecode file.
-/// Filename - The pathname of the bytecode file.
-/// Verbose - Flags whether verbose messages should be printed.
+/// File - The pathname of the bytecode file.
///
/// Outputs:
/// ErrorMessage - A C++ string detailing what error occurred, if any.
@@ -66,14 +62,10 @@ Linker::LinkInFile(const sys::Path &File)
/// or relative pathname, or as a file somewhere in LLVM_LIB_SEARCH_PATH.
///
/// Inputs:
-/// Files - A vector of C++ strings indicating the LLVM bytecode filenames
+/// Files - A vector of sys::Path indicating the LLVM bytecode filenames
/// to be linked. The names can refer to a mixture of pure LLVM
/// bytecode files and archive (ar) formatted files.
///
-/// Outputs:
-/// HeadModule - The module will have the specified LLVM bytecode files linked
-/// in.
-///
/// Return value:
/// FALSE - No errors.
/// TRUE - Some error occurred.