[PATCH] D50204: [llvm-objdump] Label calls to the PLT

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 14:25:09 PDT 2018


pcc added a comment.

Please add a test with a 32-bit non-PIC executable.



================
Comment at: tools/llvm-objdump/llvm-objdump.cpp:1244
+  const SectionRef *Plt =
+      &*find_if(Obj->sections(), [&](const SectionRef &Section) {
+          StringRef Str;
----------------
I think this has the same problem with `find_if` that I mentioned on the other review.


https://reviews.llvm.org/D50204





More information about the llvm-commits mailing list