]> granicus.if.org Git - clang/commit
[clang] Add DISuprogram and DIE for a func decl
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Jun 2019 06:44:44 +0000 (06:44 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Jun 2019 06:44:44 +0000 (06:44 +0000)
commit530eb474fd6e24c65bd64c9e0fa569088323bffb
tree53963296dfd8752e1a1bbaf933a8f76652033317
parent9b084edc7af5db800e1b190f2977014abde123ee
[clang] Add DISuprogram and DIE for a func decl

Attach a unique DISubprogram to a function declaration that will be
used for call site debug info.

([7/13] Introduce the debug entry values.)

Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D60714

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364502 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGExpr.cpp
test/CodeGen/debug-info-extern-call.c [new file with mode: 0644]