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

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 1 10:27:33 PDT 2018


probinson added a comment.

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?  So I would suggest: `-fdwarf-fission[={split,single}]` where the parameter defaults to `split`. Is there any particular value in having two separate options?


https://reviews.llvm.org/D52296





More information about the cfe-commits mailing list