[PATCH] D58716: [llvm-readobj] - Fix the invalid dumping of the dynamic sections without terminating DT_NULL entry.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 27 08:35:06 PST 2019


jhenderson accepted this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: test/tools/llvm-readobj/elf-no-dtnull.s:4
+# RUN: yaml2obj -docnum=1 %s -o %t.o
+# RUN: llvm-readobj --dynamic-table %t.o | FileCheck %s
+
----------------
grimar wrote:
> grimar wrote:
> > jhenderson wrote:
> > > I don't feel strongly about this, so if you don't want to that's fine, but as there is a chance of the GNU dumper diverging from the LLVM dumper here in the future (since the output is not all that GNU-like), I think you should test both styles.
> > I have no problems with doing that. Done.
> The output is the same atm so I did not introduce `LLVM` and `GNU` checks testing the same. I guess that is fine for that situation?
Yes, that's fine.


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

https://reviews.llvm.org/D58716





More information about the llvm-commits mailing list