[committed] libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072]

Message ID Y5hHQJj9a5Fa4ILA@tucnak
State Unresolved
Headers
Series [committed] libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072] |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek Dec. 13, 2022, 9:34 a.m. UTC
  Hi!

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.

Bootstrapped/regtested on x86_64-linux and i686-linux, committed
to trunk as obvious.

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

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


	Jakub
  

Patch

--- libsanitizer/libbacktrace/backtrace-rename.h.jj	2020-09-22 09:49:22.532137619 +0200
+++ libsanitizer/libbacktrace/backtrace-rename.h	2022-12-12 14:09:01.681819952 +0100
@@ -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