re-land [DebugInfo] Add debug location to stubs generated by CGDeclCXX and mark them...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 15 Nov 2019 21:01:25 +0000 (16:01 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 15 Nov 2019 21:01:39 +0000 (16:01 -0500)
commit9c1baa23526c6d7d06eafefbf82d73bfe9bb3aaf
tree3cf5b66a136204804fc3e7427e7ede8a9277ad9e
parent7f1cb1fa6ebb077f4147c87d3334fa88d0a91016
re-land [DebugInfo] Add debug location to stubs generated by CGDeclCXX and mark them as artificial

Differential Revision: https://reviews.llvm.org/D66328
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