Fix "target modules add -s <filename>" to work if the file doesn't exist locally on the current machine.

<rdar://problem/24807382>

llvm-svn: 261812
This commit is contained in:
Greg Clayton 2016-02-25 00:56:47 +00:00
parent 4f933376cf
commit 479d545ca2
1 changed files with 1 additions and 1 deletions

View File

@ -4684,7 +4684,7 @@ protected:
{
module_spec.GetArchitecture() = target->GetArchitecture();
}
success |= module_spec.GetFileSpec().Exists();
success |= module_spec.GetUUID().IsValid() || module_spec.GetFileSpec().Exists();
}
}