[clang] [profile] runtime counter relocation is needed on windows-msvc targets (PR #127858)
Anh Tuyen Tran via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 19 14:04:40 PST 2025
================
@@ -6,6 +6,7 @@
// RUN: %clang --target=powerpc64-ibm-aix -fprofile-generate -fprofile-continuous -### -c %s 2>&1 | FileCheck %s --check-prefix=RELOC
// RUN: %clang --target=x86_64-unknown-fuchsia -fprofile-generate -fprofile-continuous -### -c %s 2>&1 | FileCheck %s --check-prefix=RELOC
+// RUN: %clang --target=x86_64-windows-msvc -fprofile-generate -fprofile-continuous -### -c %s 2>&1 | FileCheck %s --check-prefix=RELOC
----------------
anhtuyenibm wrote:
If my other comment makes sense, i.e. we will apply reloc only for 32-bit Windows, should we change the target from **x86_64-windows-msvc** to **i686-windows-msvc**?
https://github.com/llvm/llvm-project/pull/127858
More information about the cfe-commits
mailing list