[all-commits] [llvm/llvm-project] b08ace: Reland 2nd attempt: [lld-macho] Fix bug in readin...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Fri Dec 16 19:04:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b08acee423935c16a1503335d78b84ccbbae4ef8
      https://github.com/llvm/llvm-project/commit/b08acee423935c16a1503335d78b84ccbbae4ef8
  Author: Vy Nguyen <vyng at google.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/fat-arch.s

  Log Message:
  -----------
  Reland 2nd attempt:  [lld-macho] Fix bug in reading cpuSubType field.

This reverts commit 52a118d08fbb0a45cba8c34346d9ccb14f599c6a.

New changes:
Fix tests to dump both slices in the fat-archive because otool
isn't deterministic about which slice it prints across different archs.
(It printed x86 on x86 machines but arm64 on arm64, this was why
the test failed on arm64)

Differential Revision: https://reviews.llvm.org/D139572




More information about the All-commits mailing list