unwind fix

This commit is contained in:
proller 2019-08-03 16:14:09 +03:00
parent 18ade1708c
commit a309754aa9
4 changed files with 3 additions and 7 deletions

View File

@ -160,9 +160,6 @@ if (OS_FREEBSD)
endif () endif ()
if (USE_UNWIND) if (USE_UNWIND)
target_compile_definitions (clickhouse_common_io PRIVATE USE_UNWIND=1)
target_include_directories (clickhouse_common_io SYSTEM BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
if (NOT USE_INTERNAL_UNWIND_LIBRARY_FOR_EXCEPTION_HANDLING) if (NOT USE_INTERNAL_UNWIND_LIBRARY_FOR_EXCEPTION_HANDLING)
target_link_libraries (clickhouse_common_io PRIVATE ${UNWIND_LIBRARY}) target_link_libraries (clickhouse_common_io PRIVATE ${UNWIND_LIBRARY})
endif () endif ()

View File

@ -114,7 +114,7 @@ namespace
out.next(); out.next();
} }
const UInt32 TIMER_PRECISION = 1e9; [[maybe_unused]] const UInt32 TIMER_PRECISION = 1e9;
} }
namespace ErrorCodes namespace ErrorCodes

View File

@ -1,11 +1,10 @@
#include <common/SimpleCache.h> #include <common/SimpleCache.h>
#include <common/demangle.h> #include <common/demangle.h>
#include <Common/config.h>
#include <Common/StackTrace.h> #include <Common/StackTrace.h>
#include <Common/SymbolIndex.h> #include <Common/SymbolIndex.h>
#include <Common/Dwarf.h> #include <Common/Dwarf.h>
#include <Common/Elf.h> #include <Common/Elf.h>
#include <sstream> #include <sstream>
#include <filesystem> #include <filesystem>
#include <unordered_map> #include <unordered_map>

View File

@ -9,5 +9,5 @@
#cmakedefine01 USE_CPUINFO #cmakedefine01 USE_CPUINFO
#cmakedefine01 USE_BROTLI #cmakedefine01 USE_BROTLI
#cmakedefine01 USE_MIMALLOC #cmakedefine01 USE_MIMALLOC
#cmakedefine01 USE_UNWIND
#cmakedefine01 CLICKHOUSE_SPLIT_BINARY #cmakedefine01 CLICKHOUSE_SPLIT_BINARY