From a8805d3809cbd6ed37cf15d82aa8334b520cc6bf Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 5 Oct 2012 04:57:34 +0000 Subject: [PATCH] Symbols::LocateMacOSXFilesUsingDebugSymbols() - perform tilde expansion on the dSYM path we find if it starts with a tilde. llvm-svn: 165299 --- lldb/source/Host/macosx/Symbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp index 1eb82d1..990f3ea 100644 --- a/lldb/source/Host/macosx/Symbols.cpp +++ b/lldb/source/Host/macosx/Symbols.cpp @@ -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) { -- 2.7.4