[PATCH] D139572: [lld-macho] Fix bug in reading cpuSubType field.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 07:34:44 PST 2022


oontvoo added a comment.

In D139572#3979427 <https://reviews.llvm.org/D139572#3979427>, @int3 wrote:

> Is there a test we could write here? How do the other bits in cpusubtype get set?

Added the test to fat-arch.s
(Without this, it'd throw an error when linking the `%t.fat.bundle` : `ld64.lld: error: unable to find matching architecture in fat-arch.s.tmp.fat.exec.out` )


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139572/new/

https://reviews.llvm.org/D139572



More information about the llvm-commits mailing list