[PATCH] D45963: [DEBUGINFO, NVPTX] Emit correct debug information for local variables.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 23 07:30:49 PDT 2018


ABataev created this revision.
ABataev added reviewers: tra, jlebar, echristo.
Herald added subscribers: JDevlieghere, aprantl, jholewinski.

NVPTX target dos not use register-based frame information. Instead it
relies on the artificial local_depot that is used instead of the frame
and the data for variables must be emitted relatively to this
local_depot.


Repository:
  rL LLVM

https://reviews.llvm.org/D45963

Files:
  include/llvm/CodeGen/AsmPrinter.h
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  lib/Target/NVPTX/NVPTXAsmPrinter.h
  lib/Target/NVPTX/NVPTXFrameLowering.cpp
  lib/Target/NVPTX/NVPTXFrameLowering.h
  test/DebugInfo/NVPTX/dbg-declare-alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45963.143555.patch
Type: text/x-patch
Size: 8056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180423/0c9cc565/attachment.bin>


More information about the llvm-commits mailing list