[PATCH] D67078: [llvm-readelf] - Allow dumping the dynamic symbols when there is no program headers.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 06:43:04 PDT 2019


grimar marked an inline comment as done.
grimar added inline comments.


================
Comment at: tools/llvm-readobj/ELFDumper.cpp:1655
+      // relocations and there is no sections table.
+      if (!DynSymRegion.EntSize) {
+        DynSymRegion.Addr = toMappedAddr(Dyn.getTag(), Dyn.getPtr());
----------------
> for example when we want to dump the dynamic relocations and there is no sections table

This is used and tested by `test\Object\relocation-executable.test`


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

https://reviews.llvm.org/D67078





More information about the llvm-commits mailing list