probinson added a comment.

In D103131#2792364 <https://reviews.llvm.org/D103131#2792364>, @dblaikie wrote:

> I will say, as the person who implemented DW_TAG_imported_declaration support 
> in Clang - it's a bit not great/unfortunate (in part because we currently 
> have to emit them for all using declarations (because clang doesn't track 
> some of the usedness we would need to more selectively emit them), and then 
> we can't reap them in LTO or other optimizations if they are effectively 
> unused) - but such is the way of things.

Yeah, we've been carrying a downstream patch to turn off a lot of 'using' 
declarations, and it has been on my wishlist for a long time to get used-ness 
info in there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103131

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

Reply via email to