[all-commits] [llvm/llvm-project] 0e7ff0: [BPF][DebugInfo][NFC] Move BTF.h definitions from ...

eddyz87 via All-commits all-commits at lists.llvm.org
Mon Jul 10 14:50:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e7ff05fb35169addd970f55b2692382ad290b78
      https://github.com/llvm/llvm-project/commit/0e7ff05fb35169addd970f55b2692382ad290b78
  Author: Eduard Zingerman <eddyz87 at gmail.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    A llvm/include/llvm/DebugInfo/BTF/BTF.def
    A llvm/include/llvm/DebugInfo/BTF/BTF.h
    R llvm/lib/Target/BPF/BTF.def
    R llvm/lib/Target/BPF/BTF.h
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/BPF/BTFDebug.h

  Log Message:
  -----------
  [BPF][DebugInfo][NFC] Move BTF.h definitions from BPF target to DebugInfo

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/*.

Reviewed By: yonghong-song, MaskRay

Differential Revision: https://reviews.llvm.org/D149501




More information about the All-commits mailing list