@@ -605,6 +605,9 @@ class IRGenOptions {
605605 // / Paths to the pass plugins registered via -load-pass-plugin.
606606 std::vector<std::string> LLVMPassPlugins;
607607
608+ // / Set to true if we support AArch64TBI.
609+ bool HasAArch64TBI = false ;
610+
608611 IRGenOptions ()
609612 : OutputKind(IRGenOutputKind::LLVMAssemblyAfterOptimization),
610613 Verify (true ), VerifyEach(false ), OptMode(OptimizationMode::NotSet),
@@ -641,22 +644,20 @@ class IRGenOptions {
641644 DisableStandardSubstitutionsInReflectionMangling(false ),
642645 EnableGlobalISel(false ), VirtualFunctionElimination(false ),
643646 WitnessMethodElimination(false ), ConditionalRuntimeRecords(false ),
644- AnnotateCondFailMessage(false ),
645- InternalizeAtLink(false ), InternalizeSymbols(false ),
646- EmitGenericRODatas(true ),
647+ AnnotateCondFailMessage(false ), InternalizeAtLink(false ),
648+ InternalizeSymbols(false ), EmitGenericRODatas(true ),
647649 NoPreallocatedInstantiationCaches(false ),
648650 DisableReadonlyStaticObjects(false ), CollocatedMetadataFunctions(false ),
649651 ColocateTypeDescriptors(true ), UseRelativeProtocolWitnessTables(false ),
650652 UseFragileResilientProtocolWitnesses(false ), EnableHotColdSplit(false ),
651653 EmitAsyncFramePushPopMetadata(true ), EmitTypeMallocForCoroFrame(true ),
652654 AsyncFramePointerAll(false ), UseProfilingMarkerThunks(false ),
653- UseCoroCCX8664(false ), UseCoroCCArm64(false ),
654- MergeableTraps(false ),
655+ UseCoroCCX8664(false ), UseCoroCCArm64(false ), MergeableTraps(false ),
655656 DebugInfoForProfiling(false ), CmdArgs(),
656657 SanitizeCoverage(llvm::SanitizerCoverageOptions()),
657658 TypeInfoFilter(TypeInfoDumpFilter::All),
658659 PlatformCCallingConvention(llvm::CallingConv::C), UseCASBackend(false ),
659- CASObjMode(llvm::CASBackendMode::Native) {
660+ CASObjMode(llvm::CASBackendMode::Native), HasAArch64TBI( false ) {
660661 DisableRoundTripDebugTypes = !CONDITIONAL_ASSERT_enabled ();
661662 }
662663
0 commit comments