1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/MC/Mips
Igor Kudrin 84c56f2c7c [DebugInfo] Fix printing CIE offsets in EH FDEs.
While the value of the CIE pointer field in a DWARF FDE record is
an offset to the corresponding CIE record from the beginning of
the section, for EH FDE records it is relative to the current offset.
Previously, we did not make that distinction when dumped both kinds
of FDE records and just printed the same value for the CIE pointer
field and the CIE offset; that was acceptable for DWARF FDEs but was
wrong for EH FDEs.

This patch fixes the issue by explicitly printing the offset of the
linked CIE object.

Differential Revision: https://reviews.llvm.org/D74613
2020-02-25 17:10:29 +07:00
..
cnmips [mips] Move test case for Octeon instructions to cnmips sub-folder. NFC 2019-11-04 00:42:31 +03:00
cnmipsp [mips] Implement Octeon+ saa and saad instructions 2019-11-07 13:58:50 +03:00
crc [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
dsp
dspr2
eva [mips] Show an error if register number is out of range 2018-04-24 16:14:00 +00:00
ginv [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
micromips [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
micromips32r6 [mips] Push fixup_Mips_LO16 fixup for jialc and jic instructions 2019-10-03 12:08:26 +00:00
micromips-dsp [AArch64][SVE] Re-submit patch series for ZIP1/ZIP2 2017-12-20 11:02:42 +00:00
micromips-dspr2
micromips-dspr3
mips1 [Mips] Add s.d instruction alias for Mips1 2019-06-12 17:52:05 +00:00
mips2 [mips] Add (dis)assembler tests for beqzl and bnezl instructions. NFC 2019-07-27 08:13:27 +00:00
mips3 [mips] Add missing instructions 2018-08-29 11:35:03 +00:00
mips4 [mips] Add missing instructions 2018-08-29 11:35:03 +00:00
mips5 [mips] Correct predicates for loads, bit manipulation instructions and some pseudos 2018-06-20 19:59:58 +00:00
mips16 [mips] Guard 'nop' properly and add mips16's nop instruction 2018-06-01 10:46:00 +00:00
mips32 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips32r2 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips32r3 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips32r5 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips32r6 [mips] Push fixup_Mips_LO16 fixup for jialc and jic instructions 2019-10-03 12:08:26 +00:00
mips64 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips64r2 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips64r3 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips64r5 [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips64r6 [mips] Push fixup_Mips_LO16 fixup for jialc and jic instructions 2019-10-03 12:08:26 +00:00
msa [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mt [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
virt [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
addend.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
asciiz-directive-bad.s
asciiz-directive.s
bopt-directive.s
branch-pseudos-bad.s
branch-pseudos.s [mips] Print BEQZL and BNEZL pseudo instructions 2019-07-15 21:46:38 +00:00
cfi-advance-loc.s [mips] LLVM and GAS now use same instructions for CFA Definition. NFCI 2019-05-15 12:05:27 +00:00
cfi-encoding.s [mips] LLVM and GAS now use same instructions for CFA Definition. NFCI 2019-05-15 12:05:27 +00:00
cfi.s
cpload-bad.s
cpload.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
cplocal-bad.s [mips] Implement .cplocal directive 2019-07-17 08:11:31 +00:00
cplocal.s [mips] Implement .cplocal directive 2019-07-17 08:11:31 +00:00
cprestore-bad.s
cprestore-noreorder-noat.s [mips] Fix test typo in rL348914 2018-12-15 08:44:47 +00:00
cprestore-noreorder.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
cprestore-reorder.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
cprestore-warning-unused.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
cpsetup-bad.s
cpsetup.s [llvm-objdump] - Implement -z/--disassemble-zeroes. 2019-01-10 14:55:26 +00:00
directive-ent.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
do_switch1.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
do_switch2.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
do_switch3.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
double-expand.s
eh-frame.s [DebugInfo] Fix printing CIE offsets in EH FDEs. 2020-02-25 17:10:29 +07:00
elf_basic.s
elf_eflags_abicalls.s
elf_eflags_micromips2.s
elf_eflags_micromips.s
elf_eflags_mips16.s
elf_eflags_nan2008.s
elf_eflags_nanlegacy.s
elf_eflags_noreorder.s
elf_eflags_pic0.s
elf_eflags_pic2.s
elf_eflags.s [mips] Implement Octeon+ saa and saad instructions 2019-11-07 13:58:50 +03:00
elf_header.s [mips] Implement Octeon+ saa and saad instructions 2019-11-07 13:58:50 +03:00
elf_reginfo.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf_st_other.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
elf-bigendian.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-debug-section.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-gprel-32-64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
elf-N32.s [mips] Fix MIPS N32 ABI triples support 2018-09-17 21:21:57 +00:00
elf-N64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
elf-relsym.s Revert "Reland [ELF] Loose a condition for relocation with a symbol" 2019-07-22 17:48:53 +00:00
elf-tls.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
end-directive.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
expansion-j-sym-pic.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
expansion-jal-sym-pic.s [llvm-objdump] Print relocation addends in hexadecimal 2019-11-19 12:27:18 +00:00
expr1.s
got-rel-expr.s
hex-immediates.s
higher-highest-addressing.s
hilo-addressing.s
init-order-bug.ll
insn-directive.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
instalias-imm-expanding.s [mips] Guard some macro expansions properly 2018-04-19 09:45:04 +00:00
instr-analysis.s
invalid-instructions-spellcheck.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
j-macro-insn.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
ll-expansion.s [mips] Fix sc, scs, ll, lld instructions expanding 2019-11-27 00:43:25 +03:00
lld-expansion.s [mips] Fix sc, scs, ll, lld instructions expanding 2019-11-27 00:43:25 +03:00
llvm-mc-fixup-endianness.s
macro-abs.s
macro-aliases-invalid-wrong-error.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
macro-aliases.s [mips] Partially fix PR34391 2017-10-10 13:34:45 +00:00
macro-bcc-imm-bad.s
macro-bcc-imm.s [mips] Print BEQZL and BNEZL pseudo instructions 2019-07-15 21:46:38 +00:00
macro-ddiv-bad.s
macro-ddiv.s [mips] Addition of the [d]rem and [d]remu instructions 2018-07-09 13:06:44 +00:00
macro-ddivu-bad.s
macro-ddivu.s
macro-div-bad.s
macro-div.s
macro-divu-bad.s
macro-divu.s
macro-dla-32bit.s
macro-dla-bad.s [MIPS] Handle PIC load address macro instructions in N64. 2017-06-30 15:44:27 +00:00
macro-dla-pic.s [mips] Add tests to check la / dla expansion in XGOT cases. NFC 2019-10-23 17:36:33 +03:00
macro-dla.s
macro-dli.s
macro-drem.s [mips] Addition of the [d]rem and [d]remu instructions 2018-07-09 13:06:44 +00:00
macro-dremu.s [mips] Addition of the [d]rem and [d]remu instructions 2018-07-09 13:06:44 +00:00
macro-la-64bit.s [mips] Enable la pseudo instruction on 64-bit arch. 2019-11-15 23:38:14 +03:00
macro-la-bad.s [mips] Enable la pseudo instruction on 64-bit arch. 2019-11-15 23:38:14 +03:00
macro-la-pic.s [mips] Implement la macro expansion for N32 ABI 2019-10-23 17:36:34 +03:00
macro-la.s
macro-ld-sd.s [mips] Map SW instruction to its microMIPS R6 variant 2019-03-13 13:09:30 +00:00
macro-li-bad.s
macro-li.d.s [Mips] Use appropriate private label prefix based on Mips ABI 2019-10-23 12:24:35 +02:00
macro-li.s
macro-li.s.s [Mips] Use appropriate private label prefix based on Mips ABI 2019-10-23 12:24:35 +02:00
macro-rem.s [mips] Addition of the [d]rem and [d]remu instructions 2018-07-09 13:06:44 +00:00
macro-remu.s [mips] Addition of the [d]rem and [d]remu instructions 2018-07-09 13:06:44 +00:00
macro-saa.s [mips] Implement Octeon+ saa and saad instructions 2019-11-07 13:58:50 +03:00
macro-saad.s [mips] Implement Octeon+ saa and saad instructions 2019-11-07 13:58:50 +03:00
macro-seq.s
macro-sge64.s [mips] Implement sge/sgeu pseudo instructions 2019-07-09 12:55:55 +00:00
macro-sge.s [mips] Implement sge/sgeu pseudo instructions 2019-07-09 12:55:55 +00:00
macro-sgt64.s [mips] Implement sgt/sgtu pseudo instructions with immediate operand 2019-07-09 12:55:42 +00:00
macro-sgt.s [mips] Implement sgt/sgtu pseudo instructions with immediate operand 2019-07-09 12:55:42 +00:00
memory-offsets.s
micromips32r6-eva.s [mips] Fix the definitions of the EVA instructions 2018-03-13 14:39:44 +00:00
micromips64-unsupported.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
micromips64r6-unsupported.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
micromips-16-bit-instructions.s [mips] Correct the predicates for a number of instructions. 2018-05-29 09:56:19 +00:00
micromips-alias.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
micromips-alu-instructions.s
micromips-ase-directive.s [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
micromips-bad-branches.s
micromips-branch-fixup.s [mips][micrompis] Emit 16bit NOPs by default 2019-01-09 15:58:02 +00:00
micromips-branch-instructions.s [mips][micrompis] Emit 16bit NOPs by default 2019-01-09 15:58:02 +00:00
micromips-control-instructions.s [mips] Correct the definitions of some control instructions 2018-04-26 16:06:34 +00:00
micromips-diagnostic-fixup.s
micromips-el-fixup-data.s [mips][micrompis] Emit 16bit NOPs by default 2019-01-09 15:58:02 +00:00
micromips-eva.s [mips] Fix the definitions of the EVA instructions 2018-03-13 14:39:44 +00:00
micromips-expansions.s [mips] Accept 32-bit offsets for lh and lhu commands 2018-05-10 16:01:18 +00:00
micromips-fpu64-instructions.s [mips] Add missing test case from r332227 2018-05-14 13:18:51 +00:00
micromips-fpu-instructions.s [mips] Add disassembly support for comparison instructions 2018-05-15 11:18:24 +00:00
micromips-func-addr.s
micromips-invalid.s [mips] Show an error if register number is out of range 2018-04-24 16:14:00 +00:00
micromips-jump26.s
micromips-jump-instructions.s [mips][micrompis] Emit 16bit NOPs by default 2019-01-09 15:58:02 +00:00
micromips-jump-pc-region.s [Mips] Fix evaluating J-format branch targets 2019-10-07 14:01:22 +00:00
micromips-label-test-sections.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
micromips-label-test.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
micromips-loadstore-instructions.s [mips] Mark various memory instructions as being in microMIPS (NFC) 2018-05-08 10:16:21 +00:00
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s [mips] Mark select instructions correctly 2018-05-15 16:05:04 +00:00
micromips-multiply-instructions.s
micromips-neg-offset.s [mips] Guard all short instructions correctly. 2018-05-31 12:47:01 +00:00
micromips-pc16-fixup.s
micromips-relocations.s
micromips-sc-expansion.s [mips] Split test into MIPS and microMIPS parts. NFC 2019-11-25 00:19:31 +03:00
micromips-shift-instructions.s
micromips-tailr.s [mips][micrompis] Emit 16bit NOPs by default 2019-01-09 15:58:02 +00:00
micromips-trap-instructions.s
mips64-alu-instructions.s
mips64-expansions.s [mips] Expand 'lw/sw' instructions for 32-bit GOT 2019-09-18 19:19:47 +00:00
mips64-instalias-imm-expanding.s
mips64-instructions.s
mips64-register-names-n32-n64.s
mips64-register-names-o32.s
mips64eb-fixups.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips64extins.s [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
mips64shift.ll
mips_abi_flags_xx_set.s [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
mips_abi_flags_xx.s [mips] Write AFL_EXT_OCTEONP flag to the .MIPS.abiflags section 2019-11-07 13:58:50 +03:00
mips_directives_bad.s [mips] Stop parsing a .set assignment if the first argument is not an identifier 2018-05-29 09:51:22 +00:00
mips_directives.s [mips] Process numeric register name in the .set assignment directive 2018-05-29 15:58:06 +00:00
mips_gprel16.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
mips-abi-bad.s
mips-alu-instructions.s
mips-bad-branches.s
mips-control-instructions.s [mips] Correct the definitions of some control instructions 2018-04-26 16:06:34 +00:00
mips-cop0-reginfo.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-coprocessor-encodings.s
mips-data-directives.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-diagnostic-fixup.s
mips-expansions-bad.s
mips-expansions.s [mips] Expand 'lw/sw' instructions for 32-bit GOT 2019-09-18 19:19:47 +00:00
mips-fpu-instructions.s [mips] Correct the definition of cvt.d.w 2018-02-20 15:55:17 +00:00
mips-hwr-register-names.s
mips-jump-delay-slots.s [mips] Print BEQZL and BNEZL pseudo instructions 2019-07-15 21:46:38 +00:00
mips-jump-instructions.s
mips-jump-pc-region.s [Mips] Fix evaluating J-format branch targets 2019-10-07 14:01:22 +00:00
mips-memory-instructions.s
mips-noat.s
mips-pc16-fixup.s
mips-pdr-bad.s
mips-pdr.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-rdata.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-reginfo-fp32.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-reginfo-fp64.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
mips-register-names-invalid.s [mips] Show an error if register number is out of range 2018-04-24 16:14:00 +00:00
mips-register-names-o32.s
module-directive-bad.s [mips] implement .set dspr2 directive 2017-10-05 17:40:32 +00:00
module-hardfloat.s [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
module-softfloat.s [mips] Use llvm-readobj -A flag in test cases. NFC 2019-10-03 12:08:04 +00:00
mul-macro-variants.s
multi-64bit-func.ll
nabi-regs.s
nacl-mask.s [llvm-objdump] - Implement -z/--disassemble-zeroes. 2019-01-10 14:55:26 +00:00
nooddspreg-cmdarg.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
nooddspreg-error.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
nooddspreg.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
oddspreg.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
pr11877.s
private-prefix.s [Mips] Use appropriate private label prefix based on Mips ABI 2019-10-23 12:24:35 +02:00
ptr-size.s [mips] Set pointer size to 4 bytes for N32 ABI 2018-10-09 11:29:45 +00:00
r-mips-got-disp.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
reloc-directive-bad-obj.s [MC] Support labels as offsets in .reloc directive 2018-11-21 16:28:39 +00:00
reloc-directive-bad.s [MC] Support labels as offsets in .reloc directive 2018-11-21 16:28:39 +00:00
reloc-directive-label-offset.s Reland test/MC/Mips/reloc-directive-label-offset.s 2018-11-22 18:18:58 +00:00
reloc-directive.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
relocation-n64.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
relocation-xfail.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
relocation.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
rotations32-bad.s
rotations32.s
rotations64.s
sc-expansion.s [mips] Fix sc, scs, ll, lld instructions expanding 2019-11-27 00:43:25 +03:00
scd-expansion.s [mips] Fix sc, scs, ll, lld instructions expanding 2019-11-27 00:43:25 +03:00
section-size.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
set-arch.s [mips] Support octeon+ CPU in the .set arch= directive 2019-11-07 13:58:50 +03:00
set-at-directive-explicit-at.s
set-at-directive.s
set-at-noat-bad-syntax.s
set-defined-symbol.s
set-mips0-directive.s
set-mips16-directive.s
set-mips-directives-bad.s
set-mips-directives.s
set-nodsp.s [mips] implement .set dspr2 directive 2017-10-05 17:40:32 +00:00
set-nomacro-micromips.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
set-nomacro.s
set-oddspreg-nooddspreg-error.s
set-oddspreg-nooddspreg.s
set-push-pop-directives-bad.s
set-push-pop-directives.s
set-softfloat-hardfloat-bad.s
set-softfloat-hardfloat.s
set-sym-recursive.s [mips] Fix crash on recursive using of .set 2019-03-19 15:15:35 +00:00
sext_64_32.ll
sort-relocation-table.s
sym-expr.s
sym-offset.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
target-soft-float.s [AArch64][SVE] Re-submit patch series for ZIP1/ZIP2 2017-12-20 11:02:42 +00:00
tls-symbols.s [llvm-nm][llvm-readelf] Avoid single-dash -long-option in tests 2019-04-27 16:12:14 +00:00
unaligned-nops.s
unsupported-relocation.s [mips] Show an error on attempt to use 64-bit PC-relative relocation 2018-12-29 10:10:02 +00:00
update-module-level-options.s [mips] Use llvm-mc -triple option instead of combination of arch,target-abi,mcpu. NFC 2018-12-12 07:03:04 +00:00
user-macro-argument-separation.s
xgot.s Revert "Reland [ELF] Loose a condition for relocation with a symbol" 2019-07-22 17:48:53 +00:00