30 years of delivering enterprise software tells me this:
If a switch you don't claim to support does nothing, nobody will complain. 
(Unless they're looking for an excuse to jerk your chain.)
If a switch you don't claim to support says "sorry, that switch is not 
supported" nobody will complain, period.
If a switch you don't claim to support says "program not executable" you WILL 
hear about it.

I'd be happiest with the second case, and fine with the first case. The third 
case is unacceptable.
--paulr

From: [email protected] [mailto:[email protected]] 
On Behalf Of David Blaikie
Sent: Saturday, March 21, 2015 2:25 PM
To: [email protected]
Cc: llvm cfe
Subject: Re: [PATCH] Allow -gsplit-dwarf for all ELF targets, not just Linux



On Sat, Mar 21, 2015 at 1:30 PM, Paul Robinson 
<[email protected]<mailto:[email protected]>> 
wrote:
In http://reviews.llvm.org/D8484#144547, @emaste wrote:

> In http://reviews.llvm.org/D8484#144353, @probinson wrote:
>
> > Please disable this for PS4?  Our toolchain isn't ready to support this.
>
>
> Presumably you wouldn't pass -gsplit-dwarf to clang when building for PS4 
> though?


*I* wouldn't, but licensees love to try stuff out even if we don't claim it
works.  Currently, adding -gsplit-dwarf to a command line silently has
no effect.  With your patch, I get:

clang.exe: error: unable to execute command: program not executable

which will inevitably cause a support call and cost us time and effort.
I'd prefer to preserve the "silently has no effect" behavior, at least until

Seems that'd be likely to cause a support call too - but in any case, I'll 
advocate for some error, any error, rather than silently ignoring the flag.

we are able to support this properly.


http://reviews.llvm.org/D8484

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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to