[PATCH] D53736: [BTF] Add BTF DebugInfo
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 1 14:41:16 PDT 2018
yonghong-song updated this revision to Diff 172240.
yonghong-song added a comment.
previous we may generate two line_info record for the first insn in a function: the line info based subprogram line and the line info based on the debugloc of the first insn. This is confusing. Now let us just generate one. for the first insn of the function, if the debugloc is available, use that to generate the line info. Otherwise, use the subprogram line to generate a line info record for BTF.
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-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.172240.patch
Type: text/x-patch
Size: 180692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181101/e898f244/attachment-0001.bin>
More information about the llvm-commits
mailing list