[PATCH] D147544: [BOLT] Move from RuntimeDyld to JITLink
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 12:30:23 PDT 2023
lhames added a subscriber: rafaelauler.
lhames added a comment.
> If you only need static linking, wouldn't `lld` be a better fit than the JIT APIs?
Expanding on this thought a little:
If you're doing dynamic instrumentation (or dynamically changing layout) in a JIT process then I think ORC/JITLink would be a good fit. If you're doing static instrumentation for a static executable, I'd have thought `lld` would be a better fit. I could see a system using both: The JIT for initial investigation using dynamic instrumentation and dynamic re-layout (to find an efficient layout), then lld to produce a final executable using the chosen layout.
ORC/JITLink can probably be substituted for RuntimeDyld, but I'd need to understand how BOLT is using RuntimeDyld a little better before I could say for sure.
@jobnoorman @rafaelauler If a real-time chat would help I'm on the LLVM discord.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147544/new/
https://reviews.llvm.org/D147544
More information about the llvm-commits
mailing list