diff options
author | Aditya Mandaleeka <adityam@microsoft.com> | 2015-09-03 12:01:13 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityam@microsoft.com> | 2015-09-03 12:01:13 -0700 |
commit | 3213f33e1a6990046c295ef27e0984d54d30c885 (patch) | |
tree | 52ed0b947c7f063965f8f4fb67aafbce4017d31d /src/pal/src | |
parent | b2964aff2a5a77b1df87b94005face366921a9b8 (diff) | |
download | coreclr-3213f33e1a6990046c295ef27e0984d54d30c885.tar.gz coreclr-3213f33e1a6990046c295ef27e0984d54d30c885.tar.bz2 coreclr-3213f33e1a6990046c295ef27e0984d54d30c885.zip |
Fix warnings about Get/SetPc functions
Diffstat (limited to 'src/pal/src')
-rw-r--r-- | src/pal/src/exception/seh-unwind.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pal/src/exception/seh-unwind.cpp b/src/pal/src/exception/seh-unwind.cpp index 413c6efdc8..23a05b410d 100644 --- a/src/pal/src/exception/seh-unwind.cpp +++ b/src/pal/src/exception/seh-unwind.cpp @@ -199,6 +199,8 @@ static void GetContextPointers(unw_cursor_t *cursor, unw_context_t *unwContext, #endif } +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(_ARM64_) + static DWORD64 GetPc(CONTEXT *context) { #if defined(_AMD64_) @@ -221,6 +223,8 @@ static void SetPc(CONTEXT *context, DWORD64 pc) #endif } +#endif // defined(__APPLE__) || defined(__FreeBSD__) || defined(_ARM64_) + BOOL PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers) { int st; |