summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld/gccld.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-20 19:08:06 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-20 19:08:06 +0000
commitc0e6157f99c8826467c84d741a6abf5624a818ee (patch)
treef017651a3ddfe0517204af0b4fdda13089d0f541 /llvm/tools/gccld/gccld.h
parentf636784489022f4d4cf80480998ad3d4e5e61fe3 (diff)
downloadbcm5719-llvm-c0e6157f99c8826467c84d741a6abf5624a818ee.tar.gz
bcm5719-llvm-c0e6157f99c8826467c84d741a6abf5624a818ee.zip
Add ability to search only for native shared object, and expose the
functionality to the rest of gccld. llvm-svn: 10113
Diffstat (limited to 'llvm/tools/gccld/gccld.h')
-rw-r--r--llvm/tools/gccld/gccld.h4
1 files changed, 4 insertions, 0 deletions
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<Module>
LoadObject (const std::string & FN, std::string &OutErrorMessage);
+std::string FindLib(const std::string &Filename,
+ const std::vector<std::string> &Paths,
+ bool SharedObjectOnly = false);
+
bool
LinkLibraries (const char * progname,
Module * HeadModule,
OpenPOWER on IntegriCloud