+ added custom section descriptions for DWARF debug info for the WebAssembly object writer (not actually emitted, yet)

This commit is contained in:
Nikolay Nikolov 2022-07-16 00:46:47 +03:00
parent 22a1849733
commit eed1fbe38a

View File

@ -51,7 +51,23 @@ type
wcstRelocCode,
wcstRelocData,
wcstProducers,
wcstTargetFeatures);
wcstTargetFeatures,
wcstDebugFrame,
wcstDebugInfo,
wcstDebugLine,
wcstDebugAbbrev,
wcstDebugAranges,
wcstDebugRanges,
wcstDebugStr,
wcstRelocDebugFrame,
wcstRelocDebugInfo,
wcstRelocDebugLine,
wcstRelocDebugAbbrev,
wcstRelocDebugAranges,
wcstRelocDebugRanges,
wcstRelocDebugStr);
const
WasmCustomSectionName: array [TWasmCustomSectionType] of string =
@ -59,7 +75,23 @@ const
'reloc.CODE',
'reloc.DATA',
'producers',
'target_features');
'target_features',
'.debug_frame',
'.debug_info',
'.debug_line',
'.debug_abbrev',
'.debug_aranges',
'.debug_ranges',
'.debug_str',
'reloc..debug_frame',
'reloc..debug_info',
'reloc..debug_line',
'reloc..debug_abbrev',
'reloc..debug_aranges',
'reloc..debug_ranges',
'reloc..debug_str');
type
TWasmRelocationType = (