ClickHouse/contrib/libunwind-cmake/unwind-override.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
234 B
C
Raw Normal View History

#include <libunwind.h>
2024-02-09 13:53:03 +00:00
/// 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);
}
2024-02-09 13:53:03 +00:00
#endif