mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 09:29:35 +02:00
+ write the import function indexes in the linker map file
This commit is contained in:
parent
1c1dbaf776
commit
409de5ac96
@ -4216,10 +4216,10 @@ implementation
|
||||
|
||||
function AddFunctionImport(const libname,symname:TCmdStr; functype: TWasmFuncType): Integer;
|
||||
begin
|
||||
if assigned(exemap) then
|
||||
exemap.Add(' Importing Function ' + symname + functype.ToString);
|
||||
SetLength(FFunctionImports,Length(FFunctionImports)+1);
|
||||
Result:=High(FFunctionImports);
|
||||
if assigned(exemap) then
|
||||
exemap.Add(' Importing Function[' + tostr(Result) + '] ' + symname + functype.ToString);
|
||||
with FFunctionImports[Result] do
|
||||
begin
|
||||
ModName:=libname;
|
||||
|
Loading…
Reference in New Issue
Block a user