+ WASI internal linker: also add .debug_frame and .debug_str sections to the output binary

This commit is contained in:
Nikolay Nikolov 2024-01-06 23:24:26 +02:00
parent 49395f2b00
commit 749688b3b0

View File

@ -316,7 +316,7 @@ begin
LinkScript.Concat(' OBJSECTION .bss*');
LinkScript.Concat('ENDEXESECTION');
ScriptAddGenericSections('.debug_abbrev,.debug_info,.debug_line,.debug_aranges,.debug_ranges');
ScriptAddGenericSections('.debug_frame,.debug_info,.debug_line,.debug_abbrev,.debug_aranges,.debug_ranges,.debug_str');
end;
function TInternalLinkerWasi.GetDataSize(aExeOutput: TExeOutput): QWord;