File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1257,6 +1257,12 @@ def enable_move_inout_stack_protector :
1257
1257
Flag<["-"], "enable-move-inout-stack-protector">,
1258
1258
HelpText<"Enable the stack protector by moving values to temporaries">;
1259
1259
1260
+ // This feature is enabled by default, the flag is a no-op.
1261
+ def enable_import_ptrauth_field_function_pointers :
1262
+ Flag<["-"], "enable-import-ptrauth-field-function-pointers">,
1263
+ HelpText<"Enable import of custom ptrauth qualified field function pointers. "
1264
+ "This is on by default.">;
1265
+
1260
1266
def disable_import_ptrauth_field_function_pointers :
1261
1267
Flag<["-"], "disable-import-ptrauth-field-function-pointers">,
1262
1268
HelpText<"Disable import of custom ptrauth qualified field function pointers">;
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %{python} %utils/split_file.py -o %t %s
3
3
4
- // RUN: %target-swift-frontend -O -emit-ir %t/Main.swift -enable-experimental-feature Embedded -import-objc-header %t/header.h | %FileCheck %s
4
+ // -enable-import-ptrauth-field-function-pointers is a no-op
5
+ // RUN: %target-swift-frontend -enable-import-ptrauth-field-function-pointers -O -emit-ir %t/Main.swift -enable-experimental-feature Embedded -import-objc-header %t/header.h | %FileCheck %s
5
6
6
7
// REQUIRES: swift_in_compiler
7
8
// REQUIRES: OS=macosx || OS=linux-gnu
You can’t perform that action at this time.
0 commit comments