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

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 23 10:16:05 PDT 2018


dblaikie added a comment.

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

> Maybe `-gno-dwo`? So we would write `-genable-split-dwarf -gno-dwo`?


I'm not sure how everyone else feels about "-g" flags that modify debug behavior (like "-gsplit-dwarf") versus "-f" flags (eg: "-fdebug-types-section"). I kind of personally feel like  "-g" flags are a bit odd & would think -f flags to modify debug info behavior, leaving "-g" mostly to turn on/off debug info (so, -g, -gN, -gmlt, etc - sort of like -O, -ON, -Os, etc).

by that logic -funsplit-split-dwarf ? Mostly goofy suggestion, vaguely trolling @echristo to see if he's got other/better ideas, or clearer feelings/understanding of history around the flag naming conventions (-f, -g, broad naming in general, etc).


https://reviews.llvm.org/D52296





More information about the cfe-commits mailing list