mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
* fixed bug that caused the "sret" argument attribute to never be used (and
a guaranteed internalerror on AArch64/llvm) git-svn-id: trunk@40565 -
This commit is contained in:
parent
2e98c7d41b
commit
97bc58d248
@ -690,9 +690,7 @@ implementation
|
||||
llvmextractvalueextinfo(hp.vardef,usedef,signext);
|
||||
{ implicit zero/sign extension for ABI compliance? }
|
||||
if not first then
|
||||
encodedstr:=encodedstr+', '
|
||||
else
|
||||
first:=false;
|
||||
encodedstr:=encodedstr+', ';
|
||||
llvmaddencodedtype_intern(usedef,[],encodedstr);
|
||||
{ in case signextstr<>'', there should be only one paraloc -> no need
|
||||
to clear (reason: it means that the paraloc is larger than the
|
||||
@ -769,6 +767,7 @@ implementation
|
||||
encodedstr:=encodedstr+' '+llvmasmsymname(paraloc^.llvmloc.sym);
|
||||
end;
|
||||
paraloc:=paraloc^.next;
|
||||
first:=false;
|
||||
until not assigned(paraloc);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user