[libcxxabi] r206121 - Properly conditionalize DwarfFDECache<A>::dyldUnloadHook. Patch by Patrick Wildt
Nick Kledzik
kledzik at apple.com
Sat Apr 12 15:11:12 PDT 2014
Author: kledzik
Date: Sat Apr 12 17:11:11 2014
New Revision: 206121
URL: http://llvm.org/viewvc/llvm-project?rev=206121&view=rev
Log:
Properly conditionalize DwarfFDECache<A>::dyldUnloadHook. Patch by Patrick Wildt
Modified:
libcxxabi/trunk/src/Unwind/UnwindCursor.hpp
Modified: libcxxabi/trunk/src/Unwind/UnwindCursor.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindCursor.hpp?rev=206121&r1=206120&r2=206121&view=diff
==============================================================================
--- libcxxabi/trunk/src/Unwind/UnwindCursor.hpp (original)
+++ libcxxabi/trunk/src/Unwind/UnwindCursor.hpp Sat Apr 12 17:11:11 2014
@@ -151,10 +151,12 @@ void DwarfFDECache<A>::removeAllIn(pint_
_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)(
More information about the cfe-commits
mailing list