[Lldb-commits] [lldb] r176725 - <rdar://problem/13361742>

Greg Clayton gclayton at apple.com
Fri Mar 8 13:46:31 PST 2013


Author: gclayton
Date: Fri Mar  8 15:46:30 2013
New Revision: 176725

URL: http://llvm.org/viewvc/llvm-project?rev=176725&view=rev
Log:
<rdar://problem/13361742>

Don't resolve .o file locations when setting the file spec for each .o file in DWARF with debug map. We should trust the path.


Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp?rev=176725&r1=176724&r2=176725&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp Fri Mar  8 15:46:30 2013
@@ -380,7 +380,7 @@ SymbolFileDWARFDebugMap::InitOSO()
                     so_symbol->GetType() == eSymbolTypeSourceFile &&
                     oso_symbol->GetType() == eSymbolTypeObjectFile)
                 {
-                    m_compile_unit_infos[i].so_file.SetFile(so_symbol->GetName().AsCString(), true);
+                    m_compile_unit_infos[i].so_file.SetFile(so_symbol->GetName().AsCString(), false);
                     m_compile_unit_infos[i].oso_path = oso_symbol->GetName();
                     uint32_t sibling_idx = so_symbol->GetSiblingIndex();
                     // The sibling index can't be less that or equal to the current index "i"





More information about the lldb-commits mailing list