[compiler-rt] [compiler-rt] Restore unsigned value in struct, use enum only in function (PR #165048)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 26 06:15:23 PDT 2025


================
@@ -235,6 +235,19 @@ enum ProcessorFeatures {
   CPU_FEATURE_MAX
 };
 
+#ifndef _WIN32
+__attribute__((visibility("hidden")))
+#endif
+struct __processor_model {
----------------
e-kud wrote:

I'm not sure, probably this naming was chosen when it wasn't supposed to pass a struct as an argument (even for static functions). Maybe we need to rename it? But I'm ok with the current version.

https://github.com/llvm/llvm-project/pull/165048


More information about the llvm-commits mailing list