[all-commits] [llvm/llvm-project] 15cfb4: [macho2yaml] Fixup offset for nodes in export trie.

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Wed Aug 9 09:20:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15cfb4494d81a23aca8b7d5e2ac8721fa69b122d
      https://github.com/llvm/llvm-project/commit/15cfb4494d81a23aca8b7d5e2ac8721fa69b122d
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    A llvm/test/tools/obj2yaml/MachO/simple-exporttrie.yaml
    M llvm/tools/obj2yaml/macho2yaml.cpp

  Log Message:
  -----------
  [macho2yaml] Fixup offset for nodes in export trie.

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.

Reviewed By: pete, steven_wu

Differential Revision: https://reviews.llvm.org/D157431




More information about the All-commits mailing list