summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/GlobalOpt.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-19 17:50:07 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-19 17:50:07 +0000
commitc7157bfd55dd04788af6abb04d0d2910634a9aa3 (patch)
treeb0464ca530b0bafb52a0b6c7dc4ba4d4efcf64be /llvm/lib/Transforms/IPO/GlobalOpt.cpp
parent2763dc29a513c21107394e87e226aef4195c4d1d (diff)
downloadbcm5719-llvm-c7157bfd55dd04788af6abb04d0d2910634a9aa3.tar.gz
bcm5719-llvm-c7157bfd55dd04788af6abb04d0d2910634a9aa3.zip
[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
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud