[cfe-dev] Optionally suppress debug info for inlined calls?

David Blaikie dblaikie at gmail.com
Mon Nov 25 11:01:50 PST 2013


Why do you want to turn this off?

Is it buggy? Could we fix it?
Is it too big? Could we reduce size in ways that are strict-wins instead?


On Mon, Nov 25, 2013 at 10:57 AM, Robinson, Paul <
Paul_Robinson at playstation.sony.com> wrote:

> In general on our platform we don't want debug info for inlined calls
> (messy, awkward things) but some people still like to see them.  Currently
> we turn them off unconditionally in our private tree, but we'd like to put
> this under command-line control and send it upstream.  Does anyone mind if
> I do this?  I was thinking a command-line option along the lines of
>       -g[no-]inlined-scopes
> We'd default to No on our target, Yes everywhere else.  If you turn these
> off, you don't get DW_TAG_inlined_scope, and the source location info for
> all the inlined code becomes the call site (single-stepping would act like
> it's an external call that you step over).
>
> Thanks,
> --paulr
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131125/9fa1f9ab/attachment.html>


More information about the cfe-dev mailing list