[SystemZ] Improve error messages for unsupported relocations
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 30 Jun 2023 14:02:56 +0000 (16:02 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 30 Jun 2023 14:02:56 +0000 (16:02 +0200)
commitefbaf8bc61f4c0e29a3eaafb11ac0ddda8bd3dff
tree423b9ab6373037ab36ef3efbe5e10d84211d993a
parentdafbf1c1e55440aaace93679cfe8778783722443
[SystemZ] Improve error messages for unsupported relocations

In the SystemZMCObjectWriter, we currently just abort in case
some unsupported relocation in requested.  However, as this
situation can be triggered by invalid (inline) assembler input,
we should really get a regular error message instead.
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp