forked from OSchip/llvm-project
Symbols::LocateExecutableSymbolFile() shouldn't try to look for files in /usr/lib/debug on Windows
Summary: /usr/lib/debug doesn't exist on Windows so there's no point even attempting to look for symbol files in there. Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13636 llvm-svn: 250175
This commit is contained in:
parent
85030aa1bd
commit
3014991fcf
|
@ -238,8 +238,10 @@ Symbols::LocateExecutableSymbolFile (const ModuleSpec &module_spec)
|
||||||
// Add current working directory.
|
// Add current working directory.
|
||||||
debug_file_search_paths.AppendIfUnique (FileSpec(".", true));
|
debug_file_search_paths.AppendIfUnique (FileSpec(".", true));
|
||||||
|
|
||||||
|
#ifndef LLVM_ON_WIN32
|
||||||
// Add /usr/lib/debug directory.
|
// Add /usr/lib/debug directory.
|
||||||
debug_file_search_paths.AppendIfUnique (FileSpec("/usr/lib/debug", true));
|
debug_file_search_paths.AppendIfUnique (FileSpec("/usr/lib/debug", true));
|
||||||
|
#endif // LLVM_ON_WIN32
|
||||||
|
|
||||||
std::string uuid_str;
|
std::string uuid_str;
|
||||||
const UUID &module_uuid = module_spec.GetUUID();
|
const UUID &module_uuid = module_spec.GetUUID();
|
||||||
|
|
Loading…
Reference in New Issue