[PATCH] D103549: [POC] Put annotation strings into debuginfo.

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 2 12:41:22 PDT 2021


yonghong-song added a comment.

> As for supporting it in DWARF, probably with a custom attribute (DW_AT_BTF_annotation? (or "LLVM" instead of "BTF" perhaps, I'm not sure)) with a standard form (DW_FORM_strp/strxN/etc - the usual way we emit strings).

This is a good idea. Could you give some pointers where I could add one custom attribute? Does llvm currently have any custom attribute?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103549



More information about the llvm-commits mailing list