[asan] Fix Win64 test portability issues
authorReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:04:34 +0000 (21:04 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:04:34 +0000 (21:04 +0000)
commit1558a2f3ee5a8e7e5cf0c9206c743148cafe2a9a
treecddd0f9b180da213a17bcd07d9e8f3e06a0f11de
parent825a8687965251eb6c8987905e56f4d015d9df88
[asan] Fix Win64 test portability issues

The OOM test should really only run on 32-bits, since it's hard to OOM
on x64.

The operator_array_new_with_dtor_left_oob tests need to account for the
larger array cookie on x64 (8 bytes instead of 4).

Use -std=c++14 in use-after-scope-capture.cc to avoid errors in the MSVC
2015 STL on Windows. The default there is C++14 anyway.

llvm-svn: 276332
compiler-rt/test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cc
compiler-rt/test/asan/TestCases/Windows/oom.cc
compiler-rt/test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cc
compiler-rt/test/asan/TestCases/use-after-scope-capture.cc