diff options
author | Lang Hames <lhames@gmail.com> | 2020-04-16 21:48:40 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-04-16 21:54:01 -0700 |
commit | a6f19762c6d9d3ff4074b85194c9409635aa8014 (patch) | |
tree | 59da8dab66410c893a9f07d10378a67b52b6c3fc /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 186709c6e0bd1025fb578e43911325530cb97f09 (diff) | |
download | llvm-a6f19762c6d9d3ff4074b85194c9409635aa8014.zip llvm-a6f19762c6d9d3ff4074b85194c9409635aa8014.tar.gz llvm-a6f19762c6d9d3ff4074b85194c9409635aa8014.tar.bz2 |
[llvm-objcopy][MachO] Correctly identify object file endianness.
The header magic value is held in the native endianness, so the method used in
cc0ec3fdb9d. Use MachOReader / MachOWriter's existing endianness tests instead.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions