[PATCH] D18565: Implement an "I'm dtrace, please retain all debug types" option.

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 29 12:00:24 PDT 2016


On Tue, Mar 29, 2016 at 06:47:24PM +0000, Adrian Prantl via cfe-commits wrote:
> This code in this patch listens to the driver option -gfull, and lowers it to the new cc1 option -debug-retain-types (1).
> When -debug-retain-types is present, CGDebugInfo will retain every(2) type it creates.

Is there a good reason for calling it -gfull? I would find something
-gall-types or -gretain-all-types to make a lot more sense. This should
be orthogonal to other options like providing only line tables?

Joerg

PS: Slightly related side question, do we have any tools for extracting
a given list of types for retaining? Either by name or global variable
expression.


More information about the cfe-commits mailing list