We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 708a9a0 commit c3a9242Copy full SHA for c3a9242
compiler-rt/lib/nsan/nsan_interceptors.cpp
@@ -21,10 +21,6 @@
21
22
#include <wchar.h>
23
24
-#if SANITIZER_LINUX
25
-extern "C" int mallopt(int param, int value);
26
-#endif
27
-
28
using namespace __sanitizer;
29
using __nsan::nsan_init_is_running;
30
using __nsan::nsan_initialized;
@@ -209,12 +205,6 @@ void __nsan::InitializeInterceptors() {
209
205
static bool initialized = false;
210
206
CHECK(!initialized);
211
207
212
- // Instruct libc malloc to consume less memory.
213
214
- mallopt(1, 0); // M_MXFAST
215
- mallopt(-3, 32 * 1024); // M_MMAP_THRESHOLD
216
217
218
208
InitializeMallocInterceptors();
219
220
INTERCEPT_FUNCTION(memset);
0 commit comments