[PATCH] D143226: [MC][RISCV] Introduce handling for R_RISCV_PLT32 relocation

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 14:09:05 PST 2023


jrtc27 added a comment.

In D143226#4103521 <https://reviews.llvm.org/D143226#4103521>, @leonardchan wrote:

> In D143226#4101389 <https://reviews.llvm.org/D143226#4101389>, @jrtc27 wrote:
>
>> Title should say [MC] not [llvm]. Do we not also need CodeGen support for this to be useful outside of hand-written assembly?
>
> CodeGen already picks this up via the `PLTRelativeVariantKind = MCSymbolRefExpr::VK_PLT;`. A `dso_local_equivalent @func` gets lowered to `func at PLT`.

Then this should be [MC][CodeGen] and have an IR test for it


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143226



More information about the llvm-commits mailing list