[PATCH] D50203: Find PLT entries for x86, x86_64, and AArch64

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 01:32:40 PDT 2018


paulsemel added inline comments.


================
Comment at: lib/Object/ELFObjectFile.cpp:357-360
+  const SectionRef *Plt = &*find_if(sections(), [&](const SectionRef &Sec) {
+    StringRef Name;
+    return !Sec.getName(Name) && Name == ".plt";
+  });
----------------
As explained [[ https://reviews.llvm.org/D50204#inline-441914 | here ]], this is in my opinion not the right way to get the plt/got etc..


Repository:
  rL LLVM

https://reviews.llvm.org/D50203





More information about the llvm-commits mailing list