From b9d84f4d14bc4db8abae30999d6beb64c3f8546a Mon Sep 17 00:00:00 2001 From: Nico Rieck Date: Mon, 24 Feb 2014 21:14:37 +0000 Subject: [lld] Include reference kind in cycle detector debug output This restores the debug output to how it was before r197727 broke it. This went undetected because the corresponding test was never run due to broken feature detection. llvm-svn: 202079 --- lld/lib/ReaderWriter/CoreLinkingContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp') diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp index 2e4d45dea48..31d8440b099 100644 --- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp +++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp @@ -262,7 +262,7 @@ bool CoreLinkingContext::validateImpl(raw_ostream &) { void CoreLinkingContext::addPasses(PassManager &pm) { for (StringRef name : _passNames) { if (name.equals("layout")) - pm.add(std::unique_ptr((new LayoutPass()))); + pm.add(std::unique_ptr(new LayoutPass(registry()))); else if (name.equals("GOT")) pm.add(std::unique_ptr(new TestingGOTPass(*this))); else if (name.equals("stubs")) -- cgit v1.2.3