]> granicus.if.org Git - clang/commit
If given location is invalid then use current location.
authorDevang Patel <dpatel@apple.com>
Wed, 12 May 2010 23:46:38 +0000 (23:46 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 12 May 2010 23:46:38 +0000 (23:46 +0000)
commit8ab870d34f02921e117e61de9ef7e78548635655
treed52ce332480857194ab80021f66b952e9db7b532
parent79d3f04688497857d29fe1f009bbc7b4b830a21b
If given location is invalid then use current location.
This fixes recent regressions reported by gdb testsuite.
Tighter verification of debug info generated by FE found these regressions.

Refactor code to extract line number and column number from SourceLocation.

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