From c0e6157f99c8826467c84d741a6abf5624a818ee Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 20 Nov 2003 19:08:06 +0000 Subject: Add ability to search only for native shared object, and expose the functionality to the rest of gccld. llvm-svn: 10113 --- llvm/tools/gccld/gccld.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/tools/gccld/gccld.h') diff --git a/llvm/tools/gccld/gccld.h b/llvm/tools/gccld/gccld.h index 9b7eb1e8773..a2d2eb8d6ad 100644 --- a/llvm/tools/gccld/gccld.h +++ b/llvm/tools/gccld/gccld.h @@ -58,6 +58,10 @@ GenerateNative (const std::string & OutputFilename, std::auto_ptr LoadObject (const std::string & FN, std::string &OutErrorMessage); +std::string FindLib(const std::string &Filename, + const std::vector &Paths, + bool SharedObjectOnly = false); + bool LinkLibraries (const char * progname, Module * HeadModule, -- cgit v1.2.3