dblaikie added a comment.

In D69822#1733226 <https://reviews.llvm.org/D69822#1733226>, @probinson wrote:

> > Want to decouple setting the DWARF version from enabling/disabling 
> > generation of debug info.
>
> Um, why?


If you've got a big build system with various users opting in/out of DWARF and 
you want to migrate to DWARFv5, say, but you can't add "-gdwarf-5" to your 
build system, because that'd turn on debug info in cases that don't need it - 
but it's easier to change the default than to modify all cases that enable 
dwarf across the codebase.

Open to discussion about whether this is a good/bad idea - but it'd be useful 
for Google at least & seemed low-cost enough to go this route.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69822/new/

https://reviews.llvm.org/D69822



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to