[tsan] Replace new/delete with a local variable in ThreadSpecificDtors unit test
[tsan] Replace new/delete with a local variable in ThreadSpecificDtors unit test

On OS X, this unit test (ThreadSpecificDtors) fails, because the new and delete operators actually call the overridden operators, which end up using TLVs and crash. Since C++'s new and delete is not important in this test, let's just replace them with a local variable. This fixes the test on OS X.

Differential Revision: http://reviews.llvm.org/D14826



git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@253583 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt