diff options
author | Jay Foad <jay.foad@gmail.com> | 2014-11-25 07:56:04 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2014-11-25 07:56:04 +0000 |
commit | 0160570a0f4f460cf5df5afd1123785aae416fde (patch) | |
tree | f39cbefdcc40568eb109fa45bc9da3d99a1420b2 /llvm/lib/Analysis/Loads.cpp | |
parent | e335fd343e92e76d0182096f9b1f369c045ffff6 (diff) | |
download | bcm5719-llvm-0160570a0f4f460cf5df5afd1123785aae416fde.tar.gz bcm5719-llvm-0160570a0f4f460cf5df5afd1123785aae416fde.zip |
[ASan] Fix leak tests on 64-bit targets other than x86-64 (take two)
Summary:
First, remove lit configuration that sets ASAN_OPTIONS to detect_leaks=1
because this is already the default when leak detection is supported.
This removes a bit of duplication between various lit.cfg files.
Second, add a new feature 'leak-detection' if we're targetting x86_64
(not i386) on Linux.
Third, change a couple of tests that need leak detection to require the
new 'leak-detection' feature.
Reviewers: kcc, earthdok, samsonov
Reviewed By: samsonov
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6396
llvm-svn: 222738
Diffstat (limited to 'llvm/lib/Analysis/Loads.cpp')
0 files changed, 0 insertions, 0 deletions