소스 검색

* fixed internal linker crash if no tags are defined (i.e. no WASM native exceptions used)

Nikolay Nikolov 1 년 전
부모
커밋
e3f4bad164
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ogwasm.pas

+ 1 - 1
compiler/ogwasm.pas

@@ -4739,7 +4739,7 @@ implementation
         begin
           exesec:=FindExeSection('.wasm_tags');
           if not assigned(exesec) then
-            internalerror(2024010701);
+            exit;
           tags_count:=exesec.ObjSectionList.Count;
           if tags_count<>exesec.Size then
             internalerror(2024010702);