]> gcc.gnu.org Git - gcc.git/commitdiff
libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072]
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Dec 2022 09:30:36 +0000 (10:30 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 13 Dec 2022 09:30:36 +0000 (10:30 +0100)
The r13-4547 commit added new non-static function to libbacktrace:
backtrace_uncompress_zstd but for the libsanitizer use we need to
rename it, so that it is in __asan_* namespace and doesn't clash
with other copies of libbacktrace.

2022-12-13  Jakub Jelinek  <jakub@redhat.com>

libsanitizer/
PR sanitizer/108072
* libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.

libsanitizer/libbacktrace/backtrace-rename.h

index 2ec37a3307f835150b547188612f9d74c8fccc2d..a31917c9af53a07f3cdabaae4ae202d897600819 100644 (file)
@@ -13,6 +13,7 @@
 #define backtrace_syminfo __asan_backtrace_syminfo
 #define backtrace_uncompress_lzma __asan_backtrace_uncompress_lzma
 #define backtrace_uncompress_zdebug __asan_backtrace_uncompress_zdebug
+#define backtrace_uncompress_zstd __asan_backtrace_uncompress_zstd
 #define backtrace_vector_finish __asan_backtrace_vector_finish
 #define backtrace_vector_grow __asan_backtrace_vector_grow
 #define backtrace_vector_release __asan_backtrace_vector_release
This page took 0.050596 seconds and 5 git commands to generate.