Skip to content

Commit 4c00d61

Browse files
committed
[RTTI] Skip MSVC VFT sweep if we never collected any class information in the previous pass
1 parent d730b5f commit 4c00d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/rtti/microsoft.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ void MicrosoftRTTIProcessor::ProcessVFT()
727727
}
728728
}
729729

730-
if (virtualFunctionTableSweep)
730+
if (virtualFunctionTableSweep && !m_classInfo.empty())
731731
{
732732
BinaryReader optReader = BinaryReader(m_view);
733733
auto addrSize = m_view->GetAddressSize();

0 commit comments

Comments
 (0)