[PATCH] Allow overriding -split-dwarf-file

Reid Kleckner rnk at google.com
Mon Apr 14 17:39:19 PDT 2014

On Fri, Apr 11, 2014 at 2:12 PM, Eric Christopher <echristo at gmail.com>wrote:

> On Fri, Apr 4, 2014 at 9:07 AM, Lubos Lunak <l.lunak at centrum.cz> wrote:
> >> > -Xclang and the underlying driver arguments aren't really a
> >> > stable/guaranteed interface. I'd be more inclined to accept this
> >> > change if it were just for some debugging, but since it sounds like
> >> > you want to rely on it, it's good for us to understand the goal and
> >> > perhaps suggest or provide the best way of achieving it long-term.
> >
> >  It's stable/guaranteed enough for me, and I'd rather have a clean
> solution
> > that maybe breaks one day than something hackish the whole time.
> >
> I'm guessing you mean that the actual output file name differs? I.e.
> some sort of temporary cached file ala ccache that doesn't have the
> same name as the file that you've just compiled? The directory ends up
> being the same here (or can be set with, as you surmised
> -fdebug-compilation-dir).
> If so, I don't mind an option to set here necessarily, but would like
> to see it plumbed through and not rely on Xclang options.

(Reading email backlog...)

Can we just bubble up a driver option for this?  I bet we'd take a patch
for that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140414/a8af222d/attachment.html>

More information about the cfe-commits mailing list