File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -685,6 +685,8 @@ void ItaniumRTTIProcessor::ProcessRTTI()
685685 // Scan data sections for rtti.
686686 for (const Ref<Section> §ion: m_view->GetSections ())
687687 {
688+ if (bgTask->IsCancelled ())
689+ break ;
688690 if (section->GetSemantics () == ReadOnlyDataSectionSemantics)
689691 {
690692 m_logger->LogDebug (" Attempting to find RTTI in section %llx" , section->GetStart ());
Original file line number Diff line number Diff line change @@ -733,6 +733,8 @@ void MicrosoftRTTIProcessor::ProcessVFT()
733733 auto rdataSection = m_view->GetSectionByName (" .rdata" );
734734 for (const Ref<Segment> &segment: m_view->GetSegments ())
735735 {
736+ if (bgTask->IsCancelled ())
737+ break ;
736738 if (segment->GetFlags () == (SegmentReadable | SegmentContainsData))
737739 {
738740 m_logger->LogDebug (" Attempting to find VirtualFunctionTables in segment %llx" , segment->GetStart ());
You can’t perform that action at this time.
0 commit comments