We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed88700 commit 0563889Copy full SHA for 0563889
lib/IRGen/IRGenDebugInfo.cpp
@@ -2613,6 +2613,10 @@ void IRGenDebugInfoImpl::emitVariableDeclaration(
2613
2614
for (llvm::Value *Piece : Storage) {
2615
SmallVector<uint64_t, 3> Operands;
2616
+
2617
+ if (DbgTy.getType()->isForeignReferenceType())
2618
+ Operands.push_back(llvm::dwarf::DW_OP_deref);
2619
2620
if (Indirection == IndirectValue || Indirection == CoroIndirectValue)
2621
Operands.push_back(llvm::dwarf::DW_OP_deref);
2622
0 commit comments