[DEBUG_INFO, NVPTX] Do not emit .debug_loc section.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 29 Jun 2018 14:23:28 +0000 (14:23 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 29 Jun 2018 14:23:28 +0000 (14:23 +0000)
commit2a03d4296a5e462855dd43c9808f406a4f1cea16
tree2e0a148fd6cf20f5385c0ce73ede9f467008581c
parentce3a66804a5bc42773d6d226df89addbfc43ccf3
[DEBUG_INFO, NVPTX] Do not emit .debug_loc section.

Summary:
.debug_loc section is not supported for NVPTX target. If there is an
object whose location can change during its lifetime, we do not generate
debug location info for this variable.

Reviewers: echristo

Subscribers: jholewinski, JDevlieghere, llvm-commits

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

llvm-svn: 335976
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll