aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorAbid Qadeer <haqadeer@amd.com>2024-07-10 10:23:37 +0100
committerGitHub <noreply@github.com>2024-07-10 10:23:37 +0100
commit7df39ac394c57768abbb254d80fabe7e385c8500 (patch)
treec4c9c8d30e18fd915e7c70f7e55cbd55775b2090 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent145a69294788edf5fd19d7c2162e98558e97e400 (diff)
downloadllvm-7df39ac394c57768abbb254d80fabe7e385c8500.zip
llvm-7df39ac394c57768abbb254d80fabe7e385c8500.tar.gz
llvm-7df39ac394c57768abbb254d80fabe7e385c8500.tar.bz2
[flang][debug] Support assumed size arrays. (#96316)
Here we don't know the size of last dimension and use a null subrange for that. User will have to provide the dimension when evaluating variable of this type. The debugging looks like as follows: subroutine fn(a1, a2) integer a1(5, *), a2(*) ... end (gdb) p a1(1,2) $2 = 2 (gdb) p a2(3) $3 = 3 (gdb) ptype a1 type = integer (5,*) (gdb) ptype a2 type = integer (*)
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions