[flang-commits] [flang] [flang][debug] Handle allocatable strings. (PR #95906)

via flang-commits flang-commits at lists.llvm.org
Tue Jun 18 07:58:14 PDT 2024


================
@@ -192,10 +194,8 @@ mlir::LLVM::DITypeAttr DebugTypeGenerator::convertSequenceType(
 
 mlir::LLVM::DITypeAttr DebugTypeGenerator::convertCharacterType(
     fir::CharacterType charTy, mlir::LLVM::DIFileAttr fileAttr,
-    mlir::LLVM::DIScopeAttr scope, mlir::Location loc) {
+    mlir::LLVM::DIScopeAttr scope, mlir::Location loc, bool allocatable) {
----------------
jeanPerier wrote:

I suspect you will have to make this name a bit more generic (something like 'hasDescriptor') for later patch with debug info for CHARACTER POINTER (and assumed shape character arrays).

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


More information about the flang-commits mailing list