[build] disable backward

This commit is contained in:
Timothy Stack 2021-05-23 22:49:26 -07:00
parent 399cf83fc5
commit 9231e812d7
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,12 @@ sudo apk add \
ncurses \
autoconf \
automake \
elfutils \
elfutils-dev \
libdwarf \
libdwarf-dev \
libdwarf-static \
libelf-static \
libexecinfo-dev \
libexecinfo-static \
libtool \

View File

@ -416,6 +416,7 @@ static void sigabrt(int sig)
#ifdef HAVE_EXECINFO_H
backtrace_symbols_fd(frames, frame_count, fd);
#endif
#if 0
{
backward::StackTrace st;
@ -437,6 +438,7 @@ static void sigabrt(int sig)
write(fd, buf, strlen(buf));
}
}
#endif
log_ring.lr_length = 0;
log_ring.lr_frag_start = BUFFER_SIZE;
log_ring.lr_frag_end = 0;