From fcaa6fbbd86ee610522ad21fa8a8b5fad86a4eb0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 28 Nov 2003 07:44:09 +0000 Subject: * The return value of LinkLibraries is ignored, so remove it. * Finegrainify namespacification of Linker.cpp * If linking a library in fails, do not STOP LINKING IN LIBRARIES AND CONTINUE ANYWAY! Instead, just output the warning, and keep going. :) llvm-svn: 10249 --- llvm/tools/gccld/gccld.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'llvm/tools/gccld/gccld.h') diff --git a/llvm/tools/gccld/gccld.h b/llvm/tools/gccld/gccld.h index a2d2eb8d6ad..e5b865e3a4f 100644 --- a/llvm/tools/gccld/gccld.h +++ b/llvm/tools/gccld/gccld.h @@ -62,13 +62,10 @@ std::string FindLib(const std::string &Filename, const std::vector &Paths, bool SharedObjectOnly = false); -bool -LinkLibraries (const char * progname, - Module * HeadModule, - const std::vector & Libraries, - const std::vector & LibPaths, - bool Verbose, - bool Native); +void LinkLibraries (const char * progname, Module* HeadModule, + const std::vector & Libraries, + const std::vector & LibPaths, + bool Verbose, bool Native); bool LinkFiles (const char * progname, Module * HeadModule, -- cgit v1.2.3