[PATCH] D119671: [ObjectYAML][MachO] Add basic chained fixups support

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 13 10:04:16 PST 2022


keith created this revision.
keith added reviewers: aprantl, alexander-shaposhnikov, jhenderson.
Herald added a subscriber: hiraditya.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This adds the most basic versions of chained fixups / dyld exports trie
support by encoding and decoding the bytes directly instead of with a
structured approach. This is at least useful to be able to write tests
from other tools without having to check in binaries, but in the future
we might want to replace this format with one mirroring the actual
format.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119671

Files:
  llvm/include/llvm/Object/MachO.h
  llvm/include/llvm/ObjectYAML/MachOYAML.h
  llvm/lib/Object/MachOObjectFile.cpp
  llvm/lib/ObjectYAML/MachOEmitter.cpp
  llvm/lib/ObjectYAML/MachOYAML.cpp
  llvm/test/ObjectYAML/MachO/chained_fixups.yaml
  llvm/tools/obj2yaml/macho2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119671.408277.patch
Type: text/x-patch
Size: 15225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220213/557906a2/attachment.bin>


More information about the llvm-commits mailing list