diff options
author | Geoff Norton <kangaroo@clr.ninja> | 2015-10-28 19:03:48 +0000 |
---|---|---|
committer | Geoff Norton <kangaroo@clr.ninja> | 2015-10-28 19:03:48 +0000 |
commit | c68fd18aaee6c04db23b1d916649a4cff4320f50 (patch) | |
tree | eebb30f2a52c331a329dc7b557bf6e70809023c1 /src/pal/src/exception/seh-unwind.cpp | |
parent | 56c2b921df193b8a1ecdc678de52148271bde08d (diff) | |
download | coreclr-c68fd18aaee6c04db23b1d916649a4cff4320f50.tar.gz coreclr-c68fd18aaee6c04db23b1d916649a4cff4320f50.tar.bz2 coreclr-c68fd18aaee6c04db23b1d916649a4cff4320f50.zip |
[arm] Fix context accessor function naming
Diffstat (limited to 'src/pal/src/exception/seh-unwind.cpp')
-rw-r--r-- | src/pal/src/exception/seh-unwind.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pal/src/exception/seh-unwind.cpp b/src/pal/src/exception/seh-unwind.cpp index c69c3e1504..f0749e7b29 100644 --- a/src/pal/src/exception/seh-unwind.cpp +++ b/src/pal/src/exception/seh-unwind.cpp @@ -228,7 +228,7 @@ BOOL PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextP // So we compensate it by incrementing the PC before passing it to the unwinder. // Without it, the unwinder would not find unwind info if the hardware exception // happened in the first instruction of a function. - SetProgramCounterOnCONTEXT(context, GetProgramCounterFromCONTEXT(context) + 1); + CONTEXTSetPC(context, CONTEXTGetPC(context) + 1); } #if UNWIND_CONTEXT_IS_UCONTEXT_T @@ -260,7 +260,7 @@ BOOL PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextP // The behaviour of libunwind from nongnu.org is to null the PC // So we bank the original PC here, so we can compare it after // the step - curPc = GetProgramCounterFromCONTEXT(context); + curPc = CONTEXTGetPC(context); #endif st = unw_step(&cursor); @@ -285,9 +285,9 @@ BOOL PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextP // UnwindContextToWinContext(&cursor, context); #if defined(__APPLE__) || defined(__FreeBSD__) || defined(_ARM64_) - if (st == 0 && GetProgramCounterFromCONTEXT(context) == curPc) + if (st == 0 && CONTEXTGetPC(context) == curPc) { - SetProgramCounterOnCONTEXT(context, 0); + CONTEXTSetPC(context, 0); } #endif |