Fix this code to use DIScope instead of DICompileUnit, as in r90181.
authorDan Gohman <gohman@apple.com>
Sat, 5 Dec 2009 00:23:29 +0000 (00:23 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 5 Dec 2009 00:23:29 +0000 (00:23 +0000)
commit3b9bc04eda3401618b4fa2318f41b4207d72dece
treef27f998ac2cfb66de90cb3182c122c6f0039a3b3
parent4b808b014b0cd25261f93e1885ffdbd0247d8634
Fix this code to use DIScope instead of DICompileUnit, as in r90181.
Don't print "SrcLine"; just print the filename and line number, which
is obvious enough and more informative.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/FrontendC++/2009-07-15-LineNumbers.cpp