mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 12:29:17 +02:00
Merged revisions 3590 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk r3590 (florian) * allow assembler labels to be used in typed consts git-svn-id: branches/fixes_2_0@3591 -
This commit is contained in:
parent
55a3b27b99
commit
676ec647f2
@ -72,6 +72,7 @@ interface
|
||||
{$ifdef GDB}
|
||||
function stabstring : pchar;override;
|
||||
{$endif GDB}
|
||||
function mangledname:string;
|
||||
end;
|
||||
|
||||
tunitsym = class(Tstoredsym)
|
||||
@ -558,6 +559,16 @@ implementation
|
||||
{$endif GDB}
|
||||
|
||||
|
||||
function tlabelsym.mangledname:string;
|
||||
begin
|
||||
if not(defined) then
|
||||
begin
|
||||
defined:=true;
|
||||
objectlibrary.getlabel(asmblocklabel);
|
||||
end;
|
||||
result:=asmblocklabel.getname;
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
TUNITSYM
|
||||
****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user