Kaynağa Gözat

+ add the debug sections in the WASI internal linker script file

Nikolay Nikolov 1 yıl önce
ebeveyn
işleme
995309c209
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      compiler/systems/t_wasi.pas

+ 1 - 0
compiler/systems/t_wasi.pas

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