ARM: Remove workaround no more required
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 25 May 2016 10:06:50 +0000 (19:06 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 30 May 2016 08:11:49 +0000 (17:11 +0900)
With recent concrete unwinding/exception handling routines
of coreclr-arm-linux, we no longer need this workaround.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/664286a86e1c35d3ceded6f3b09a3e5a57cf5ad5

src/coreclr/src/pal/src/exception/seh-unwind.cpp

index f6dd1d9..763306b 100644 (file)
@@ -141,7 +141,6 @@ static void UnwindContextToWinContext(unw_cursor_t *cursor, CONTEXT *winContext)
 #elif defined(_ARM_)
     unw_get_reg(cursor, UNW_REG_SP, (unw_word_t *) &winContext->Sp);
     unw_get_reg(cursor, UNW_REG_IP, (unw_word_t *) &winContext->Pc);
-    winContext->Pc &= ~0x1;
     unw_get_reg(cursor, UNW_ARM_R14, (unw_word_t *) &winContext->Lr);
     unw_get_reg(cursor, UNW_ARM_R4, (unw_word_t *) &winContext->R4);
     unw_get_reg(cursor, UNW_ARM_R5, (unw_word_t *) &winContext->R5);