If FE forgot to provide a file name (usually it uses "stdin" as name in such situatio...
authorDevang Patel <dpatel@apple.com>
Thu, 16 Sep 2010 20:57:49 +0000 (20:57 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 16 Sep 2010 20:57:49 +0000 (20:57 +0000)
commit1905a18abcb46e6a57eeaa291cd81fc669cedfd0
treea92973fc74a9dbbfae529eae3042a739ede55797
parent4e282decf3960bfa6b1fe3fd77bb51ff96121515
If FE forgot to provide a file name (usually it uses "stdin" as name in such situation) then make one up to ensure that debug info is not malformed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/2010-09-16-EmptyFilename.ll [new file with mode: 0644]