diff mbox series

libsanitizer patch committed: Update for libbacktrace changes

Message ID CAOyqgcVrmJnEg+3a-AJ6anbhKkhvqW2gwacs11vkV4WSefMPaw@mail.gmail.com
State New
Headers show
Series libsanitizer patch committed: Update for libbacktrace changes | expand

Commit Message

Ian Lance Taylor Sept. 21, 2020, 7:04 p.m. UTC
Recent changes to libbacktrace have introduced a few more globally
symbols.  These then need to be renamed in the libsanitizer copy.
This patch does that.  Tested by configuring
--with-build-config=bootstrap-asan and running a bootstrap.  Committed
to mainline as obvious.

Ian

* libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
Define.
(backtrace_syminfo_to_full_callback): Define.
(backtrace_syminfo_to_full_error_callback): Define.

Comments

Ian Lance Taylor Sept. 21, 2020, 7:05 p.m. UTC | #1
On Mon, Sep 21, 2020 at 12:04 PM Ian Lance Taylor <iant@golang.org> wrote:
>
> Recent changes to libbacktrace have introduced a few more globally
> symbols.  These then need to be renamed in the libsanitizer copy.
> This patch does that.  Tested by configuring
> --with-build-config=bootstrap-asan and running a bootstrap.  Committed
> to mainline as obvious.
>
> Ian
>
> * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
> Define.
> (backtrace_syminfo_to_full_callback): Define.
> (backtrace_syminfo_to_full_error_callback): Define.


I forgot to mention that this fixes PR 97136.

Ian
diff mbox series

Patch

diff --git a/libsanitizer/libbacktrace/backtrace-rename.h b/libsanitizer/libbacktrace/backtrace-rename.h
index 2555fe508c2..2ec37a3307f 100644
--- a/libsanitizer/libbacktrace/backtrace-rename.h
+++ b/libsanitizer/libbacktrace/backtrace-rename.h
@@ -11,10 +11,13 @@ 
 #define backtrace_qsort __asan_backtrace_qsort
 #define backtrace_release_view __asan_backtrace_release_view
 #define backtrace_syminfo __asan_backtrace_syminfo
+#define backtrace_uncompress_lzma __asan_backtrace_uncompress_lzma
 #define backtrace_uncompress_zdebug __asan_backtrace_uncompress_zdebug
 #define backtrace_vector_finish __asan_backtrace_vector_finish
 #define backtrace_vector_grow __asan_backtrace_vector_grow
 #define backtrace_vector_release __asan_backtrace_vector_release
+#define backtrace_syminfo_to_full_callback __asan_backtrace_syminfo_to_full_callback
+#define backtrace_syminfo_to_full_error_callback __asan_backtrace_syminfo_to_full_error_callback
 
 #define cplus_demangle_builtin_types __asan_cplus_demangle_builtin_types
 #define cplus_demangle_fill_ctor __asan_cplus_demangle_fill_ctor