This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/19327
> Note that this actually isn't going to make your optimized debug info much
> better anyway, because you are still going to be missing subblocks of
> blocks not marked used (see the PR that led up to the original patch for
> reasons why).
> It just fixes the regression.
> If you want to fix the whole problem, you'd also need to change
> dbxout_block to walk subblocks of blocks not marked used, instead of only
> walking subblocks of blocks marked used as it does now.
OK. But I'm not sure that's worth the pain at this stage of the DBX
> One of the reasons i didn't touch dbxout and do this when i did the same
> to dwarf2out is because i have no heavy stabs using platforms to test it
> on (darwin doesn't seem to break as easily)
Darwin actually sweeps the problems under the rug with -gused (see the