[Lldb-commits] [lldb] r165299 - /lldb/trunk/source/Host/macosx/Symbols.cpp

Jason Molenda jmolenda at apple.com
Thu Oct 4 21:57:34 PDT 2012


Author: jmolenda
Date: Thu Oct  4 23:57:34 2012
New Revision: 165299

URL: http://llvm.org/viewvc/llvm-project?rev=165299&view=rev
Log:
Symbols::LocateMacOSXFilesUsingDebugSymbols() - perform tilde
expansion on the dSYM path we find if it starts with a tilde.


Modified:
    lldb/trunk/source/Host/macosx/Symbols.cpp

Modified: lldb/trunk/source/Host/macosx/Symbols.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Symbols.cpp?rev=165299&r1=165298&r2=165299&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Symbols.cpp (original)
+++ lldb/trunk/source/Host/macosx/Symbols.cpp Thu Oct  4 23:57:34 2012
@@ -356,7 +356,7 @@
                     {
                         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)
                             {





More information about the lldb-commits mailing list