diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-06-29 20:28:55 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-06-29 20:28:55 +0000 |
commit | a522d7328d0e46cc82e007890ae549241618ef0e (patch) | |
tree | 7309748d389fb438a2e9d0f90dc7d71fc61c9994 /lib/msan/msan_thread.cc | |
parent | 17550a3687af0cf22a9de1fe9de366669de111a3 (diff) |
[asan] Fix SanitizerCommon.PthreadDestructorIterations test on Android L.
On Android L, TSD destructors run 8 times instead of 4.
Back to 4 times on the current master branch (as well as on K).
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@240992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_thread.cc')
-rw-r--r-- | lib/msan/msan_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_thread.cc b/lib/msan/msan_thread.cc index e15a247c6..0ba499350 100644 --- a/lib/msan/msan_thread.cc +++ b/lib/msan/msan_thread.cc @@ -14,7 +14,7 @@ MsanThread *MsanThread::Create(thread_callback_t start_routine, MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); thread->start_routine_ = start_routine; thread->arg_ = arg; - thread->destructor_iterations_ = kPthreadDestructorIterations; + thread->destructor_iterations_ = GetPthreadDestructorIterations(); return thread; } |