[all-commits] [llvm/llvm-project] 428b2f: [DWARFYAML] Make the debug_str section optional.

Xing GUO via All-commits all-commits at lists.llvm.org
Mon Aug 31 19:04:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 428b2ffad4a346a967a4a105356fbc0fa518e2cc
      https://github.com/llvm/llvm-project/commit/428b2ffad4a346a967a4a105356fbc0fa518e2cc
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-09-01 (Tue, 01 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_str.yaml
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml
    M llvm/tools/obj2yaml/dwarf2yaml.cpp

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

This patch makes the debug_str section optional. When the debug_str
section exists but doesn't contain anything, yaml2obj will emit a
section header for it.

Reviewed By: grimar

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




More information about the All-commits mailing list