[PATCH] D106618: [Clang][LLVM] generate btf_tag annotations for DISubprogram types

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 25 11:31:29 PDT 2021


dblaikie added a comment.

The clang side might benefit from a test with a function declaration, a call to that function, but no definition of it - with optimizations enabled, clang should emit the DISubprogram for that function for the purpose of call site DWARF, I think? (or maybe that behavior got rolled back for now? In which case the nearest thing I can think of/the only other place where we produce DWARF for a declaration would be for a member function declaration in a type DIE - are btf attributes supported there (or are they only supported in C, in which case there's no such thing as a member function)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106618



More information about the cfe-commits mailing list