[PATCH] D157431: [macho2yaml] Fixup offset for nodes in export trie.

Cyndy Ishida via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 12:57:11 PDT 2023


cishida created this revision.
cishida added reviewers: pete, ributzka, steven_wu, drodriguez.
Herald added a project: All.
cishida requested review of this revision.
Herald added a project: LLVM.

The offset recorded in export trie nodes is used to capture symbol
information like address and node size. This offset should be relative to the
root of the trie. This updates to `processExportNode` to follow that
expectation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157431

Files:
  llvm/test/tools/obj2yaml/MachO/simple-exporttrie.yaml
  llvm/tools/obj2yaml/macho2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157431.548320.patch
Type: text/x-patch
Size: 7275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230808/1d839d50/attachment.bin>


More information about the llvm-commits mailing list