Files
clang-p2996/llvm/test/CodeGen/BPF
Yonghong Song 8d499bd5bc BPF: change btf_type_tag BTF output format
For the declaration like below:
  int __tag1 * __tag1 __tag2 *g
Commit 41860e602a ("BPF: Support btf_type_tag attribute")
implemented the following encoding:
  VAR(g) -> __tag1 --> __tag2 -> pointer -> __tag1 -> pointer -> int

Some further experiments with linux btf_type_tag support, esp.
with generating attributes in vmlinux.h, and also some internal
discussion showed the following format is more desirable:
  VAR(g) -> pointer -> __tag2 -> __tag1 -> pointer -> __tag1 -> int

The format makes it similar to other modifier like 'const', e.g.,
  const int *g
which has encoding VAR(g) -> PTR -> CONST -> int

Differential Revision: https://reviews.llvm.org/D113496
2021-11-09 11:34:25 -08:00
..
2020-12-03 07:38:00 -08:00
2020-12-03 07:38:00 -08:00
2018-04-03 03:56:37 +00:00
2017-09-18 23:29:36 +00:00
2016-11-20 02:25:00 +00:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2021-05-25 08:19:13 -07:00
2015-01-24 17:51:26 +00:00