BPF: rename BTF_KIND_TAG to BTF_KIND_DECL_TAG
authorYonghong Song <yhs@fb.com>
Tue, 12 Oct 2021 00:11:22 +0000 (17:11 -0700)
committerYonghong Song <yhs@fb.com>
Tue, 12 Oct 2021 04:33:39 +0000 (21:33 -0700)
commit1321e47298c722de9d2afe0e28d7122fa20e61bf
tree1edd524928f448216ed1332098643c1097c5b625
parentf7de6962c85b037ba030e4bd58ea1216c9031c17
BPF: rename BTF_KIND_TAG to BTF_KIND_DECL_TAG

Per discussion in https://reviews.llvm.org/D111199,
the existing btf_tag attribute will be renamed to
btf_decl_tag. This patch updated BTF backend to
use btf_decl_tag attribute name and also
renamed BTF_KIND_TAG to BTF_KIND_DECL_TAG.

Differential Revision: https://reviews.llvm.org/D111592
llvm/lib/Target/BPF/BTF.def
llvm/lib/Target/BPF/BTF.h
llvm/lib/Target/BPF/BTFDebug.cpp
llvm/lib/Target/BPF/BTFDebug.h
llvm/test/CodeGen/BPF/BTF/tag-1.ll
llvm/test/CodeGen/BPF/BTF/tag-2.ll