diff options
| -rw-r--r-- | libcxxabi/src/Unwind/UnwindCursor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxxabi/src/Unwind/UnwindCursor.hpp b/libcxxabi/src/Unwind/UnwindCursor.hpp index 235922f7188..aa14dd1529a 100644 --- a/libcxxabi/src/Unwind/UnwindCursor.hpp +++ b/libcxxabi/src/Unwind/UnwindCursor.hpp @@ -151,10 +151,12 @@ void DwarfFDECache<A>::removeAllIn(pint_t mh) { _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_unlock(&_lock)); } +#if __APPLE__ template <typename A> void DwarfFDECache<A>::dyldUnloadHook(const struct mach_header *mh, intptr_t ) { removeAllIn((pint_t) mh); } +#endif template <typename A> void DwarfFDECache<A>::iterateCacheEntries(void (*func)( |

