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

George Rimar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 2 04:12:17 PDT 2018


grimar added a comment.

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.


https://reviews.llvm.org/D52296





More information about the cfe-commits mailing list