[all-commits] [llvm/llvm-project] 419326: [obj2yaml] Refactor the .debug_pub* sections dumper.

Xing GUO via All-commits all-commits at lists.llvm.org
Wed Aug 19 06:14:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 419326a4452650089e5e36c2200c349d5a63bda5
      https://github.com/llvm/llvm-project/commit/419326a4452650089e5e36c2200c349d5a63bda5
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M llvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
    M llvm/tools/obj2yaml/dwarf2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] Refactor the .debug_pub* sections dumper.

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.

Reviewed By: jhenderson

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




More information about the All-commits mailing list