[Lldb-commits] [PATCH] D13636: Symbols::LocateExecutableSymbolFile() shouldn't try to look for files in /usr/lib/debug on Windows
Vadim Macagon via lldb-commits
lldb-commits at lists.llvm.org
Sun Oct 11 08:57:15 PDT 2015
enlight created this revision.
enlight added reviewers: zturner, clayborg.
enlight added a subscriber: lldb-commits.
enlight set the repository for this revision to rL LLVM.
`/usr/lib/debug` doesn't exist on Windows so there's no point even attempting to look for symbol files in there.
Repository:
rL LLVM
http://reviews.llvm.org/D13636
Files:
source/Host/common/Symbols.cpp
Index: source/Host/common/Symbols.cpp
===================================================================
--- source/Host/common/Symbols.cpp
+++ source/Host/common/Symbols.cpp
@@ -235,8 +235,10 @@
// 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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13636.37056.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151011/bd203aa9/attachment-0001.bin>
More information about the lldb-commits
mailing list