summaryrefslogtreecommitdiff
path: root/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-14 22:25:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-14 22:25:26 +0000
commit0486e17f7fd2141a364b1c010b6956831856ace7 (patch)
treed0fd5b6f9ece6c4e05c60c81c60e983cea16317b /tools/llvm-ld
parent1893f9273ceedb5e9f45e07e0d8499ac3b78c1ec (diff)
downloadllvm-0486e17f7fd2141a364b1c010b6956831856ace7.tar.gz
llvm-0486e17f7fd2141a364b1c010b6956831856ace7.tar.bz2
llvm-0486e17f7fd2141a364b1c010b6956831856ace7.tar.xz
Remove linking declarations (in Linker.h now)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r--tools/llvm-ld/llvm-ld.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/tools/llvm-ld/llvm-ld.h b/tools/llvm-ld/llvm-ld.h
index 85bf933a02..0b1f920937 100644
--- a/tools/llvm-ld/llvm-ld.h
+++ b/tools/llvm-ld/llvm-ld.h
@@ -12,19 +12,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/Module.h"
-
-#include <string>
-#include <set>
+#include "llvm/Linker.h"
#include <ostream>
namespace llvm {
-void
-GetAllDefinedSymbols (Module *M, std::set<std::string> &DefinedSymbols);
-
-void
-GetAllUndefinedSymbols(Module *M, std::set<std::string> &UndefinedSymbols);
-
int
GenerateBytecode (Module * M,
bool Strip,
@@ -47,21 +39,4 @@ GenerateNative (const std::string & OutputFilename,
const std::string & gcc,
char ** const envp);
-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);
-
-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,
- const std::vector<std::string> & Files,
- bool Verbose);
-
} // End llvm namespace