OSDN Git Service

[DEBUGINFO, NVPTX] Emit correct debug information for local variables.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Jul 2018 16:29:52 +0000 (16:29 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Jul 2018 16:29:52 +0000 (16:29 +0000)
commit01c573fe17bd46441d98489847db1145a6789122
treeae765ed7ea17f1f356b3be7a0ffcbdf54783794f
parentda3868db1ab761c1e73a1f3d83d9c7d6c91273b2
[DEBUGINFO, NVPTX] Emit correct debug information for local variables.

Summary:
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.

Reviewers: tra, jlebar, echristo

Subscribers: jholewinski, aprantl, JDevlieghere, llvm-commits

Differential Revision: https://reviews.llvm.org/D45963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338039 91177308-0d34-0410-b5e6-96231b3b80d8
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