Skip to content
Commit c7157bfd authored by Kuba Brecka's avatar Kuba Brecka
Browse files

[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

llvm-svn: 253583
parent 2763dc29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment