[all-commits] [llvm/llvm-project] 9f5270: [obj2yaml, yaml2obj] Add NumBlocks to the BBAddrMap...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Mon Feb 22 18:08:58 PST 2021


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

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

  Log Message:
  -----------
  [obj2yaml,yaml2obj] Add NumBlocks to the BBAddrMapEntry yaml field.

As discussed in D95511, this allows us to encode invalid BBAddrMap
sections to be used in more rigorous testing.

Reviewed By: jhenderson

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




More information about the All-commits mailing list