From 65e9c678f8990756ac22ad2ad10bc08a9c0ec4b4 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 10 Sep 2020 17:47:02 +0300 Subject: [PATCH] Disable under certain conditions --- src/Common/remapExecutable.cpp | 2 +- src/Common/ya.make | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Common/remapExecutable.cpp b/src/Common/remapExecutable.cpp index ec8b1703b0a..b41fece0c79 100644 --- a/src/Common/remapExecutable.cpp +++ b/src/Common/remapExecutable.cpp @@ -1,4 +1,4 @@ -#if defined(__linux__) && defined(__amd64__) && defined(__SSE2__) +#if defined(__linux__) && defined(__amd64__) && defined(__SSE2__) && !defined(SANITIZER) && defined(NDEBUG) #include #include diff --git a/src/Common/ya.make b/src/Common/ya.make index d9a7a2ce4de..72f1fa42756 100644 --- a/src/Common/ya.make +++ b/src/Common/ya.make @@ -74,6 +74,7 @@ SRCS( QueryProfiler.cpp quoteString.cpp randomSeed.cpp + remapExecutable.cpp RemoteHostFilter.cpp renameat2.cpp RWLock.cpp