[PATCH] D53736: [BTF] Add BTF DebugInfo

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 21:35:39 PDT 2018


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

. rebase on latest trunk as there is a conflict and people need to resolve manually otherwise
. fix a small bug related to StringRef usage where StringRef is constructed with a local std::string

  and after function return local std::string is deallocated, StringRef may not hold correct values.


Repository:
  rL LLVM

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/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-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.171634.patch
Type: text/x-patch
Size: 171172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/e7707734/attachment-0001.bin>


More information about the llvm-commits mailing list