[PATCH] D52296: [Clang] - Add -gsingle-file-split-dwarf option.

Eric Christopher via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 5 09:45:40 PST 2018


echristo added a comment.

In https://reviews.llvm.org/D52296#1285328, @grimar wrote:

> In https://reviews.llvm.org/D52296#1284130, @probinson wrote:
>
> > In https://reviews.llvm.org/D52296#1283691, @grimar wrote:
> >
> > > Nice :) 
> > >  So seems the last unresolved question left is the naming of the new option?
> > >  If we do not want to go with `-gsingle-file-split-dwarf` then what it should be?
> > >
> > > What about `-fdebug-fission` as an alias for `-gsplit-dwarf`.
> > >  And `-fsingle-file-debug-fission` for the new option?
> > >
> > > Or, may be:
> > >
> > > `-fdebug-fission` for the new option and then
> > >  `-fdebug-fission -fdebug-split-dwo` would work together as `-gsplit-dwarf`?
> >
> >
> > Only DWARF supports this, correct?
>
>
> I am not aware of any kind of debug information splitting except DWARF splitting.
>
> > So I would suggest: `-fdwarf-fission[={split,single}]` where the parameter defaults to `split`. Is there any particular value in having two separate options?
>
> Probably not. `-fdwarf-fission[={split,single}]` sounds good for me.


Still not sure I understand the point, but this option and the alias sounds good to me.

Thanks.

-eric


https://reviews.llvm.org/D52296





More information about the cfe-commits mailing list