[llvm-commits] CVS: llvm/include/llvm/Linker.h
Reid Spencer
reid at x10sys.com
Sun Apr 29 17:29:58 PDT 2007
Changes in directory llvm/include/llvm:
Linker.h updated: 1.22 -> 1.23
---
Log message:
If an archive is not recognized as an LLVM bytecode archive then declare
that it is native so that the linker will pass it on downstream. This avoids
a problem where the native link line fails because there is both a .so and
a .a file. The .a file gets processed as bytecode and then dropped from the
command line.
---
Diffs of the changes: (+2 -1)
Linker.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Linker.h
diff -u llvm/include/llvm/Linker.h:1.22 llvm/include/llvm/Linker.h:1.23
--- llvm/include/llvm/Linker.h:1.22 Wed Apr 4 01:32:01 2007
+++ llvm/include/llvm/Linker.h Sun Apr 29 19:29:39 2007
@@ -229,7 +229,8 @@
/// @returns true if an error occurs, otherwise false.
/// @brief Link in one archive.
bool LinkInArchive(
- const sys::Path& Filename ///< Filename of the archive to link
+ const sys::Path& Filename, ///< Filename of the archive to link
+ bool& is_native ///< Indicates if archive is a native archive
);
/// This method links the \p Src module into the Linker's Composite module
More information about the llvm-commits
mailing list