mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
@@ -67,6 +67,9 @@ static void writePtrauthPrologue(raw_ostream &os) {
|
||||
os << "# ifndef __ptrauth_swift_value_witness_function_pointer\n";
|
||||
os << "# define __ptrauth_swift_value_witness_function_pointer(x)\n";
|
||||
os << "# endif\n";
|
||||
os << "# ifndef __ptrauth_swift_class_method_pointer\n";
|
||||
os << "# define __ptrauth_swift_class_method_pointer(x)\n";
|
||||
os << "# endif\n";
|
||||
});
|
||||
os << "#endif\n";
|
||||
});
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
// CHECK-NEXT: # ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
// CHECK-NEXT: # define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
// CHECK-NEXT: # endif
|
||||
// CHECK-NEXT: # ifndef __ptrauth_swift_class_method_pointer
|
||||
// CHECK-NEXT: # define __ptrauth_swift_class_method_pointer(x)
|
||||
// CHECK-NEXT: # endif
|
||||
// CHECK-NEXT: #pragma clang diagnostic pop
|
||||
// CHECK-NEXT: #endif
|
||||
// CHECK-NEXT: #endif
|
||||
|
||||
Reference in New Issue
Block a user