diff options
Diffstat (limited to 'compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp')
-rw-r--r-- | compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp b/compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp index c08fcc346ba6..d032418e476f 100644 --- a/compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp +++ b/compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp @@ -1,11 +1,13 @@ -// UNSUPPORTED: target={{.*-windows-gnu}} - // Load this DLL at the default 32-bit ASan shadow base, and test how we dump // the process memory layout. // REQUIRES: asan-32-bits // -// RUN: %clang_cl_asan -DBUILD_DLL -LD %s -Fe%t_dll.dll -link -base:0x30000000 -fixed -dynamicbase:no -// RUN: %clang_cl_asan %s -Fe%t.exe -link %t_dll.lib +// RUN: %clang_cl_asan -DBUILD_DLL %LD %s %Fe%t_dll.dll \ +// RUN: %if target={{.*-windows-gnu}} %{ \ +// RUN: -Wl,--image-base,0x30000000,--disable-reloc-section \ +// RUN: -Wl,--disable-dynamicbase,--out-implib,%t_dll.lib \ +// RUN: %} %else %{ -link -base:0x30000000 -fixed -dynamicbase:no %} +// RUN: %clang_cl_asan %s %Fe%t.exe %t_dll.lib // RUN: not %run %t.exe 2>&1 | FileCheck %s #ifndef BUILD_DLL |