diff options
Diffstat (limited to 'src/pal/src/exception/seh-unwind.cpp')
-rw-r--r-- | src/pal/src/exception/seh-unwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/src/exception/seh-unwind.cpp b/src/pal/src/exception/seh-unwind.cpp index 02488fc318..413c6efdc8 100644 --- a/src/pal/src/exception/seh-unwind.cpp +++ b/src/pal/src/exception/seh-unwind.cpp @@ -203,7 +203,7 @@ static DWORD64 GetPc(CONTEXT *context) { #if defined(_AMD64_) return context->Rip; -#elif defined(_ARM64_) +#elif defined(_ARM64_) || defined(_ARM_) return context->Pc; #else #error don't know how to get the program counter for this architecture @@ -214,7 +214,7 @@ static void SetPc(CONTEXT *context, DWORD64 pc) { #if defined(_AMD64_) context->Rip = pc; -#elif defined(_ARM64_) +#elif defined(_ARM64_) || defined(_ARM_) context->Pc = pc; #else #error don't know how to set the program counter for this architecture |