소스 검색

* 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