[flang-commits] [flang] [flang][debug] Support allocatables. (PR #95557)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Mon Jun 17 02:59:29 PDT 2024


================
@@ -190,6 +192,28 @@ mlir::LLVM::DITypeAttr DebugTypeGenerator::convertSequenceType(
       /* associated */ nullptr);
 }
 
+mlir::LLVM::DITypeAttr DebugTypeGenerator::convertPointerLikeType(
+    mlir::Type elTy, mlir::LLVM::DIFileAttr fileAttr,
+    mlir::LLVM::DIScopeAttr scope, mlir::Location loc, bool genAllocated,
+    bool genAssociated) {
+  mlir::MLIRContext *context = module.getContext();
+
+  // Arrays and character need different treatment because DWARF have special
----------------
abidh wrote:

The special handling of allocatable characters will come in the next PR. I only added arrays in this one as their handling was already present.

https://github.com/llvm/llvm-project/pull/95557


More information about the flang-commits mailing list