- add XFAIL/UNSUPPORTED annotations for tests run wtih real MSVC - macroify usages of clang-specific attributes in asan tests - Add substitution for /Oy-/-fno-omit-frame-pointer This makes the dll_intercept_memset test work with mingw These are most of the changes that are required to get things running with MSVC, however there are some remaining build-flag tweaks. Nothing in here should be a functional change.
11 lines
290 B
C++
11 lines
290 B
C++
// Check that user may include ASan interface header.
|
|
// RUN: %clang_asan %s -o %t && %run %t
|
|
// RUN: %clang_asan -x c %s -o %t && %run %t
|
|
// RUN: %clang %s %pie -o %t && %run %t
|
|
// RUN: %clang -x c %s %pie -o %t && %run %t
|
|
#include <sanitizer/asan_interface.h>
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|