[PATCH] D103131: support debug info for alias variable

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 2 08:08:35 PDT 2021


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



More information about the cfe-commits mailing list