[ASan/Win] Mark tests that require -MT asan_dll_thunk as such

llvm-svn: 215638
This commit is contained in:
Timur Iskhodzhanov 2014-08-14 13:02:51 +00:00
parent a8311b3681
commit 7040f13639
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
// RUN: link /nologo /DLL /OUT:%t.1.dll %t.1.obj %asan_dll_thunk
// RUN: %clang_cl_asan -DCONFIG=2 %s -c -Fo%t.2.obj
// RUN: link /nologo /DLL /OUT:%t.2.dll %t.2.obj %t.1.lib %asan_dll_thunk
// REQUIRES: asan-static-runtime
#if CONFIG==1
extern "C" __declspec(dllexport) int f1() {

View File

@ -14,6 +14,7 @@
// RUN: echo
// RUN: echo "=== NOTE === If you see a mismatch below, please update asan_dll_thunk.cc"
// RUN: diff %t.dll_imports %t.exported_wrappers
// REQUIRES: asan-static-runtime
#include <stdio.h>
#include <windows.h>

View File

@ -4,6 +4,7 @@
// -mllvm -asan-instrumentation-with-call-threshold=0.
// RUN: %clang_cl_asan %s -c -Fo%t.obj -mllvm -asan-instrumentation-with-call-threshold=0
// RUN: link /nologo /DLL /OUT:%t.dll %t.obj %asan_dll_thunk
// REQUIRES: asan-static-runtime
void f(long* foo, long* bar) {
// One load and one store