mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 15:10:40 +02:00
agllvm: fix writing strings in metadata arrays
They were interpreted as part of larger strings
This commit is contained in:
parent
a8352f3e99
commit
b2ea782eb4
@ -1124,6 +1124,7 @@ implementation
|
|||||||
writer.AsmWrite(' ');
|
writer.AsmWrite(' ');
|
||||||
if (tai_abstracttypedconst(p).adetyp=tck_simple) and
|
if (tai_abstracttypedconst(p).adetyp=tck_simple) and
|
||||||
assigned(tai_simpletypedconst(p).val) and
|
assigned(tai_simpletypedconst(p).val) and
|
||||||
|
(tai_simpletypedconst(p).def<>charpointertype) and
|
||||||
(tai_simpletypedconst(p).val.typ=ait_string) then
|
(tai_simpletypedconst(p).val.typ=ait_string) then
|
||||||
begin
|
begin
|
||||||
gotstring:=true;
|
gotstring:=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user