mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 07:49:12 +02:00
dbgllvm: handle array of const (stub)
This commit is contained in:
parent
aec7aefdd5
commit
91563115c4
@ -844,6 +844,13 @@ implementation
|
|||||||
exit;
|
exit;
|
||||||
end;
|
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)
|
if is_special_array(def)
|
||||||
and not((llvmflag_array_datalocation in llvmversion_properties[current_settings.llvmversion]) and
|
and not((llvmflag_array_datalocation in llvmversion_properties[current_settings.llvmversion]) and
|
||||||
is_dynamic_array(def)) then
|
is_dynamic_array(def)) then
|
||||||
|
Loading…
Reference in New Issue
Block a user