Recently the GCD tests started failing because of the invalid size of
authorKostya Serebryany <kcc@google.com>
Fri, 16 Dec 2011 19:13:35 +0000 (19:13 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 16 Dec 2011 19:13:35 +0000 (19:13 +0000)
commit6bb2f1d5b542a0fef88c841a12ff46e8a4877ca2
treebff245f7166a2c8c66461ed355b9d20ee063e91f
parent5af144809e4774c22aa22e3c9a3d230594b53f43
Recently the GCD tests started failing because of the invalid size of
FakeStack on the worker threads.
This patch moves the AsanThread initialization into a separate
procedure that's called when AsanThread objects are called for worker
threads.
Patch by glider@google.com

llvm-svn: 146752
compiler-rt/lib/asan/asan_mac.cc
compiler-rt/lib/asan/asan_thread.cc
compiler-rt/lib/asan/asan_thread.h