[lld-macho] Fix "shift exponent too large" UBSAN error
authorJez Ng <jezng@fb.com>
Mon, 14 Jun 2021 03:20:30 +0000 (23:20 -0400)
committerJez Ng <jezng@fb.com>
Mon, 14 Jun 2021 17:47:25 +0000 (13:47 -0400)
commitcc17bfe4898de0b57b58103bb629960f89eb4706
tree386bfb3c0f54ad15fc469744f05fc984f785be1c
parente06b9ba48562741357622573d194209fdfb70274
[lld-macho] Fix "shift exponent too large" UBSAN error

UBSAN seems to have added this check somewhere along the way...

This might also fix the PPC buildbot, which is failing on the same test
lld/MachO/InputFiles.cpp