Fix PR12942: Allow two CUs to be generated from the same source file.
authorEli Bendersky <eliben@google.com>
Mon, 3 Dec 2012 18:45:45 +0000 (18:45 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 3 Dec 2012 18:45:45 +0000 (18:45 +0000)
commitd4a05e0c2c871a0acbadfe572abbdb99158871bd
treefeb4685a9fb202a5350fc286f72bd02678c54199
parentc69908695af9cf509bf498a492854db5f0556e0f
Fix PR12942: Allow two CUs to be generated from the same source file.

Thanks Eric for the review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
test/DebugInfo/two-cus-from-same-file.ll [new file with mode: 0644]