mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 03:30:34 +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(' ');
|
||||
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('* ');
|
||||
asmwriteln(LlvmAsmSymName(taillvmalias(hp).oldsym));
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user