commit | 84569e6caaf5af80459d8c4f4da511fdcba91a89 | [log] [tgz] |
---|---|---|
author | Eugene Leviant <eleviant@accesssoftek.com> | Tue Nov 29 08:05:44 2016 +0000 |
committer | Eugene Leviant <eleviant@accesssoftek.com> | Tue Nov 29 08:05:44 2016 +0000 |
tree | 0e35ef27b006bbda856599593860315a64c20930 | |
parent | bf4ddeb97c041155d9095248b1d4f27ed40bb722 [diff] [blame] |
[ELF] Refactor target error messages Differential revision: https://reviews.llvm.org/D27097 llvm-svn: 288114
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index e4536ef..4a723d5 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp
@@ -249,6 +249,7 @@ } template <class ELFT> void OutputSection<ELFT>::writeTo(uint8_t *Buf) { + Loc = Buf; if (uint32_t Filler = Script<ELFT>::X->getFiller(this->Name)) fill(Buf, this->Size, Filler);