summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld/gccld.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-28 07:44:09 +0000
committerChris Lattner <sabre@nondot.org>2003-11-28 07:44:09 +0000
commitfcaa6fbbd86ee610522ad21fa8a8b5fad86a4eb0 (patch)
treeb578034ecd5cdff58a0f3542390afc69e99b3a3c /llvm/tools/gccld/gccld.h
parent1fdd8a45c35a23562a703ac434d7a6b085aac099 (diff)
downloadbcm5719-llvm-fcaa6fbbd86ee610522ad21fa8a8b5fad86a4eb0.tar.gz
bcm5719-llvm-fcaa6fbbd86ee610522ad21fa8a8b5fad86a4eb0.zip
* 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
Diffstat (limited to 'llvm/tools/gccld/gccld.h')
-rw-r--r--llvm/tools/gccld/gccld.h11
1 files changed, 4 insertions, 7 deletions
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<std::string> &Paths,
bool SharedObjectOnly = false);
-bool
-LinkLibraries (const char * progname,
- Module * HeadModule,
- const std::vector<std::string> & Libraries,
- const std::vector<std::string> & LibPaths,
- bool Verbose,
- bool Native);
+void LinkLibraries (const char * progname, Module* HeadModule,
+ const std::vector<std::string> & Libraries,
+ const std::vector<std::string> & LibPaths,
+ bool Verbose, bool Native);
bool
LinkFiles (const char * progname,
Module * HeadModule,
OpenPOWER on IntegriCloud