[llvm-commits] CVS: llvm/include/llvm/Linker.h

Reid Spencer reid at x10sys.com
Mon Jan 9 19:14:55 PST 2006



Changes in directory llvm/include/llvm:

Linker.h updated: 1.17 -> 1.18
---
Log message:

For PR521: http://llvm.cs.uiuc.edu/PR521 :
With these patches we implement the ability for the Linker library to 
keep track of which libraries were actually bytecode files (not archives)
and cause their users to remove such files from the list of libraries to
pass to the native linker.


---
Diffs of the changes:  (+4 -2)

 Linker.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Linker.h
diff -u llvm/include/llvm/Linker.h:1.17 llvm/include/llvm/Linker.h:1.18
--- llvm/include/llvm/Linker.h:1.17	Mon Dec 26 07:34:00 2005
+++ llvm/include/llvm/Linker.h	Mon Jan  9 21:14:40 2006
@@ -158,7 +158,8 @@
     /// @see getLastError
     /// @throws nothing
     bool LinkInItems (
-      const ItemList& Items // Set of libraries/files to link in
+      const ItemList& Items, ///< Set of libraries/files to link in
+      ItemList& NativeItems  ///< Output list of native files/libs
     );
 
     /// This function links the bytecode \p Files into the composite module.
@@ -210,7 +211,8 @@
     /// @returns true if an error occurs, false otherwise
     /// @brief Link one library into the module
     bool LinkInLibrary (
-      const std::string& Library ///< The library to link in
+      const std::string& Library, ///< The library to link in
+      bool& is_file               ///< Indicates if lib is really a bc file
     );
 
     /// This function links one bytecode archive, \p Filename, into the module.






More information about the llvm-commits mailing list