[all-commits] [llvm/llvm-project] a6f197: [llvm-objcopy][MachO] Correctly identify object fi...

lhames via All-commits all-commits at lists.llvm.org
Thu Apr 16 21:54:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a6f19762c6d9d3ff4074b85194c9409635aa8014
      https://github.com/llvm/llvm-project/commit/a6f19762c6d9d3ff4074b85194c9409635aa8014
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.h

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list