[PATCH] D139572: [lld-macho] Fix bug in reading cpuSubType field.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 05:31:56 PST 2022
thakis added inline comments.
================
Comment at: lld/MachO/InputFiles.cpp:234
- if (read32be(&arch[i].cputype) != static_cast<uint32_t>(target->cpuType) ||
- read32be(&arch[i].cpusubtype) != target->cpuSubtype)
+ uint32_t cuptype = read32be(&arch[i].cputype);
+ uint32_t cpusubtype =
----------------
int3 wrote:
>
also `cpuType`, `cpuSubtype`
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