fix build when sanitizers are enabled and jemalloc is disabled
authorIgor Sugak <sugak@fb.com>
Thu, 30 Nov 2017 22:48:24 +0000 (14:48 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Nov 2017 22:51:07 +0000 (14:51 -0800)
commitb71a1b76b3dd7d63bc1d27ed292ddb604fdd9388
treebb37e502d1c3912c1f845885cdefcc1a6676e3e2
parent96ac8f8ff0c9bc9446eede119fdfee0fe7feaba3
fix build when sanitizers are enabled and jemalloc is disabled

Summary: Add preprocessor checks to guard jemalloc headers if any sanitizer is enabled.

Reviewed By: yfeldblum

Differential Revision: D6441578

fbshipit-source-id: 85364fca5af33c95cd05f232d1e3f9cbac9a4120
folly/experimental/JemallocNodumpAllocator.h
folly/memory/test/MallctlHelperTest.cpp