[PATCH] D149501: [BPF][DebugInfo][NFC] Move BTF.h definitions from BPF target to DebugInfo
Eduard Zingerman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 1 16:34:43 PDT 2023
eddyz87 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
eddyz87 updated this revision to Diff 518487.
eddyz87 added a comment.
eddyz87 published this revision for review.
eddyz87 added reviewers: yonghong-song, jhenderson, MaskRay.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changes to satisfy git-clang-format
eddyz87 added a comment.
Hi James, Fangrui,
Could you please take a look at this modification for DebugInfo headers?
It is a dependency for https://reviews.llvm.org/D149058 .
There are plans to add some BTF processing to tools like objdump and
readelf. This commit moves BTF.{h,def} files from BPF target specific
location to include/llvm/DebugInfo/* to avoid tools including headers
from lib/Target/*.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149501
Files:
llvm/include/llvm/DebugInfo/BTF/BTF.def
llvm/include/llvm/DebugInfo/BTF/BTF.h
llvm/lib/Target/BPF/BTF.def
llvm/lib/Target/BPF/BTF.h
llvm/lib/Target/BPF/BTFDebug.cpp
llvm/lib/Target/BPF/BTFDebug.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149501.518487.patch
Type: text/x-patch
Size: 3893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230501/69a955e2/attachment.bin>
More information about the llvm-commits
mailing list