mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 09:39:09 +02:00
+ declare __FPC_exception as a label, otherwise wasm-ld crashes
This commit is contained in:
parent
8ad5362b17
commit
ac2f299d04
@ -157,7 +157,10 @@ implementation
|
|||||||
{ print all global procedures/functions }
|
{ print all global procedures/functions }
|
||||||
WriteImports;
|
WriteImports;
|
||||||
if ts_wasm_native_exceptions in current_settings.targetswitches then
|
if ts_wasm_native_exceptions in current_settings.targetswitches then
|
||||||
writer.AsmWriteLn(#9'.tagtype'#9'__FPC_exception');
|
begin
|
||||||
|
writer.AsmWriteLn(#9'.tagtype'#9'__FPC_exception');
|
||||||
|
writer.AsmWriteLn('__FPC_exception:');
|
||||||
|
end;
|
||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user