1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 08:06:04 +02:00

Soft error for unknown symbol type in COFF::EvaluateLocation

This commit is contained in:
Brian Fiete 2022-01-04 10:29:30 -05:00
parent db6cfcf211
commit bab233746e

View file

@ -6387,7 +6387,9 @@ intptr COFF::EvaluateLocation(DbgSubprogram* dwSubprogram, const uint8* locData,
}
break;
default:
BF_FATAL("Not handled");
if (!mFailed)
Fail(StrFormat("Unknown symbol type '0x%X' in EvaluateLocation", symType));
return 0;
}
if (rangeInfo != NULL)