[PATCH] D76336: [DWARF] Emit DW_AT_call_pc for tail calls

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 20 17:23:02 PDT 2020


vsk updated this revision to Diff 251805.
vsk added a comment.

Add more detailed comments, and always emit DW_AT_call_pc in DWARF5 mode (even when tuning for GDB).


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

https://reviews.llvm.org/D76336

Files:
  llvm/include/llvm/DWARFLinker/DWARFLinker.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/DWARFLinker/DWARFLinker.cpp
  llvm/test/DebugInfo/MIR/X86/call-site-gnu-vs-dwarf5-attrs.mir
  llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
  llvm/test/tools/dsymutil/X86/Inputs/tail-call.cpp
  llvm/test/tools/dsymutil/X86/Inputs/tail-call.macho.x86_64
  llvm/test/tools/dsymutil/X86/Inputs/tail-call.macho.x86_64.o
  llvm/test/tools/dsymutil/X86/tail-call-linking.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76336.251805.patch
Type: text/x-patch
Size: 13836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200321/d79dcd2f/attachment.bin>


More information about the llvm-commits mailing list