OSDN Git Service

[RuntimeDyld][COFF] Report fatal error on error, rather than emiting diagnostic.
authorLang Hames <lhames@gmail.com>
Tue, 6 Oct 2020 22:03:13 +0000 (15:03 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 6 Oct 2020 22:16:29 +0000 (15:16 -0700)
commitb45b5166f8f91e601ebd7bc73bb6800155c4c9bc
tree6acbe52b1f2d176562fb8ea72a8f9d75eb05a7c5
parent7193f727988360acb7037b42851f0a6fae29af9b
[RuntimeDyld][COFF] Report fatal error on error, rather than emiting diagnostic.

Report a fatal error if an IMAGE_REL_AMD64_ADDR32NB cannot be applied due to an
out-of-range target. Previously we emitted a diagnostic to llvm::errs and
continued.

Patch by Dale Martin. Thanks Dale!
llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h