[PATCH] D87261: [obj2yaml] Stop parsing the debug_str section when it encounters a string without the null terminator.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 01:02:19 PDT 2020


Higuoxing added inline comments.


================
Comment at: llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml:104-105
+## d) Test that yaml2obj stops parsing the .debug_str section if it encounters a
+## string without a null terminator. Here, we use the raw content section instead of
+## the DWARF tag to generate the broken .debug_str section.
+
----------------
jhenderson wrote:
> This is what I meant. Your comment suggested it was the input that was important, whereas I'm interested in explaining that it's the output that we're testing here.
Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87261/new/

https://reviews.llvm.org/D87261



More information about the llvm-commits mailing list