mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-06 06:28:15 +01:00
Add support for zstd compressed sections to dump_syms
Support for zstd must be enabled by passing --enable-zstd to configure. Change-Id: I57d0196552284de86575d979d673ac20a3fc4d64 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4722191 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
7a1a190f4f
commit
9ea5b228f5
6 changed files with 134 additions and 11 deletions
11
configure.ac
11
configure.ac
|
|
@ -212,6 +212,17 @@ fi
|
|||
AC_ARG_VAR([RUSTC_DEMANGLE_CFLAGS], [Compiler flags for rustc-demangle])
|
||||
AC_ARG_VAR([RUSTC_DEMANGLE_LIBS], [Linker flags for rustc-demangle])
|
||||
|
||||
AC_ARG_ENABLE(zstd,
|
||||
AS_HELP_STRING([--enable-zstd],
|
||||
[Enable decompression of ELF sections with zstd]),,
|
||||
[enable_zstd=no])
|
||||
if test "x${enable_zstd}" != xno; then
|
||||
AC_CHECK_LIB(zstd, ZSTD_decompress, [],
|
||||
[AC_MSG_ERROR([zstd library not found.])])
|
||||
AC_CHECK_HEADER(zstd.h, [],
|
||||
[AC_MSG_ERROR([zstd header not found.])])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(tests-as-root,
|
||||
AS_HELP_STRING([--with-tests-as-root],
|
||||
[Run the tests as root. Use this on platforms]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue