[PATCH] D145686: [RuntimeDyld][ELF] Add minimal RISC-V support

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 11:56:08 PDT 2023


lhames added a subscriber: rafaelauler.
lhames added a comment.

In D145686#4225806 <https://reviews.llvm.org/D145686#4225806>, @rafauler wrote:

> In D145686#4222642 <https://reviews.llvm.org/D145686#4222642>, @lhames wrote:
>
>> Is there something preventing Bolt from moving to ORC / JITLink? If Bolt is able to move over then the aim should be to do that. If Bolt is unable to move over then we need to know why so that we can address the issue. RuntimeDyld is very much in maintenance mode at the moment, and we're working hard to reach parity in backend coverage so that we can officially deprecate it.
>>
>> None of that is a total blocker to landing this, but the bar is high, and it should be understood that Bolt will //need// to migrate in the future.
>
> Hi @lhames , is JITLink mature for X86 and AArch64? Those are the two requirements for BOLT.

@rafaelauler JITLink's MachO x86_64 and aarch64 backends are mature. ELF x86_64 and aarch64 are mature for PIC, but may be missing some static relocations. These relocations can easily be added if needed, and should not be considered a blocker to moving over.

COFF x86-64 is solid (though new). I believe JITLink's support for it is already strictly better than RuntimeDyld's. COFF/aarch64 hasn't been added yet, but should be doable if you need it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145686



More information about the llvm-commits mailing list