[PATCH] D148165: [compiler-rt] [test] [profile] Skip an MSVC-style linker parameter in mingw mode
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 02:06:52 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG609420041b18: [compiler-rt] [test] [profile] Skip an MSVC-style linker parameter in mingw mode (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148165/new/
https://reviews.llvm.org/D148165
Files:
compiler-rt/test/profile/Windows/coverage-linkage.cpp
Index: compiler-rt/test/profile/Windows/coverage-linkage.cpp
===================================================================
--- compiler-rt/test/profile/Windows/coverage-linkage.cpp
+++ compiler-rt/test/profile/Windows/coverage-linkage.cpp
@@ -3,7 +3,7 @@
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s
-// RUN: %clang_profgen -fcoverage-mapping -ffunction-sections -Wl,-opt:ref %s -o %t
+// RUN: %clang_profgen -fcoverage-mapping -ffunction-sections %if target={{.*-windows-msvc.*}} %{ -Wl,-opt:ref %} %s -o %t
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148165.513115.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/508e10f7/attachment.bin>
More information about the llvm-commits
mailing list