浏览代码

* 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);