This is an archive of the discontinued LLVM Phabricator instance.

[BPF] generate BTF_KIND_VARs for all non-static globals
ClosedPublic

Authored by yonghong-song on Nov 12 2019, 2:00 PM.

Details

Summary

Enable to generate BTF_KIND_VARs for non-static default-section globals which is not allowed previously. Modified the existing test case to accommodate the new change.

Also removed unused linkage enum members VAR_GLOBAL_TENTATIVE and
VAR_GLOBAL_EXTERNAL.

Diff Detail

Event Timeline

yonghong-song created this revision.Nov 12 2019, 2:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2019, 2:00 PM
anakryiko accepted this revision.Nov 12 2019, 2:08 PM

looks good, thanks!

This revision is now accepted and ready to land.Nov 12 2019, 2:08 PM
This revision was automatically updated to reflect the committed changes.