public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072]
@ 2022-12-13  9:34 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-12-13  9:34 UTC (permalink / raw)
  To: gcc-patches

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.

--- 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

	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-13  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13  9:34 [committed] libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072] Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).