[PATCH] D86860: [DWARFYAML] Make the debug_str section optional.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 30 23:43:41 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Higuoxing requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86860
Files:
llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/lib/ObjectYAML/DWARFEmitter.cpp
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml
llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml
llvm/tools/obj2yaml/dwarf2yaml.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86860.288893.patch
Type: text/x-patch
Size: 6148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200831/4cfbe5f9/attachment.bin>
More information about the llvm-commits
mailing list