mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
remove USE_UNWIND from header
This commit is contained in:
parent
70b5aaafa6
commit
2429449fb6
@ -4,11 +4,6 @@
|
||||
#include <vector>
|
||||
#include <signal.h>
|
||||
|
||||
#if USE_UNWIND
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
// ucontext is not available without _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE
|
||||
|
@ -14,6 +14,9 @@
|
||||
#endif
|
||||
|
||||
#if USE_UNWIND
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
|
||||
/** We suppress the following ASan report. Also shown by Valgrind.
|
||||
==124==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7f054be57000 at pc 0x0000068b0649 bp 0x7f060eeac590 sp 0x7f060eeabd40
|
||||
READ of size 1 at 0x7f054be57000 thread T3
|
||||
|
Loading…
Reference in New Issue
Block a user