[lld] r227671 - Remove dead code.

Rui Ueyama ruiu at google.com
Fri Jan 30 20:19:55 PST 2015


Author: ruiu
Date: Fri Jan 30 22:19:55 2015
New Revision: 227671

URL: http://llvm.org/viewvc/llvm-project?rev=227671&view=rev
Log:
Remove dead code.

Modified:
    lld/trunk/lib/ReaderWriter/CoreLinkingContext.cpp

Modified: lld/trunk/lib/ReaderWriter/CoreLinkingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/CoreLinkingContext.cpp?rev=227671&r1=227670&r2=227671&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/CoreLinkingContext.cpp (original)
+++ lld/trunk/lib/ReaderWriter/CoreLinkingContext.cpp Fri Jan 30 22:19:55 2015
@@ -145,18 +145,6 @@ private:
   uint32_t _ordinal;
 };
 
-class TestingPassFile : public SimpleFile {
-public:
-  TestingPassFile(const LinkingContext &ctx) : SimpleFile("Testing pass") {}
-
-  void addAtom(const Atom &atom) override {
-    if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(&atom))
-      _definedAtoms._atoms.push_back(defAtom);
-    else
-      llvm_unreachable("atom has unknown definition kind");
-  }
-};
-
 } // anonymous namespace
 
 CoreLinkingContext::CoreLinkingContext() {}





More information about the llvm-commits mailing list