mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 06:49:38 +02:00
+ introduced TWasmCustomDebugSectionType
This commit is contained in:
parent
cc260eb7b2
commit
efd92fba01
compiler
@ -1382,7 +1382,7 @@ implementation
|
||||
var
|
||||
section_nr: Integer;
|
||||
|
||||
procedure MaybeAddDebugSectionToSymbolTable(const sn: string; st: TWasmCustomSectionType; var debug_section_nr: Integer);
|
||||
procedure MaybeAddDebugSectionToSymbolTable(const sn: string; st: TWasmCustomDebugSectionType; var debug_section_nr: Integer);
|
||||
var
|
||||
objsec: TWasmObjSection;
|
||||
begin
|
||||
@ -1399,7 +1399,7 @@ implementation
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure MaybeWriteDebugSection(const sn: string; st: TWasmCustomSectionType);
|
||||
procedure MaybeWriteDebugSection(const sn: string; st: TWasmCustomDebugSectionType);
|
||||
var
|
||||
objsec: TWasmObjSection;
|
||||
begin
|
||||
|
@ -69,6 +69,8 @@ type
|
||||
wcstRelocDebugRanges,
|
||||
wcstRelocDebugStr);
|
||||
|
||||
TWasmCustomDebugSectionType = wcstDebugFrame..wcstDebugStr;
|
||||
|
||||
const
|
||||
WasmCustomSectionName: array [TWasmCustomSectionType] of string =
|
||||
('linking',
|
||||
|
Loading…
Reference in New Issue
Block a user