Skip to content

support for DW_TAG_GNU_annotation and fixes

Vineet Gupta bpf dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest5 patches 10 repliesIn review

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btf_loader: Handle decl tag component_idx for parametersbtf_loader.c dwarves_fprintf.c+61 -54 replies
2/5dwarf_loader: Extract die__add_btf_type_tag() helper [NFC]dwarf_loader.c+34 -240 replies
3/5dwarf_loader: Add support for DW_TAG_GNU_annotationbtf_encoder.c dutil.h dwarf_loader.c +2 more+141 -260 replies
4/5tests: Support GCC in pfunct-btf-decl-tags testtests/pfunct-btf-decl-tags.sh+70 -230 replies
5/5tests: Add btf_type_tag ordering testtests/btf_type_tag_order.sh+179 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchYonghong SongEmil TsalapatisArnaldo Carvalho de Melo
1/5R-b A-b
2/5A-b R-b
3/5A-b R-b
4/5A-b R-b
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PAHOLE v5 0/5] support for DW_TAG_GNU_annotation and fixes

Hi,

This series handles gcc generated DW_TAG_GNU_annotation with the end goal to finally enable CONFIG_PAHOLE_HAS_BTF_TAG for gcc kerenel builds.

Patches 1/5 and 5/5 are newly introduced in v5 per Alan's ask.

P.S.: I've optimistically included Reviewed-by/Acked-by from Emil and Yonghong respectively on v4 [4] but those were before additional changes in v5 from Alan for a few things. Please let me know if that's no longer true.

[4] https://lore.kernel.org/bpf/[email protected]/

Thx,
-Vineet

Alan Maguire (2):
btf_loader: Handle decl tag component_idx for parameters
tests: Add btf_type_tag ordering test

Vineet Gupta (3):
dwarf_loader: Extract die__add_btf_type_tag() helper [NFC]
dwarf_loader: Add support for DW_TAG_GNU_annotation
tests: Support GCC in pfunct-btf-decl-tags test

 btf_encoder.c                 |   1 +
 btf_loader.c                  |  46 ++++++++-
 dutil.h                       |  11 ++
 dwarf_loader.c                | 185 +++++++++++++++++++++++++++-------
 dwarves.h                     |   2 +-
 dwarves_fprintf.c             |  32 ++++--
 tests/btf_type_tag_order.sh   | 179 ++++++++++++++++++++++++++++++++
 tests/pfunct-btf-decl-tags.sh |  93 ++++++++++++-----
 8 files changed, 478 insertions(+), 71 deletions(-)
 create mode 100755 tests/btf_type_tag_order.sh
Signature · 1 line
2.54.0