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

David Blaikie dblaikie at gmail.com
Sat Mar 21 14:24:32 PDT 2015


On Sat, Mar 21, 2015 at 1:30 PM, Paul Robinson <
Paul_Robinson at playstation.sony.com> 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/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150321/94edff50/attachment.html>


More information about the cfe-commits mailing list