summaryrefslogtreecommitdiff
path: root/libsanitizer
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.GCC Administrator2023-05-011-0/+10
|
* libsanitizer: link hwasan against lsan libraryMartin Liska2023-04-302-3/+5
| | | | | | | | | | | | Similarly to libasan.so, libhwasan.so also utilizes some of the symbols from lsan library. PR sanitizer/109674 libsanitizer/ChangeLog: * hwasan/Makefile.am: Depend on liblsan. * hwasan/Makefile.in: Re-generate.
* libsanitizer: update LOCAL_PATCHES revisionMartin Liska2023-04-301-1/+1
| | | | | | libsanitizer/ChangeLog: * LOCAL_PATCHES: Update revision.
* libsanitizer: Apply local patchesMartin Liska2023-04-3014-81/+94
|
* libsanitizer: merge from upstream (87e6e490e79384a5)Martin Liska2023-04-3026-212/+202
|
* Daily bump.GCC Administrator2023-04-271-0/+4
|
* libsanitizer: change LOCAL_PATCHES revisionMartin Liska2023-04-261-1/+1
| | | | | | libsanitizer/ChangeLog: * LOCAL_PATCHES: Change revision.
* libsanitizer: Apply local patchesMartin Liska2023-04-2614-81/+94
|
* libsanitizer: merge from upstream (3185e47b5a8444e9fd).Martin Liska2023-04-26132-1165/+2772
|
* Daily bump.GCC Administrator2023-04-191-0/+5
|
* libsanitizer, darwin: Unsupport Darwin >= 22 for now.Iain Sandoe2023-04-181-1/+1
| | | | | | | | | | | | | | | | The mechanism for location dyld has altered from Darwin22 since dyld is now in the shared cache. The implemented mechanism for walking the cache uses Apple Blocks which GCC does not yet support, and the fallback to the original mechanism does not work there. Until a suitable work-around can be found, unsupport Darwin22+. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libsanitizer/ChangeLog: * configure.tgt: Unsupport Darwin22+ until a mechanism can be found to locate dyld in the shared cache.
* libsanitizer: cherry-pick commit 8f5962b1ccb5fcd4d4544121d43efb860ac3cc6d ↵Martin Liska2023-02-242-3/+13
| | | | | | | | | | | from upstream ASAN: keep support for Global::location We as GCC still emit __asan_global_source_location for global variables and we would like to use it in the future. On other hand, we don't support llvm-symbolizer and the default libbacktraace symbolizer does not support location info.
* Daily bump.GCC Administrator2023-02-011-0/+18
|
* libsanitizer: cherry-pick commit 742bcbf685bc from upstreamH.J. Lu2023-01-311-1/+2
| | | | | | | | | | | | cherry-pick: 742bcbf685bc compiler-rt/lib: Add .Linterceptor_sigsetjmp PR sanitizer/108106 * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp. (__interceptor_sigsetjmp): Add a local alias, .Linterceptor_sigsetjmp.
* libsanitizer: Regenerate configureMartin Liska2023-01-311-1/+2
| | | | | | libsanitizer/ChangeLog: * configure: Regenerate.
* libsanitizer/mips: always build with largefile supportYunQiang Su2023-01-312-5/+20
| | | | | | | | | | | | | | | | | -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 is always used for mips when build libsanitizer in LLVM. Thus FIRST_32_SECOND_64((_MIPS_SIM == _ABIN32) ? 176 : 160, 216); instead of FIRST_32_SECOND_64((_MIPS_SIM == _ABIN32) ? 160 : 144, 216); in sanitizer_platform_limits_posix.h. To keep sync with LLVM and to make the code simple, we use the largefile options always. libsanitizer/ * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 always for mips*. * configure: Regenerate.
* Daily bump.GCC Administrator2023-01-181-0/+5
|
* libsanitizer: Fix asan SEGVs with gld on SolarisRainer Orth2023-01-171-1/+1
| | | | | | | | | | | | | | | | | When using GNU ld on Solaris, a large number of asan tests SEGV, while Solaris ld is fine. This happens inside the __tls_get_addr interceptor, which is highly glibc-specific. Therefore this patch disables that interceptor. Posted upstream at https://reviews.llvm.org/D141385. Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11. 2023-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> libsanitizer: * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
* Daily bump.GCC Administrator2022-12-201-0/+8
|
* hwasan: Add libhwasan_preinit.oJakub Jelinek2022-12-192-18/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've noticed an inconsistency with the other sanitizers. For -fsanitize={address,thread,leak} we link into binaries lib*san_preinit.o such that the -lasan, -ltsan or -llsan libraries are initialized as early as possible through .preinit_array. The hwasan library has the same thing, but we strangely compiled it into the library (where it apparently didn't do anything, .preinit_array doesn't seem to be created for shared libraries), rather than installing it like in the other 3 cases. The following patch handles it for hwasan similarly to asan, tsan and lsan. I don't have any hw with hwasan support, so I've just checked it builds and installs as expected and that gcc -fsanitize=hwaddress -o a a.c -mlam=u57 on trivial main results in .preinit_array section in the binary. 2022-12-19 Jakub Jelinek <jakub@redhat.com> * config/gnu-user.h (LIBHWASAN_EARLY_SPEC): Add libhwasan_preinit.o to link spec if not -shared. * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to libhwasan_preinit.o. (hwasan_files): Remove hwasan_preinit.cpp. (libhwasan_preinit.o): Copy from hwasan_preinit.o. * hwasan/Makefile.in: Regenerated.
* Daily bump.GCC Administrator2022-12-141-0/+5
|
* libsanitizer: Fix up libbacktrace build after r13-4547 [PR108072]Jakub Jelinek2022-12-131-0/+1
| | | | | | | | | | | | | 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.
* Daily bump.GCC Administrator2022-12-101-0/+4
|
* Enable hwasan for x86-64.liuhongt2022-12-091-0/+1
| | | | | libsanitizer * configure.tgt: Enable hwasan for x86-64.
* Daily bump.GCC Administrator2022-12-051-0/+4
|
* libsanitizer, Darwin: Restrict build to Darwin 16 or newer.Iain Sandoe2022-12-041-1/+1
| | | | | | | | | | | | | The latest import has added dependencies on system resources that are not present until Darwin 16. It might be possible to work around these for earlier systems, but in the short-term we have to disable the build so that bootstrap completes. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libsanitizer/ChangeLog: * configure.tgt: Restrict build to Darwin 16 or newer.
* changelog: Fix extra space after tab.Martin Liska2022-11-211-1/+1
|
* Daily bump.GCC Administrator2022-11-161-0/+8
|
* libsanitizer: update LOCAL_PATCHESMartin Liska2022-11-151-2/+1
| | | | | | libsanitizer/ChangeLog: * LOCAL_PATCHES: Update local patches.
* libsanitizer: Apply local patchesMartin Liska2022-11-1514-81/+94
|
* libsanitizer: merge from upstream ae59131d3ef311fb4b1e50627c6457be00e60dc9Martin Liska2022-11-1545-251/+523
|
* libsanitizer: use git clone --depth 1Martin Liska2022-11-151-1/+1
| | | | | | | | Using depth == 1 it makes the cloning much faster. libsanitizer/ChangeLog: * merge.sh: Use git clone --depth 1.
* Daily bump.GCC Administrator2022-10-201-0/+4
|
* libsanitizer: regenerate configureMartin Liska2022-10-191-2/+2
| | | | | | libsanitizer/ChangeLog: * configure: Regenerate.
* Daily bump.GCC Administrator2022-10-191-0/+6
|
* libsanitizer: Avoid implicit function declaration in configure testFlorian Weimer2022-10-182-3/+5
| | | | | | | | libsanitizer/ * configure.ac (sanitizer_supported): Include <unistd.h> for syscall prototype. * configure: Regenerate.
* Daily bump.GCC Administrator2022-10-131-0/+4
|
* regenerate configure filesMartin Liska2022-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed after a recent change. gcc/ChangeLog: * configure: Regenerate. libatomic/ChangeLog: * configure: Regenerate. libbacktrace/ChangeLog: * configure: Regenerate. libcc1/ChangeLog: * configure: Regenerate. libffi/ChangeLog: * configure: Regenerate. libgfortran/ChangeLog: * configure: Regenerate. libgomp/ChangeLog: * configure: Regenerate. libitm/ChangeLog: * configure: Regenerate. libobjc/ChangeLog: * configure: Regenerate. liboffloadmic/ChangeLog: * configure: Regenerate. * plugin/configure: Regenerate. libphobos/ChangeLog: * configure: Regenerate. libquadmath/ChangeLog: * configure: Regenerate. libsanitizer/ChangeLog: * configure: Regenerate. libssp/ChangeLog: * configure: Regenerate. libstdc++-v3/ChangeLog: * configure: Regenerate. libvtv/ChangeLog: * configure: Regenerate. lto-plugin/ChangeLog: * configure: Regenerate. zlib/ChangeLog: * configure: Regenerate.
* Daily bump.GCC Administrator2022-10-121-0/+5
|
* Generic configury support for shared libs on VxWorksOlivier Hainque2022-10-111-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the configury bits to activate the build of shared libs on VxWorks ports configured with --enable-shared, for libraries variants where this is generally supported (rtp, code model !large - currently not compatible with -fPIC). Set lt_cv_deplibs_check_method in libtool.m4, so the build of libraries know how to establish dependencies. This is useful in configurations such as aarch64 where proper support of LSE relies on accurate dependency information between libstdc++ and libgcc_s to begin with. Regenerate configure scripts to reflect libtool.m4 change. 2022-10-09 Olivier Hainque <hainque@adacore.com> * libtool.m4 (*vxworks*): When enable_shared, set dynamic_linker and friends for rtp !large. Assume the linker has the required abilities and set lt_cv_deplibs_check_method. gcc/ * config.gcc (*vxworks*): Add t-slibgcc fragment if enable_shared. libgcc/ * config.host (*vxworks*): When enable_shared, add libgcc and crtstuff "shared" fragments for rtp except large code model. (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from the list of fragments. 2022-10-09 Olivier Hainque <hainque@adacore.com> gcc/ * configure: Regenerate. libatomic/ * configure: Regenerate. libbacktrace/ * configure: Regenerate. libcc1/ * configure: Regenerate. libffi/ * configure: Regenerate. libgfortran/ * configure: Regenerate. libgomp/ * configure: Regenerate. libitm/ * configure: Regenerate. libobjc/ * configure: Regenerate. liboffloadmic/ * configure: Regenerate. liboffloadmic/ * plugin/configure: Regenerate. libphobos/ * configure: Regenerate. libquadmath/ * configure: Regenerate. libsanitizer/ * configure: Regenerate. libssp/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. libvtv/ * configure: Regenerate. lto-plugin/ * configure: Regenerate. zlib/ * configure: Regenerate.
* Daily bump.GCC Administrator2022-10-041-0/+6
|
* libsanitizer: Fix Solaris 11.3 compilation of sanitizer_procmaps_solaris.cpp ↵Rainer Orth2022-10-031-0/+2
| | | | | | | | | | | | | | | | | | | [PR105531] The latest libsanitizer import broke Solaris 11.3 bootstrap again, due to an oversight of mine. A fix has been committed upstream https://reviews.llvm.org/D133556 This patch cherry-picks it. Tested on Solaris 11.3 and 11.4, SPARC and x86. 2022-09-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> libsanitizer: PR sanitizer/105531 * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
* Daily bump.GCC Administrator2022-09-051-0/+4
|
* [libsanitizer] Update LOCAL_PATCHES.Iain Sandoe2022-09-041-0/+1
| | | | | | | | Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libsanitizer/ChangeLog: * LOCAL_PATCHES: Update.
* [libsanitizer, Darwin] Fix bootstrap after recent merge.Iain Sandoe2022-09-041-52/+10
| | | | | | | The latest merge to libsanitizer includes changes to handle macOS 13+. However, these changes are incompatible with GCC and so we need to find an alternate solution. To restore bootstrap back this change out until the alternate can be found.
* Daily bump.GCC Administrator2022-09-011-0/+4
|
* libsanitizer: enable libubsan and libasan for loongarch64-*-linux*Xi Ruoyao2022-08-311-0/+2
| | | | | | | | | | | | | | | The LoongArch support for libubsan and libasan has been added in: - https://reviews.llvm.org/D129371 - https://reviews.llvm.org/D129418 and we've merged them in r13-2269. It's time to enable them. No unexpected failures in GCC asan.exp and ubsan.exp tests. libsanitizer/ChangeLog: * configure.tgt: Allow loongarch64-*-linux*.
* Daily bump.GCC Administrator2022-08-311-0/+9
|
* libsanitizer: update LOCAL_PATCHESMartin Liska2022-08-301-1/+1
| | | | | | libsanitizer/ChangeLog: * LOCAL_PATCHES: Update.
* libsanitizer: Apply local patchesMartin Liska2022-08-3013-29/+84
|