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

Timur Iskhodzhanov timurrrr at google.com
Thu Aug 14 06:02:52 PDT 2014


Author: timurrrr
Date: Thu Aug 14 08:02:51 2014
New Revision: 215638

URL: http://llvm.org/viewvc/llvm-project?rev=215638&view=rev
Log:
[ASan/Win] Mark tests that require -MT asan_dll_thunk as such

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_and_lib.cc
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_large_function.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_and_lib.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_and_lib.cc?rev=215638&r1=215637&r2=215638&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_and_lib.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_and_lib.cc Thu Aug 14 08:02:51 2014
@@ -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() {

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc?rev=215638&r1=215637&r2=215638&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc Thu Aug 14 08:02:51 2014
@@ -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>

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_large_function.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_large_function.cc?rev=215638&r1=215637&r2=215638&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_large_function.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_large_function.cc Thu Aug 14 08:02:51 2014
@@ -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





More information about the llvm-commits mailing list