diff options
author | Rui Ueyama <ruiu@google.com> | 2013-10-24 18:22:16 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-10-24 18:22:16 +0000 |
commit | 671c8013edd26112dab399d43227eb2ca446f157 (patch) | |
tree | a1eb274216eaf9e57843f19066311d1428ac7f59 /lld/lib/ReaderWriter/CoreLinkingContext.cpp | |
parent | 32744412d248b7f905c4cb44739d308dfffb58cf (diff) | |
download | bcm5719-llvm-671c8013edd26112dab399d43227eb2ca446f157.tar.gz bcm5719-llvm-671c8013edd26112dab399d43227eb2ca446f157.zip |
Revert "r193300 - [PassManager] add ReaderWriter{Native, YAML} to the Driver"
The patch have completely broken COFF port and disabled many tests.
This also reverts r193302 (comment fix).
llvm-svn: 193362
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/CoreLinkingContext.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp index d6e522c5dcc..ec8962bbce2 100644 --- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp +++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp @@ -12,7 +12,6 @@ #include "lld/Core/Pass.h" #include "lld/Core/PassManager.h" #include "lld/Passes/LayoutPass.h" -#include "lld/ReaderWriter/Simple.h" #include "llvm/ADT/ArrayRef.h" @@ -150,10 +149,10 @@ private: uint32_t _ordinal; }; -class TestingPassFile : public SimpleFile { +class TestingPassFile : public MutableFile { public: TestingPassFile(const LinkingContext &ctx) - : SimpleFile(ctx, "Testing pass") {} + : MutableFile(ctx, "Testing pass") {} virtual void addAtom(const Atom &atom) { if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(&atom)) |