Skip to content

Commit 2a3f0be

Browse files
committed
Adjust to TypeExpansionContext change
rdar://52706501
1 parent 3ba13de commit 2a3f0be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftSILManipulator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ swift::SILValue SwiftSILManipulator::emitLValueForVariable(
105105
swift::LoadOwnershipQualifier::Trivial);
106106
auto type = var->getDeclContext()->mapTypeIntoContext(
107107
var->getInterfaceType());
108-
auto loweredType = converter.getLoweredRValueType(type);
108+
auto loweredType = converter.getLoweredRValueType(
109+
swift::TypeExpansionContext::minimal(), type);
109110
swift::PointerToAddressInst *address_of_variable =
110111
m_builder.createPointerToAddress(
111112
null_loc, pointer_to_variable,

0 commit comments

Comments
 (0)