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.
1 parent cd0ce51 commit 6717824Copy full SHA for 6717824
gcc/jit/jit-playback.cc
@@ -526,6 +526,8 @@ const char* fn_attribute_to_string(gcc_jit_fn_attribute attr)
526
return "used";
527
case GCC_JIT_FN_ATTRIBUTE_VISIBILITY:
528
return "visibility";
529
+ case GCC_JIT_FN_ATTRIBUTE_COLD:
530
+ return "cold";
531
}
532
return NULL;
533
gcc/jit/libgccjit.h
@@ -2084,6 +2084,7 @@ enum gcc_jit_fn_attribute
2084
GCC_JIT_FN_ATTRIBUTE_TARGET,
2085
GCC_JIT_FN_ATTRIBUTE_USED,
2086
GCC_JIT_FN_ATTRIBUTE_VISIBILITY,
2087
+ GCC_JIT_FN_ATTRIBUTE_COLD,
2088
};
2089
2090
/* Add an attribute to a function. */
0 commit comments