Skip to content

Commit

Permalink
FIX #6074 : cannot find exception handler on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
chunseoklee committed Jul 1, 2016
1 parent 24a53c5 commit ed9aa2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vm/exceptionhandling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,8 @@ void ExceptionTracker::InitializeCrawlFrame(CrawlFrame* pcfThisFrame, Thread* pT
// For async exceptions (e.g. AV), this will be false.
//
// We decrement by two to be in accordance with how the kernel does as well.
if (pDispatcherContext->ControlPcIsUnwound)
if (pDispatcherContext->ControlPcIsUnwound
|| (pDispatcherContext->ContextRecord->ContextFlags & CONTEXT_UNWOUND_TO_CALL))
{
ControlPCForEHSearch -= STACKWALK_CONTROLPC_ADJUST_OFFSET;
if (fAdjustRegdisplayControlPC == true)
Expand Down

0 comments on commit ed9aa2a

Please sign in to comment.