Fix linker error with SanitizeAddress.cpp on non-ASAN win32 builds
Summary: Win32 does not support weak symbols. This means the linker will fail due to the unresolved symbol `__asan_region_is_poisoned` when ASAN is not available. Use `FOLLY_CREATE_EXTERN_ACCESSOR` macro when filtering for ASAN availability in `SanitizeAddress.cpp` to ensure the symbol `__asan_region_is_poisoned` is referenced only when ASAN is available. Reviewed By: yfeldblum, luciang Differential Revision: D27278826 fbshipit-source-id: 3c8efbfc687295c2fa70e3712402fd8dfe81bc45
Showing
Please register or sign in to comment