diff options
-rw-r--r-- | test/asan/TestCases/Windows/fuse-lld.cc | 4 | ||||
-rw-r--r-- | test/cfi/stats.cpp | 2 | ||||
-rw-r--r-- | test/lit.common.cfg | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/test/asan/TestCases/Windows/fuse-lld.cc b/test/asan/TestCases/Windows/fuse-lld.cc index 76c36d828..7fa5d4e8a 100644 --- a/test/asan/TestCases/Windows/fuse-lld.cc +++ b/test/asan/TestCases/Windows/fuse-lld.cc @@ -5,8 +5,8 @@ // FIXME: Use -fuse-ld=lld after the old COFF linker is removed. // FIXME: Test will fail until we add flags for requesting dwarf or cv. // RUNX: %clangxx_asan -O2 %s -o %t.exe -fuse-ld=lld -Wl,-debug -// RUN: %clangxx_asan -c -O2 %s -o %t.o -gdwarf -// RUN: lld-link %t.o -out:%t.exe -debug -defaultlib:libcmt %asan_lib %asan_cxx_lib +// RUN: %clangxx_asan -c -O2 %s -o %t.o -g -gdwarf +// RUN: lld-link %t.o -out:%t.exe -debug -nopdb -defaultlib:libcmt %asan_lib %asan_cxx_lib // RUN: not %run %t.exe 2>&1 | FileCheck %s #include <stdlib.h> diff --git a/test/cfi/stats.cpp b/test/cfi/stats.cpp index 8d96b5db0..566fcfbc2 100644 --- a/test/cfi/stats.cpp +++ b/test/cfi/stats.cpp @@ -2,8 +2,6 @@ // RUN: env SANITIZER_STATS_PATH=%t.stats %t // RUN: sanstats %t.stats | FileCheck %s -// XFAIL: win32 - // FIXME: We currently emit the wrong debug info under devirtualization. // UNSUPPORTED: devirt diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 741ce87c1..648c7fa3c 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -195,7 +195,8 @@ elif config.host_os == 'Linux' and is_linux_lto_supported(): elif config.host_os == 'Windows' and is_windows_lto_supported(): config.lto_supported = True config.lto_launch = [] - config.lto_flags = ["-fuse-ld=lld"] + # FIXME: Remove -nopdb when PDB writing is ready. + config.lto_flags = ["-fuse-ld=lld -Wl,-nopdb"] else: config.lto_supported = False |