[PATCH] D149524: [JITLink] Allow edges without a target

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 12:09:23 PDT 2023


jobnoorman created this revision.
jobnoorman added a reviewer: lhames.
Herald added subscribers: asb, pmatos, luismarques, s.egerton, PkmX, simoncook, hiraditya, arichardson.
Herald added a project: All.
jobnoorman requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

Certain relocations do not use a target symbol. Examples of this are
R_RISCV_RELAX (which is just used to mark another relocation as
relaxable) and R_RISCV_ALIGN (which encodes an alignment requirement in
its addend). This patch makes sure such relocations can be represented
in an Edge.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149524

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
  llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
  llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h
  llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149524.518221.patch
Type: text/x-patch
Size: 4510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/81ba5818/attachment-0001.bin>


More information about the llvm-commits mailing list