Change the PathMappingList::FindFile to use FileSpec API's
authorJim Ingham <jingham@apple.com>
Tue, 23 Aug 2016 17:13:33 +0000 (17:13 +0000)
committerJim Ingham <jingham@apple.com>
Tue, 23 Aug 2016 17:13:33 +0000 (17:13 +0000)
commit291fd3504429f2fb8ca45e7f1430d30b7da4f477
tree0511a668f5408d106fc9281478198697242a7e89
parent9ec5a61358fa7e5f4af389562a62400dd7201504
Change the PathMappingList::FindFile to use FileSpec API's

Also, when appending path components, collapse multiple "/" into one at the join.

llvm-svn: 279533
lldb/source/Host/common/FileSpec.cpp
lldb/source/Target/PathMappingList.cpp
lldb/unittests/Host/FileSpecTest.cpp