[PATCH] D148192: [JITLink][ELF][PPC64] Add skeleton ppc64 support and ELF/ppc64 JITLink backend.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 15 11:53:48 PDT 2023


lhames updated this revision to Diff 513935.
lhames added a comment.

Add a relocation processing loop with no supported relocations.

This will cause the skeleton ELF/ppc64 backend to error out if it encounters
any relocations, rather than silently ignoring them. Having this in the initial
commit helps future developers who may use this skeleton as a template, since
missing relocation failures will self-describe (via the error message) rather
than resulting in a crash or hang.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148192

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h
  llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h
  llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
  llvm/lib/ExecutionEngine/JITLink/ELF.cpp
  llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp
  llvm/lib/ExecutionEngine/JITLink/ppc64.cpp
  llvm/test/ExecutionEngine/JITLink/ppc64/lit.local.cfg
  llvm/test/ExecutionEngine/JITLink/ppc64/ppc64le-no-relocs.s
  llvm/test/ExecutionEngine/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148192.513935.patch
Type: text/x-patch
Size: 15123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230415/36c208a5/attachment.bin>


More information about the llvm-commits mailing list