[PATCH] D86192: [obj2yaml] Refactor the .debug_pub* sections dumper.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 21:01:18 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, aprantl.
Herald added a project: LLVM.
Higuoxing requested review of this revision.
It's good to reuse the DWARF parser in lib/DebugInfo so that we don't
need to maintain a separate parser in client side (obj2yaml). Besides,
A test case is added whose length field is a very huge value which makes
obj2yaml stuck when parsing the section.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86192
Files:
llvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
llvm/tools/obj2yaml/dwarf2yaml.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86192.286472.patch
Type: text/x-patch
Size: 6227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/1ee57781/attachment.bin>
More information about the llvm-commits
mailing list