llvm-project/compiler-rt/test/sanitizer_common
Peter Wu c58988a908 [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
2018-05-10 19:02:32 +00:00
..
TestCases [lsan] Try to fix test failure due to compiler optimization 2018-05-10 19:02:32 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
android_commands [sanitizer] Simplify android_run.py. 2017-12-07 01:28:44 +00:00
ios_commands [tsan] Add support for running TSan tests on iOS simulator and devices 2017-07-10 15:00:55 +00:00
CMakeLists.txt Enable sanitizer_common tests on NetBSD 2018-01-18 11:49:45 +00:00
lit.common.cfg FreeBSD sanitizer common, intercept couple of more functions 2018-03-23 21:44:59 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
print_address.h Use 0-padding for i386 and arm print format specifiers 2017-04-12 14:25:28 +00:00