1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/MC/Mips
Oliver Stannard 90a74252e6 [Assembler] Allow non-fatal errors after parsing
This adds reportError to MCContext, which can be used as an alternative to
reportFatalError when the assembler wants to try to continue processing the
rest of the file after the error is reported, so that all of the errors ina
file can be reported. It records the fact that an error was encountered, so we
can avoid emitting an object file if any errors occurred.

This patch doesn't add any uses of this function (a later patch will convert
most uses of reportFatalError to use it), but there is a small functional
change: we use the SourceManager to print the error message, even if we have a
null SMLoc. This means that we get a SourceManager-style message, with the file
and line information shown as <unknown>, rather than the "LLVM ERROR" style
used by report_fatal_error.

llvm-svn: 253327
2015-11-17 09:58:07 +00:00
..
dsp [mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions 2015-11-13 13:14:25 +00:00
dspr2 [mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions 2015-11-13 13:14:25 +00:00
eva [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
micromips [mips][ias] Range check uimm4 operands and fixed a bug this revealed. 2015-11-06 12:41:43 +00:00
micromips32r6 [mips][microMIPS] Implement LWM16, SB16, SH16, SW16, SWSP and SWM16 instructions 2015-11-12 13:21:33 +00:00
micromips64r6 [mips][microMIPS] Implement LWM16, SB16, SH16, SW16, SWSP and SWM16 instructions 2015-11-12 13:21:33 +00:00
micromips-dsp [mips][microMIPS] Implement PRECEQ.W.PHL, PRECEQ.W.PHR, PRECEQU.PH.QBL, PRECEQU.PH.QBLA, PRECEQU.PH.QBR, PRECEQU.PH.QBRA, PRECEU.PH.QBL, PRECEU.PH.QBLA, PRECEU.PH.QBR and PRECEU.PH.QBRA instructions 2015-11-17 09:43:29 +00:00
micromips-dspr2 [mips][microMIPS] Implement PRECEQ.W.PHL, PRECEQ.W.PHR, PRECEQU.PH.QBL, PRECEQU.PH.QBLA, PRECEQU.PH.QBR, PRECEQU.PH.QBRA, PRECEU.PH.QBL, PRECEU.PH.QBLA, PRECEU.PH.QBR and PRECEU.PH.QBRA instructions 2015-11-17 09:43:29 +00:00
mips1 [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips2 [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips3 [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips4 [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips5 [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips32 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips32r2 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips32r3 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips32r5 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips32r6 [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
mips64 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips64r2 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips64r3 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips64r5 [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
mips64r6 [mips][ias] Range check uimm3 operands. 2015-11-06 12:31:27 +00:00
msa [mips][ias] Range check uimm4 operands and fixed a bug this revealed. 2015-11-06 12:41:43 +00:00
asciiz-directive-bad.s [mips] [IAS] Implement the .asciiz directive. 2015-04-21 11:50:52 +00:00
asciiz-directive.s [mips] [IAS] Implement the .asciiz directive. 2015-04-21 11:50:52 +00:00
branch-pseudos-bad.s [mips] Add support for branch-likely pseudo-instructions 2015-09-15 15:06:26 +00:00
branch-pseudos.s [mips] Add support for branch-likely pseudo-instructions 2015-09-15 15:06:26 +00:00
cfi-advance-loc.s [MC/Dwarf] Encode DW_CFA_advance_loc in target endianess. 2015-06-17 15:14:35 +00:00
cfi.s
cpload-bad.s
cpload.s
cprestore-bad.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-noreorder.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-reorder.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-warning-unused.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cpsetup-bad.s
cpsetup.s [mips][ias] Implement .cpreturn directive. 2015-09-22 10:50:09 +00:00
do_switch1.s
do_switch2.s
do_switch3.s
eh-frame.s Use CIE version 1 for .eh_frame. 2015-04-27 22:04:24 +00:00
elf_basic.s Use ELFOSABI_NONE instead of ELFOSABI_LINUX. 2015-09-24 20:57:24 +00:00
elf_eflags_abicalls.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
elf_reginfo.s
elf_st_other.s
elf-bigendian.ll
elf-gprel-32-64.s
elf-N64.s
elf-relsym.s Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
elf-tls.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
expansion-jal-sym-pic.s [mips] Expand JAL instructions when PIC is enabled. 2015-08-18 16:18:09 +00:00
expr1.s [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1. 2015-06-25 09:52:02 +00:00
higher-highest-addressing.s
hilo-addressing.s
insn-directive.s [mips] [IAS] Add support for the .insn directive. 2015-04-16 09:53:47 +00:00
instalias-imm-expanding.s [mips] Handling of immediates bigger than 16 bits 2015-09-28 11:11:34 +00:00
lit.local.cfg
llvm-mc-fixup-endianness.s
macro-bcc-imm-bad.s [mips][ias] Implement macro expansion when bcc has an immediate where a register belongs. 2015-10-12 14:24:05 +00:00
macro-bcc-imm.s [mips][ias] Implement macro expansion when bcc has an immediate where a register belongs. 2015-10-12 14:24:05 +00:00
macro-ddiv-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddiv.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddivu-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddivu.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-div-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-div.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-divu-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-divu.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-dla.s [mips] Changed the way symbols are handled in dla and la instructions to allow simple expressions. 2015-10-05 13:19:29 +00:00
macro-dli.s [mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI 2015-08-17 10:11:55 +00:00
macro-la-bad.s [mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI 2015-08-17 10:11:55 +00:00
macro-la.s [mips] Changed the way symbols are handled in dla and la instructions to allow simple expressions. 2015-10-05 13:19:29 +00:00
macro-li-bad.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
macro-li.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
micromips-16-bit-instructions.s
micromips-alias.s [mips] [IAS] Preserve microMIPS label marking for objects when assigning. 2015-04-16 13:37:32 +00:00
micromips-alu-instructions.s
micromips-bad-branches.s
micromips-branch-fixup.s
micromips-branch-instructions.s
micromips-control-instructions.s [mips][microMIPS] Implement PAUSE, RDHWR, RDPGPR, SDBBP, SSNOP, SYNC, SYNCI and WAIT instructions 2015-10-28 11:04:29 +00:00
micromips-diagnostic-fixup.s [Assembler] Allow non-fatal errors after parsing 2015-11-17 09:58:07 +00:00
micromips-el-fixup-data.s
micromips-expansions.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
micromips-fpu-instructions.s
micromips-func-addr.s
micromips-invalid.s [mips][microMIPS] Implement JALRC16, JRCADDIUSP and JRC16 instructions 2015-10-05 14:00:09 +00:00
micromips-jump26.s
micromips-jump-instructions.s
micromips-label-test-sections.s
micromips-label-test.s
micromips-loadstore-instructions.s [mips][microMIPS] Implement PREFX, LHUE, LBE, LBUE, LHE, LWE, SBE, SHE and SWE instructions 2015-09-16 09:14:35 +00:00
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s
micromips-multiply-instructions.s
micromips-pc16-fixup.s
micromips-relocations.s
micromips-shift-instructions.s
micromips-tailr.s
micromips-trap-instructions.s
mips64-alu-instructions.s [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips64-expansions.s [mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI 2015-08-17 10:11:55 +00:00
mips64-instructions.s
mips64-register-names-n32-n64.s
mips64-register-names-o32.s
mips64eb-fixups.s
mips64extins.ll
mips64shift.ll
mips_abi_flags_xx_set.s [mips] llvm-readobj can parse .MIPS.abiflags. No need to check the bytes. 2015-06-23 10:11:36 +00:00
mips_abi_flags_xx.s [mips] llvm-readobj can parse .MIPS.abiflags. No need to check the bytes. 2015-06-23 10:11:36 +00:00
mips_directives_bad.s
mips_directives.s [mips] [IAS] Emit .set macro/nomacro. 2015-05-14 13:42:10 +00:00
mips_gprel16.s
mips-abi-bad.s
mips-alu-instructions.s [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips-bad-branches.s
mips-control-instructions.s
mips-cop0-reginfo.s [mips] Add COP0 register class and use it in M[FT]C0/DM[FT]C0. 2015-06-27 15:39:19 +00:00
mips-coprocessor-encodings.s
mips-data-directives.s Relax these tests a bit. 2015-05-22 21:37:13 +00:00
mips-diagnostic-fixup.s [Assembler] Allow non-fatal errors after parsing 2015-11-17 09:58:07 +00:00
mips-expansions-bad.s [mips][ias] Implement ulh macro. 2015-10-15 14:52:58 +00:00
mips-expansions.s [mips][ias] Implement ulh macro. 2015-10-15 14:52:58 +00:00
mips-fpu-instructions.s [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
mips-hwr-register-names.s
mips-jump-delay-slots.s [mips] [IAS] Add support for the BNEZL and BEQZL pseudo-instructions. 2015-04-08 12:15:05 +00:00
mips-jump-instructions.s
mips-memory-instructions.s
mips-noat.s
mips-pc16-fixup.s
mips-pdr-bad.s
mips-pdr.s Relax a few more overspecified tests. 2015-11-03 19:38:19 +00:00
mips-reginfo-fp32.s
mips-reginfo-fp64.s
mips-register-names-invalid.s
mips-register-names-o32.s
module-directive-bad.s [mips] [IAS] Emit .set macro/nomacro. 2015-05-14 13:42:10 +00:00
module-hardfloat.s [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00
module-softfloat.s [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00
multi-64bit-func.ll
nabi-regs.s
nacl-mask.s
nooddspreg-cmdarg.s
nooddspreg-error.s
nooddspreg.s
octeon-instructions.s [mips] Add new format for dmtc2/dmfc2 for Octeon CPUs. 2015-05-28 16:23:16 +00:00
oddspreg.s
pr11877.s
r-mips-got-disp.s
reloc-directive-bad.s Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
reloc-directive.s Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
relocation.s [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
set-arch.s
set-at-directive-explicit-at.s [mips] [IAS] Improve warning for using AT with .set noat. 2015-04-27 14:05:04 +00:00
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
set-nomacro-micromips.s [mips] [IAS] Enforce .set nomacro. 2015-05-14 14:51:32 +00:00
set-nomacro.s [mips][ias] Implement ulh macro. 2015-10-15 14:52:58 +00:00
set-oddspreg-nooddspreg-error.s [mips] [IAS] Add support for the .set oddspreg/nooddspreg directives. 2015-06-30 09:36:50 +00:00
set-oddspreg-nooddspreg.s [mips] [IAS] Add support for the .set oddspreg/nooddspreg directives. 2015-06-30 09:36:50 +00:00
set-push-pop-directives-bad.s Recommit "[mips] [IAS] Restore STI.FeatureBits in .set pop." (r239144). 2015-06-09 13:33:26 +00:00
set-push-pop-directives.s Recommit "[mips] [IAS] Restore STI.FeatureBits in .set pop." (r239144). 2015-06-09 13:33:26 +00:00
set-softfloat-hardfloat-bad.s [mips] [IAS] Add support for the .set softfloat/hardfloat directives. 2015-06-02 09:48:04 +00:00
set-softfloat-hardfloat.s [mips] [IAS] Add support for the .set softfloat/hardfloat directives. 2015-06-02 09:48:04 +00:00
sext_64_32.ll
sort-relocation-table.s Re-enable target-specific relocation table sorting and use it for Mips 2015-04-14 13:23:34 +00:00
sym-expr.s
sym-offset.ll
target-soft-float.s [mips] Add the SoftFloat MipsSubtarget feature. 2015-05-07 10:29:52 +00:00
unaligned-nops.s
update-module-level-options.s [mips] [IAS] Make .module directives change AssemblerOptions->front(). 2015-06-30 12:41:33 +00:00
xgot.s Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00