[PATCH] D55943: [RuntimeDyld] load all non-relocation sections with ProcessAllSections

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 20 11:06:26 PST 2018


yonghong-song added a comment.

F7728308: runtime-ld.tar <https://reviews.llvm.org/F7728308>

I uploaded a test case to demonstrate the use case related to BPF and .BTF section, in case that you want to reproduce in this specific use case context.

@lhames during last October LLVM deverloper conference, I has a brief chat with you about this problem. You mentioned that ProcessAllSections should load all sections.
If some sections are not loaded, maybe there is a bug here.

Please take a look at the patch. It may not be the best implementation, or you could suggest a better interface. FYI, here, in addition to .BTF.ext section, I just
want to load .BTF section as well. An interface to permit user to load selected sections should also work if it is not desirable to really load all of them (e.g., symtab etc.)

Thanks!


Repository:
  rL LLVM

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

https://reviews.llvm.org/D55943





More information about the llvm-commits mailing list