http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
Maxim Ostapenko changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
--- Comment #5 from Jakub Jelinek ---
Author: jakub
Date: Tue Feb 4 10:46:22 2014
New Revision: 207459
URL: http://gcc.gnu.org/viewcvs?rev=207459&root=gcc&view=rev
Log:
PR sanitizer/60055
* tsan/tsan_flags.cc (__tsan_default_options): Ad
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
--- Comment #4 from Maxim Ostapenko ---
(In reply to Dmitry Vyukov from comment #3)
> Hi,
>
> Does this work for you
> http://llvm.org/viewvc/llvm-project?view=revision&revision=200747
> ?
>
> These callbacks are intended for very specific usage
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
Dmitry Vyukov changed:
What|Removed |Added
CC||dvyukov at google dot com
--- Comment #3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
--- Comment #2 from Jakub Jelinek ---
Shouldn't __tsan::OnFinalize also have SANITIZER_INTERFACE_ATTRIBUTE ?
__tsan::OnReport does have it.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
--- Comment #1 from chefmax at gcc dot gnu.org ---
Created attachment 32034
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32034&action=edit
Proposed patch
Attached patch seems to fix the bug.
$ readelf -s ~/gcc-master-install/lib64/libtsan.