[PATCH] D116411: Add DW_TAG_call_site_parameter for via-stack-param

Milica Lazarevic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 30 05:34:22 PST 2021


milica-lazarevic created this revision.
milica-lazarevic added reviewers: Orlando, jmorse, djtodoro, aprantl.
Herald added subscribers: dexonsmith, hiraditya.
milica-lazarevic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Information about stack offset for arguments passed on the stack are complete after the PrologEpilogInserter pass. We're saving that information, and using them later in the phase of DWARF emitting.    
If they're available, interpret information about call-site-value, collected on IR level - through the DebugEntryValuesCallSite pass and location information for arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116411

Files:
  llvm/include/llvm/IR/Function.h
  llvm/include/llvm/MC/MachineLocation.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
  llvm/lib/CodeGen/PrologEpilogInserter.cpp
  llvm/test/DebugInfo/X86/call-site-param-unused.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116411.396659.patch
Type: text/x-patch
Size: 15268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211230/6eeb0f3e/attachment.bin>


More information about the llvm-commits mailing list