[compiler-rt] 5632030 - [compiler-rt] [test] [profile] Mark a Windows test as requiring an MSVC target

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 02:06:24 PDT 2023


Author: Martin Storsjö
Date: 2023-04-13T12:03:34+03:00
New Revision: 56320301a76d654084e68dd5840590d699e4879e

URL: https://github.com/llvm/llvm-project/commit/56320301a76d654084e68dd5840590d699e4879e
DIFF: https://github.com/llvm/llvm-project/commit/56320301a76d654084e68dd5840590d699e4879e.diff

LOG: [compiler-rt] [test] [profile] Mark a Windows test as requiring an MSVC target

This test uses lots of lld-link specific linker options that don't
work as such in mingw command lines.

Differential Revision: https://reviews.llvm.org/D148168

Added: 
    

Modified: 
    compiler-rt/test/profile/Windows/coverage-weak-lld.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/Windows/coverage-weak-lld.cpp b/compiler-rt/test/profile/Windows/coverage-weak-lld.cpp
index 1dc74cb22fa3f..338be8e979c56 100644
--- a/compiler-rt/test/profile/Windows/coverage-weak-lld.cpp
+++ b/compiler-rt/test/profile/Windows/coverage-weak-lld.cpp
@@ -1,5 +1,6 @@
 // REQUIRES: lld-available
 
+// REQUIRES: target={{.*windows-msvc.*}}
 // RUN: %clang_profgen -fcoverage-mapping -c %s -o %t0.o
 // RUN: %clang_profgen -fcoverage-mapping -c %s -DOBJ_1 -o %t1.o
 // RUN: %clang_profgen -fcoverage-mapping -c %s -DOBJ_2 -o %t2.o


        


More information about the llvm-commits mailing list