[PATCH] D39069: CodeGen: Fix missing debug loc due to alloca
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 23 01:08:19 PDT 2017
rjmccall added a comment.
If this is something we generally need to be doing in all the places we temporarily save and restore the insertion point, we should fix the basic behavior of saveIP instead of adding explicit code to a bunch of separate places. Can we just override saveIP() on CGBuilder to return a struct that also includes the current debug location?
https://reviews.llvm.org/D39069
More information about the cfe-commits
mailing list