[PATCH] D109522: [JITLink] Adopt forEachRelocation() helper in ELF RISCV backend (NFC)

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 09:29:54 PDT 2021


jrtc27 added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp:303
+
+      if (Error Err = Base::forEachRelocation(RelSect, std::move(Process)))
+        return Err;
----------------
std::move of a lambda is a strange thing to do


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109522



More information about the llvm-commits mailing list