[all-commits] [llvm/llvm-project] fc4b1a: [flang][debug] Handle array types with variable si...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Thu Oct 3 13:30:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc4b1a303b296d02f6243a083510c4ee7f290ab0
      https://github.com/llvm/llvm-project/commit/fc4b1a303b296d02f6243a083510c4ee7f290ab0
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
    M flang/test/Integration/debug-assumed-size-array.f90
    M flang/test/Integration/debug-fixed-array-type-2.f90
    A flang/test/Integration/debug-variable-array-dim.f90
    M flang/test/Transforms/debug-107988.fir
    A flang/test/Transforms/debug-assumed-shape-array-2.fir
    M flang/test/Transforms/debug-assumed-size-array.fir
    M flang/test/Transforms/debug-fixed-array-type.fir
    A flang/test/Transforms/debug-variable-array-dim.fir
    M flang/test/Transforms/debug-variable-char-len.fir

  Log Message:
  -----------
  [flang][debug] Handle array types with variable size/bounds. (#110686)

The debug information generated by flang did not handle the cases where
dimension or lower bounds of the arrays were variable. This PR fixes
this issue. It will help distinguish assumed size arrays from cases
where array size are variable. It also handles the variable lower bounds
for assumed shape arrays.
    
Fixes #98879.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list