Try to fix OSX compilation failure.

llvm-svn: 355531
This commit is contained in:
Zachary Turner 2019-03-06 18:44:27 +00:00
parent 884feb1b69
commit a313ec11fc
1 changed files with 4 additions and 1 deletions

View File

@ -291,8 +291,11 @@ Status ProcessKDP::DoConnectRemote(Stream *strm, llvm::StringRef remote_url) {
module_spec.GetArchitecture() = target.GetArchitecture(); module_spec.GetArchitecture() = target.GetArchitecture();
// Lookup UUID locally, before attempting dsymForUUID like action // Lookup UUID locally, before attempting dsymForUUID like action
FileSpecList search_paths =
Target::GetDefaultDebugFileSearchPaths();
module_spec.GetSymbolFileSpec() = module_spec.GetSymbolFileSpec() =
Symbols::LocateExecutableSymbolFile(module_spec); Symbols::LocateExecutableSymbolFile(module_spec,
search_paths);
if (module_spec.GetSymbolFileSpec()) { if (module_spec.GetSymbolFileSpec()) {
ModuleSpec executable_module_spec = ModuleSpec executable_module_spec =
Symbols::LocateExecutableObjectFile(module_spec); Symbols::LocateExecutableObjectFile(module_spec);