summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx/Symbols.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-10-05 04:57:34 +0000
committerJason Molenda <jmolenda@apple.com>2012-10-05 04:57:34 +0000
commita8805d3809cbd6ed37cf15d82aa8334b520cc6bf (patch)
treea3491550280d8b9a77136ba5084c25a9c21b2211 /lldb/source/Host/macosx/Symbols.cpp
parent4910701339052cc2b049229515a555729cfbcb0c (diff)
downloadbcm5719-llvm-a8805d3809cbd6ed37cf15d82aa8334b520cc6bf.tar.gz
bcm5719-llvm-a8805d3809cbd6ed37cf15d82aa8334b520cc6bf.zip
Symbols::LocateMacOSXFilesUsingDebugSymbols() - perform tilde
expansion on the dSYM path we find if it starts with a tilde. llvm-svn: 165299
Diffstat (limited to 'lldb/source/Host/macosx/Symbols.cpp')
-rw-r--r--lldb/source/Host/macosx/Symbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp
index 1eb82d11de1..990f3ea3da2 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)
{
OpenPOWER on IntegriCloud