]> granicus.if.org Git - clang/commit
Emit a stop point before a call expression so that debugger has some chance of gettin...
authorDevang Patel <dpatel@apple.com>
Fri, 4 Mar 2011 18:54:42 +0000 (18:54 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 4 Mar 2011 18:54:42 +0000 (18:54 +0000)
commit79bfb4b564dc3636aae15aafa6340f9430881121
treeb0bdea8df0a46933519ade68cb14292fd1d68eae
parent087eb5a2d3c7988eb7c440cd86cc7479e57d5dc0
Emit a stop point before a call expression so that debugger has some chance of getting some footing when user wants to stop at 2nd bar() in following expression when all function calls are inlined.
  = bar() + ... + bar() + ...

clang keeps track of column numbers, so we could put location entries for all subexpressions but that will significantly bloat debug info in general, but a location for call expression is helpful here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp