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

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 19 20:50:59 PST 2020


dblaikie added a comment.

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

> > Do you have any reason to believe these patches would reduce the size of the debug info? It seems like they only add more debug info, and don't remove anything - so we'd expect an increase in the size, certainly not a decrease. That means, to me, there's probably a mistake in the measurement somehow?
>
> Yes, In clang binary DW_AT_linkage_name attribute is missing for "None" and "__default_lock_policy" two variable because of that size is reduced. For that fixed files are updated.
>  Now size is same with and without D71451 <https://reviews.llvm.org/D71451> and D71599 <https://reviews.llvm.org/D71599>.


that still seems very surprising - this change is specifically intended to add more debug info, is it not? So do you have any ideas/theories as to why that's not showing up in the data?


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

https://reviews.llvm.org/D71451





More information about the cfe-commits mailing list