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

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Wed Feb 17 15:45:56 PST 2021


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

  Changed paths:
    M llvm/include/llvm/ObjectYAML/ELFYAML.h
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
    M llvm/test/tools/yaml2obj/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