Upon invalid alignment value, still set a default valid alignment value to avoid
hitting later asserts.
Fix #55273
Differential D125688
[MCParser] Set default alignment value when meeting invalid align serge-sans-paille on May 16 2022, 7:07 AM. Authored by
Details Upon invalid alignment value, still set a default valid alignment value to avoid Fix #55273
Diff Detail
Event TimelineComment Actions I wonder... is there a way to make the difference between an error and an abort? Because without this patch we get an error message followed by an abort, and with this patch we only get the error. Comment Actions Gentle ping :-) I'm a little unsure on the value change upon error, but that's also a bit strange to issue an error but still generate some output.
|
What if the alignment is a non-pow2 greater than 32-bit? I think that case will sneak through.