mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Debug info: allow for boxed arguments. rdar://problem/15035486
Swift SVN r8713
This commit is contained in:
@@ -2126,11 +2126,11 @@ void IRGenSILFunction::visitAllocBoxInst(swift::AllocBoxInst *i) {
|
||||
setLoweredExplosion(boxValue, box);
|
||||
setLoweredAddress(ptrValue, addr.getAddress());
|
||||
if (IGM.DebugInfo)
|
||||
IGM.DebugInfo->emitBoxVariableDeclaration
|
||||
IGM.DebugInfo->emitStackVariableDeclaration
|
||||
(Builder,
|
||||
addr.getAddress().getAddress(),
|
||||
DebugTypeInfo(i->getElementType().getSwiftType(), type),
|
||||
Name);
|
||||
Name, i, /* Boxed */true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user