[PATCH] D56729: [RuntimeDyld][BPF] load additional sections

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 15 09:30:34 PST 2019


yonghong-song added a comment.

Hi, @lhames this is an alternative implementation w.r.t. D55943 <https://reviews.llvm.org/D55943>.  In D55943 <https://reviews.llvm.org/D55943>, if ProcessAllSections is set to true, all sections will be loaded.
I am not sure whether this is the original intention of not as it says ProcessAllSections, not meaning LoadAllSections.

So this patch extends RuntimeDyldELF for BPF target. I will load .BTF section (which is what we want in the bcc or other JIT implementations.

Could you let me know which method you prefer? I think this patch is better. Thanks!


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56729





More information about the llvm-commits mailing list