[PATCH] D53261: [BPF] Add BTF generation for BPF target

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 18 13:59:47 PDT 2018


yonghong-song updated this revision to Diff 170120.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

. change name convertDwarf2BTF to generateBTFromDwarf

  as Dwarf is not removed

. make it clear in the commit message that

  with "-target bpf -g" both Dwarf and BTF will be generated.


Repository:
  rL LLVM

https://reviews.llvm.org/D53261

Files:
  include/llvm/MC/MCBTF.def
  include/llvm/MC/MCBTFContext.h
  include/llvm/MC/MCContext.h
  include/llvm/MC/MCObjectFileInfo.h
  include/llvm/MC/MCObjectStreamer.h
  lib/CodeGen/AsmPrinter/CMakeLists.txt
  lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp
  lib/CodeGen/AsmPrinter/Dwarf2BTF.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  lib/CodeGen/AsmPrinter/DwarfFile.cpp
  lib/CodeGen/AsmPrinter/DwarfFile.h
  lib/MC/CMakeLists.txt
  lib/MC/MCBTFContext.cpp
  lib/MC/MCContext.cpp
  lib/MC/MCDwarf2BTF.cpp
  lib/MC/MCDwarf2BTF.h
  lib/MC/MCObjectFileInfo.cpp
  lib/MC/MCObjectStreamer.cpp
  test/MC/BPF/btf-ext-1.ll
  test/MC/BPF/btf-ext-2.ll
  test/MC/BPF/btf-type-array-1.ll
  test/MC/BPF/btf-type-array-2.ll
  test/MC/BPF/btf-type-char.ll
  test/MC/BPF/btf-type-const.ll
  test/MC/BPF/btf-type-enum.ll
  test/MC/BPF/btf-type-forward.ll
  test/MC/BPF/btf-type-func-proto.ll
  test/MC/BPF/btf-type-int.ll
  test/MC/BPF/btf-type-llong.ll
  test/MC/BPF/btf-type-ptr-int.ll
  test/MC/BPF/btf-type-ptr-void.ll
  test/MC/BPF/btf-type-short.ll
  test/MC/BPF/btf-type-struct-1.ll
  test/MC/BPF/btf-type-struct-2.ll
  test/MC/BPF/btf-type-typedef.ll
  test/MC/BPF/btf-type-uchar.ll
  test/MC/BPF/btf-type-uint.ll
  test/MC/BPF/btf-type-ullong.ll
  test/MC/BPF/btf-type-union.ll
  test/MC/BPF/btf-type-ushort.ll
  test/MC/BPF/btf-type-volatile.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53261.170120.patch
Type: text/x-patch
Size: 111356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181018/655a2456/attachment-0001.bin>


More information about the llvm-commits mailing list