dbgllvm: handle array of const (stub)

This commit is contained in:
Jonas Maebe 2022-04-28 21:56:46 +02:00
parent aec7aefdd5
commit 91563115c4

View File

@ -844,6 +844,13 @@ implementation
exit;
end;
if is_array_of_const(def) then
begin
{ no idea about the size, generate an array of 1 element -- although it could be empty }
appenddef_array_internal(list,def,def.elementdef,0,1);
exit;
end;
if is_special_array(def)
and not((llvmflag_array_datalocation in llvmversion_properties[current_settings.llvmversion]) and
is_dynamic_array(def)) then