If There is no types/non-empty strings, do not generate
.BTF section. If there is no func_info/line_info, do
not generate .BTF.ext section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D58936
[BPF] Do not generate BTF sections unnecessarily ClosedPublic Authored by yonghong-song on Mar 4 2019, 4:42 PM.
Details Summary If There is no types/non-empty strings, do not generate
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 4 2019, 4:51 PM Closed by commit rL355360: [BPF] Do not generate BTF sections unnecessarily (authored by yhs). · Explain WhyMar 4 2019, 5:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 189236 llvm/trunk/lib/Target/BPF/BTFDebug.cpp
llvm/trunk/test/CodeGen/BPF/BTF/array-1d-char.ll
llvm/trunk/test/CodeGen/BPF/BTF/array-1d-int.ll
llvm/trunk/test/CodeGen/BPF/BTF/array-2d-int.ll
llvm/trunk/test/CodeGen/BPF/BTF/array-size-0.ll
llvm/trunk/test/CodeGen/BPF/BTF/array-typedef.ll
llvm/trunk/test/CodeGen/BPF/BTF/char.ll
llvm/trunk/test/CodeGen/BPF/BTF/empty-btf.ll
llvm/trunk/test/CodeGen/BPF/BTF/enum-basic.ll
llvm/trunk/test/CodeGen/BPF/BTF/fwd-no-define.ll
llvm/trunk/test/CodeGen/BPF/BTF/fwd-with-define.ll
llvm/trunk/test/CodeGen/BPF/BTF/int.ll
llvm/trunk/test/CodeGen/BPF/BTF/longlong.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-const-void.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-func-1.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-func-2.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-func-3.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-int.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-void.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll
llvm/trunk/test/CodeGen/BPF/BTF/ptr-volatile-void.ll
llvm/trunk/test/CodeGen/BPF/BTF/restrict-ptr.ll
llvm/trunk/test/CodeGen/BPF/BTF/short.ll
llvm/trunk/test/CodeGen/BPF/BTF/struct-anon.ll
llvm/trunk/test/CodeGen/BPF/BTF/struct-basic.ll
llvm/trunk/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll
llvm/trunk/test/CodeGen/BPF/BTF/struct-enum.ll
llvm/trunk/test/CodeGen/BPF/BTF/uchar.ll
llvm/trunk/test/CodeGen/BPF/BTF/uint.ll
llvm/trunk/test/CodeGen/BPF/BTF/ulonglong.ll
llvm/trunk/test/CodeGen/BPF/BTF/union-array-typedef.ll
llvm/trunk/test/CodeGen/BPF/BTF/ushort.ll
|