@@ -65,6 +65,12 @@ enum class IRGenDebugInfoFormat : unsigned {
6565 CodeView
6666};
6767
68+ enum class IRGenLLVMLTOKind : unsigned {
69+ None,
70+ Thin,
71+ Full,
72+ };
73+
6874enum class IRGenEmbedMode : unsigned {
6975 None,
7076 EmbedMarker,
@@ -220,6 +226,8 @@ class IRGenOptions {
220226 // / Whether we should embed the bitcode file.
221227 IRGenEmbedMode EmbedMode : 2 ;
222228
229+ IRGenLLVMLTOKind LLVMLTOKind : 2 ;
230+
223231 // / Add names to LLVM values.
224232 unsigned HasValueNamesSetting : 1 ;
225233 unsigned ValueNames : 1 ;
@@ -320,21 +328,21 @@ class IRGenOptions {
320328 DebugInfoLevel(IRGenDebugInfoLevel::None),
321329 DebugInfoFormat(IRGenDebugInfoFormat::None),
322330 DisableClangModuleSkeletonCUs(false ), UseJIT(false ),
323- DisableLLVMOptzns(false ),
324- DisableSwiftSpecificLLVMOptzns (false ), DisableLLVMSLPVectorizer (false ),
325- Playground (false ), EmitStackPromotionChecks (false ),
326- FunctionSections( false ), PrintInlineTree(false ), EmbedMode(IRGenEmbedMode::None),
327- HasValueNamesSetting( false ), ValueNames (false ),
328- EnableReflectionMetadata( true ), EnableReflectionNames (true ),
329- EnableAnonymousContextMangledNames( false ), ForcePublicLinkage (false ),
330- LazyInitializeClassMetadata(false ),
331+ DisableLLVMOptzns(false ), DisableSwiftSpecificLLVMOptzns( false ),
332+ DisableLLVMSLPVectorizer (false ), Playground (false ),
333+ EmitStackPromotionChecks (false ), FunctionSections (false ),
334+ PrintInlineTree(false ), EmbedMode(IRGenEmbedMode::None),
335+ LLVMLTOKind(IRGenLLVMLTOKind::None ), HasValueNamesSetting (false ),
336+ ValueNames( false ), EnableReflectionMetadata (true ),
337+ EnableReflectionNames( true ), EnableAnonymousContextMangledNames (false ),
338+ ForcePublicLinkage( false ), LazyInitializeClassMetadata(false ),
331339 LazyInitializeProtocolConformances(false ), DisableLegacyTypeInfo(false ),
332340 PrespecializeGenericMetadata(false ), UseIncrementalLLVMCodeGen(true ),
333- UseSwiftCall(false ), UseTypeLayoutValueHandling(true ), GenerateProfile( false ),
334- EnableDynamicReplacementChaining(false ),
341+ UseSwiftCall(false ), UseTypeLayoutValueHandling(true ),
342+ GenerateProfile( false ), EnableDynamicReplacementChaining(false ),
335343 DisableRoundTripDebugTypes(false ), DisableDebuggerShadowCopies(false ),
336- DisableConcreteTypeMetadataMangledNameAccessors(false ),
337- CmdArgs(), SanitizeCoverage(llvm::SanitizerCoverageOptions()),
344+ DisableConcreteTypeMetadataMangledNameAccessors(false ), CmdArgs(),
345+ SanitizeCoverage(llvm::SanitizerCoverageOptions()),
338346 TypeInfoFilter(TypeInfoDumpFilter::All) {}
339347
340348 // / Appends to \p os an arbitrary string representing all options which
0 commit comments