public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes
@ 2014-05-07 17:07 kcc at gcc dot gnu.org
2014-05-08 6:44 ` [Bug sanitizer/61100] " y.gribov at samsung dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: kcc at gcc dot gnu.org @ 2014-05-07 17:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
Bug ID: 61100
Summary: asan/tsan should have the sanitizer includes
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: kcc at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
asan/tsan users may need to use the tool's API that is defined in headers
like <sanitizer/asan_interface.h>
I.e. the directory libsanitizer/include/sanitizer should be installed
together with the rest of the gcc so that <sanitizer/whatever.h> is a valid
include path
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug sanitizer/61100] asan/tsan should have the sanitizer includes
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
@ 2014-05-08 6:44 ` y.gribov at samsung dot com
2014-05-14 8:34 ` ygribov at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: y.gribov at samsung dot com @ 2014-05-08 6:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
Yury Gribov <y.gribov at samsung dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |y.gribov at samsung dot com
--- Comment #1 from Yury Gribov <y.gribov at samsung dot com> ---
Created attachment 32760
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32760&action=edit
Proposed patch
Attaching draft patch (tested only asan.exp). The new test currently fails for
C because of C++-isms in asan_interface.h but this should be fixed with next
merge from LLVM.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug sanitizer/61100] asan/tsan should have the sanitizer includes
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
2014-05-08 6:44 ` [Bug sanitizer/61100] " y.gribov at samsung dot com
@ 2014-05-14 8:34 ` ygribov at gcc dot gnu.org
2014-05-14 8:43 ` y.gribov at samsung dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ygribov at gcc dot gnu.org @ 2014-05-14 8:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
--- Comment #2 from ygribov at gcc dot gnu.org ---
Author: ygribov
Date: Wed May 14 08:33:45 2014
New Revision: 210413
URL: http://gcc.gnu.org/viewcvs?rev=210413&root=gcc&view=rev
Log:
2014-05-14 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/61100
* Makefile.am (nodist_saninclude_HEADERS): Install
public headers.
* Makefile.in: Regenerate.
* 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.
Added:
trunk/gcc/testsuite/c-c++-common/asan/asan-interface-1.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/lib/asan-dg.exp
trunk/libsanitizer/ChangeLog
trunk/libsanitizer/Makefile.am
trunk/libsanitizer/Makefile.in
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug sanitizer/61100] asan/tsan should have the sanitizer includes
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
2014-05-08 6:44 ` [Bug sanitizer/61100] " y.gribov at samsung dot com
2014-05-14 8:34 ` ygribov at gcc dot gnu.org
@ 2014-05-14 8:43 ` y.gribov at samsung dot com
2014-05-14 8:50 ` kcc at gcc dot gnu.org
2014-10-16 13:43 ` ygribov at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: y.gribov at samsung dot com @ 2014-05-14 8:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
--- Comment #3 from Yury Gribov <y.gribov at samsung dot com> ---
Kostya, please check if this works for you. Also you'll probably want to update
the file list in the upcoming patch.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug sanitizer/61100] asan/tsan should have the sanitizer includes
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
` (2 preceding siblings ...)
2014-05-14 8:43 ` y.gribov at samsung dot com
@ 2014-05-14 8:50 ` kcc at gcc dot gnu.org
2014-10-16 13:43 ` ygribov at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kcc at gcc dot gnu.org @ 2014-05-14 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
Kostya Serebryany <kcc at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
Excellent, thank you!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug sanitizer/61100] asan/tsan should have the sanitizer includes
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
` (3 preceding siblings ...)
2014-05-14 8:50 ` kcc at gcc dot gnu.org
@ 2014-10-16 13:43 ` ygribov at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: ygribov at gcc dot gnu.org @ 2014-10-16 13:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61100
--- Comment #5 from ygribov at gcc dot gnu.org ---
Author: ygribov
Date: Thu Oct 16 13:42:48 2014
New Revision: 216322
URL: https://gcc.gnu.org/viewcvs?rev=216322&root=gcc&view=rev
Log:
2014-10-16 Yury Gribov <y.gribov@samsung.com>
Backport from mainline
2014-05-14 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/61100
* Makefile.am (nodist_saninclude_HEADERS): Install
public headers.
* Makefile.in: Regenerate.
* 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.
Added:
branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/asan-interface-1.c
Modified:
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
branches/gcc-4_9-branch/gcc/testsuite/lib/asan-dg.exp
branches/gcc-4_9-branch/libsanitizer/ChangeLog
branches/gcc-4_9-branch/libsanitizer/Makefile.am
branches/gcc-4_9-branch/libsanitizer/Makefile.in
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-16 13:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07 17:07 [Bug sanitizer/61100] New: asan/tsan should have the sanitizer includes kcc at gcc dot gnu.org
2014-05-08 6:44 ` [Bug sanitizer/61100] " y.gribov at samsung dot com
2014-05-14 8:34 ` ygribov at gcc dot gnu.org
2014-05-14 8:43 ` y.gribov at samsung dot com
2014-05-14 8:50 ` kcc at gcc dot gnu.org
2014-10-16 13:43 ` ygribov at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).