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.
Details
Details
- Reviewers
kcc glider dvyukov samsonov - Commits
- rGc7157bfd55dd: [tsan] Replace new/delete with a local variable in ThreadSpecificDtors unit test
rCRT253583: [tsan] Replace new/delete with a local variable in ThreadSpecificDtors unit test
rL253583: [tsan] Replace new/delete with a local variable in ThreadSpecificDtors unit test
Diff Detail
Diff Detail