mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 19:39:45 +02:00
+ added a section array to the wasm exe writer
This commit is contained in:
parent
16c4e0300c
commit
b2f31c4112
@ -235,6 +235,7 @@ interface
|
||||
TypeIdx: uint32;
|
||||
end;
|
||||
|
||||
FWasmSections: array [TWasmSectionID] of tdynamicarray;
|
||||
protected
|
||||
function writeData:boolean;override;
|
||||
procedure DoRelocationFixup(objsec:TObjSection);override;
|
||||
@ -4063,7 +4064,11 @@ implementation
|
||||
end;
|
||||
|
||||
destructor TWasmExeOutput.destroy;
|
||||
var
|
||||
i: TWasmSectionID;
|
||||
begin
|
||||
for i in TWasmSectionID do
|
||||
FWasmSections[i].Free;
|
||||
FFuncTypes.Free;
|
||||
inherited destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user