[PATCH] D54720: [PPC64] toc-indirect to toc-relative relaxation.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 22 10:46:03 PST 2018


sfertile marked 9 inline comments as done.
sfertile added inline comments.


================
Comment at: ELF/InputSection.cpp:895
+  // Can't relax if the target symbol is not defined.
+  return Optional<RelaxTo>();
+}
----------------
MaskRay wrote:
> Maybe just `return None;`
Thanks, I wasn't aware of 'None'.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54720





More information about the llvm-commits mailing list