[lsan] Use a more standard-conformant sched_yield() instead of pthread_yield().
authorAlexander Potapenko <glider@google.com>
Mon, 21 Jul 2014 13:01:06 +0000 (13:01 +0000)
committerAlexander Potapenko <glider@google.com>
Mon, 21 Jul 2014 13:01:06 +0000 (13:01 +0000)
commit4789f63bf31e82c8137b1cdcd98949beadcf52df
treefed98ce239cad884f8f837afaf1c872d0cc6cf41
parent6c078a596051f4e9b7f2778065f83e02c9e852b9
[lsan] Use a more standard-conformant sched_yield() instead of pthread_yield().
There's no pthread_yield() on OSX (only sched_yield() and pthread_yield_np()).

llvm-svn: 213516
compiler-rt/test/lsan/TestCases/use_registers.cc
compiler-rt/test/lsan/TestCases/use_stacks_threaded.cc