[PATCH] D87263: [DWARFYAML] Make the debug_ranges section optional.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 7 19:19:15 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Higuoxing requested review of this revision.
This patch makes the debug_ranges section optional. When we specify an
empty debug_ranges section, yaml2obj only emits the section header.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87263
Files:
llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/lib/ObjectYAML/DWARFEmitter.cpp
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml
llvm/test/tools/yaml2obj/ELF/DWARF/debug-ranges.yaml
llvm/tools/obj2yaml/dwarf2yaml.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87263.290393.patch
Type: text/x-patch
Size: 6026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/7092d6ad/attachment.bin>
More information about the llvm-commits
mailing list