@@ -65,6 +65,12 @@ enum class IRGenDebugInfoFormat : unsigned {
65
65
CodeView
66
66
};
67
67
68
+ enum class IRGenLLVMLTOKind : unsigned {
69
+ None,
70
+ Thin,
71
+ Full,
72
+ };
73
+
68
74
enum class IRGenEmbedMode : unsigned {
69
75
None,
70
76
EmbedMarker,
@@ -220,6 +226,8 @@ class IRGenOptions {
220
226
// / Whether we should embed the bitcode file.
221
227
IRGenEmbedMode EmbedMode : 2 ;
222
228
229
+ IRGenLLVMLTOKind LLVMLTOKind : 2 ;
230
+
223
231
// / Add names to LLVM values.
224
232
unsigned HasValueNamesSetting : 1 ;
225
233
unsigned ValueNames : 1 ;
@@ -320,21 +328,21 @@ class IRGenOptions {
320
328
DebugInfoLevel(IRGenDebugInfoLevel::None),
321
329
DebugInfoFormat(IRGenDebugInfoFormat::None),
322
330
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 ),
331
339
LazyInitializeProtocolConformances(false ), DisableLegacyTypeInfo(false ),
332
340
PrespecializeGenericMetadata(false ), UseIncrementalLLVMCodeGen(true ),
333
- UseSwiftCall(false ), UseTypeLayoutValueHandling(true ), GenerateProfile( false ),
334
- EnableDynamicReplacementChaining(false ),
341
+ UseSwiftCall(false ), UseTypeLayoutValueHandling(true ),
342
+ GenerateProfile( false ), EnableDynamicReplacementChaining(false ),
335
343
DisableRoundTripDebugTypes(false ), DisableDebuggerShadowCopies(false ),
336
- DisableConcreteTypeMetadataMangledNameAccessors(false ),
337
- CmdArgs(), SanitizeCoverage(llvm::SanitizerCoverageOptions()),
344
+ DisableConcreteTypeMetadataMangledNameAccessors(false ), CmdArgs(),
345
+ SanitizeCoverage(llvm::SanitizerCoverageOptions()),
338
346
TypeInfoFilter(TypeInfoDumpFilter::All) {}
339
347
340
348
// / Appends to \p os an arbitrary string representing all options which
0 commit comments