HomePhabricator

[llvm-objcopy][MachO] Fix MachO::relocation_info use after 386f1c114d5.

Authored by lhames on Apr 16 2020, 6:21 PM.

Description

[llvm-objcopy][MachO] Fix MachO::relocation_info use after 386f1c114d5.

Use shift/mask operations to access r_symbolnum rather than relying on
MachO::relocation_info. This should fix the big-endian bot failures that were
caused by 386f1c114d5.

Details

Committed
lhamesApr 16 2020, 6:26 PM
Parents
rGcbf99e0fbab5: [WebAssembly] Fix faulty logic in verifyRelocTargets
Branches
Unknown
Tags
Unknown