forked from OSchip/llvm-project
Add dropped ManualDWARFIndex assert()
D47253 dropped this assertion. Differential Revision: https://reviews.llvm.org/D60254 llvm-svn: 357678
This commit is contained in:
parent
772e4734d9
commit
d0157b3b07
|
@ -92,6 +92,9 @@ void ManualDWARFIndex::Index() {
|
|||
}
|
||||
|
||||
void ManualDWARFIndex::IndexUnit(DWARFUnit &unit, IndexSet &set) {
|
||||
assert(!unit.GetSymbolFileDWARF()->GetBaseCompileUnit() &&
|
||||
"DWARFUnit associated with .dwo or .dwp should not be indexed directly");
|
||||
|
||||
Log *log = LogChannelDWARF::GetLogIfAll(DWARF_LOG_LOOKUPS);
|
||||
|
||||
if (log) {
|
||||
|
|
Loading…
Reference in New Issue