[MCJIT] Make llvm-rtdyld check RuntimeDyld's error state when running in -verify
authorLang Hames <lhames@gmail.com>
Tue, 5 Aug 2014 20:51:46 +0000 (20:51 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 5 Aug 2014 20:51:46 +0000 (20:51 +0000)
commit416ea4bfa71642c9a2c2f378ae9380406cdba1f7
tree67c83e90049bb7d4db2251d32c2f8cd6bed63f16
parentbb639a1f96bb72b424a7a2060feab02f095518d8
[MCJIT] Make llvm-rtdyld check RuntimeDyld's error state when running in -verify
mode.

This will cause -verify mode to report failure when RuntimeDyld encounters an
internal error (e.g. overflows in relocation computations). Previously we had
let these errors slip past unreported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214925 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-rtdyld/llvm-rtdyld.cpp