[PATCH] D140971: [BPF] generate btf_decl_tag records for params of extern functions
Eduard Zingerman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 05:15:58 PST 2023
eddyz87 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
eddyz87 abandoned this revision.
eddyz87 added a comment.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
eddyz87 reclaimed this revision.
Herald added a subscriber: ormris.
eddyz87 published this revision for review.
eddyz87 added a reviewer: yonghong-song.
After frontend changes in the following commit:
"BPF: preserve btf_decl_tag for parameters of extern functions"
same mechanics could be used to get the list of function parameters
and associated btf_decl_tag entries for both extern and non-extern
functions.
This commit extracts this mechanics as a separate auxiliary function
BTFDebug::processDISubprogram(). The function is called for both
extern and non-extern functions in order to generated corresponding
BTF_DECL_TAG records.
Depends on D140970 <https://reviews.llvm.org/D140970>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140971
Files:
llvm/lib/Target/BPF/BTFDebug.cpp
llvm/lib/Target/BPF/BTFDebug.h
llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140971.486244.patch
Type: text/x-patch
Size: 8297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230104/543b61a2/attachment.bin>
More information about the llvm-commits
mailing list