Revert "[ELF] Allow getErrPlace() to work before Out::bufferStart is set"
authorVlad Tsyrklevich <vtsyrklevich@google.com>
Fri, 13 Dec 2019 17:43:51 +0000 (09:43 -0800)
committerVlad Tsyrklevich <vtsyrklevich@google.com>
Fri, 13 Dec 2019 17:43:51 +0000 (09:43 -0800)
commit17063abd1e7350c854681665d5f2510d532e821e
treecb4915aec121420257a811123ed9748b655c028c
parentd53e61863d48a07ce285d5b0a36abc67583023bd
Revert "[ELF] Allow getErrPlace() to work before Out::bufferStart is set"

This reverts commit 2bbd32f5e8f0f62d895966e2623d9bdb9778b50b, it was
causing UBSan failures like the following:
lld/ELF/Target.cpp:103:41: runtime error: applying non-zero offset 24 to null pointer
lld/ELF/Target.cpp
lld/test/ELF/mips-jalr-non-functions.s