diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-03-05 22:17:47 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-03-05 22:17:47 +0000 |
commit | f228b2c2efcc4c237f6028c1924ce17d19126d24 (patch) | |
tree | 494c23c5118ff7a31c6b28e85bffa89e64ba2453 /lldb/source/API/SBCompileUnit.cpp | |
parent | 2717b76c1a4a4bd4436a6e442fb2d695430fc499 (diff) | |
download | bcm5719-llvm-f228b2c2efcc4c237f6028c1924ce17d19126d24.tar.gz bcm5719-llvm-f228b2c2efcc4c237f6028c1924ce17d19126d24.zip |
Revert logging addition to SBCompileUnit::GetNumLineEntries,
causing lldb-mi testsuite failures?
llvm-svn: 355449
Diffstat (limited to 'lldb/source/API/SBCompileUnit.cpp')
-rw-r--r-- | lldb/source/API/SBCompileUnit.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/source/API/SBCompileUnit.cpp b/lldb/source/API/SBCompileUnit.cpp index d0476e53258..ef7d4c1d39f 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<void *>(m_opaque_ptr), - (int)line_table->GetSize()); + if (line_table) return line_table->GetSize(); - } } return 0; } |