summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-05-10 19:02:32 +0000
committerPeter Wu <peter@lekensteyn.nl>2018-05-10 19:02:32 +0000
commitc58988a9086f496177724e4c1d0277386a2ac011 (patch)
tree1c40a91969e0aff883db2027e901a399e06fbe9f /clang/lib/Frontend/ModuleDependencyCollector.cpp
parente28faed768aced512dd0679a3ef37c3c59c59f35 (diff)
downloadbcm5719-llvm-c58988a9086f496177724e4c1d0277386a2ac011.tar.gz
bcm5719-llvm-c58988a9086f496177724e4c1d0277386a2ac011.zip
[lsan] Try to fix test failure due to compiler optimization
Summary: The SanitizerCommon-lsan-x86_64-Linux test failed due to the address of the very first allocation ending up in the stack through "delete[]". Workaround this by performing another allocation. The issue was only present with optimization enabled, the test would pass with -O0. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D46650 llvm-svn: 332020
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud