]> granicus.if.org Git - clang/commit
For debug information, get the main file name from the source manager
authorDouglas Gregor <dgregor@apple.com>
Thu, 18 Mar 2010 23:46:43 +0000 (23:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 18 Mar 2010 23:46:43 +0000 (23:46 +0000)
commitac91b4c7063615da6797031f5ac46a906e6b8166
treeb88da2fc12a6b9b07d50ad5799aa1d7926adfc1f
parent3c26684d0339a36915fd3b30e6df82fe618bb7a7
For debug information, get the main file name from the source manager
rather than from the -main-file-name flag, since the source manager
has proper path information. Fixes <rdar://problem/7769538>.

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