re PR sanitizer/82595 (bootstrap fails in libsanitizer on powerpc64-unknown-linux...
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Oct 2017 07:32:35 +0000 (09:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Oct 2017 07:32:35 +0000 (09:32 +0200)
commit9a45ffbd122d77a87c49d05b936a9d162625c5d8
tree5c81a4874ff7da20df3a73e552be535591c93a64
parent42a764f76f14ce2718d30459dc140d1410ef118e
re PR sanitizer/82595 (bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu)

PR sanitizer/82595
* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Add libtsan_preinit.o
for -fsanitize=thread link of executables.
(LIBLSAN_EARLY_SPEC): Add liblsan_preinit.o for -fsanitize=leak
link of executables.

* lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
* lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
liblsan_preinit.o.
(lsan_files): Remove lsan_preinit.cc.
(liblsan_preinit.o): New rule.
* lsan/Makefile.in: Regenerated.

From-SVN: r253925
gcc/ChangeLog
gcc/config/gnu-user.h
libsanitizer/ChangeLog
libsanitizer/lsan/Makefile.am
libsanitizer/lsan/Makefile.in
libsanitizer/lsan/lsan.h