[PATCH] If the user requested a zero-base-shadow sanitizer, infer -pie and -fPIC when appropriate.

Peter Collingbourne peter at pcc.me.uk
Fri Mar 29 17:27:41 PDT 2013


On Sat, Mar 23, 2013 at 06:39:07PM +0400, Alexander Potapenko wrote:
> On Mar 22, 2013 10:45 PM, "Peter Collingbourne" <peter at pcc.me.uk> wrote:
> >
> > On Tue, Mar 12, 2013 at 02:02:56AM -0700, Dmitri Gribenko wrote:
> > >
> > >   Could you please explicitly mention in the documentation of each
> sanitizer that -pie is implicitly added?
> >
> > I would consider these flags more of an implementation detail that
> > doesn't need to be mentioned in the documentation.
> But these implicit flags may interfere with the user-supplied ones, may not
> they?

OK, I guess it's possible in some edge cases.  New patch uploaded.

Thanks,
-- 
Peter



More information about the cfe-commits mailing list