agllvm: fix writing strings in metadata arrays

They were interpreted as part of larger strings
This commit is contained in:
Jonas Maebe 2022-07-06 21:12:57 +02:00
parent a8352f3e99
commit b2ea782eb4

View File

@ -1124,6 +1124,7 @@ implementation
writer.AsmWrite(' ');
if (tai_abstracttypedconst(p).adetyp=tck_simple) and
assigned(tai_simpletypedconst(p).val) and
(tai_simpletypedconst(p).def<>charpointertype) and
(tai_simpletypedconst(p).val.typ=ait_string) then
begin
gotstring:=true;