Skip to content

Commit 33154ab

Browse files
authored
[lldb] Handle new Swift synthesized FileUnitKind. (#1042)
Friend PR: swiftlang/swift#30863
1 parent cfc3051 commit 33154ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/Symbol/SwiftASTContext.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8356,6 +8356,9 @@ static void DescribeFileUnit(Stream &s, swift::FileUnit *file_unit) {
83568356
case swift::FileUnitKind::Builtin: {
83578357
s.PutCString("Builtin");
83588358
} break;
8359+
case swift::FileUnitKind::Synthesized: {
8360+
s.PutCString("Synthesized");
8361+
} break;
83598362
case swift::FileUnitKind::SerializedAST:
83608363
case swift::FileUnitKind::ClangModule: {
83618364
if (file_unit->getKind() == swift::FileUnitKind::SerializedAST)

0 commit comments

Comments
 (0)