[ASan] Fix leak tests on 64-bit targets other than x86-64
authorJay Foad <jay.foad@gmail.com>
Sat, 15 Nov 2014 23:00:14 +0000 (23:00 +0000)
committerJay Foad <jay.foad@gmail.com>
Sat, 15 Nov 2014 23:00:14 +0000 (23:00 +0000)
commit83c97c69979eaa1b5e0bf4d28659c15052339184
treed1b1357fe8c41727dca16331499443c1fea0e03b
parente13a0b81f416e3e5353e5c72e06db9a9171adc82
[ASan] Fix leak tests on 64-bit targets other than x86-64

Summary:
This test explicitly sets ASAN_OPTIONS=detect_leaks=1 which is only
supported on x86-64. The test is currently restricted to run only on
64-bit targets, but needs to be restricted further so it only runs on
x86-64.

Reviewers: kcc, eugenis, earthdok, samsonov

Reviewed By: samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6189

llvm-svn: 222091
compiler-rt/test/asan/TestCases/Linux/coverage-and-lsan.cc
compiler-rt/test/asan/TestCases/Linux/leak.cc
compiler-rt/test/asan/lit.cfg