[PATCH] Switch ASan to use ThreadRegistry from sanitizer_common.
Alexey Samsonov
samsonov at google.com
Thu Mar 21 02:46:53 PDT 2013
================
Comment at: lib/asan/asan_report.cc:333
@@ +332,3 @@
+ asanThreadRegistry().CheckLocked();
+ AsanThreadContext *t = static_cast<AsanThreadContext*>(
+ asanThreadRegistry().GetThreadLocked(tid));
----------------
Kostya Serebryany wrote:
> can you get rid of these ugly static casts?
> perhaps by overriding GetThreadLocked to return a proper type.
Done
http://llvm-reviews.chandlerc.com/D555
More information about the llvm-commits
mailing list