[llvm-commits] CVS: llvm/lib/Linker/LinkFiles.cpp
Reid Spencer
reid at x10sys.com
Sun Dec 12 19:13:29 PST 2004
Changes in directory llvm/lib/Linker:
LinkFiles.cpp updated: 1.1 -> 1.2
---
Log message:
Fix header and function comments.
---
Diffs of the changes: (+6 -14)
Index: llvm/lib/Linker/LinkFiles.cpp
diff -u llvm/lib/Linker/LinkFiles.cpp:1.1 llvm/lib/Linker/LinkFiles.cpp:1.2
--- llvm/lib/Linker/LinkFiles.cpp:1.1 Sun Dec 12 20:59:41 2004
+++ llvm/lib/Linker/LinkFiles.cpp Sun Dec 12 21:13:18 2004
@@ -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 @@
/// 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 @@
/// 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.
More information about the llvm-commits
mailing list