We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8dd381e + 955cfb6 commit 94ecd6eCopy full SHA for 94ecd6e
compiler-rt/lib/builtins/cpu_model/aarch64.c
@@ -57,14 +57,13 @@ _Bool __aarch64_have_lse_atomics = false;
57
#if !defined(DISABLE_AARCH64_FMV)
58
59
// Architecture features used in function multi-versioning
60
-#if defined(_MSC_VER)
61
-__declspec(allocate(".data"))
62
-#endif
63
struct {
64
unsigned long long features;
65
// As features grows new fields could be added
66
} __aarch64_cpu_features
67
-#if !defined(_MSC_VER)
+#if defined(_MSC_VER)
+= { 0 }
+#else
68
__attribute__((__visibility__("hidden"), __nocommon__))
69
#endif
70
;
0 commit comments