-
-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
I've been tinkering with the xtensa backend; showing excellent progress! Builds most code, but I'm seeing a weird crash in the backend when I enable any optimisations (essential to minimise code size) in conjunction with exception handling... I think this is reduced from my situation:
// ldc2 -mtriple=xtensa-none-elf -mattr=+density,+mul16,+mul32,+div32,+windowed -O1 -c
module xtensa_eh_crash;
void external_call(int delegate(const(char)[], int) dg);
int opApply(int delegate(const(char)[], int) dg)
{
int result;
try
{
external_call(dg);
}
catch (Exception e)
{
result = -1;
}
return result;
}I'm using the LLVM21 build.
Can you imagine any reason this would cause a problem?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels