This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Nov 2013 18:55:27 +0000
- Subject: [Bug sanitizer/59215] tsan: warning in shared_ptr_base.h
- Auto-submitted: auto-generated
- References: <bug-59215-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215
--- Comment #13 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
(In reply to Oleg Smolsky from comment #12)
> Hey Kostya, should I try suppressing the report using the function name?
> Would it work in optimized builds that have inlining?
Excellent question!
If you build with -g (at least with clang; -gline-tables-only is ok too)
our symbolizer (llvm-symbolizer) is able to recognize the inlined frame
and then the suppression should work even if the function got inlined.
But this is sort or fragile -- I still don't believe it works :)
And it won't work w/o debug info or if debug info is broken for any reason.
So the best solution is still to fix the libstdc++ code. :(