@@ -230,6 +230,26 @@ struct PointerAuthOptions : clang::PointerAuthOptions {
230
230
231
231
// / Type layout string descriminator.
232
232
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;
233
253
};
234
254
235
255
enum class JITDebugArtifact : unsigned {
@@ -502,9 +522,6 @@ class IRGenOptions {
502
522
// Whether to emit typed malloc during coroutine frame allocation.
503
523
unsigned EmitTypeMallocForCoroFrame : 1 ;
504
524
505
- // Whether to use the yield_once ABI when emitting yield_once_2 coroutines.
506
- unsigned EmitYieldOnce2AsYieldOnce : 1 ;
507
-
508
525
// Whether to force emission of a frame for all async functions
509
526
// (LLVM's 'frame-pointer=all').
510
527
unsigned AsyncFramePointerAll : 1 ;
@@ -621,9 +638,9 @@ class IRGenOptions {
621
638
ColocateTypeDescriptors(true ), UseRelativeProtocolWitnessTables(false ),
622
639
UseFragileResilientProtocolWitnesses(false ), EnableHotColdSplit(false ),
623
640
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(),
627
644
SanitizeCoverage(llvm::SanitizerCoverageOptions()),
628
645
TypeInfoFilter(TypeInfoDumpFilter::All),
629
646
PlatformCCallingConvention(llvm::CallingConv::C), UseCASBackend(false ),
0 commit comments