[PATCH] D21141: [DebugInfo] Add calling conventions to DISubroutineType
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 11:30:04 PDT 2016
rnk added a comment.
In http://reviews.llvm.org/D21141#452517, @aprantl wrote:
> Assuming that we could usually get the calling convention from the Function — what's the motivation for emitting the calling convention of a subprogram that has been optimized away?
I don't have any motivation to emit DISubprograms for optimized away code, but Functions aren't always available. Function pointers can also have calling conventions, and they will only have a DISubroutineType.
http://reviews.llvm.org/D21141
More information about the cfe-commits
mailing list