summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp b/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
index d2a4c4e3102..c3b68909311 100644
--- a/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
@@ -90,7 +90,7 @@ bool ELFLinkingContext::validateImpl(raw_ostream &diagnostics) {
llvm_unreachable("Unimplemented");
break;
default:
- _writer = createWriterELF(*this);
+ _writer = createWriterELF(this->targetHandler());
break;
}
return true;
OpenPOWER on IntegriCloud