Skip to content
Commit 01d1de81 authored by Fangrui Song's avatar Fangrui Song
Browse files

[MC] Reject byte alignment if larger than or equal to 2**32

This is consistent with the resolution to power-of-2 alignments.
Otherwise, emitCodeAlignment and emitValueToAlignment cannot handle alignments
larger than 2**32 and will trigger assertion failure (PR35218).

Note: GNU as as of 2.35 will use 1 for such a large byte `.align`
parent 47dbee67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment