aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-10-17 21:26:15 -0700
committerYonghong Song <yhs@fb.com>2021-11-04 17:01:36 -0700
commit41860e602aaa94556ba996fae7b8baa268e25096 (patch)
tree225359c7e4ddb96b6c8b81f9299066a088c6f892 /llvm/lib/IR/Module.cpp
parent07a029c0577864827bad472364145844dfaf2d24 (diff)
downloadllvm-41860e602aaa94556ba996fae7b8baa268e25096.zip
llvm-41860e602aaa94556ba996fae7b8baa268e25096.tar.gz
llvm-41860e602aaa94556ba996fae7b8baa268e25096.tar.bz2
BPF: Support btf_type_tag attribute
A new kind BTF_KIND_TYPE_TAG is defined. The tags associated with a pointer type are emitted in their IR order as modifiers. For example, for the following declaration: int __tag1 * __tag1 __tag2 *g; The BTF type chain will look like VAR(g) -> __tag1 --> __tag2 -> pointer -> __tag1 -> pointer -> int In the above "->" means BTF CommonType.Type which indicates the point-to type. Differential Revision: https://reviews.llvm.org/D113222
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions