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 :
12571257 Flag<["-"], "enable-move-inout-stack-protector">,
12581258 HelpText<"Enable the stack protector by moving values to temporaries">;
12591259
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+
12601266def disable_import_ptrauth_field_function_pointers :
12611267 Flag<["-"], "disable-import-ptrauth-field-function-pointers">,
12621268 HelpText<"Disable import of custom ptrauth qualified field function pointers">;
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: %{python} %utils/split_file.py -o %t %s
33
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
56
67// REQUIRES: swift_in_compiler
78// REQUIRES: OS=macosx || OS=linux-gnu
You can’t perform that action at this time.
0 commit comments