Преглед изворни кода

* fixed blocksize when generating debug info for WebAssembly threadvars

Nikolay Nikolov пре 1 година
родитељ
комит
cc15a2dba7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compiler/dbgdwarf.pas

+ 1 - 1
compiler/dbgdwarf.pas

@@ -2394,7 +2394,7 @@ implementation
                         templist.concat(tai_const.create_8bit(ord(DW_OP_addr)));
                         templist.concat(tai_const.Create_type_name(aitconst_ptr_unaligned,sym.mangledname,0));
                         templist.concat(tai_const.create_8bit(ord(DW_OP_plus)));
-                        blocksize:=3+2*sizeof(puint);
+                        blocksize:=4+2*sizeof(puint);
 {$else wasm}
                         if tf_section_threadvars in target_info.flags then
                           begin