[PATCH] D100568: BPF: generate BTF info for LD_imm64 loaded function pointer

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 17:26:39 PDT 2021


yonghong-song updated this revision to Diff 337952.
yonghong-song added a comment.

- change the test case to have a section name for the extern func which should be the most common use case. We already have tests for extern func (direct call instead of callback) which called the same internal llvm function, so the case without section name should be covered as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100568

Files:
  llvm/lib/Target/BPF/BTFDebug.cpp
  llvm/lib/Target/BPF/BTFDebug.h
  llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100568.337952.patch
Type: text/x-patch
Size: 6399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210416/95a401a5/attachment.bin>


More information about the llvm-commits mailing list