You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Global variables with internal linkage and weak pointer authentication should
35
28
// raise a warning.
36
29
staticvoid(*g1_internal_weak)(void);
37
-
// expected-warning@-1 {{internal variable 'g1_internal_weak' is using a weak signing schema for pointer authentication}}
30
+
// expected-warning@-1 {{'g1_internal_weak' has internal linkage with a default pointer authentication schema that should be overridden by an explicit schema with unique diversifiers}}
// expected-warning@-1 {{internal variable 'g2_internal_weak' is using a weak signing schema for pointer authentication}}
32
+
// expected-warning@-1 {{'g2_internal_weak' has internal linkage with a pointer authentication schema that should be overridden by a schema with unique diversifiers}}
40
33
41
34
// Assert that -Wptrauth-weak-schema silences warnings.
// Local variables (internal linkage) with weak pointer authentication
54
44
// should raise a warning.
55
45
staticvoid(*l1_internal_weak)(void);
56
-
// expected-warning@-1 {{internal variable 'l1_internal_weak' is using a weak signing schema for pointer authentication}}
46
+
// expected-warning@-1 {{'l1_internal_weak' has internal linkage with a default pointer authentication schema that should be overridden by an explicit schema with unique diversifiers}}
// expected-warning@-1 {{internal variable 'l2_internal_weak' is using a weak signing schema for pointer authentication}}
48
+
// expected-warning@-1 {{'l2_internal_weak' has internal linkage with a pointer authentication schema that should be overridden by a schema with unique diversifiers}}
59
49
#endif
60
50
61
51
// Local variables (internal linkage) with strong pointer authentication
0 commit comments