[all-commits] [llvm/llvm-project] 3cda69: [obj2yaml] Stop parsing the debug_str section when...

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Sep 8 01:10:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cda69872362526b1672ae23de4ac968b7564c2b
      https://github.com/llvm/llvm-project/commit/3cda69872362526b1672ae23de4ac968b7564c2b
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M llvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml
    M llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml
    M llvm/tools/obj2yaml/dwarf2yaml.cpp
    M llvm/tools/obj2yaml/elf2yaml.cpp
    M llvm/tools/obj2yaml/macho2yaml.cpp
    M llvm/tools/obj2yaml/obj2yaml.h

  Log Message:
  -----------
  [obj2yaml] Stop parsing the debug_str section when it encounters a string without the null terminator.

When obj2yaml encounters a string without the null terminator, it should
stop parsing the debug_str section. This patch addresses comments in
[D86867](https://reviews.llvm.org/D86867#inline-803291).

Reviewed By: jhenderson

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




More information about the All-commits mailing list