[PATCH] D150079: [BPF][DebugInfo] Show CO-RE relocations in llvm-objdump

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 23:55:34 PDT 2023


yonghong-song added inline comments.


================
Comment at: llvm/lib/DebugInfo/BTF/BTFParser.cpp:332
 
-Error BTFParser::parse(const ObjectFile &Obj) {
+Error BTFParser::parseRelocInfo(ParseContext &Ctx, DataExtractor &Extractor,
+                                uint64_t RelocInfoStart,
----------------
eddyz87 wrote:
> MaskRay wrote:
> > @ast @yonghong-song BTF relocations seem undocumented on https://www.kernel.org/doc/html/latest/bpf/btf.html#btf-ext-section ?
> I will add necessary documentation.
@eddyz87 Let us add relocation documentation in https://github.com/torvalds/linux/blob/master/Documentation/bpf/llvm_reloc.rst
and add a reference in https://www.kernel.org/doc/html/latest/bpf/btf.html#btf-ext-section inst
Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150079



More information about the llvm-commits mailing list