[Lldb-commits] [lldb] dcb5bd9 - Fix incorrect comment.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 14 09:55:49 PST 2019
Author: Adrian Prantl
Date: 2019-11-14T09:55:24-08:00
New Revision: dcb5bd91095fc2a009a777e4d7eefb127f057634
URL: https://github.com/llvm/llvm-project/commit/dcb5bd91095fc2a009a777e4d7eefb127f057634
DIFF: https://github.com/llvm/llvm-project/commit/dcb5bd91095fc2a009a777e4d7eefb127f057634.diff
LOG: Fix incorrect comment.
Added:
Modified:
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 727334f3717b..b61355376bf4 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -1556,9 +1556,11 @@ SymbolFileDWARF::GetDIE(const DIERef &die_ref) {
std::unique_ptr<SymbolFileDWARFDwo>
SymbolFileDWARF::GetDwoSymbolFileForCompileUnit(
DWARFUnit &unit, const DWARFDebugInfoEntry &cu_die) {
- // If we are using a dSYM file, we never want the standard DWO files since
- // the -gmodules support uses the same DWO machanism to specify full debug
- // info files for modules.
+ // If this is a Darwin-style debug map (non-.dSYM) symbol file,
+ // never attempt to load ELF-style DWO files since the -gmodules
+ // support uses the same DWO machanism to specify full debug info
+ // files for modules. This is handled in
+ // UpdateExternalModuleListIfNeeded().
if (GetDebugMapSymfile())
return nullptr;
More information about the lldb-commits
mailing list