forked from OSchip/llvm-project
Remove unnecessary check in SymbolFileDWARF::ParseImportedModules
Summary: This check seems unnecessary as we already assert the same condition above and also access `sc.comp_unit` before this check. Reviewers: aprantl Reviewed By: aprantl Subscribers: jdoerfert, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D61394 llvm-svn: 359813
This commit is contained in:
parent
0682fc5e5f
commit
21db1440f9
|
@ -909,9 +909,6 @@ bool SymbolFileDWARF::ParseImportedModules(
|
|||
return false;
|
||||
UpdateExternalModuleListIfNeeded();
|
||||
|
||||
if (!sc.comp_unit)
|
||||
return false;
|
||||
|
||||
const DWARFDIE die = dwarf_cu->DIE();
|
||||
if (!die)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue