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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to