This is an archive of the discontinued LLVM Phabricator instance.

[MachO] Add missing byte-swaps when reading dyld_info
ClosedPublic

Authored by tstellar on Jul 5 2017, 10:27 AM.

Details

Summary

This fixes the following tests on big-endian hosts:

lld :: mach-o/dylib-install-names.yaml
lld :: mach-o/force_load-dylib.yaml
lld :: mach-o/lib-search-paths.yaml
lld :: mach-o/upward-dylib-load-command.yaml

Event Timeline

tstellar created this revision.Jul 5 2017, 10:27 AM
ruiu accepted this revision.Jul 5 2017, 11:43 AM

LGTM

This revision is now accepted and ready to land.Jul 5 2017, 11:43 AM
This revision was automatically updated to reflect the committed changes.