Debug Info / EmitCallArgs: arguments may modify the debug location.
authorAdrian Prantl <aprantl@apple.com>
Fri, 26 Jul 2013 20:42:57 +0000 (20:42 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 26 Jul 2013 20:42:57 +0000 (20:42 +0000)
commitca64c3e136f08a135d6031d1940a63dd071be5b3
tree1843628e98a60fae0d90a137dd37233250b42245
parent39b1a26aeb13c75a4d1c5e63843bd1dc9a37143f
Debug Info / EmitCallArgs: arguments may modify the debug location.
Restore it after each argument is emitted. This fixes the scope info for
inlined subroutines inside of function argument expressions. (E.g.,
anything STL).

rdar://problem/12592135

llvm-svn: 187240
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/test/CodeGenCXX/debug-info-same-line.cpp