This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h


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. :(


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]