summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-15 11:28:48 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-10-15 16:06:05 -0700
commit01340e31915bc73bf33a8f912ff1b74d514b8d79 (patch)
treee808e372f8ec2a039ea6c72650982c6c2abdc295 /tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c
parent62561eb442bd095f06534ce637b116b278e5e912 (diff)
libbpf: Add BPF-side definitions of supported field relocation kinds
Add enum definition for Clang's __builtin_preserve_field_info() second argument (info_kind). Currently only byte offset and existence are supported. Corresponding Clang changes introducing this built-in can be found at [0] [0] https://reviews.llvm.org/D67980 Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191015182849.3922287-5-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c')
0 files changed, 0 insertions, 0 deletions