mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
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:
parent
4910701339
commit
a8805d3809
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user