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/MachO/MachOLinkingContext.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/MachO/MachOLinkingContext.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp index cb8740d1e10..5bd9a5e5df6 100644 --- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp +++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp @@ -295,7 +295,7 @@ void MachOLinkingContext::addPasses(PassManager &pm) { pm.add(std::unique_ptr<Pass>(new mach_o::GOTPass)); pm.add(std::unique_ptr<Pass>(new mach_o::StubsPass(*this))); } - pm.add(std::unique_ptr<Pass>(new LayoutPass())); + pm.add(std::unique_ptr<Pass>(new LayoutPass(registry()))); } Writer &MachOLinkingContext::writer() const { |

