[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 23:25:47 PDT 2018


yonghong-song updated this revision to Diff 170145.
yonghong-song added a comment.

if File.Source is available, use it; Otherwise trying to get contents from the file
add a test for it with -g -gdwarf-5 -gembed-source


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-dwarf5-source.ll
  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.170145.patch
Type: text/x-patch
Size: 114775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181019/5ca18695/attachment.bin>


More information about the llvm-commits mailing list