[all-commits] [llvm/llvm-project] f1ff6d: [obj2yaml, yaml2obj] Use Hex64 for BBAddressMap fi...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Mon Feb 1 15:38:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1ff6d210a5fb45dc90d063d04b12b9da0ae4110
      https://github.com/llvm/llvm-project/commit/f1ff6d210a5fb45dc90d063d04b12b9da0ae4110
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/ELFYAML.h
    M llvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [obj2yaml, yaml2obj] Use Hex64 for BBAddressMap fields.

This patch let the yaml encoding use Hex64 values for NumBlocks, BB AddressOffset, BB Size, and BB Metadata.
Additionally, it changes the decoded values in elf2yaml to uint64_t to match DataExtractor::getULEB128 return type.

Reviewed By: jhenderson

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




More information about the All-commits mailing list