Commit c9ff08a7 by Martin Liska Committed by Martin Liska

Enhance documentation of asan-use-after-return param.

	* doc/invoke.texi: Document asan-use-after-return that
	it's disabled by default in runtime.

From-SVN: r240648
parent 68ad1df5
2016-09-30 Martin Liska <mliska@suse.cz>
* doc/invoke.texi: Document asan-use-after-return that
it's disabled by default in runtime.
2016-09-30 Richard Biener <rguenther@suse.de> 2016-09-30 Richard Biener <rguenther@suse.de>
* tree-vrp.c (intersect_ranges): If we failed to handle * tree-vrp.c (intersect_ranges): If we failed to handle
......
...@@ -10034,6 +10034,10 @@ is enabled by default when using @option{-fsanitize=address} option. ...@@ -10034,6 +10034,10 @@ is enabled by default when using @option{-fsanitize=address} option.
To disable use-after-return detection use To disable use-after-return detection use
@option{--param asan-use-after-return=0}. @option{--param asan-use-after-return=0}.
Note: The check is disabled by default at runtime. To enable the check,
you should set environment variable @env{ASAN_OPTIONS} to
@code{detect_stack_use_after_return=1}.
@item asan-instrumentation-with-call-threshold @item asan-instrumentation-with-call-threshold
If number of memory accesses in function being instrumented If number of memory accesses in function being instrumented
is greater or equal to this number, use callbacks instead of inline checks. is greater or equal to this number, use callbacks instead of inline checks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment