diff options
author | Vadim Macagon <vadim.macagon@gmail.com> | 2015-10-13 16:30:28 +0000 |
---|---|---|
committer | Vadim Macagon <vadim.macagon@gmail.com> | 2015-10-13 16:30:28 +0000 |
commit | 3014991fcf5d65976a367baccb45320a5764b9cf (patch) | |
tree | da1d39d77d6d91f9a67c715f43356796a3b2bbba | |
parent | 85030aa1bd72b523464c0c1276f9e76103da767d (diff) | |
download | bcm5719-llvm-3014991fcf5d65976a367baccb45320a5764b9cf.tar.gz bcm5719-llvm-3014991fcf5d65976a367baccb45320a5764b9cf.zip |
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
-rw-r--r-- | lldb/source/Host/common/Symbols.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Host/common/Symbols.cpp b/lldb/source/Host/common/Symbols.cpp index 39c769684fc..60e1dc6bf99 100644 --- a/lldb/source/Host/common/Symbols.cpp +++ b/lldb/source/Host/common/Symbols.cpp @@ -238,8 +238,10 @@ Symbols::LocateExecutableSymbolFile (const ModuleSpec &module_spec) // Add current working directory. debug_file_search_paths.AppendIfUnique (FileSpec(".", true)); +#ifndef LLVM_ON_WIN32 // Add /usr/lib/debug directory. debug_file_search_paths.AppendIfUnique (FileSpec("/usr/lib/debug", true)); +#endif // LLVM_ON_WIN32 std::string uuid_str; const UUID &module_uuid = module_spec.GetUUID(); |