Skip to content

Commit 47a9e18

Browse files
committed
[TBD] Add defaults for TBDGenOptions
Otherwise LLDB may leave them uninitialized. rdar://65673653
1 parent 3401f3c commit 47a9e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/TBDGen/TBDGen.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class ModuleDecl;
3030
/// output.
3131
struct TBDGenOptions {
3232
/// Whether this compilation has multiple IRGen instances.
33-
bool HasMultipleIGMs;
33+
bool HasMultipleIGMs = false;
3434

3535
/// Whether this compilation is producing a TBD for InstallAPI.
36-
bool IsInstallAPI;
36+
bool IsInstallAPI = false;
3737

3838
/// Only collect linker directive symbols.
3939
bool LinkerDirectivesOnly = false;

0 commit comments

Comments
 (0)