From: Reid Spencer Date: Sun, 14 Nov 2004 22:17:49 +0000 (+0000) Subject: Remove linking declarations (in Linker.h now) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6903c8634819ab7a929bb68dd9fd59ecdc7153d7;p=oota-llvm.git Remove linking declarations (in Linker.h now) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17788 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gccld/gccld.h b/tools/gccld/gccld.h index 7f62bad542a..6ac1ca00a85 100644 --- a/tools/gccld/gccld.h +++ b/tools/gccld/gccld.h @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Module.h" +#include "llvm/Linker.h" #include #include @@ -19,12 +20,6 @@ namespace llvm { -void -GetAllDefinedSymbols (Module *M, std::set &DefinedSymbols); - -void -GetAllUndefinedSymbols(Module *M, std::set &UndefinedSymbols); - int GenerateBytecode (Module * M, bool Strip, @@ -47,21 +42,4 @@ GenerateNative (const std::string & OutputFilename, const std::string & gcc, char ** const envp); -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); - -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, - const std::vector & Files, - bool Verbose); - } // End llvm namespace