Handle mixed-OS paths in DWARF reader
authorEugene Zemtsov <ezemtsov@google.com>
Tue, 13 Mar 2018 17:54:29 +0000 (17:54 +0000)
committerEugene Zemtsov <ezemtsov@google.com>
Tue, 13 Mar 2018 17:54:29 +0000 (17:54 +0000)
commit82d60d6b29808baf25cfd488306a79899b83aa5b
tree2a5bcbb587885c76d33aa52805ae8f10bdae213a
parentc6cbbc899b4560d0fa452ebf81fe52fd027efcf6
Handle mixed-OS paths in DWARF reader

Make sure that DWARF line information generated by Windows can be properly read by Posix OS and vice versa.

Differential Revision: https://reviews.llvm.org/D44290

llvm-svn: 327430
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/test/DebugInfo/debuglineinfo-path.ll [new file with mode: 0644]