mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 07:28:26 +02:00
llvmdbg: disable open array data location
Since we don't generate full debug info for parameters yet, this internalerrors
This commit is contained in:
parent
fd125b506e
commit
cddffbed58
@ -835,6 +835,7 @@ implementation
|
||||
which is not possible here since we need the parasym rather than the def }
|
||||
if is_open_array(def) then
|
||||
begin
|
||||
(*
|
||||
if llvmflag_array_datalocation in llvmversion_properties[current_settings.llvmversion] then
|
||||
begin
|
||||
dinode:=def_meta_impl(def);
|
||||
@ -842,7 +843,7 @@ implementation
|
||||
if not assigned(dinode) then
|
||||
internalerror(2021112002);
|
||||
end
|
||||
else
|
||||
else *)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user