1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/CodeGen/BPF
Adrian Prantl 2345112c5b [IR] Remove the DIExpression field from DIGlobalVariable.
This patch implements PR31013 by introducing a
DIGlobalVariableExpression that holds a pair of DIGlobalVariable and
DIExpression.

Currently, DIGlobalVariables holds a DIExpression. This is not the
best way to model this:

(1) The DIGlobalVariable should describe the source level variable,
    not how to get to its location.

(2) It makes it unsafe/hard to update the expressions when we call
    replaceExpression on the DIGLobalVariable.

(3) It makes it impossible to represent a global variable that is in
    more than one location (e.g., a variable with multiple
    DW_OP_LLVM_fragment-s).  We also moved away from attaching the
    DIExpression to DILocalVariable for the same reasons.

This reapplies r289902 with additional testcase upgrades.

<rdar://problem/29250149>
https://llvm.org/bugs/show_bug.cgi?id=31013
Differential Revision: https://reviews.llvm.org/D26769

llvm-svn: 289920
2016-12-16 04:25:54 +00:00
..
alu8.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
atomics.ll [bpf] add BPF disassembler 2016-11-20 02:25:00 +00:00
basictest.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
byval.ll
cc_args_be.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
cc_args.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
cc_ret.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
cmp.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
dwarfdump.ll [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-16 04:25:54 +00:00
ex1.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
fi_ri.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
intrinsics.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
lit.local.cfg
load.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
loops.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
many_args1.ll [BPF] Remove exit-on-error flag in test (PR27766) 2016-05-23 14:57:19 +00:00
many_args2.ll [BPF] Remove exit-on-error flag in test (PR27767) 2016-05-26 15:23:50 +00:00
objdump_atomics.ll [bpf] add BPF disassembler 2016-11-20 02:25:00 +00:00
objdump_intrinsics.ll [bpf] add BPF disassembler 2016-11-20 02:25:00 +00:00
objdump_trivial.ll [bpf] add BPF disassembler 2016-11-20 02:25:00 +00:00
sanity.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
sdiv_error.ll
setcc.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
shifts.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
sockex2.ll convert bpf assembler to look like kernel verifier output 2016-11-18 02:32:35 +00:00
struct_ret1.ll [BPF] Remove exit-on-error from tests (PR27768, PR27769) 2016-05-30 08:28:34 +00:00
struct_ret2.ll [BPF] Remove exit-on-error from tests (PR27768, PR27769) 2016-05-30 08:28:34 +00:00
undef.ll Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2016-12-14 16:43:44 +00:00
vararg1.ll