Skip to content

Commit aacdb41

Browse files
author
git apple-llvm automerger
committed
Merge commit '8b49cc20707f' from swift/release/6.0 into stable/20230725
2 parents 95d28ae + 8b49cc2 commit aacdb41

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

lldb/source/Core/ValueObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ bool ValueObject::UpdateFormatsIfNeeded() {
232232
m_last_format_mgr_revision = DataVisualization::GetCurrentRevision();
233233
any_change = true;
234234

235-
SetValueFormat(DataVisualization::GetFormat(*this, eNoDynamicValues));
235+
SetValueFormat(DataVisualization::GetFormat(*this, GetDynamicValueType()));
236236
SetSummaryFormat(
237237
DataVisualization::GetSummaryFormat(*this, GetDynamicValueType()));
238238
#if LLDB_ENABLE_PYTHON

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -955,12 +955,7 @@ std::optional<std::string> SwiftLanguageRuntimeImpl::GetEnumCaseName(
955955
if (eti->projectEnumValue(*GetMemoryReader(), addr, &case_index))
956956
return eti->getCases()[case_index].Name;
957957

958-
// FIXME: Enabling this fails TestSwiftNestedCEnums.py: The test
959-
// nests a C-style enum inside of a payload-carrying enum and most
960-
// likely we're not stripping off the outer enum's discriminator
961-
// before reading the value of the inner one.
962-
963-
// LogUnimplementedTypeKind(__FUNCTION__, type);
958+
LogUnimplementedTypeKind(__FUNCTION__, type);
964959
return {};
965960
}
966961

0 commit comments

Comments
 (0)