diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2018-03-22 01:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 01:11:59 +0100 |
commit | d104270f8412381b5eb7715a775c3999f28b740c (patch) | |
tree | 0555218eb6831ba000dff774f4e53520a8c4ae19 /src/pal/src/exception/seh-unwind.cpp | |
parent | 08224572d6d2dd20d599bcf7725b4516eea2d5b9 (diff) | |
download | coreclr-d104270f8412381b5eb7715a775c3999f28b740c.tar.gz coreclr-d104270f8412381b5eb7715a775c3999f28b740c.tar.bz2 coreclr-d104270f8412381b5eb7715a775c3999f28b740c.zip |
Remove dependency on libunwind (#17094)
* Add original source of libunwind 1.3-stable
Taken from:
https://github.com/libunwind/libunwind/tree/v1.3-stable
* Enable building of libunwind
This change enables building libunwind and removes
dependency on the libunwind package for all Unixes
except OSX. In OSX the libunwind is part of the OS
and also has support for compact unwind info that
is OSX specific, so we keep using that one.
* Disable warnings in code we don't execute
Diffstat (limited to 'src/pal/src/exception/seh-unwind.cpp')
-rw-r--r-- | src/pal/src/exception/seh-unwind.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pal/src/exception/seh-unwind.cpp b/src/pal/src/exception/seh-unwind.cpp index b15ac34c24..7cae4a2f36 100644 --- a/src/pal/src/exception/seh-unwind.cpp +++ b/src/pal/src/exception/seh-unwind.cpp @@ -27,18 +27,13 @@ Abstract: #include "pal.h" #include <dlfcn.h> -#if HAVE_LIBUNWIND_H -#ifndef __linux__ #define UNW_LOCAL_ONLY -#endif // !__linux__ #include <libunwind.h> -#endif // HAVE_LIBUNWIND_H //---------------------------------------------------------------------- // Virtual Unwinding //---------------------------------------------------------------------- -#if HAVE_LIBUNWIND_H #if UNWIND_CONTEXT_IS_UCONTEXT_T #if defined(_AMD64_) @@ -347,10 +342,6 @@ BOOL PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextP return TRUE; } -#else -#error don't know how to unwind on this platform -#endif - struct ExceptionRecords { CONTEXT ContextRecord; |