[PATCH] D53736: [BTF] Add BTF DebugInfo

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 30 16:16:07 PST 2018


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

The previous brief commit (reverted minutes later) shows some compilation failures with the patch.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/40411
The reason is I implemented in a simpler BTFDebug class in BTFDebugStub.cpp which causing mangled name slightly different between BTFDebugStub.cpp and AsmPrinter.cpp. 
This new updated patch fixed the issue and now it builds properly on x86 only platform with the failed test case configuration.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53736/new/

https://reviews.llvm.org/D53736

Files:
  include/llvm/BinaryFormat/BTF.def
  include/llvm/BinaryFormat/BTF.h
  include/llvm/MC/MCObjectFileInfo.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/BTFDebug.cpp
  lib/CodeGen/AsmPrinter/BTFDebug.h
  lib/CodeGen/AsmPrinter/BTFDebugStub.cpp
  lib/CodeGen/AsmPrinter/CMakeLists.txt
  lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  lib/CodeGen/AsmPrinter/DebugHandlerBase.h
  lib/MC/MCObjectFileInfo.cpp
  test/DebugInfo/BTF/array-1d-char.ll
  test/DebugInfo/BTF/array-1d-int.ll
  test/DebugInfo/BTF/array-2d-int.ll
  test/DebugInfo/BTF/array-size-0.ll
  test/DebugInfo/BTF/array-typedef.ll
  test/DebugInfo/BTF/binary-format.ll
  test/DebugInfo/BTF/char.ll
  test/DebugInfo/BTF/enum-basic.ll
  test/DebugInfo/BTF/func-func-ptr.ll
  test/DebugInfo/BTF/func-non-void.ll
  test/DebugInfo/BTF/func-source.ll
  test/DebugInfo/BTF/func-typedef.ll
  test/DebugInfo/BTF/func-unused-arg.ll
  test/DebugInfo/BTF/func-void.ll
  test/DebugInfo/BTF/fwd-no-define.ll
  test/DebugInfo/BTF/fwd-with-define.ll
  test/DebugInfo/BTF/int.ll
  test/DebugInfo/BTF/lit.local.cfg
  test/DebugInfo/BTF/longlong.ll
  test/DebugInfo/BTF/ptr-const-void.ll
  test/DebugInfo/BTF/ptr-func-1.ll
  test/DebugInfo/BTF/ptr-func-2.ll
  test/DebugInfo/BTF/ptr-func-3.ll
  test/DebugInfo/BTF/ptr-int.ll
  test/DebugInfo/BTF/ptr-void.ll
  test/DebugInfo/BTF/ptr-volatile-const-void.ll
  test/DebugInfo/BTF/ptr-volatile-void.ll
  test/DebugInfo/BTF/restrict-ptr.ll
  test/DebugInfo/BTF/short.ll
  test/DebugInfo/BTF/struct-anon.ll
  test/DebugInfo/BTF/struct-basic.ll
  test/DebugInfo/BTF/struct-bitfield-typedef.ll
  test/DebugInfo/BTF/struct-enum.ll
  test/DebugInfo/BTF/uchar.ll
  test/DebugInfo/BTF/uint.ll
  test/DebugInfo/BTF/ulonglong.ll
  test/DebugInfo/BTF/union-array-typedef.ll
  test/DebugInfo/BTF/ushort.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53736.176216.patch
Type: text/x-patch
Size: 184307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181201/632cf29d/attachment-0001.bin>


More information about the llvm-commits mailing list