summaryrefslogtreecommitdiff
path: root/include/lld/ReaderWriter/CoreLinkingContext.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:48:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:48:50 +0000
commit1c98619801a5705c688e683be3ef9d70169a0686 (patch)
tree8422105cd1a94c368315f2db16b9ac746cf7c000 /include/lld/ReaderWriter/CoreLinkingContext.h
parentf4f3ce4613680903220815690ad79fc7ba0a2e26 (diff)
Notes
Diffstat (limited to 'include/lld/ReaderWriter/CoreLinkingContext.h')
-rw-r--r--include/lld/ReaderWriter/CoreLinkingContext.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/include/lld/ReaderWriter/CoreLinkingContext.h b/include/lld/ReaderWriter/CoreLinkingContext.h
deleted file mode 100644
index d597ca46ddc7c..0000000000000
--- a/include/lld/ReaderWriter/CoreLinkingContext.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//===- lld/ReaderWriter/CoreLinkingContext.h ------------------------------===//
-//
-// The LLVM Linker
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLD_READER_WRITER_CORE_LINKER_CONTEXT_H
-#define LLD_READER_WRITER_CORE_LINKER_CONTEXT_H
-
-#include "lld/Core/LinkingContext.h"
-#include "lld/Core/Reader.h"
-#include "lld/Core/Writer.h"
-#include "llvm/Support/ErrorHandling.h"
-
-namespace lld {
-
-class CoreLinkingContext : public LinkingContext {
-public:
- CoreLinkingContext();
-
- enum {
- TEST_RELOC_CALL32 = 1,
- TEST_RELOC_PCREL32 = 2,
- TEST_RELOC_GOT_LOAD32 = 3,
- TEST_RELOC_GOT_USE32 = 4,
- TEST_RELOC_LEA32_WAS_GOT = 5,
- };
-
- bool validateImpl(raw_ostream &diagnostics) override;
- void addPasses(PassManager &pm) override;
-
- void addPassNamed(StringRef name) { _passNames.push_back(name); }
-
-protected:
- Writer &writer() const override;
-
-private:
- std::unique_ptr<Writer> _writer;
- std::vector<StringRef> _passNames;
-};
-
-} // end namespace lld
-
-#endif