[PATCH] D86867: [obj2yaml] Add support for dumping the .debug_str section.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 02:37:20 PDT 2020


grimar added inline comments.


================
Comment at: llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml:55
+# RUN:     -DTYPE=PROGBITS -DFLAGS="[ SHF_MERGE, SHF_STRINGS ]" -DINFO=0003 -DADDRALIGN=0001 -DENTSIZE=0001
+
+#           SHDR: - Name:         .debug_str
----------------
jhenderson wrote:
> grimar wrote:
> > Probably you need a test showing that by default we don't print "Sections:" with the YAML below.
> > I.e. a case when you don't override fields for this particular YAML.
> Seems like adding this to the BASIC case above would be enough, right? You just need to show that when the object has default header properties, it doesn't add it to "Sections" too.
Yes, seems the first YAML and this one can be merged.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86867



More information about the llvm-commits mailing list