[all-commits] [llvm/llvm-project] 5ea611: [BPF] Support weak global variables for BTF
yonghong-song via All-commits
all-commits at lists.llvm.org
Sat Dec 7 09:05:11 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5ea611daf9cb51ba3d6492e50a6b568348fb62c0
https://github.com/llvm/llvm-project/commit/5ea611daf9cb51ba3d6492e50a6b568348fb62c0
Author: Yonghong Song <yhs at fb.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)
Changed paths:
M llvm/lib/Target/BPF/BTFDebug.cpp
A llvm/test/CodeGen/BPF/BTF/weak-global-2.ll
A llvm/test/CodeGen/BPF/BTF/weak-global.ll
Log Message:
-----------
[BPF] Support weak global variables for BTF
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.
Differential Revision: https://reviews.llvm.org/D71162
More information about the All-commits
mailing list