[PATCH] D129425: [ELF][RISCV] Relax local-exec TLS model

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 9 10:40:04 PDT 2022


MaskRay added inline comments.


================
Comment at: lld/ELF/Arch/RISCV.cpp:576
+  const Symbol &sym = *r.sym;
+  if (hi20(sym.getVA(r.addend)) != 0)
+    return;
----------------
I'll remove the used-once `sym`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129425



More information about the llvm-commits mailing list