mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 07:28:26 +02:00
dbgllvm: fix infinite loop when writing multi-dimensional array info
This commit is contained in:
parent
a7e19e9f06
commit
8d2d91d505
@ -900,7 +900,7 @@ implementation
|
||||
subrangenode.addint64('lowerBound',tarraydef(nesteddef).lowrange);
|
||||
list.concat(subrangenode);
|
||||
arrayrangenode.addvalue(llvm_getmetadatareftypedconst(subrangenode));
|
||||
nesteddef:=def.elementdef;
|
||||
nesteddef:=tarraydef(nesteddef).elementdef;
|
||||
end;
|
||||
{ the array definition }
|
||||
dinode:=def_set_meta_impl(def,tai_llvmspecialisedmetadatanode.create(tspecialisedmetadatanodekind.DICompositeType));
|
||||
|
Loading…
Reference in New Issue
Block a user