Skip to content

Commit 7d6da0d

Browse files
committed
[lldb] Comment assert in GetEnumCaseName
There still seem to be some cases where GetEnumCaseName fails to project the enum case. Comment out the assertion until we fix the cases that are currently failing.
1 parent 6e3e28c commit 7d6da0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,8 @@ std::optional<std::string> SwiftLanguageRuntimeImpl::GetEnumCaseName(
970970
if (eti->projectEnumValue(*GetMemoryReader(), addr, &case_index))
971971
return eti->getCases()[case_index].Name;
972972

973-
LogUnimplementedTypeKind(__FUNCTION__, type);
973+
// TODO: uncomment this after fixing projection for every type: rdar://138424904
974+
// LogUnimplementedTypeKind(__FUNCTION__, type);
974975
return {};
975976
}
976977

0 commit comments

Comments
 (0)