@@ -230,6 +230,26 @@ struct PointerAuthOptions : clang::PointerAuthOptions {
230230
231231 // / Type layout string descriminator.
232232 PointerAuthSchema TypeLayoutString;
233+
234+ // / Like SwiftFunctionPointers but for use with CoroFunctionPointer values.
235+ PointerAuthSchema CoroSwiftFunctionPointers;
236+
237+ // / Like SwiftClassMethods but for use with CoroFunctionPointer values.
238+ PointerAuthSchema CoroSwiftClassMethods;
239+
240+ // / Like ProtocolWitnesses but for use with CoroFunctionPointer values.
241+ PointerAuthSchema CoroProtocolWitnesses;
242+
243+ // / Like SwiftClassMethodPointers but for use with CoroFunctionPointer
244+ // / values.
245+ PointerAuthSchema CoroSwiftClassMethodPointers;
246+
247+ // / Like SwiftDynamicReplacements but for use with CoroFunctionPointer
248+ // / values.
249+ PointerAuthSchema CoroSwiftDynamicReplacements;
250+
251+ // / Like PartialApplyCapture but for use with CoroFunctionPointer values.
252+ PointerAuthSchema CoroPartialApplyCapture;
233253};
234254
235255enum class JITDebugArtifact : unsigned {
@@ -502,9 +522,6 @@ class IRGenOptions {
502522 // Whether to emit typed malloc during coroutine frame allocation.
503523 unsigned EmitTypeMallocForCoroFrame : 1 ;
504524
505- // Whether to use the yield_once ABI when emitting yield_once_2 coroutines.
506- unsigned EmitYieldOnce2AsYieldOnce : 1 ;
507-
508525 // Whether to force emission of a frame for all async functions
509526 // (LLVM's 'frame-pointer=all').
510527 unsigned AsyncFramePointerAll : 1 ;
@@ -621,9 +638,9 @@ class IRGenOptions {
621638 ColocateTypeDescriptors(true ), UseRelativeProtocolWitnessTables(false ),
622639 UseFragileResilientProtocolWitnesses(false ), EnableHotColdSplit(false ),
623640 EmitAsyncFramePushPopMetadata(true ), EmitTypeMallocForCoroFrame(false ),
624- EmitYieldOnce2AsYieldOnce( true ), AsyncFramePointerAll (false ),
625- UseProfilingMarkerThunks (false ), UseCoroCCX8664 (false ),
626- UseCoroCCArm64( false ), DebugInfoForProfiling(false ), CmdArgs(),
641+ AsyncFramePointerAll( false ), UseProfilingMarkerThunks (false ),
642+ UseCoroCCX8664 (false ), UseCoroCCArm64 (false ),
643+ DebugInfoForProfiling(false ), CmdArgs(),
627644 SanitizeCoverage(llvm::SanitizerCoverageOptions()),
628645 TypeInfoFilter(TypeInfoDumpFilter::All),
629646 PlatformCCallingConvention(llvm::CallingConv::C), UseCASBackend(false ),
0 commit comments