[PATCH] D71451: Support to emit extern variables debuginfo with "-fstandalone-debug"

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 15:00:51 PST 2019


dblaikie added a comment.

In D71451#1787729 <https://reviews.llvm.org/D71451#1787729>, @Jac1494 wrote:

> In D71451#1786517 <https://reviews.llvm.org/D71451#1786517>, @dblaikie wrote:
>
> > Do you have any particular users/use case for this?
>
>
> A case when shared library built without debug  info 
>  and executable with debug info. And while debugging we want to know the types of extern.


OK - I was/am trying to clarify you have a particular user/need for this, since no one's had one for many years, so I'm just slightly surprised.

@aprantl - you folks might want to check what the growth of this is like since apple platforms defaults to standalone-debug.
@Jac1494 - have you made any measurements of the size increase of this change? Perhaps a self-host build of clang?


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

https://reviews.llvm.org/D71451





More information about the cfe-commits mailing list