[all-commits] [llvm/llvm-project] 74b02d: [DWARFYAML] Make the debug_aranges entry optional.

Xing GUO via All-commits all-commits at lists.llvm.org
Fri Jul 31 05:21:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74b02d73e34278e081dcb4946d66b9562f0986fe
      https://github.com/llvm/llvm-project/commit/74b02d73e34278e081dcb4946d66b9562f0986fe
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/ObjectYAML/DWARFEmitter.cpp
    M llvm/lib/ObjectYAML/DWARFYAML.cpp
    M llvm/lib/ObjectYAML/MachOEmitter.cpp
    M llvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml
    M llvm/tools/obj2yaml/dwarf2yaml.cpp

  Log Message:
  -----------
  [DWARFYAML] Make the debug_aranges entry optional.

This patch makes the 'debug_aranges' entry optional. If the entry is
empty, yaml2obj will only emit the header for it.

Reviewed By: jhenderson

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




More information about the All-commits mailing list