Commit df9c2e3e authored by Bin Liu's avatar Bin Liu Committed by Facebook Github Bot

fix ASAN build

Summary:
Fix bug in non-jemalloc build.

(Note: this ignores all push blocking failures!)

Reviewed By: igorsugak

Differential Revision: D6451342

fbshipit-source-id: 44725d4e0c685a59325fa3d08877d0f62120c5c2
parent 48d3f5e1
......@@ -144,10 +144,11 @@ namespace folly {
#define FOLLY_MALLOC_CHECKED_MALLOC
#endif
#include <folly/CPortability.h>
/**
* Determine if we are using jemalloc or not.
*/
#ifdef USE_JEMALLOC
#if defined(USE_JEMALLOC) && !FOLLY_SANITIZE
inline bool usingJEMalloc() noexcept {
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment