diff options
author | Nico Rieck <nico.rieck@gmail.com> | 2014-02-24 21:14:37 +0000 |
---|---|---|
committer | Nico Rieck <nico.rieck@gmail.com> | 2014-02-24 21:14:37 +0000 |
commit | b9d84f4d14bc4db8abae30999d6beb64c3f8546a (patch) | |
tree | c9c6298852e3570c541d3e90cd4aee131a4679a1 /lld/lib/ReaderWriter/CoreLinkingContext.cpp | |
parent | 78f2b48e7d9a602e8f81f375f88b4bd4f4bad04a (diff) | |
download | bcm5719-llvm-b9d84f4d14bc4db8abae30999d6beb64c3f8546a.tar.gz bcm5719-llvm-b9d84f4d14bc4db8abae30999d6beb64c3f8546a.zip |
[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
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/CoreLinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Pass>((new LayoutPass()))); + pm.add(std::unique_ptr<Pass>(new LayoutPass(registry()))); else if (name.equals("GOT")) pm.add(std::unique_ptr<Pass>(new TestingGOTPass(*this))); else if (name.equals("stubs")) |