[PATCH 10/10] Import the asan runtime library into GCC tree

Diego Novillo dnovillo@google.com
Tue Nov 6 17:41:00 GMT 2012


On 2012-11-02 16:10 , Dodji Seketeli wrote:

>          * configure.ac: Add libsanitizer to target_libraries.
> 	* Makefile.def: Ditto.
> 	* configure: Regenerate.
> 	* Makefile.in: Regenerate.
> 	* libsanitizer: New directory for asan runtime.  Contains an empty
> 	tsan directory.
>
> gcc:
> 	* gcc.c (LINK_COMMAND_SPEC): Add -lasan to link command
> 	if -faddress-sanitizer is on.

OK with Jakub's comments addressed.

References to -fasan in diagnostics should be replaced.  But there's 
been another flag name change upstream, so let's do it together with the 
new flag names.


Diego.



More information about the Gcc-patches mailing list