summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-03-22 21:28:09 +0000
committerEric Fiselier <eric@efcs.ca>2018-03-22 21:28:09 +0000
commit107d6d684539a034c6ab3a1ae915179c5bbde8ba (patch)
tree1f7689bd71145d5448f9917ba8ca589ec742efde /llvm/lib/IR/AsmWriter.cpp
parent29a21bab087dbb2c8c7e815f4816c4d5356361f9 (diff)
downloadbcm5719-llvm-107d6d684539a034c6ab3a1ae915179c5bbde8ba.tar.gz
bcm5719-llvm-107d6d684539a034c6ab3a1ae915179c5bbde8ba.zip
Use DoNotOptimize to prevent new/delete elision.
The new/delete tests, in particular those which test replacement functions, often fail when the optimizer is enabled because the calls to new/delete may be optimized away, regardless of their side-effects. This patch converts the tests to use DoNotOptimize in order to prevent the elision. llvm-svn: 328245
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud