[PATCH] Support asan-instrumentation-with-call-threshold in GCC

Jakub Jelinek jakub@redhat.com
Mon May 26 16:45:00 GMT 2014


On Mon, May 26, 2014 at 08:31:39PM +0400, Yury Gribov wrote:
> >>* asan_negative_params_1.diff - support for negative parameters
> >
> >I don't like this.  Why do you need it?
> 
> That's only for compatibility with LLVM. I know that's not usually
> considered an argument in gcc-patches but things like this would
> surely make developer's life harder.

llvm doesn't support --param, does it?  So it is a different option
anyway, if you want to tweak it in Makefiles (usually you don't),
you need different cases for the two compilers,
so I don't see how it would make developer's life harder.
Negative values are special for all the params machinery for
bounds checking of the values.

	Jakub



More information about the Gcc-patches mailing list