[PATCH] D18477: Drop debug info for DISubprograms that are not referenced by anything
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 12:41:11 PDT 2016
On Fri, Mar 25, 2016 at 12:33 PM, Adrian Prantl via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> aprantl added a comment.
> Digging further through the commit (and radar) history this feature has
> been added to support dtrace.
> Instead of having everyone pay for this, I think it would be a more
> appropriate resolution for this to add something like a -gfull option to
> clang that retains every type in the compile unit.
Possibly - but is that what dtrace needs? It'll be a /lot/ of debug info...
but yeah, having some filtering flags (with the default being what you are
going for in this patch - if it's referenced by live code, we include it
(types, subprograms, etc)).
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits