summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-04 03:48:37 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-04 03:48:37 +0000
commit3df61b7befb4b3018c9e826848462dd5053b9215 (patch)
treed65c490df517810d58accf73116a553efb220e94 /llvm/lib/Linker/Linker.cpp
parenta8023c1c9feb9da2cef0d476af7de76100bc87dd (diff)
downloadbcm5719-llvm-3df61b7befb4b3018c9e826848462dd5053b9215.tar.gz
bcm5719-llvm-3df61b7befb4b3018c9e826848462dd5053b9215.zip
Now that Linker.cpp is almost empty, merge it into LinkModules.cpp.
Also remove unused includes. llvm-svn: 181100
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
-rw-r--r--llvm/lib/Linker/Linker.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp
deleted file mode 100644
index 83c7160555e..00000000000
--- a/llvm/lib/Linker/Linker.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-//===- lib/Linker/Linker.cpp - Basic Linker functionality ----------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file contains basic Linker functionality that all usages will need.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Linker.h"
-#include "llvm/Bitcode/ReaderWriter.h"
-#include "llvm/IR/Module.h"
-#include "llvm/Support/MemoryBuffer.h"
-#include "llvm/Support/raw_ostream.h"
-#include "llvm/Support/system_error.h"
-using namespace llvm;
-
-Linker::Linker(Module* aModule) :
- Composite(aModule) { }
-
-Linker::~Linker() {
-}
-
-bool Linker::linkInModule(Module *Src, unsigned Mode, std::string *ErrorMsg) {
- return LinkModules(Composite, Src, Linker::DestroySource, ErrorMsg);
-}
OpenPOWER on IntegriCloud