| commit | f58f998066db0231e521169d2f50af439ceecb49 | [log] [tgz] |
|---|---|---|
| author | Kostya Serebryany <kcc@google.com> | Tue Feb 07 00:27:15 2012 +0000 |
| committer | Kostya Serebryany <kcc@google.com> | Tue Feb 07 00:27:15 2012 +0000 |
| tree | 3056f52f4b0a2a9c6cc1d4393c968d86e67cf573 | |
| parent | 5ea4a76f88675993cd0c1cf73b1b5924ae7f6599 [diff] [blame] |
[asan] make sure the AsanThread object is destroyed if pthread_exit is called git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149940 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_internal.h b/lib/asan/asan_internal.h index 713f17c..041fa3d 100644 --- a/lib/asan/asan_internal.h +++ b/lib/asan/asan_internal.h
@@ -129,7 +129,7 @@ int AtomicInc(int *a); // Wrapper for TLS/TSD. -void AsanTSDInit(); +void AsanTSDInit(void (*destructor)(void *tsd)); void *AsanTSDGet(); void AsanTSDSet(void *tsd);