1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/BPF
Renato Golin 8761d9ca19 [llc] New diagnostic handler
Without a diagnostic handler installed, llc's behaviour is to exit on the first
error that it encounters. This is very different from the behaviour of clang
and other front ends, which try to gather as many errors as possible before
exiting.

This commit adds a diagnostic handler to llc, allowing it to find and report
more than one error. The old behaviour is preserved under a flag (-exit-on-error).

Some of the tests fail with the new diagnostic handler, so they have to use the
new flag in order to run under the previous behaviour. Some of these are known
bugs, others need further investigation. Ideally, we should fix the tests and
remove the flag at some point in the future.

Reapplied after fixing the LLDB build that was broken due to the new
DiagnosticSeverity in LLVMContext.h, and fixed an UB in the new change.

Patch by Diana Picus.

llvm-svn: 269655
2016-05-16 14:28:02 +00:00
..
alu8.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
atomics.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
basictest.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
byval.ll Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
cc_args_be.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cc_args.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cc_ret.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cmp.ll
ex1.ll Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
fi_ri.ll [bpf] Avoid extra pointer arithmetic for stack access 2015-10-06 04:00:53 +00:00
intrinsics.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
lit.local.cfg
load.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
loops.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
many_args1.ll [llc] New diagnostic handler 2016-05-16 14:28:02 +00:00
many_args2.ll [llc] New diagnostic handler 2016-05-16 14:28:02 +00:00
sanity.ll Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
sdiv_error.ll BPF: emit an error message for unsupported signed division operation 2016-03-18 22:02:47 +00:00
setcc.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
shifts.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
sockex2.ll Use TargetRegisterInfo for printing MachineOperand register comments 2015-11-17 16:01:28 +00:00
struct_ret1.ll [llc] New diagnostic handler 2016-05-16 14:28:02 +00:00
struct_ret2.ll [llc] New diagnostic handler 2016-05-16 14:28:02 +00:00
undef.ll [bpf] Do not expand UNDEF SDNode during insn selection lowering 2015-10-08 18:52:40 +00:00
vararg1.ll