[flang-commits] [flang] [flang][debug] Support allocatables. (PR #95557)
Abid Qadeer via flang-commits
flang-commits at lists.llvm.org
Mon Jun 17 03:01:10 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);
----------------
abidh wrote:
I will fix this and will also open a separate PR to cleanup the comments throughout the file.
https://github.com/llvm/llvm-project/pull/95557
More information about the flang-commits
mailing list