diff options
author | Yonghong Song <yhs@fb.com> | 2019-12-10 11:05:22 -0800 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2019-12-10 11:45:17 -0800 |
commit | 7d0e8930ed08b5f938a317f13d8fc994dd8c551c (patch) | |
tree | dfbf1dd3217f19e1e03fea5e0e7864415a8a85e1 /clang/test/CodeGen/split-debug-output.c | |
parent | d0789e6346e489cd84b37ec58964feb0db015de7 (diff) | |
download | bcm5719-llvm-7d0e8930ed08b5f938a317f13d8fc994dd8c551c.tar.gz bcm5719-llvm-7d0e8930ed08b5f938a317f13d8fc994dd8c551c.zip |
[BPF] put not-section-attribute externs into BTF ".extern" data section
Currently for extern variables with section attribute, those
BTF_KIND_VARs will not be placed in any DataSec. This is
inconvenient as any other generated BTF_KIND_VAR belongs to
one DataSec. This patch put these extern variables into
".extern" section so bpf loader can have a consistent
processing mechanism for all data sections and variables.
Diffstat (limited to 'clang/test/CodeGen/split-debug-output.c')
0 files changed, 0 insertions, 0 deletions