[PATCH] D149522: [JITLink] Add target features to LinkGraph

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 7 19:24:43 PDT 2023


lhames added a comment.

In D149522#4320588 <https://reviews.llvm.org/D149522#4320588>, @jrtc27 wrote:

> Dumb question perhaps, but why can't JITLink use MC? LLD does and conceptually serves a similar purpose.

JITLink is used in some systems where memory and storage are at a premium, so  we want our dependencies to be as minimal as possible. We're stuck right now (libObject pulls in LLVM Core), but the eventual goal is to (1) break format-specific parsers out of libObject, and then (2) have a JITLink core library that depends on libSupport only, plus format specific libraries (JITLinkCOFF, JITLinkELF, and JITLinkMachO) that each depend on the corresponding format-specific parser only.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149522



More information about the llvm-commits mailing list