[PATCH] Allow -gsplit-dwarf for all ELF targets, not just Linux

Paul Robinson Paul_Robinson at playstation.sony.com
Mon Mar 23 21:10:52 PDT 2015


In http://reviews.llvm.org/D8484#145724, @joerg wrote:

> Well, in this case I would prefer to black list systems that want to ignore the option. I think that's a far better approach.


A black list that excluded PS4 or a white list that didn't include PS4 would be equally fine.
Emitting the "not supported for this target" diagnostic would be gravy.

> While I don't agree with the reasoning of the PS4 guys, I can understood the pain. But it should be applied to other systems as it violates POLA.


Not clear what "it" you are referring to here.  But a diagnostic that says "program not executable" seems more astonishing than either of the alternatives.


http://reviews.llvm.org/D8484

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list