File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,10 @@ const char* fn_attribute_to_string (gcc_jit_fn_attribute attr)
583
583
return " weak" ;
584
584
case GCC_JIT_FN_ATTRIBUTE_NONNULL:
585
585
return " nonnull" ;
586
+ case GCC_JIT_FN_ATTRIBUTE_MS_ABI:
587
+ return " ms_abi" ;
588
+ case GCC_JIT_FN_ATTRIBUTE_SYSV_ABI:
589
+ return " sysv_abi" ;
586
590
case GCC_JIT_FN_ATTRIBUTE_MAX:
587
591
return NULL ;
588
592
}
Original file line number Diff line number Diff line change @@ -4949,6 +4949,8 @@ static const char * const fn_attribute_reproducer_strings[] =
4949
4949
" GCC_JIT_FN_ATTRIBUTE_CONST" ,
4950
4950
" GCC_JIT_FN_ATTRIBUTE_WEAK" ,
4951
4951
" GCC_JIT_FN_ATTRIBUTE_NONNULL" ,
4952
+ " GCC_JIT_FN_ATTRIBUTE_MS_ABI" ,
4953
+ " GCC_JIT_FN_ATTRIBUTE_SYSV_ABI" ,
4952
4954
};
4953
4955
4954
4956
std::string
Original file line number Diff line number Diff line change @@ -2169,6 +2169,10 @@ enum gcc_jit_fn_attribute
2169
2169
GCC_JIT_FN_ATTRIBUTE_WEAK,
2170
2170
GCC_JIT_FN_ATTRIBUTE_NONNULL,
2171
2171
2172
+ // x86 attributes.
2173
+ GCC_JIT_FN_ATTRIBUTE_MS_ABI,
2174
+ GCC_JIT_FN_ATTRIBUTE_SYSV_ABI,
2175
+
2172
2176
/* Maximum value of this enum, should always be last. */
2173
2177
GCC_JIT_FN_ATTRIBUTE_MAX,
2174
2178
};
You can’t perform that action at this time.
0 commit comments