mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 00:59:30 +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(' ');
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user