[compiler-rt] [compiler-rt] Add cpu model init for Windows. (PR #111961)
Daniel Kiss via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 06:31:46 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:
ack.
https://github.com/llvm/llvm-project/pull/111961
More information about the llvm-commits
mailing list