[all-commits] [llvm/llvm-project] 7d4f70: Reland 3nd attempt: [lld-macho] Fix bug in readin...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Sat Dec 17 20:36:08 PST 2022


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

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

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

This reverts commit 09c5aab7f88178c1af92de0b00417416da9db6c1.

New changes:
Temporarily skip checking the output bundle's cpu/cpu-subtype
Suspected there's a bug in selecting targets which caused the produced bundle
to be arm64 bundle (even though it was specifically linked with -arch x86_64).

The current test that link succeeded should be sufficient, because
it would have failed with "unable to find matching tagets" prior to this patch.

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




More information about the All-commits mailing list