[compiler-rt] [compiler-rt] Add cpu model init for Windows. (PR #111961)
Daniel Kiss via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 08:51:57 PDT 2024
================
@@ -31,7 +31,15 @@
// We're choosing init priority 90 to force our constructors to run before any
// constructors in the end user application (starting at priority 101). This
// value matches the libgcc choice for the same functions.
-#define CONSTRUCTOR_ATTRIBUTE __attribute__((constructor(90)))
+#ifdef _WIN64
----------------
DanielKristofKiss wrote:
ah sorry, fixed in [eda3898](https://github.com/llvm/llvm-project/pull/111961/commits/eda389814bc59c5d5063d25be526fc223f3ecc34).
https://github.com/llvm/llvm-project/pull/111961
More information about the llvm-commits
mailing list