Changes in directory llvm/include/llvm:
Linker.h updated: 1.21 -> 1.22 --- Log message: Make the LinkInFile and LinkInLibrary both return an indication of whether the file was found to be a native library (and thus not linked by these functions). --- Diffs of the changes: (+3 -2) Linker.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Linker.h diff -u llvm/include/llvm/Linker.h:1.21 llvm/include/llvm/Linker.h:1.22 --- llvm/include/llvm/Linker.h:1.21 Sat Nov 11 13:59:25 2006 +++ llvm/include/llvm/Linker.h Wed Apr 4 01:32:01 2007 @@ -182,7 +182,8 @@ /// @see getLastError /// @brief Link in a single file. bool LinkInFile( - const sys::Path& File ///< File to link in. + const sys::Path& File, ///< File to link in. + bool &is_native ///< Indicates if the file is native object file ); /// This function provides a way to selectively link in a set of modules, @@ -212,7 +213,7 @@ /// @brief Link one library into the module bool LinkInLibrary ( const std::string& Library, ///< The library to link in - bool& is_file ///< Indicates if lib is really a bc file + bool& is_native ///< Indicates if lib a native library ); /// This function links one bytecode archive, \p Filename, into the module. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits