[DebugInfo] Add debug location to stubs generated by CGDeclCXX and mark them as artif...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 5 Sep 2019 15:24:49 +0000 (15:24 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 5 Sep 2019 15:24:49 +0000 (15:24 +0000)
commit32e7773fd50964e3bd3e753afed58dc8ea411f5d
tree0f9d51db1f8143c553c100bc3f660e23b5480aa3
parenta59bffb5769557499fb86c28953bb7e755bedbe9
[DebugInfo] Add debug location to stubs generated by CGDeclCXX and mark them as artificial

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

llvm-svn: 371080
clang/include/clang/AST/GlobalDecl.h
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/test/CodeGenCXX/debug-info-atexit-stub.cpp [new file with mode: 0644]
clang/test/CodeGenCXX/debug-info-destroy-helper.cpp [new file with mode: 0644]
clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
clang/test/CodeGenCXX/debug-info-line.cpp