[PATCH] D71162: [BPF] Support weak global variables for BTF
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 23:30:14 PST 2019
yonghong-song created this revision.
yonghong-song added reviewers: ast, anakryiko.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Generate types for global variables with "weak" attribute.
Keep allocation scope the same for both weak and non-weak
globals as ELF symbol table can determine whether a global
symbol is weak or not.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71162
Files:
llvm/lib/Target/BPF/BTFDebug.cpp
llvm/test/CodeGen/BPF/BTF/weak-global-2.ll
llvm/test/CodeGen/BPF/BTF/weak-global.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71162.232689.patch
Type: text/x-patch
Size: 8818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191207/46da3681/attachment.bin>
More information about the llvm-commits
mailing list