mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
11 lines
234 B
C
11 lines
234 B
C
#include <libunwind.h>
|
|
|
|
/// On MacOS this function will be replaced with a dynamic symbol
|
|
/// from the system library.
|
|
#if !defined(OS_DARWIN)
|
|
int backtrace(void ** buffer, int size)
|
|
{
|
|
return unw_backtrace(buffer, size);
|
|
}
|
|
#endif
|