[PATCH] D131890: [llvm-objdump] Start on -chained_fixups for llvm-otool
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 13:43:34 PDT 2022
thakis added a comment.
I'm guessing the problem is that MachOObjectFile.cpp swaps load commands and assumes native byte endianness – but the yaml test here uses `__LINKEDIT` which always contains little-endian data.
Possible fixes:
1. Force the yaml2obj output to be little endian somehow (I don't see a flag for this, though – am I not looking closely enough?)
2. Skip the test on big endian machines (do we have a lit feature for this?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131890/new/
https://reviews.llvm.org/D131890
More information about the llvm-commits
mailing list