This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Install sanitizer public headers (fix for PR sanitizer/61100)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Yury Gribov <y dot gribov at samsung dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 May 2014 08:46:03 +0200
- Subject: Re: [PATCH] Install sanitizer public headers (fix for PR sanitizer/61100)
- Authentication-results: sourceware.org; auth=none
- References: <53724493 dot 2070305 at samsung dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, May 13, 2014 at 08:13:07PM +0400, Yury Gribov wrote:
> Asan and Tsan allow sanitized applications to tweak runtime behavior
> via API defined in headers in libsanitizer/include/sanitizer. This
> patch adds installation code for these headers and a small test.
>
> Bootstrapped and regtested on x64.
> libsanitizer/ChangeLog:
>
> 2014-05-13 Yury Gribov <y.gribov@samsung.com>
>
> PR sanitizer/61100
> * Makefile.am (nodist_saninclude_HEADERS): Install
> public headers.
> * Makefile.in: Regenerate.
>
> gcc/testsuite/ChangeLog:
>
> 2014-05-13 Yury Gribov <y.gribov@samsung.com>
>
> PR sanitizer/61100
> * c-c++-common/asan/asan-interface-1.c: New test.
> * lib/asan-dg.exp (asan_include_flags): New function.
> (asan_init): Call asan_include_flags to obtain path
> to sanitizer headers.
Ok.
Jakub