summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2014-01-27 01:20:53 +0000
committerShankar Easwaran <shankare@codeaurora.org>2014-01-27 01:20:53 +0000
commitaf7fbd8cf426f74239bd6d30b52beda7524f46c1 (patch)
treef85aaf515181157426b568a88a63cb4a696a0b97 /lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
parente7b831ad354c74ef9fb12b8501e4c5de676a2bc6 (diff)
downloadbcm5719-llvm-af7fbd8cf426f74239bd6d30b52beda7524f46c1.tar.gz
bcm5719-llvm-af7fbd8cf426f74239bd6d30b52beda7524f46c1.zip
[ELF] Create Target specific Writers.
llvm-svn: 200176
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