OSDN Git Service

[DEBUGINFO, NVPTX]Emit last debugging directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 6 Dec 2018 16:02:09 +0000 (16:02 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 6 Dec 2018 16:02:09 +0000 (16:02 +0000)
commit12ed311277d4d8ace83c3e6e050b38c247470e21
treefbc2339da9b4287d149e1b66b1d1e81c917672ed
parent42f44e618270417470aada33ccecade8eb196b6f
[DEBUGINFO, NVPTX]Emit last debugging directives.

Summary:
We may end up with not emitted debug directives at the end of the module
emission. Patch fixes this problem emitting those last directives the
end of the module emission.

Reviewers: echristo

Subscribers: jholewinski, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
test/DebugInfo/NVPTX/debug-file-loc-only.ll [new file with mode: 0644]