llvm-project/llvm/test/CodeGen/BPF/BTF
Yonghong Song d46a6a9e68 [BPF] Remove relocation for patchable externs
Previously, patchable extern relocations are introduced to patch
external variables used for multi versioning in
compile once, run everywhere use case. The load instruction
will be converted into a move with an patchable immediate
which can be changed by bpf loader on the host.

The kernel verifier has evolved and is able to load
and propagate constant values, so compiler relocation
becomes unnecessary. This patch removed codes related to this.

Differential Revision: https://reviews.llvm.org/D68760

llvm-svn: 374367
2019-10-10 15:33:09 +00:00
..
array-1d-char.ll
array-1d-int.ll
array-2d-int.ll
array-size-0.ll [BPF] Generate array dimension size properly for zero-size elements 2019-09-24 22:38:43 +00:00
array-typedef.ll
binary-format.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
char-no-debuginfo.ll
char.ll
empty-btf.ll
enum-basic.ll
extern-global-var.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
filename.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-func-ptr.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-non-void.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-source.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-typedef.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-unused-arg.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
func-void.ll [BPF] Remove relocation for patchable externs 2019-10-10 15:33:09 +00:00
fwd-no-define.ll
fwd-with-define.ll
global-var-inited.ll
global-var-sec-readonly.ll
global-var-sec.ll
int.ll
local-var.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
longlong.ll
map-def.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
ptr-const-void.ll
ptr-func-1.ll
ptr-func-2.ll
ptr-func-3.ll
ptr-int.ll
ptr-prune-type.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
ptr-void.ll
ptr-volatile-const-void.ll
ptr-volatile-void.ll
restrict-ptr.ll
short.ll
static-var-derived-type.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-inited-sec.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-inited.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-readonly-sec.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-readonly.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-sec.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var-zerolen-array.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
static-var.ll [BPF] Support for compile once and run everywhere 2019-07-09 15:28:41 +00:00
struct-anon.ll
struct-basic.ll
struct-bitfield-typedef.ll
struct-enum.ll
uchar.ll
uint.ll
ulonglong.ll
union-array-typedef.ll
ushort.ll