[PATCH] D102712: BPF: Add more relocation kinds
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 21 08:14:39 PDT 2021
yonghong-song updated this revision to Diff 347038.
yonghong-song edited the summary of this revision.
yonghong-song added a reviewer: MaskRay.
yonghong-song added a comment.
- add a test for ExecutionEngine/RuntimeDyld for added BPF relocation case. Without the patch in RuntimeDyldELF.cpp, the test will crash
- rename R_BPF_64_ALLOC32 to R_BPF_64_NODYLD32.
- added @MaskRay as the reviewer
- remaining known issues to be resolved:
- can BPF backend use FK_SecRel_4 for R_BPF_64_64?
- Is the relocation name R_BPF_64_NODYLD32 okay or we could have a better one?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102712/new/
https://reviews.llvm.org/D102712
Files:
llvm/include/llvm/BinaryFormat/ELFRelocs/BPF.def
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
llvm/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
llvm/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
llvm/test/CodeGen/BPF/reloc-2.ll
llvm/test/CodeGen/BPF/reloc-btf-2.ll
llvm/test/CodeGen/BPF/reloc-btf.ll
llvm/test/CodeGen/BPF/reloc.ll
llvm/test/ExecutionEngine/RuntimeDyld/BPF/btf-relocations.s
llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102712.347038.patch
Type: text/x-patch
Size: 11958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210521/308835be/attachment.bin>
More information about the llvm-commits
mailing list