forked from OSchip/llvm-project
Revert logging addition to SBCompileUnit::GetNumLineEntries,
causing lldb-mi testsuite failures? llvm-svn: 355449
This commit is contained in:
parent
2717b76c1a
commit
f228b2c2ef
|
@ -43,15 +43,10 @@ SBFileSpec SBCompileUnit::GetFileSpec() const {
|
|||
}
|
||||
|
||||
uint32_t SBCompileUnit::GetNumLineEntries() const {
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_API));
|
||||
if (m_opaque_ptr) {
|
||||
LineTable *line_table = m_opaque_ptr->GetLineTable();
|
||||
if (line_table) {
|
||||
log->Printf("SBCompileUnit(%p)::GetNumLineEntries() => %d",
|
||||
static_cast<void *>(m_opaque_ptr),
|
||||
(int)line_table->GetSize());
|
||||
if (line_table)
|
||||
return line_table->GetSize();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue