Skip to content

Commit 08eac09

Browse files
dan-zhengJDevlieghere
authored andcommitted
[lldb] Handle new Swift synthesized FileUnitKind. (#1042)
Friend PR: swiftlang/swift#30863 (cherry picked from commit 33154ab)
1 parent afa5a4a commit 08eac09

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
@@ -8246,6 +8246,9 @@ static void DescribeFileUnit(Stream &s, swift::FileUnit *file_unit) {
82468246
case swift::FileUnitKind::Builtin: {
82478247
s.PutCString("Builtin");
82488248
} break;
8249+
case swift::FileUnitKind::Synthesized: {
8250+
s.PutCString("Synthesized");
8251+
} break;
82498252
case swift::FileUnitKind::SerializedAST:
82508253
case swift::FileUnitKind::ClangModule: {
82518254
if (file_unit->getKind() == swift::FileUnitKind::SerializedAST)

0 commit comments

Comments
 (0)