llvm-project/llvm/test/MC/SystemZ
Jonas Paulsson 5bf4f2acb8 [SystemZ] Add range checks for PC-relative fixups.
The AsmParser checks the range of a PC-relative operand, but only if it is
immediate.

This patch adds range checks for operands in applyFixup(), at which point the
offset to a label is known.

The diagnostic message for an operand that is out of range is explicit (with
given value and min/max limits). This is now also done for displacement
fixups.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D114194
2021-12-07 12:13:03 -06:00
..
asm-match.s
directive-insn-vector.s
directive-insn.s
fixups-out-of-range-01.s [SystemZ] Add range checks for PC-relative fixups. 2021-12-07 12:13:03 -06:00
fixups-out-of-range-02.s [SystemZ] Add range checks for PC-relative fixups. 2021-12-07 12:13:03 -06:00
fixups-zEC12.s
fixups.s [SystemZ] Support symbolic displacements. 2021-11-15 16:46:31 -05:00
insn-bad-arch14.s
insn-bad-z13.s
insn-bad-z14.s
insn-bad-z15.s
insn-bad-z196.s
insn-bad-zEC12.s
insn-bad-zos-z13.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-bad-zos-z14.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-bad-zos-z15.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-bad-zos-z196.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-bad-zos.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-bad.s
insn-good-arch14.s
insn-good-z13.s
insn-good-z14.s
insn-good-z15.s
insn-good-z196.s
insn-good-zEC12.s
insn-good-zos-pcrel.s [SystemZ][z/OS] Additional test coverage for validating dialect instructions for SystemZ 2021-10-21 09:45:46 -04:00
insn-good.s
invalid-instructions-spellcheck.s
lit.local.cfg
machine-directive.s [SystemZ] Recognize .machine directive in parser. 2021-09-17 12:03:54 +02:00
regs-bad.s
regs-good.s
reloc-absolute.s [SystemZ] Support symbolic displacements. 2021-11-15 16:46:31 -05:00
reloc-directive.s [SystemZ] Support symbolic displacements. 2021-11-15 16:46:31 -05:00
tokens.s
word.s