mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 03:41:28 +01:00
* support llvm aliases for defs other than procdef
git-svn-id: trunk@31052 -
This commit is contained in:
parent
4eea652576
commit
54dd25b448
@ -949,7 +949,10 @@ implementation
|
|||||||
asmwrite(copy(s, length('llv_')+1, 255));
|
asmwrite(copy(s, length('llv_')+1, 255));
|
||||||
asmwrite(' ');
|
asmwrite(' ');
|
||||||
end;
|
end;
|
||||||
asmwrite(llvmencodeproctype(tabstractprocdef(taillvmalias(hp).def), '', lpd_alias));
|
if taillvmalias(hp).def.typ=procdef then
|
||||||
|
asmwrite(llvmencodeproctype(tabstractprocdef(taillvmalias(hp).def), '', lpd_alias))
|
||||||
|
else
|
||||||
|
asmwrite(llvmencodetypename(taillvmalias(hp).def));
|
||||||
asmwrite('* ');
|
asmwrite('* ');
|
||||||
asmwriteln(LlvmAsmSymName(taillvmalias(hp).oldsym));
|
asmwriteln(LlvmAsmSymName(taillvmalias(hp).oldsym));
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user