[all-commits] [llvm/llvm-project] 3c5758: [macho2yaml] Refactor the DWARF section dumpers.
Xing GUO via All-commits
all-commits at lists.llvm.org
Mon Aug 10 19:19:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3c5758964c591481947dd7ab99ba901688068488
https://github.com/llvm/llvm-project/commit/3c5758964c591481947dd7ab99ba901688068488
Author: Xing GUO <higuoxing at gmail.com>
Date: 2020-08-11 (Tue, 11 Aug 2020)
Changed paths:
M llvm/lib/ObjectYAML/DWARFYAML.cpp
M llvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
R llvm/test/tools/obj2yaml/MachO/DWARF-debug_aranges-error.yaml
A llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
A llvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml
M llvm/tools/obj2yaml/dwarf2yaml.cpp
M llvm/tools/obj2yaml/macho2yaml.cpp
M llvm/tools/obj2yaml/obj2yaml.h
Log Message:
-----------
[macho2yaml] Refactor the DWARF section dumpers.
This patch refactors the DWARF section dumpers. When dumping a DWARF
section, if the DWARF parser fails to parse the section, we will dump it
as a raw content section. This patch also fixes a bug in
DWARFYAML::Data::isEmpty(). Finally, a test case that tests dumping the
__debug_aranges section is added.
Reviewed By: jhenderson, grimar
Differential Revision: https://reviews.llvm.org/D85506
More information about the All-commits
mailing list