From f228b2c2efcc4c237f6028c1924ce17d19126d24 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 5 Mar 2019 22:17:47 +0000 Subject: [PATCH] Revert logging addition to SBCompileUnit::GetNumLineEntries, causing lldb-mi testsuite failures? llvm-svn: 355449 --- lldb/source/API/SBCompileUnit.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lldb/source/API/SBCompileUnit.cpp b/lldb/source/API/SBCompileUnit.cpp index d0476e53258a..ef7d4c1d39f0 100644 --- a/lldb/source/API/SBCompileUnit.cpp +++ b/lldb/source/API/SBCompileUnit.cpp @@ -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(m_opaque_ptr), - (int)line_table->GetSize()); + if (line_table) return line_table->GetSize(); - } } return 0; }