[all-commits] [llvm/llvm-project] 25c3fa: [DWARFYAML] Make the debug_ranges section optional.

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Sep 8 04:56:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 25c3fa3f13336b2da7c63162b0d9da164a0a96a1
      https://github.com/llvm/llvm-project/commit/25c3fa3f13336b2da7c63162b0d9da164a0a96a1
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

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

  Log Message:
  -----------
  [DWARFYAML] Make the debug_ranges section optional.

This patch makes the debug_ranges section optional. When we specify an
empty debug_ranges section, yaml2obj only emits the section header.

Reviewed By: jhenderson

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




More information about the All-commits mailing list