@@ -386,6 +386,7 @@ class IRGenOptions {
386386 unsigned LazyInitializeClassMetadata : 1 ;
387387 unsigned LazyInitializeProtocolConformances : 1 ;
388388 unsigned IndirectAsyncFunctionPointer : 1 ;
389+ unsigned IndirectCoroFunctionPointer : 1 ;
389390
390391 // / Use absolute function references instead of relative ones.
391392 // / Mainly used on WebAssembly, that doesn't support relative references
@@ -580,10 +581,10 @@ class IRGenOptions {
580581 HasValueNamesSetting(false ), ValueNames(false ),
581582 ReflectionMetadata(ReflectionMetadataMode::Runtime),
582583 EnableReflectionNames(true ), DisableLLVMMergeFunctions(false ),
583- EnableAnonymousContextMangledNames(false ),
584- ForcePublicLinkage( false ), LazyInitializeClassMetadata(false ),
584+ EnableAnonymousContextMangledNames(false ), ForcePublicLinkage( false ),
585+ LazyInitializeClassMetadata(false ),
585586 LazyInitializeProtocolConformances(false ),
586- IndirectAsyncFunctionPointer(false ),
587+ IndirectAsyncFunctionPointer(false ), IndirectCoroFunctionPointer( false ),
587588 CompactAbsoluteFunctionPointer(false ), DisableLegacyTypeInfo(false ),
588589 PrespecializeGenericMetadata(false ), UseIncrementalLLVMCodeGen(true ),
589590 UseTypeLayoutValueHandling(true ), ForceStructTypeLayouts(false ),
@@ -598,16 +599,15 @@ class IRGenOptions {
598599 EnableGlobalISel(false ), VirtualFunctionElimination(false ),
599600 WitnessMethodElimination(false ), ConditionalRuntimeRecords(false ),
600601 InternalizeAtLink(false ), InternalizeSymbols(false ),
601- MergeableSymbols(false ),
602- EmitGenericRODatas( true ), NoPreallocatedInstantiationCaches(false ),
602+ MergeableSymbols(false ), EmitGenericRODatas( true ),
603+ NoPreallocatedInstantiationCaches(false ),
603604 DisableReadonlyStaticObjects(false ), CollocatedMetadataFunctions(false ),
604605 ColocateTypeDescriptors(true ), UseRelativeProtocolWitnessTables(false ),
605606 UseFragileResilientProtocolWitnesses(false ), EnableHotColdSplit(false ),
606607 EmitAsyncFramePushPopMetadata(true ), EmitTypeMallocForCoroFrame(false ),
607608 EmitYieldOnce2AsYieldOnce(true ), AsyncFramePointerAll(false ),
608- UseProfilingMarkerThunks(false ),
609- DebugInfoForProfiling(false ), CmdArgs(),
610- SanitizeCoverage(llvm::SanitizerCoverageOptions()),
609+ UseProfilingMarkerThunks(false ), DebugInfoForProfiling(false ),
610+ CmdArgs(), SanitizeCoverage(llvm::SanitizerCoverageOptions()),
611611 TypeInfoFilter(TypeInfoDumpFilter::All),
612612 PlatformCCallingConvention(llvm::CallingConv::C), UseCASBackend(false ),
613613 CASObjMode(llvm::CASBackendMode::Native) {
0 commit comments