[PATCH] D106614: [Clang] add btf_tag attribute

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 28 21:05:25 PDT 2021


yonghong-song added a comment.

> This currently has no codegen, so it only adds the attribute to the AST and does nothing with it. Can you also add the codegen components to this patch?

The code patches to generate IR are below:

  https://reviews.llvm.org/D106620 (generate btf_tag annotations for func parameters)
  https://reviews.llvm.org/D106619 (generate btf_tag annotations for DIGlobalVariable)
  https://reviews.llvm.org/D106618 (generate btf_tag annotations for DISubprogram types)
  https://reviews.llvm.org/D106616 (generate btf_tag annotations for DIDerived types)
  https://reviews.llvm.org/D106615 (generate btf_tag annotations for DIComposite types)

The dwarf generation patch:

  https://reviews.llvm.org/D106621 (Support new TAG DW_TAG_LLVM_annotation)

In one of my early PIC patches, David Blaikie suggested to break into manageable pieces
for review and that is why I have multiple patches instead of one giant one. Please let
me know if you have better suggestions.

     


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106614/new/

https://reviews.llvm.org/D106614



More information about the cfe-commits mailing list