This is an archive of the discontinued LLVM Phabricator instance.

[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
.BTF section. If there is no func_info/line_info, do
not generate .BTF.ext section.

Diff Detail

Repository
rL LLVM

Event Timeline

yonghong-song created this revision.Mar 4 2019, 4:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2019, 4:42 PM
ast accepted this revision.Mar 4 2019, 4:51 PM
This revision is now accepted and ready to land.Mar 4 2019, 4:51 PM
This revision was automatically updated to reflect the committed changes.