[PATCH] D87916: [PowerPC][LLD] Extend R2 save stub to support offsets of more than 26 bits

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 19 21:07:26 PDT 2020


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Hope another reviewer can verify this patch.



================
Comment at: lld/ELF/Thunks.cpp:300
+private:
+  int64_t computeOffset() {
+    return destination.getVA() - (getThunkTargetSym()->getVA() + 4);
----------------
Add `const`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87916



More information about the llvm-commits mailing list