Skip to content
Commit b8a195dc authored by Andrii Nakryiko's avatar Andrii Nakryiko
Browse files

libbpf: add bpf_core_type_matches() helper macro

This patch finalizes support for the proposed type match relation in libbpf by
adding bpf_core_type_matches() macro which emits TYPE_MATCH relocation.

Clang support for this relocation was added in [0].

  [0] https://reviews.llvm.org/D126838



Signed-off-by: default avatarDaniel Müller <deso@posteo.net&gt;¬>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org&gt;¬>
Link: https://lore.kernel.org/bpf/20220628160127.607834-7-deso@posteo.net¬
parent ec6209c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment