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

Alexei Starovoitov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 2 16:38:21 PDT 2021


ast added a comment.

> Yep LLVM does have some custom attributes and such, eg: https://github.com/llvm/llvm-project/blob/effb87dfa810a28e763f914fe3e6e984782cc846/llvm/include/llvm/BinaryFormat/Dwarf.def#L592

This is great insight! That should work. We need to make sure that DW_AT_LLVM_annotation in structure/field/func/argument/variable won't confuse gdb and such.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103549



More information about the cfe-commits mailing list