This is an archive of the discontinued LLVM Phabricator instance.

[BPF] Add BTF DebugInfo under BPF target
ClosedPublic

Authored by yonghong-song on Dec 16 2018, 4:29 PM.

Details

Summary

This is an alternative implementation for

https://reviews.llvm.org/D53736.

The patch D53736 implemented BTF generation
functionality at lib/CodeGen/AsmPrinter directory.

This patch provided an implementation which
has the same functionality to D53736, but
implemented at lib/Target/BTF directory.

Signed-off-by: Yonghong Song <yhs@fb.com>

Diff Detail

Repository
rL LLVM

Event Timeline

yonghong-song created this revision.Dec 16 2018, 4:29 PM
yonghong-song edited the summary of this revision. (Show Details)
yonghong-song added a project: debug-info.

refactor the previous change to separate Debug info changes into
https://reviews.llvm.org/D55755 (for moving related header files into include directory)
and
https://reviews.llvm.org/D55756 (for exposing some private fields as protected)

So this change contains changes only under BPF target.

echristo accepted this revision.Dec 18 2018, 2:35 PM

Thanks so much for the split!

LGTM.

-eric

This revision is now accepted and ready to land.Dec 18 2018, 2:35 PM
This revision was automatically updated to reflect the committed changes.