[flang-commits] [flang] [flang][debug] Support allocatables. (PR #95557)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Fri Jun 14 10:18:15 PDT 2024
================
@@ -229,6 +253,9 @@ DebugTypeGenerator::convertType(mlir::Type Ty, mlir::LLVM::DIFileAttr fileAttr,
if (auto seqTy = mlir::dyn_cast_or_null<fir::SequenceType>(elTy))
return convertBoxedSequenceType(seqTy, fileAttr, scope, loc, false,
false);
+ if (auto heapTy = mlir::dyn_cast_or_null<fir::HeapType>(elTy))
+ return convertPointerLikeType(heapTy.getElementType(), fileAttr, scope,
+ loc, true, false);
----------------
vzakhari wrote:
nit: please add comments with argument names for the literal arguments.
https://github.com/llvm/llvm-project/pull/95557
More information about the flang-commits
mailing list