The following test fails when enabling UBSan due to a left shift of a
negative value:
runtime error: left shift of negative value -2
BOLT :: AArch64/ext-island-ref.s
This patch fixes this by using a multiplication instead of a shift.
Differential D148218
[BOLT][NFC] Fix UB due to left shift of negative value jobnoorman on Apr 13 2023, 5:21 AM. Authored by
Details The following test fails when enabling UBSan due to a left shift of a
BOLT :: AArch64/ext-island-ref.s This patch fixes this by using a multiplication instead of a shift.
Diff Detail
|