forked from OSchip/llvm-project
Properly conditionalize DwarfFDECache<A>::dyldUnloadHook. Patch by Patrick Wildt
llvm-svn: 206121
This commit is contained in:
parent
34974ed503
commit
74ebf58742
|
@ -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)(
|
||||
|
|
Loading…
Reference in New Issue