Symbols::LocateMacOSXFilesUsingDebugSymbols() - perform tilde

expansion on the dSYM path we find if it starts with a tilde.

llvm-svn: 165299
This commit is contained in:
Jason Molenda 2012-10-05 04:57:34 +00:00
parent 4910701339
commit a8805d3809

View File

@ -356,7 +356,7 @@ LocateMacOSXFilesUsingDebugSymbols
{
if (::CFURLGetFileSystemRepresentation (dsym_url.get(), true, (UInt8*)path, sizeof(path)-1))
{
out_dsym_fspec->SetFile(path, false);
out_dsym_fspec->SetFile(path, path[0] == '~');
if (out_dsym_fspec->GetFileType () == FileSpec::eFileTypeDirectory)
{