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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits