http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238

Cary Coutant <ccoutant at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at gcc dot gnu.org

--- Comment #4 from Cary Coutant <ccoutant at gcc dot gnu.org> ---
There's no reason to expect that -gdwarf-4 will automatically get you an
indirect string here -- DW_FORM_strp was just as valid in DWARF 2 and 3 as it
is in DWARF 4. Here the assembler is simply making the choice to put the string
inline. I'm not sure if that's because there's no support for indirect strings
at all in the assembler or because it doesn't expect the comp_dir string to be
duplicated.

I think what you're really asking for is to have the assembler generate
indirect strings. That can be done without upgrading to DWARF 4.

While I do agree that the assembler ought to be able to generate DWARF 4 by
now, for the kind of debug output that the assembler generates, I don't think
it's really all that important.

-cary

Reply via email to