[PATCH] D58716: [llvm-readobj] - Fix the invalid dumping of the dynamic sections without terminating DT_NULL entry.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 27 07:02:01 PST 2019
grimar created this revision.
grimar added a reviewer: jhenderson.
Herald added subscribers: jdoerfert, rupprecht.
This is https://bugs.llvm.org/show_bug.cgi?id=40861,
Previously llvm-readobj would print the DT_NULL sometimes for the dynamic section that
has no terminator entry. The logic of `printDynamicTable` was a bit overcomplicated
fo my eye, I rewrote it slightly and commented.
https://reviews.llvm.org/D58716
Files:
test/tools/llvm-readobj/elf-no-dtnull.s
tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58716.188530.patch
Type: text/x-patch
Size: 4385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190227/a322b058/attachment.bin>
More information about the llvm-commits
mailing list