diff options
author | Greg Clayton <gclayton@apple.com> | 2015-10-07 22:07:33 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-10-07 22:07:33 +0000 |
commit | 2bd8e7b6447c4d9437122122f9467826c57b850c (patch) | |
tree | 3707aa2dbc83e66a0ea0d01996b1402705852a38 /lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | |
parent | db2a576a77b3e4c81fd7e29a205b27d8214dd048 (diff) | |
download | bcm5719-llvm-2bd8e7b6447c4d9437122122f9467826c57b850c.tar.gz bcm5719-llvm-2bd8e7b6447c4d9437122122f9467826c57b850c.zip |
Fix the TestCppNsImport test case for DWARF. It was failing for DWARF in .o files because SymbolFileDWARFDebugMap didn't implement the following function:
void
ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) override;
Now it does and the test works.
llvm-svn: 249626
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp')
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp index 795e7e5d70e..b5debacbe27 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp @@ -1459,6 +1459,15 @@ SymbolFileDWARFDebugMap::GetDeclContextContainingUID (lldb::user_id_t type_uid) return CompilerDeclContext(); } +void +SymbolFileDWARFDebugMap::ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) +{ + ForEachSymbolFile([&](SymbolFileDWARF *oso_dwarf) -> bool { + oso_dwarf->ParseDeclsForContext (decl_ctx); + return true; // Keep iterating + }); +} + bool SymbolFileDWARFDebugMap::AddOSOFileRange (CompileUnitInfo *cu_info, lldb::addr_t exe_file_addr, |