[PATCH] D60713: [IR] Add DISuprogram and DIE for func decl of an external

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 23:58:13 PDT 2019


djtodoro added a comment.

@aprantl Thanks again for your comments!

The patch is needed to describe a call site to an external function. Currently, we do not have all necessary info for the debug call site (particular debug subprogram is missing for the external function). Since we can describe call site parameters for calls like that, we are producing additional subprogram for the declaration of the extern function by marking it with the `DISPFlagDeclForCallSite` flag.
Basically, this is improvement of existing call site debug info production.

Please find the frontend part: D60714 <https://reviews.llvm.org/D60714>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60713/new/

https://reviews.llvm.org/D60713





More information about the llvm-commits mailing list