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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to