tsan: run user OnInitialize callback later
commitbc7dfbb3b1fe5415374023cfc17d7ff22e57d8f8
authorDmitry Vyukov <dvyukov@google.com>
Fri, 7 Feb 2014 09:28:57 +0000 (7 09:28 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 7 Feb 2014 09:28:57 +0000 (7 09:28 +0000)
treecaf734ffa2e439a0aa23a9c245dd925719db4c23
parent2d25e54a03cbde0015a56bdbabc4bcf667182c0d
tsan: run user OnInitialize callback later
when global and thread state are initialized,
this allows to do more things in the callback.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/tsan/rtl/tsan_rtl.cc