mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 13:19:34 +01:00
Allow compilation of ppudump with -dHEAPTRC command line option
git-svn-id: trunk@22422 -
This commit is contained in:
parent
e2e4634295
commit
de2543f2bd
@ -166,10 +166,12 @@ implementation
|
||||
uses
|
||||
SysUtils,
|
||||
Comphook,
|
||||
{$ifndef GENERIC_CPU}
|
||||
{$ifdef heaptrc}
|
||||
fmodule,
|
||||
ppheap,
|
||||
{$endif heaptrc}
|
||||
{$endif not GENERIC_CPU}
|
||||
cfileutl,
|
||||
Globals,Systems
|
||||
;
|
||||
@ -544,9 +546,11 @@ uses
|
||||
{ update cache }
|
||||
cacheindex:=last_ref_index;
|
||||
cacheinputfile:=f;
|
||||
{$ifndef GENERIC_CPU}
|
||||
{$ifdef heaptrc}
|
||||
ppheap_register_file(f.path+f.name,current_module.unit_index*100000+f.ref_index);
|
||||
{$endif heaptrc}
|
||||
{$endif not GENERIC_CPU}
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user