This is an archive of the discontinued LLVM Phabricator instance.

BPF: emit BTF_KIND_DECL_TAG for typedef types
ClosedPublic

Authored by yonghong-song on Oct 21 2021, 11:51 AM.

Details

Summary

If a typedef type has attribute((btf_decl_tag("str"))) with
bpf target, emit BTF_KIND_DECL_TAG for that type in the BTF.

Diff Detail

Event Timeline

yonghong-song created this revision.Oct 21 2021, 11:51 AM
yonghong-song requested review of this revision.Oct 21 2021, 11:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2021, 11:51 AM
ast accepted this revision.Oct 21 2021, 11:52 AM
This revision is now accepted and ready to land.Oct 21 2021, 11:52 AM
This revision was landed with ongoing or failed builds.Oct 21 2021, 12:10 PM
This revision was automatically updated to reflect the committed changes.