summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/Writer.cpp
diff options
context:
space:
mode:
authorGreg Fitzgerald <garious@gmail.com>2015-01-21 22:54:56 +0000
committerGreg Fitzgerald <garious@gmail.com>2015-01-21 22:54:56 +0000
commit4b6a7e355b540e4fd2f7ff02f4611921d6cb91c4 (patch)
tree769387dcfb537827e1b63bb70d4e10ac3177ba22 /lld/lib/Core/Writer.cpp
parente24b8a03b967ffd3f605520ded9663a8e953c231 (diff)
downloadbcm5719-llvm-4b6a7e355b540e4fd2f7ff02f4611921d6cb91c4.tar.gz
bcm5719-llvm-4b6a7e355b540e4fd2f7ff02f4611921d6cb91c4.zip
Fix five of the shared library build targets
Before this patch there was a cyclic dependency between lldCore and lldReaderWriter. Only lldConfig could be built as a shared library. * Moved Reader and Writer base classes into lldCore. * The following shared libraries can now be built: lldCore lldYAML lldNative lldPasses lldReaderWriter Differential Revision: http://reviews.llvm.org/D7105 From: Greg Fitzgerald <garious@gmail.com> llvm-svn: 226732
Diffstat (limited to 'lld/lib/Core/Writer.cpp')
-rw-r--r--lld/lib/Core/Writer.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/lld/lib/Core/Writer.cpp b/lld/lib/Core/Writer.cpp
new file mode 100644
index 00000000000..39bcc9e6852
--- /dev/null
+++ b/lld/lib/Core/Writer.cpp
@@ -0,0 +1,23 @@
+//===- lib/Core/Writer.cpp ------------------------------------------------===//
+//
+// The LLVM Linker
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lld/Core/File.h"
+#include "lld/Core/Writer.h"
+
+namespace lld {
+Writer::Writer() {
+}
+
+Writer::~Writer() {
+}
+
+bool Writer::createImplicitFiles(std::vector<std::unique_ptr<File> > &) {
+ return true;
+}
+} // end namespace lld
OpenPOWER on IntegriCloud