mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:29:33 +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 }
|
||||
WriteImports;
|
||||
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;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user