2020-07-17 02:16:27 +02:00
|
|
|
2020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
|
|
|
|
revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
|
|
|
|
|
2020-06-10 02:16:47 +02:00
|
|
|
2020-06-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/Makefile.am: Replace gnu++11 with gnu++14.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* libbacktrace/Makefile.am: Likewise.
|
|
|
|
* lsan/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* ubsan/Makefile.am: Likewise.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* libbacktrace/Makefile.in: Likewise.
|
|
|
|
* lsan/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
* ubsan/Makefile.in: Likewise.
|
|
|
|
|
2020-06-03 02:16:34 +02:00
|
|
|
2020-06-02 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Update hash of local patches.
|
|
|
|
|
|
|
|
2020-06-02 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* MERGE: Merge from master.
|
|
|
|
|
2020-05-30 02:16:27 +02:00
|
|
|
2020-05-29 H.J. Lu <hjl.tools@gmail.com>
|
|
|
|
|
|
|
|
PR bootstrap/95413
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
|
|
2020-05-29 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* HOWTO_MERGE: Do not mention not existing argument.
|
|
|
|
* README.gcc: Update LLVM repository location.
|
|
|
|
|
2020-05-27 09:45:56 +02:00
|
|
|
2020-05-26 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Use git hash instead of SVN id.
|
|
|
|
* merge.sh: Use git instead of VCS. Update paths
|
|
|
|
relative to upstream git repository.
|
|
|
|
|
2020-05-15 18:06:50 +02:00
|
|
|
2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR bootstrap/95147
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2020-05-14 17:25:39 +02:00
|
|
|
2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2020-05-01 09:04:01 +02:00
|
|
|
2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
* configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
|
2020-01-22 17:46:25 +01:00
|
|
|
|
|
|
|
2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
* sanitizer_common/Makefile.am: Add
|
|
|
|
sanitizer_platform_limits_freebsd.cpp.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
|
2020-03-01 15:40:57 +01:00
|
|
|
2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
PR sanitizer/93731
|
|
|
|
* configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
|
|
|
|
default only for Darwin versions greater than 12 (macOS 10.8).
|
|
|
|
|
2020-01-24 12:24:25 +01:00
|
|
|
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
|
|
|
|
|
|
|
* configure.ac: Handle `--with-toolexeclibdir='.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2019-11-26 10:08:31 +01:00
|
|
|
2019-11-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/92154
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
|
|
|
|
llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
|
|
|
|
|
2019-11-20 15:52:05 +01:00
|
|
|
2019-11-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* libtool-version: Remove.
|
|
|
|
* lsan/libtool-version: Upate comment to not mention libmudflap.
|
|
|
|
* tsan/libtool-version: Likewise.
|
|
|
|
* ubsan/libtool-version: Likewise.
|
|
|
|
|
2019-11-13 10:45:15 +01:00
|
|
|
2019-11-13 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
* configure.tgt (riscv64-*-linux*): Enable build.
|
|
|
|
|
2019-11-07 10:34:14 +01:00
|
|
|
2019-11-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
|
|
|
|
|
2019-11-07 10:33:54 +01:00
|
|
|
2019-11-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* merge.sh: Update to use llvm-project git repository.
|
|
|
|
* all source files: Merge from upstream
|
|
|
|
82588e05cc32bb30807e480abd4e689b0dee132a.
|
|
|
|
|
2019-11-05 14:55:44 +01:00
|
|
|
2019-11-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
|
|
|
|
summary for all sanitizers, but we want to have UBSAN without it.
|
|
|
|
|
2019-11-05 14:55:27 +01:00
|
|
|
2019-11-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
|
|
|
|
LOCAL_PATCHES.
|
|
|
|
(CheckODRViolationViaPoisoning): Likewise.
|
|
|
|
(RegisterGlobal): Likewise.
|
|
|
|
* asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
|
|
|
|
(defined): Likewise.
|
|
|
|
* asan/asan_mapping.h: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
|
|
|
|
* tsan/tsan_rtl_ppc64.S: Likewise.
|
|
|
|
* ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
|
|
|
|
(__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
|
|
|
|
(struct CFICheckFailData): Likewise.
|
|
|
|
(RECOVERABLE): Likewise.
|
|
|
|
* ubsan/ubsan_platform.h: Likewise.
|
|
|
|
|
2019-11-05 14:55:17 +01:00
|
|
|
2019-11-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* tsan/Makefile.am: Rename tsan_interceptors.cpp to
|
|
|
|
tsan_interceptors_posix.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
|
2019-11-05 14:54:57 +01:00
|
|
|
2019-11-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* all source files: Merge from upstream r375507.
|
|
|
|
|
2019-10-22 16:25:38 +02:00
|
|
|
2019-10-22 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
PR sanitizer/92154
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cpp:
|
|
|
|
Cherry-pick compiler-rt revision r375220.
|
|
|
|
|
2019-09-27 23:24:42 +02:00
|
|
|
2019-09-27 Maciej W. Rozycki <macro@wdc.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2019-09-10 09:39:47 +02:00
|
|
|
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
Mickaël Guêné <mickael.guene@st.com>
|
|
|
|
|
|
|
|
* configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
|
|
|
|
unsupported in this configuration.
|
|
|
|
|
2019-08-16 21:49:07 +02:00
|
|
|
2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add r274585.
|
|
|
|
|
2019-08-16 21:46:09 +02:00
|
|
|
2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
* asan/asan_interceptors.h: Reapply r272406.
|
|
|
|
|
2019-08-15 17:32:46 +02:00
|
|
|
2019-08-15 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add r274540
|
|
|
|
|
2019-08-15 17:31:46 +02:00
|
|
|
2019-08-15 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* tsan/tsan_rtl_ppc64.S: Reapply.
|
|
|
|
|
2019-08-15 16:13:10 +02:00
|
|
|
2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
PR bootstrap/91455
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* libbacktrace/Makefile.in: Likewise.
|
|
|
|
* lsan/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
* ubsan/Makefile.in: Likewise.
|
|
|
|
|
2019-08-14 10:50:24 +02:00
|
|
|
2019-08-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Refresh based on what was committed.
|
|
|
|
|
2019-08-14 10:47:36 +02:00
|
|
|
2019-08-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
|
|
|
|
patch from trunk.
|
|
|
|
(CheckODRViolationViaPoisoning): Likewise.
|
|
|
|
(RegisterGlobal): Likewise.
|
|
|
|
* asan/asan_mapping.h: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
|
|
|
|
(__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
|
|
|
|
(struct CFICheckFailData): Likewise.
|
|
|
|
(RECOVERABLE): Likewise.
|
|
|
|
* ubsan/ubsan_platform.h: Likewise.
|
|
|
|
|
2019-08-14 10:47:11 +02:00
|
|
|
2019-08-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/89832
|
|
|
|
PR sanitizer/91325
|
|
|
|
* All source files: Merge from upstream 368656.
|
|
|
|
|
2019-06-26 12:43:08 +02:00
|
|
|
2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
|
|
|
|
compiler-rt revision 363778.
|
|
|
|
|
2019-06-18 10:01:00 +02:00
|
|
|
2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
|
|
|
|
|
|
|
|
PR libsanitizer/87880
|
|
|
|
* asan/asan_interceptors.h:
|
|
|
|
(ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
|
|
|
|
* asan/Makefile.am (DEFS): Add
|
|
|
|
ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* asan/libtool-version: Bump version.
|
|
|
|
|
2019-05-27 21:12:19 +02:00
|
|
|
2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
PR target/90639
|
|
|
|
* tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
|
|
|
|
|
2019-05-14 19:17:23 +02:00
|
|
|
2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
|
|
|
|
handling.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2019-04-08 15:09:26 +02:00
|
|
|
2019-04-08 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add revision.
|
|
|
|
|
2019-04-08 15:08:30 +02:00
|
|
|
2019-04-08 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/89941
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
|
|
|
|
Reapply patch from r259664.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h (defined):
|
|
|
|
Likewise.
|
|
|
|
|
2019-03-13 10:19:25 +01:00
|
|
|
2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
Merge from LLVM revision 355980
|
|
|
|
* asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
|
|
|
|
(kAllocatorSize): Likewise.
|
|
|
|
(DefaultSizeClassMap): Likewise.
|
|
|
|
* asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
|
|
|
|
(SHADOW_OFFSET): Define for SPARC.
|
|
|
|
Include asan_mapping_sparc64.h for SPARC 64-bit.
|
|
|
|
* asan/asan_mapping_sparc64.h: New file.
|
|
|
|
|
2019-03-13 10:15:02 +01:00
|
|
|
2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
Merge from LLVM revision 355979
|
|
|
|
* asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
|
|
|
|
copy Global objects for SPARC with GCC.
|
|
|
|
|
2019-03-13 10:11:46 +01:00
|
|
|
2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
Merge from LLVM revision 355978
|
|
|
|
* sanitizer_common/sanitizer_allocator_primary32.h
|
|
|
|
(class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
|
|
|
|
SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
|
|
|
|
(PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
|
|
|
|
(ComputeRegionId): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
|
|
|
|
appropriate value for SPARC 64-bit.
|
|
|
|
* sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
|
|
|
|
Define for SPARC.
|
|
|
|
(SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
|
|
|
|
|
2019-03-13 10:05:43 +01:00
|
|
|
2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
Merge from LLVM revision 355965
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
|
|
|
|
SPARC/Linux.
|
|
|
|
(GetPcSpBp): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
|
|
|
|
Adjust for SPARC.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
|
|
|
|
Define to 1 for SPARC.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
|
|
|
|
* sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
|
|
|
|
Adjust the PC address for SPARC with GCC.
|
|
|
|
|
2019-03-06 12:46:15 +01:00
|
|
|
2019-03-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/88684
|
|
|
|
* sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
|
|
|
|
(SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
|
|
|
|
* ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
|
|
|
|
Likewise.
|
|
|
|
|
libsanitizer: Restore internal_readlink for x32
Cherry-pick compiler-rt revision 354451:
r316591 has
@@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) {
}
uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
-#if SANITIZER_NETBSD
- return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
-#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
+#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
return internal_syscall(SYSCALL(readlinkat), AT_FDCWD,
(uptr)path, (uptr)buf, bufsize);
#else
- return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
+ return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
#endif
}
which dropped the (uptr) cast and broke x32. This patch puts back the
(uptr) cast to restore x32 and fixes:
https://bugs.llvm.org/show_bug.cgi?id=40783
Differential Revision: https://reviews.llvm.org/D58413
PR sanitizer/89409
* sanitizer_common/sanitizer_linux.cc (internal_readlink):
Cherry-pick compiler-rt r354451.
From-SVN: r269042
2019-02-20 17:20:50 +01:00
|
|
|
2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/89409
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (internal_readlink):
|
|
|
|
Cherry-pick compiler-rt r354451.
|
|
|
|
|
2019-01-23 14:18:50 +01:00
|
|
|
2019-01-23 Jonny Grant <jg@jguk.org>
|
|
|
|
|
|
|
|
PR sanitizer/89010
|
|
|
|
* libsanitizer/README.gcc: Update to current https URLs.
|
|
|
|
|
2018-12-27 10:47:20 +01:00
|
|
|
2018-12-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
2019-01-23 14:18:50 +01:00
|
|
|
PR sanitizer/86229
|
2018-12-27 10:47:20 +01:00
|
|
|
* asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
|
|
|
|
pick rL350085.
|
|
|
|
* asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
|
|
|
|
|
2018-11-09 10:21:56 +01:00
|
|
|
2018-11-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Include one local patch.
|
|
|
|
|
2018-11-09 10:14:36 +01:00
|
|
|
2018-11-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/87892
|
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
|
|
|
|
1 when CPU_COUNT macro is not defined.
|
|
|
|
|
2018-11-08 23:33:52 +01:00
|
|
|
2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
* libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
|
|
|
|
Disable ASLR for powerpc64 when using sanitizers.
|
|
|
|
|
2018-11-06 11:49:34 +01:00
|
|
|
2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
* configure.tgt (sparc*-*-solaris2.11*): Enable.
|
|
|
|
(x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
|
|
|
|
|
2018-11-06 11:42:05 +01:00
|
|
|
2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
PR sanitizer/80953
|
|
|
|
* sanitizer_common/sanitizer_internal_defs.h,
|
|
|
|
sanitizer_common/sanitizer_platform_limits_solaris.h,
|
|
|
|
sanitizer_common/sanitizer_procmaps_solaris.cc,
|
|
|
|
sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
|
|
|
|
revision 346153.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.h,
|
|
|
|
sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
|
|
|
|
compiler-rt revision 346155.
|
|
|
|
|
2018-11-05 20:41:29 +01:00
|
|
|
2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add r258525.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc
|
|
|
|
(BufferedStackTrace::FastUnwindStack): Use the correct frame offset
|
|
|
|
for PowerPC SYSV ABI.
|
|
|
|
|
2018-11-05 14:34:36 +01:00
|
|
|
2018-11-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/87860
|
|
|
|
* sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
|
|
|
|
r346129.
|
|
|
|
|
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
(That's not the latest automake version, but it's the one used by
binutils-gdb, with which consistency is desirable, and in any case
seems a useful incremental update that should make a future update to
1.16.1 easier.)
The changes are generally similar to the binutils-gdb ones, and are
copied from there where shared files and directories are involved
(there are some further changes to such shared directories, however,
which I'd expect to apply to binutils-gdb once this patch is in GCC).
Largely, obsolete AC_PREREQ calls are removed, while many
AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
autoconf. Multilib support is no longer included in core automake,
meaning that multilib.am needs copying from automake's contrib
directory into the GCC source tree. Autoconf 2.69 has Go support, so
local copies of that support are removed. I hope the D support will
soon be submitted to upstream autoconf so the local copy of that can
be removed in a future update. Changes to how automake generates
runtest calls mean quotes are removed from RUNTEST definitions in five
lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
libphobos, libvtv; some others have RUNTEST definitions without
quotes, which are still OK); libgo and libphobos also get
-Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
do not generate automake warnings.
Note that the regeneration did not include regeneration of
fixincludes/config.h.in (attempting such regeneration resulted in all
the USED_FOR_TARGET conditionals disappearing; and I don't see
anything in the fixincludes/ directory that would result in such
conditionals being generated, unlike in the gcc/ directory). Also
note that libvtv/testsuite/other-tests/Makefile.in was not
regenerated; that directory is not listed as a subdirectory for which
Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
not sure how it's meant to be regenerated.
While I mostly fixed warnings should running aclocal / automake /
autoconf, there were various such warnings from automake in the
libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
directories that I did not fix, preferring to leave those to the
relevant subsystem maintainers. Specifically, most of those warnings
were of the following form (example from libgfortran):
Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
Makefile.am:48: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they
will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
I think it's best for the relevant maintainers to add subdir-objects
and do any other associated Makefile.am changes needed. In some cases
the paths in the warnings involved ../; I don't know if that adds any
extra complications to the use of subdir-objects.
I've tested this with native, cross and Canadian cross builds. The
risk of any OS-specific issues should I hope be rather lower than if a
libtool upgrade were included (we *should* do such an upgrade at some
point, but it's more complicated - it involves identifying all our
local libtool changes to see if any aren't included in the upstream
version we update to, and reverting an upstream libtool patch that's
inappropriate for use in GCC); I think it would be better to get this
update into GCC so that people can test in different configurations
and we can fix any issues found, rather than to try to get more and
more testing done before it goes in.
top level:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* multilib.am: New file. From automake.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
* ar-lib: New file.
* test-driver: New file.
* configure: Re-generate.
config:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
fixincludes:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, configure: Regenerate.
gcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use single
line for second argument of AC_DEFINE_UNQUOTED.
* doc/install.texi (Tools/packages necessary for modifying GCC):
Update to autoconf 2.69 and automake 1.15.1.
* aclocal.m4, config.in, configure: Regenerate.
gnattools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
gotools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* config/go.m4: Remove file.
* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
* configure.ac: Remove AC_PREREQ. Do not include config/go.m4.
* Makefile.in, aclocal.m4, configure: Regenerate.
intl:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
* configure: Re-generate.
* config.h.in: Re-generate.
* aclocal.m4: Re-generate.
libada:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
libatomic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* acinclude.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libbacktrace:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libcc1:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libcpp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* aclocal.m4, config.in, configure: Regenerate.
libdecnumber:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* aclocal.m4.
libffi:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove doc/libffi.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
Regenerate.
libgcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* configure: Regenerate.
libgfortran:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libgo [logically part of this change but omitted from the commit]:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* config/go.m4: Remove file.
* config/libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use
-Wno-override in AM_INIT_AUTOMAKE call.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libgomp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libgomp.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libhsail-rt:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libiberty:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* config.in: Re-generate.
libitm:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libitm.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libobjc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, config.h.in, configure: Regenerate.
liboffloadmic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* plugin/Makefile.am: Include multilib.am.
* plugin/configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
plugin/aclocal.m4, plugin/configure: Regenerate.
libphobos:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use -Wno-override in
AM_INIT_AUTOMAKE call.
* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
* m4/druntime/os.m4: Use AC_LANG_SOURCE.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate.
libquadmath:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
(all-local): Define outside conditional code.
(CLEANFILES): Remove libquadmath.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libsanitizer:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
interception/Makefile.in, libbacktrace/Makefile.in,
lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
ubsan/Makefile.in: Regenerate.
libssp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.9.5.
* configure.ac: Remove AC_PREREQ. Quote argument to
AC_RUN_IFELSE.
* Makefile.in, aclocal.m4, configure: Regenerate.
libstdc++-v3:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
src/c++17/Makefile.in, src/c++98/Makefile.in,
src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
libvtv:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
lto-plugin:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
zlib:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
From-SVN: r265695
2018-10-31 18:03:16 +01:00
|
|
|
2018-10-31 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
PR bootstrap/82856
|
|
|
|
* Makefile.am: Include multilib.am.
|
|
|
|
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
|
|
|
|
* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
|
|
|
|
interception/Makefile.in, libbacktrace/Makefile.in,
|
|
|
|
lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
|
|
|
|
ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2018-10-31 12:27:16 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Update to installed revisions.
|
|
|
|
|
2018-10-31 12:17:10 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* ubsan/ubsan_platform.h: Add ifndef as we define it with
|
|
|
|
-DCAN_SANITIZE_UB CFLAGS.
|
|
|
|
|
2018-10-31 12:16:41 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
|
|
|
|
|
2018-10-31 12:16:17 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Update patch list.
|
|
|
|
* asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
|
|
|
|
patches from GCC's trunk.
|
|
|
|
(CheckODRViolationViaPoisoning): Likewise.
|
|
|
|
(RegisterGlobal): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_mac.cc (defined): Likewise.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
|
|
|
|
(__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
|
|
|
|
(struct CFICheckFailData): Likewise.
|
|
|
|
(RECOVERABLE): Likewise.
|
|
|
|
|
2018-10-31 12:15:57 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Include new files, remove old
|
|
|
|
files.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.am: Include new files, remove old
|
|
|
|
files.
|
|
|
|
* ubsan/Makefile.in: Likewise.
|
|
|
|
* asan/Makefile.am: Include new files.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
|
2018-10-31 12:14:23 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream 345033.
|
|
|
|
|
2018-10-31 12:09:26 +01:00
|
|
|
2018-10-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* HOWTO_MERGE: Enhance documentation.
|
|
|
|
* merge.sh: Add support for git as well.
|
|
|
|
|
2018-08-02 11:32:58 +02:00
|
|
|
2018-08-02 Martin Liska <mliska@suse.cz>
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
PR sanitizer/86022
|
2018-08-02 11:32:58 +02:00
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
|
2018-08-27 16:04:23 +02:00
|
|
|
Cherry-pick compiler-rt revision 338606.
|
2018-08-02 11:32:58 +02:00
|
|
|
|
2018-08-01 19:17:29 +02:00
|
|
|
2018-08-01 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/86759
|
|
|
|
* tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
|
|
|
|
* tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
|
|
|
|
319180.
|
|
|
|
|
2018-07-26 16:48:55 +02:00
|
|
|
2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR target/86560
|
|
|
|
* asan/asan_interceptors.cc (swapcontext) Cherry-pick
|
|
|
|
compiler-rt revision 337603.
|
|
|
|
* sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
|
|
|
|
Likewise.
|
|
|
|
|
2018-07-05 11:47:05 +02:00
|
|
|
2018-07-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
Revert
|
|
|
|
2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/84250
|
|
|
|
* Makefile.am: Reorder libs.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
|
|
|
|
libsanitizer_ubsan.la.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2018-07-04 21:49:06 +02:00
|
|
|
2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/84250
|
|
|
|
* Makefile.am: Reorder libs.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
|
|
|
|
libsanitizer_ubsan.la.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2018-06-13 21:51:42 +02:00
|
|
|
2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
PR sanitizer/86090
|
|
|
|
* configure.ac: Check for lstat and readlink.
|
|
|
|
* configure, config.h.in: Rebuild.
|
2018-06-13 21:51:42 +02:00
|
|
|
|
2018-05-31 11:57:33 +02:00
|
|
|
2018-05-31 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
PR sanitizer/86012
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Define
|
|
|
|
SIZEOF_STRUCT_USTAT for 32bit sparc.
|
|
|
|
|
2018-05-24 21:52:32 +02:00
|
|
|
2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/85835
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
|
|
|
|
include <sys/ustat.h> for Linux.
|
|
|
|
(SIZEOF_STRUCT_USTAT): New.
|
|
|
|
(struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
|
|
|
|
|
2018-04-26 03:09:27 +02:00
|
|
|
2018-04-26 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
2018-04-26 03:16:47 +02:00
|
|
|
* configure.tgt <mips*-*-linux*>: Enable build, excluding
|
|
|
|
mips*64*-*-linux*.
|
|
|
|
|
2018-04-26 03:12:56 +02:00
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
|
|
|
|
take the shortcut to #include <sys/stat.h> for MIPS instead of
|
|
|
|
the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
|
|
|
|
or wrong to get the kernel struct stat.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
|
|
|
|
Correct the value for 32-bit non-android struct_kernel_stat_sz.
|
|
|
|
|
2018-04-26 03:09:27 +02:00
|
|
|
* sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
|
|
|
|
&& _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
|
|
|
|
|
2018-04-24 18:45:26 +02:00
|
|
|
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2018-04-19 09:45:51 +02:00
|
|
|
2018-04-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2018-04-18 11:46:58 +02:00
|
|
|
2018-04-18 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
PR jit/85384
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2018-04-18 09:02:40 +02:00
|
|
|
2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
PR sanitizer/85389
|
|
|
|
* asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
|
|
|
|
from 0xa0000000000ULL to ~(uptr)0.
|
|
|
|
|
2018-03-19 21:47:29 +01:00
|
|
|
2018-03-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/84761
|
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
|
|
|
|
Define if not defined.
|
|
|
|
(DL_INTERNAL_FUNCTION): Don't define.
|
|
|
|
(InitTlsSize): For __i386__ if not compiled against glibc 2.27+
|
|
|
|
determine at runtime whether to use regparm(3), stdcall calling
|
|
|
|
convention for older glibcs or normal calling convention for
|
|
|
|
newer glibcs for call to _dl_get_tls_static_info.
|
|
|
|
|
2018-03-14 14:46:03 +01:00
|
|
|
2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc
|
|
|
|
(BufferedStackTrace::FastUnwindStack): Use the correct frame offset
|
|
|
|
for PowerPC SYSV ABI.
|
|
|
|
|
2018-02-19 17:25:49 +01:00
|
|
|
2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
PR target/84148
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2018-02-05 12:01:50 +01:00
|
|
|
2018-02-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/asan_flags.inc: Cherry-pick upstream r323995.
|
|
|
|
* asan/asan_report.cc (CheckForInvalidPointerPair):
|
|
|
|
Cherry-pick upstream r323995.
|
|
|
|
|
2018-01-17 20:31:43 +01:00
|
|
|
2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
PR sanitizer/82825
|
|
|
|
* sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
|
2018-02-06 09:16:22 +01:00
|
|
|
r324284.
|
2018-01-17 20:31:43 +01:00
|
|
|
|
2018-01-13 22:01:27 +01:00
|
|
|
2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
PR sanitizer/82824
|
|
|
|
* lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
|
|
|
|
|
2017-12-05 10:23:25 +01:00
|
|
|
2017-12-05 Martin Liska <mliska@suse.cz>
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* asan/asan_descriptions.cc: Cherry-pick upstream r319668.
|
|
|
|
* asan/asan_descriptions.h: Likewise.
|
|
|
|
* asan/asan_report.cc: Likewise.
|
|
|
|
* asan/asan_thread.cc: Likewise.
|
|
|
|
* asan/asan_thread.h: Likewise.
|
|
|
|
|
2017-11-17 22:34:50 +01:00
|
|
|
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
* acinclude.m4: Add enable.m4 and cet.m4.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.am: Update AM_CXXFLAGS.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
* configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
|
|
|
|
EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
|
|
|
|
* interception/Makefile.am: Update AM_CXXFLAGS.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.am: Update AM_CXXFLAGS.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
|
|
|
|
AM_CCASFLAGS.
|
|
|
|
* sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
|
|
|
|
Add _CET_ENDBR macro.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.am: Update AM_CXXFLAGS.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
|
|
|
|
* ubsan/Makefile.am: Update AM_CXXFLAGS.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2017-11-08 09:17:02 +01:00
|
|
|
2017-11-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR bootstrap/82670
|
|
|
|
* ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
|
|
|
|
and ubsan_signals_standalone.cc.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
|
2017-11-05 10:57:17 +01:00
|
|
|
2017-11-05 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
PR other/82784
|
|
|
|
* asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
|
|
|
|
"do {} while (0)".
|
|
|
|
* lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
|
|
|
|
|
2017-10-20 09:32:35 +02:00
|
|
|
2017-10-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/82595
|
|
|
|
* 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.
|
|
|
|
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
2017-10-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream 315899.
|
2018-08-27 16:04:23 +02:00
|
|
|
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
include/sanitizer/tsan_interface.h.
|
2018-08-27 16:04:23 +02:00
|
|
|
* asan/libtool-version: Bump the libasan SONAME.
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
|
|
|
|
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
|
2018-08-27 16:04:23 +02:00
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
sancov_flags.cc, sanitizer_allocator_checks.cc,
|
|
|
|
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
|
|
|
|
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
|
|
|
|
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
|
|
|
|
and sanitizer_coverage_mapping_libcdep.cc.
|
2018-08-27 16:04:23 +02:00
|
|
|
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
|
|
|
|
(ubsan_files): Add ubsan_init_standalone.cc and
|
|
|
|
ubsan_signals_standalone.cc.
|
|
|
|
* ubsan/libtool-version: Bump the libubsan SONAME.
|
2018-08-27 16:04:23 +02:00
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
builtins, store max (log2 (align), 0) into uchar field instead of
align into uptr field.
(ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
store uchar 0 field instead of uptr 0 field.
(instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
instead of passing one address of struct with 2 locations pass
two addresses of structs with 1 location each.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
(BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
* c-c++-common/ubsan/float-cast-overflow-1.c: Drop value keyword
from expected output regexps.
* c-c++-common/ubsan/float-cast-overflow-2.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-3.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-4.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-5.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-6.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
* c-c++-common/ubsan/float-cast-overflow-10.c: Likewise.
* g++.dg/ubsan/float-cast-overflow-bf.C: Likewise.
* gcc.dg/ubsan/float-cast-overflow-bf.c: Likewise.
* g++.dg/asan/default-options-1.C (__asan_default_options): Add
used attribute.
* g++.dg/asan/asan_test.C: Run with ASAN_OPTIONS=handle_segv=2
in the environment.
* All source files: Merge from upstream 315899.
* asan/Makefile.am (nodist_saninclude_HEADERS): Add
include/sanitizer/tsan_interface.h.
* asan/libtool-version: Bump the libasan SONAME.
* lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
(lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
* sanitizer_common/Makefile.am (sanitizer_common_files): Add
sancov_flags.cc, sanitizer_allocator_checks.cc,
sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
sanitizer_file.cc, sanitizer_mac_libcdep.cc and
sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
and sanitizer_coverage_mapping_libcdep.cc.
* tsan/Makefile.am (tsan_files): Add tsan_external.cc.
* ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
(ubsan_files): Add ubsan_init_standalone.cc and
ubsan_signals_standalone.cc.
* ubsan/libtool-version: Bump the libubsan SONAME.
* asan/Makefile.in: Regenerate.
* lsan/Makefile.in: Regenerate.
* sanitizer_common/Makefile.in: Regenerate.
* tsan/Makefile.in: Regenerate.
* ubsan/Makefile.in: Regenerate.
From-SVN: r253887
2017-10-19 13:23:59 +02:00
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2017-10-05 12:39:32 +02:00
|
|
|
2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/82379
|
|
|
|
* configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
|
|
|
|
to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
|
|
|
|
|
2017-10-02 16:00:53 +02:00
|
|
|
2017-10-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
|
|
|
|
Define.
|
|
|
|
|
2017-08-07 10:32:47 +02:00
|
|
|
2017-08-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* include/system/sys/ptrace.h: New file.
|
|
|
|
|
2017-07-28 12:37:51 +02:00
|
|
|
2017-07-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/80998
|
|
|
|
* ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
|
|
|
|
* ubsan/ubsan_checks.inc: Likewise.
|
|
|
|
* ubsan/ubsan_handlers.h: Likewise.
|
|
|
|
|
2017-07-14 11:10:45 +02:00
|
|
|
2017-07-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/81066
|
|
|
|
* sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
|
|
|
|
* sanitizer_common/sanitizer_linux.cc: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
|
|
|
|
* tsan/tsan_platform_linux.cc: Likewise.
|
|
|
|
|
2017-04-06 15:42:24 +02:00
|
|
|
2017-04-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
PR sanitizer/80166
|
|
|
|
* sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
|
|
|
|
Cherry-pick upstream r299036.
|
|
|
|
|
2017-03-22 19:46:54 +01:00
|
|
|
2017-03-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/78158
|
|
|
|
* tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
|
|
|
|
|
2017-02-16 22:23:51 +01:00
|
|
|
2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR sanitizer/79562
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
|
|
|
|
upstream r294806.
|
|
|
|
|
2017-02-11 00:34:49 +01:00
|
|
|
2017-02-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/79341
|
|
|
|
* configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
|
|
|
|
s390-linux 31-bit.
|
|
|
|
* sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
|
|
|
|
r294793.
|
|
|
|
* sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
|
|
|
|
upstream r294790.
|
|
|
|
* sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
|
|
|
|
r294799.
|
|
|
|
|
2017-02-03 13:17:59 +01:00
|
|
|
2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/78663
|
|
|
|
* sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
|
|
|
|
* sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
|
|
|
|
|
2017-01-31 14:50:20 +01:00
|
|
|
2017-01-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
|
|
|
|
|
2017-01-24 01:18:36 +01:00
|
|
|
2017-01-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
2017-01-24 09:19:37 +01:00
|
|
|
* configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
|
|
|
|
|
2017-01-24 01:18:36 +01:00
|
|
|
PR sanitizer/79168
|
|
|
|
* merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
|
|
|
|
if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
|
|
|
|
text.
|
|
|
|
* sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
|
|
|
|
* sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
|
|
|
|
* tsan/tsan_ppc_regs.h: Likewise.
|
|
|
|
* tsan/tsan_rtl_aarch64.S: Likewise.
|
|
|
|
* tsan/tsan_rtl_mips64.S: Likewise.
|
|
|
|
* tsan/tsan_rtl_ppc64.S: Likewise.
|
|
|
|
|
2017-01-21 09:47:11 +01:00
|
|
|
2017-01-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
* interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
|
|
|
|
instead of cat to get version from BASE-VER file.
|
|
|
|
* asan/Makefile.am (gcc_version): Likewise.
|
|
|
|
* ubsan/Makefile.am (gcc_version): Likewise.
|
|
|
|
* sanitizer_common/Makefile.am (gcc_version): Likewise.
|
|
|
|
* lsan/Makefile.am (gcc_version): Likewise.
|
|
|
|
* tsan/Makefile.am (gcc_version): Likewise.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* lsan/Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
|
2017-01-17 10:38:48 +01:00
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
* configure.ac: Add GCC_BASE_VER.
|
|
|
|
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
|
|
|
get version from BASE-VER file.
|
|
|
|
* libbacktrace/Makefile.in: Regenerated.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* lsan/Makefile.in: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
|
2017-01-10 16:22:56 +01:00
|
|
|
2017-01-10 James Clarke <jrtc27@jrtc27.com>
|
|
|
|
|
|
|
|
PR sanitizer/78992
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(struct __sanitizer_sigaction): Cherry-pick upstream r291561.
|
|
|
|
|
2016-11-30 13:32:55 +01:00
|
|
|
2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add revision.
|
|
|
|
|
2016-11-30 13:31:07 +01:00
|
|
|
2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/78532
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer_sigaction): Adjust for sparc targets and various Glibc
|
|
|
|
versions.
|
|
|
|
|
2016-11-29 14:13:31 +01:00
|
|
|
2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Remove r242480.
|
|
|
|
|
2016-11-20 11:51:53 +01:00
|
|
|
2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add revision.
|
|
|
|
|
2016-11-20 11:49:47 +01:00
|
|
|
2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
|
|
|
|
|
|
|
|
PR sanitizer/78267
|
|
|
|
* sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
|
|
|
|
compiler supports blocks extension.
|
|
|
|
|
2016-11-16 12:23:47 +01:00
|
|
|
2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: Add revision.
|
|
|
|
|
2016-11-16 12:21:42 +01:00
|
|
|
2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
PR sanitizer/78294
|
|
|
|
* tsan/tsan_rtl.cc: Add missing attribute.
|
|
|
|
|
2016-11-16 12:16:47 +01:00
|
|
|
2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
* LOCAL_PATCHES: New file.
|
|
|
|
|
2016-11-16 12:13:19 +01:00
|
|
|
2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/78307
|
|
|
|
* ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
|
|
|
|
( __ubsan_handle_cfi_bad_icall_abort): Likewise.
|
|
|
|
* ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
|
|
|
|
* ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
|
|
|
|
function.
|
|
|
|
(__ubsan_handle_cfi_bad_type_abort): Likewise.
|
|
|
|
* ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
|
|
|
|
(__ubsan_handle_cfi_bad_type): Export function.
|
|
|
|
(__ubsan_handle_cfi_bad_type_abort): Likewise.
|
|
|
|
* HOWTO_MERGE: Update documentation.
|
|
|
|
|
2016-11-15 17:34:02 +01:00
|
|
|
2016-11-15 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-11-08 23:09:33 +01:00
|
|
|
2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
* asan/asan_globals.cc (RegisterGlobal): Do not call
|
|
|
|
CheckODRViolationViaPoisoning.
|
|
|
|
(CheckODRViolationViaPoisoning): Remove.
|
|
|
|
|
2016-11-08 23:07:50 +01:00
|
|
|
2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
|
|
|
|
compiled code with GCC when extracting the caller PC for ARM if no
|
|
|
|
valid frame pointer is available.
|
|
|
|
|
2016-11-08 23:06:02 +01:00
|
|
|
2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/63958
|
|
|
|
Reapply:
|
|
|
|
2014-10-14 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
|
|
|
|
Define at __kernel_time_t, as needed for sparc.
|
|
|
|
(struct __old_kernel_stat): Don't check if __sparc__ is defined.
|
|
|
|
* libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer): Define struct___old_kernel_stat_sz,
|
|
|
|
struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
|
|
|
|
(__sanitizer_ipc_perm): Adjust for sparc targets.
|
|
|
|
(__sanitizer_shmid_ds): Likewsie.
|
|
|
|
(__sanitizer_sigaction): Likewise.
|
|
|
|
(IOC_SIZE): Likewsie.
|
|
|
|
|
2016-11-08 23:04:09 +01:00
|
|
|
2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream 285547.
|
|
|
|
* configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
|
|
|
|
variable.
|
|
|
|
* configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
|
|
|
|
* asan/Makefile.am (asan_files): Add new files.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Likewise.
|
|
|
|
* lsan/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.am (tsan_files): Add new files.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
|
|
|
|
(EXTRA_libsanitizer_common_la_SOURCES): Define.
|
|
|
|
(libsanitizer_common_la_LIBADD): Likewise.
|
|
|
|
(libsanitizer_common_la_DEPENDENCIES): Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* libbacktace/Makefile.in: Likewise.
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* merge.sh: Handle builtins/assembly.h merging.
|
|
|
|
* builtins/assembly.h: New file.
|
|
|
|
* asan/libtool-version: Bump the libasan SONAME.
|
|
|
|
|
2016-09-21 16:40:30 +02:00
|
|
|
2016-09-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/77567
|
|
|
|
* asan/asan_new_delete.cc: Cherry-pick upstream r282019.
|
|
|
|
|
2016-09-05 21:43:57 +02:00
|
|
|
2016-09-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/77396
|
|
|
|
* asan/asan_globals.cc: Cherry-pick upstream r280657.
|
|
|
|
|
2016-08-12 10:53:07 +02:00
|
|
|
2016-08-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/71042
|
|
|
|
* tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
|
|
|
|
* tsan/tsan_rtl_aarch64.S: Likewise.
|
|
|
|
|
2016-07-25 03:13:36 +02:00
|
|
|
2016-07-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
Revert 2015-11-09 Alan Modra <amodra@gmail.com>
|
|
|
|
* configure.ac: Don't substitute OBSTACK_DEFS.
|
|
|
|
* asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2016-05-17 11:17:54 +02:00
|
|
|
2016-05-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/71160
|
|
|
|
* asan/asan_malloc_linux.cc: Cherry pick upstream r254395
|
|
|
|
and r269633.
|
|
|
|
|
2016-04-21 14:19:54 +02:00
|
|
|
2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/70624
|
|
|
|
* asan/asan_mac.cc: Cherry pick upstream r266868.
|
|
|
|
|
2016-01-19 13:45:54 +01:00
|
|
|
2016-01-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/68824
|
|
|
|
* tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
|
|
|
|
InitializeInterceptors): Cherry pick upstream r258119.
|
|
|
|
|
2016-01-14 21:27:49 +01:00
|
|
|
2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
* configure.ac: Replace the hard-coded -ldl requirement for
|
|
|
|
link_sanitizer_common with a configure time check for -ldl.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-11-24 13:24:46 +01:00
|
|
|
2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* include/system/linux/asm/ptrace.h: Move to ...
|
|
|
|
* include/system/asm/ptrace.h: ... this.
|
|
|
|
|
2015-11-24 09:44:39 +01:00
|
|
|
2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* include/system/linux/asm/ptrace.h: New header.
|
|
|
|
|
2015-11-23 10:07:18 +01:00
|
|
|
2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r253555.
|
|
|
|
* configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
|
|
|
|
dependences for TSan for aarch64-*-linux* targets.
|
|
|
|
* tsan/Makefile.am: Add new source files.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2015-11-09 05:23:25 +01:00
|
|
|
2015-11-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_common_interceptors.inc: Update size
|
|
|
|
params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
|
|
|
|
interceptors.
|
|
|
|
* configure.ac: Substitute OBSTACK_DEFS.
|
|
|
|
* asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2015-10-22 11:47:17 +02:00
|
|
|
2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
PR bootstrap/68041
|
|
|
|
* configure.ac (link_sanitizer_common): Link against librt only if it
|
|
|
|
contains shm_open, required by sanitizers.
|
|
|
|
(CXX_ABI_NEEDED): Remove variable.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2015-10-21 09:53:22 +02:00
|
|
|
2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* HOWTO_MERGE: New file.
|
|
|
|
|
2015-10-21 09:51:03 +02:00
|
|
|
2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
|
|
|
|
compiled code with GCC when extracting the caller PC for ARM if no
|
|
|
|
valid frame pointer is available.
|
|
|
|
|
2015-10-21 09:47:54 +02:00
|
|
|
2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
PR bootstrap/63888
|
|
|
|
Reapply:
|
|
|
|
2015-02-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
|
|
|
|
support until it is rewritten upstream.
|
|
|
|
|
|
|
|
* c-c++-common/asan/pr63888.c: New test.
|
|
|
|
|
2015-10-21 09:44:35 +02:00
|
|
|
2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/63958
|
|
|
|
Reapply:
|
|
|
|
2014-10-14 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
|
|
|
|
Define at __kernel_time_t, as needed for sparc.
|
|
|
|
(struct __old_kernel_stat): Don't check if __sparc__ is defined.
|
|
|
|
* libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer): Define struct___old_kernel_stat_sz,
|
|
|
|
struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
|
|
|
|
(__sanitizer_ipc_perm): Adjust for sparc targets.
|
|
|
|
(__sanitizer_shmid_ds): Likewsie.
|
|
|
|
(__sanitizer_sigaction): Likewise.
|
|
|
|
(IOC_SIZE): Likewsie.
|
|
|
|
|
2015-10-21 09:32:45 +02:00
|
|
|
2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r250806.
|
|
|
|
* configure.ac (link_sanitizer_common): Add -lrt flag.
|
|
|
|
* configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
|
|
|
|
Set USE_CXX_ABI_FLAG=true for darwin.
|
|
|
|
* asan/Makefile.am (asan_files): Add new files.
|
|
|
|
(DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
|
|
|
|
DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.am (ubsan_files): Add new files.
|
|
|
|
(DEFS): Add DCAN_SANITIZE_UB=1.
|
|
|
|
(libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.am (tsan_files): Add new files.
|
|
|
|
(DEFS): Add DCAN_SANITIZE_UB=0.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* asan/libtool-version: Bump the libasan SONAME.
|
|
|
|
|
2015-09-09 18:34:59 +02:00
|
|
|
2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
PR sanitizer/67258
|
|
|
|
* ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
|
|
|
|
|
2015-07-29 08:32:09 +02:00
|
|
|
2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
PR sanitizer/63927
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
|
|
|
|
for PowerPC.
|
|
|
|
|
2015-07-29 05:33:10 +02:00
|
|
|
2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
PR sanitizer/63927
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc
|
|
|
|
(BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
|
|
|
|
find the link register at an offset of 16 from the base of the
|
|
|
|
caller's stack frame.
|
|
|
|
|
2015-05-13 13:11:58 +02:00
|
|
|
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
|
|
|
|
|
|
|
|
* Makefile.in: Regenerated with automake-1.11.6.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* libbacktrace/Makefile.in: Likewise.
|
|
|
|
* lsan/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
* ubsan/Makefile.in: Likewise.
|
|
|
|
|
2015-04-13 10:59:55 +02:00
|
|
|
2015-04-13 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/64839
|
|
|
|
* sanitizer_common/sanitizer_platform.h: Cherry pick
|
|
|
|
upstream r234470.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
|
|
|
|
* configure.ac (RPC_DEFS): Check for precense of RPC headers.
|
|
|
|
* sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
|
2015-03-23 14:43:22 +01:00
|
|
|
2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
PR sanitizer/59009
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
|
|
|
|
upstream r230324.
|
|
|
|
* sanitizer_common/sanitizer_platform.h: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
|
|
|
|
|
2015-03-11 20:20:03 +01:00
|
|
|
2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
* tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
|
|
|
|
upstream 224508 and 224755.
|
|
|
|
|
2015-03-09 19:25:28 +01:00
|
|
|
2015-03-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/63958
|
|
|
|
Reapply:
|
|
|
|
2014-10-14 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
|
|
|
|
Define at __kernel_time_t, as needed for sparc.
|
|
|
|
(struct __old_kernel_stat): Don't check if __sparc__ is defined.
|
|
|
|
* libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer): Define struct___old_kernel_stat_sz,
|
|
|
|
struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
|
|
|
|
(__sanitizer_ipc_perm): Adjust for sparc targets.
|
|
|
|
(__sanitizer_shmid_ds): Likewsie.
|
|
|
|
(__sanitizer_sigaction): Likewise.
|
|
|
|
(IOC_SIZE): Likewsie.
|
|
|
|
|
2015-02-27 14:46:30 +01:00
|
|
|
2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
* configure.tgt: Enable build on powerpc*le-*-linux.
|
|
|
|
|
2015-02-24 09:07:10 +01:00
|
|
|
2015-02-23 Jakub Jelinek <jakub@redhat.com>
|
2015-02-23 22:01:57 +01:00
|
|
|
|
|
|
|
PR bootstrap/63888
|
|
|
|
* asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
|
|
|
|
support until it is rewritten upstream.
|
|
|
|
|
2015-01-27 13:50:46 +01:00
|
|
|
2015-01-26 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
* configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-01-24 16:21:51 +01:00
|
|
|
2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
|
|
|
|
|
2015-01-27 13:50:46 +01:00
|
|
|
* configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
|
2015-01-24 16:21:51 +01:00
|
|
|
* configure: Regenerate.
|
2015-01-27 13:50:46 +01:00
|
|
|
* configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
|
2015-01-24 16:21:51 +01:00
|
|
|
|
2015-01-23 12:53:04 +01:00
|
|
|
2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
|
|
|
|
|
|
|
|
* configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
|
|
|
|
(libtsan_la_DEPENDENCIES): Likewise.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2015-01-22 21:44:25 +01:00
|
|
|
2015-01-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* tsan/tsan_rtl.h: Cherry pick upstream r226829.
|
|
|
|
|
2015-01-21 22:21:27 +01:00
|
|
|
2015-01-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/64435
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
|
|
|
|
upstream r226637.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
|
|
|
|
|
2015-01-20 21:39:52 +01:00
|
|
|
2015-01-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/64632
|
|
|
|
* ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
|
|
|
|
|
2015-01-19 09:39:27 +01:00
|
|
|
2015-01-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/64435
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
|
|
|
|
upstream r223925.
|
|
|
|
|
2015-01-13 18:01:30 +01:00
|
|
|
2015-01-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
|
|
|
|
upstream r224518 and r224519.
|
|
|
|
* tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
|
|
|
|
r224834.
|
|
|
|
|
2014-12-16 12:35:34 +01:00
|
|
|
2014-12-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
|
|
|
|
sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
|
|
|
|
sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
|
|
|
|
upstream r224308.
|
|
|
|
|
2014-11-21 17:49:17 +01:00
|
|
|
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR bootstrap/63784
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2014-11-21 15:03:37 +01:00
|
|
|
2014-11-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR target/61137
|
|
|
|
* config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
|
|
|
|
(TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
|
|
|
|
|
2014-11-14 15:23:51 +01:00
|
|
|
2014-11-14 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* lsan/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* interception/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* tsan/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* asan/Makefile.in: Ditto.
|
|
|
|
* lsan/Makefile.in: Ditto.
|
|
|
|
* interception/Makefile.in: Ditto.
|
|
|
|
* tsan/Makefile.in: Ditto.
|
|
|
|
* libbacktrace/Makefile.in: Ditto.
|
|
|
|
* ubsan/Makefile.in: Ditto.
|
|
|
|
|
2014-11-13 21:41:38 +01:00
|
|
|
2014-11-13 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r221802.
|
|
|
|
* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
|
|
|
|
(LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
|
|
|
|
with 'start' to follow the new interface.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Added new
|
|
|
|
files.
|
|
|
|
(AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2014-11-11 21:25:18 +01:00
|
|
|
2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR target/63610
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-10-16 18:56:21 +02:00
|
|
|
2014-10-16 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
* asan/Makefile.am: IPA ICF pass is disabled.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
|
2014-10-14 23:20:46 +02:00
|
|
|
2014-10-14 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
|
|
|
|
Define at __kernel_time_t, as needed for sparc.
|
|
|
|
(struct __old_kernel_stat): Don't check if __sparc__ is defined.
|
|
|
|
* libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer): Define struct___old_kernel_stat_sz,
|
|
|
|
struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
|
|
|
|
(__sanitizer_ipc_perm): Adjust for sparc targets.
|
|
|
|
(__sanitizer_shmid_ds): Likewsie.
|
|
|
|
(__sanitizer_sigaction): Likewsie.
|
|
|
|
(IOC_SIZE): Likewsie.
|
|
|
|
|
2014-10-14 17:56:52 +02:00
|
|
|
2014-10-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* ubsan/Makefile.am (DEFS): Add -DPIC.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
|
2014-09-26 15:07:42 +02:00
|
|
|
2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
* configure.tgt: Enable build on aarch64*-linux.
|
|
|
|
|
2014-09-23 19:59:53 +02:00
|
|
|
2014-09-19 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r218156.
|
|
|
|
* asan/Makefile.am (asan_files): Added new files.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.am (ubsan_files): Added new files.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.am (tsan_files): Added new files.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Added new
|
|
|
|
files.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* asan/libtool-version: Bump the libasan SONAME.
|
|
|
|
|
flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE and SANITIZE_RETURNS_NONNULL_ATTRIBUTE...
gcc/
* flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
* opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
flag_delete_null_pointer_checks for them.
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
* ubsan.c (instrument_bool_enum_load): Set *gsi back to
stmt's iterator.
(instrument_nonnull_arg, instrument_nonnull_return): New functions.
(pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
(pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
* doc/invoke.texi (-fsanitize=nonnull-attribute,
-fsanitize=returns-nonnull-attribute): Document.
gcc/testsuite/
* c-c++-common/ubsan/attrib-3.c: New test.
* c-c++-common/ubsan/nonnull-1.c: New test.
* c-c++-common/ubsan/nonnull-2.c: New test.
* c-c++-common/ubsan/nonnull-3.c: New test.
* c-c++-common/ubsan/nonnull-4.c: New test.
* c-c++-common/ubsan/nonnull-5.c: New test.
libsanitizer/
* ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
upstream r215485, r217389, r217391 and r217400.
From-SVN: r215118
2014-09-10 11:23:16 +02:00
|
|
|
2014-09-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
|
|
|
|
upstream r215485, r217389, r217391 and r217400.
|
|
|
|
|
2014-06-23 21:03:07 +02:00
|
|
|
2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_common_interceptors.inc:
|
|
|
|
Cherry pick upstream r211008.
|
|
|
|
|
2014-06-11 13:35:48 +02:00
|
|
|
2014-06-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
* asan/asan_linux.cc: Cherry pick upstream r210012.
|
|
|
|
|
2014-05-30 15:48:22 +02:00
|
|
|
2014-05-30 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
|
|
|
|
r209879.
|
|
|
|
* sanitizer_common/sanitizer_common.h: Likewise.
|
|
|
|
* asan/asan_mapping.h: Likewise.
|
|
|
|
* asan/asan_linux.cc: Likewise.
|
|
|
|
* tsan/tsan_mman.cc: Cherry pick upstream r209744.
|
|
|
|
* sanitizer_common/sanitizer_allocator.h: Likewise.
|
|
|
|
|
2014-05-23 16:44:42 +02:00
|
|
|
2014-05-23 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
* ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
|
|
|
|
floating-point types.
|
|
|
|
|
2014-05-22 09:09:21 +02:00
|
|
|
2014-05-22 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r209283.
|
|
|
|
* asan/Makefile.am (asan_files): Added new files.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.am (tsan_files): Added new files.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
2014-06-23 21:03:07 +02:00
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Added new
|
|
|
|
files.
|
2014-05-22 09:09:21 +02:00
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
|
2014-05-14 10:33:45 +02:00
|
|
|
2014-05-14 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/61100
|
|
|
|
* Makefile.am (nodist_saninclude_HEADERS): Install
|
|
|
|
public headers.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2014-03-07 14:55:54 +01:00
|
|
|
2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
|
|
|
|
Add ../../libbacktrace/sort.c.
|
|
|
|
* libbacktrace/Makefile.in: Regenerate.
|
|
|
|
* libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
|
|
|
|
|
2014-03-03 21:36:56 +01:00
|
|
|
2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
* configure.tgt: Unsupported for little endian PowerPC for now.
|
|
|
|
|
2014-02-04 08:37:44 +01:00
|
|
|
2014-02-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
2014-02-04 11:46:22 +01:00
|
|
|
PR sanitizer/60055
|
|
|
|
* tsan/tsan_flags.cc (__tsan_default_options): Add
|
|
|
|
SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
|
|
|
|
* tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
|
|
|
|
|
2014-02-04 08:37:44 +01:00
|
|
|
PR sanitizer/60038
|
|
|
|
* sanitizer_common/sanitizer_linux_libcdep.cc: Include
|
|
|
|
sanitizer_atomic.h and unistd.h.
|
|
|
|
(kThreadDescriptorSize): Made static, remove initializer and const,
|
|
|
|
change type to atomic_uintptr_t.
|
|
|
|
(ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
|
|
|
|
query glibc version, compute kThreadDescriptorSize depending on
|
|
|
|
glibc version minor number.
|
|
|
|
(GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
|
|
|
|
kThreadDescriptorSize directly.
|
|
|
|
|
2014-01-23 15:32:05 +01:00
|
|
|
2014-01-23 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/57316
|
|
|
|
* configure.ac: Check for missing syscalls.
|
|
|
|
* Makefile.am: Likewise.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2014-01-09 19:15:41 +01:00
|
|
|
2014-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
* sanitizer_common/sanitizer_symbolizer_libbacktrace.h
(LibbacktraceSymbolizer::Demangle): New declaration.
* sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
(POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
method if possible.
* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
"demangle.h" if SANITIZE_CP_DEMANGLE is defined.
(struct CplusV3DemangleData): New type.
(CplusV3DemangleCallback, CplusV3Demangle): New functions.
(SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
SymbolizeDataCallback): Use CplusV3Demangle.
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
-DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
* libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
cplus_demangle_init_info, cplus_demangle_mangled_name,
cplus_demangle_operators, cplus_demangle_print,
cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
Define.
(__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
(memcmp, strncmp): Redefine.
* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
../../libiberty/cp-demangle.c.
* libbacktrace/bridge.cc (__asan_internal_memcmp,
__asan_internal_strncmp): New functions.
* sanitizer_common/Makefile.in: Regenerated.
* libbacktrace/Makefile.in: Regenerated.
* configure: Regenerated.
* configure.ac: Regenerated.
* config.h.in: Regenerated.
From-SVN: r206477
2014-01-09 19:16:40 +01:00
|
|
|
* sanitizer_common/sanitizer_symbolizer_libbacktrace.h
|
|
|
|
(LibbacktraceSymbolizer::Demangle): New declaration.
|
|
|
|
* sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
|
|
|
(POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
|
|
|
|
method if possible.
|
|
|
|
* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
|
|
|
|
"demangle.h" if SANITIZE_CP_DEMANGLE is defined.
|
|
|
|
(struct CplusV3DemangleData): New type.
|
|
|
|
(CplusV3DemangleCallback, CplusV3Demangle): New functions.
|
|
|
|
(SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
|
|
|
|
SymbolizeDataCallback): Use CplusV3Demangle.
|
|
|
|
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
|
|
|
|
-DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
|
|
|
|
* libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
|
|
|
|
cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
|
|
|
|
cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
|
|
|
|
cplus_demangle_init_info, cplus_demangle_mangled_name,
|
|
|
|
cplus_demangle_operators, cplus_demangle_print,
|
|
|
|
cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
|
|
|
|
cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
|
|
|
|
is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
|
|
|
|
Define.
|
|
|
|
(__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
|
|
|
|
(memcmp, strncmp): Redefine.
|
|
|
|
* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
|
|
|
|
../../libiberty/cp-demangle.c.
|
|
|
|
* libbacktrace/bridge.cc (__asan_internal_memcmp,
|
|
|
|
__asan_internal_strncmp): New functions.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* libbacktrace/Makefile.in: Regenerated.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* configure.ac: Regenerated.
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
2014-01-09 19:15:41 +01:00
|
|
|
* sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
|
|
|
|
-isystem $(top_srcdir)/include/system.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* include/system/linux/aio_abi.h: New header.
|
|
|
|
* include/system/linux/mroute.h: New header.
|
|
|
|
* include/system/linux/mroute6.h: New header.
|
|
|
|
* include/system/linux/perf_event.h: New header.
|
|
|
|
* include/system/linux/types.h: New header.
|
2014-01-09 19:13:39 +01:00
|
|
|
|
|
|
|
PR sanitizer/59136
|
|
|
|
* sanitizer_common/Makefile.am (AM_CXXFLAGS): If
|
|
|
|
LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
|
|
|
|
and -I/-include flags.
|
|
|
|
* lsan/Makefile.am (liblsan_la_LIBADD): Add
|
|
|
|
libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
|
|
|
|
* tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
|
|
|
|
* ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
|
|
|
|
* asan/Makefile.am (libasan_la_LIBADD): Likewise.
|
|
|
|
* Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
|
|
|
|
libbacktrace.
|
|
|
|
* README.gcc: Document that also lsan and ubsan are
|
|
|
|
maintained in compiler-rt upstream.
|
|
|
|
* libbacktrace/Makefile.am: New file.
|
|
|
|
* libbacktrace/backtrace-rename.h: New file.
|
|
|
|
* libbacktrace/backtrace-supported.h.in: New file.
|
|
|
|
* libbacktrace/bridge.cc: New file.
|
|
|
|
* configure.ac: Add tests needed for libbacktrace build
|
|
|
|
within libsanitizer.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* lsan/Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
* libbacktrace/Makefile.in: Generated.
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Regenerated.
|
|
|
|
|
2013-12-19 13:54:11 +01:00
|
|
|
2013-12-19 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
2018-08-27 16:04:23 +02:00
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc:
|
2013-12-19 13:54:11 +01:00
|
|
|
workaround for missing definition of EOWNERDEAD, backport
|
|
|
|
from upstream r196779.
|
|
|
|
|
2013-12-06 12:48:24 +01:00
|
|
|
2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer_shmid_ds): Use u64 on time fields for x32.
|
|
|
|
(__sanitizer_clock_t): Use long long for x32.
|
|
|
|
|
2013-12-06 12:44:55 +01:00
|
|
|
2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc: Include
|
|
|
|
<sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
|
|
|
|
(struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
|
|
|
|
|
2013-12-05 15:41:38 +01:00
|
|
|
2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure.ac (link_sanitizer_common): Add -lm.
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2013-12-05 11:28:59 +01:00
|
|
|
2013-12-05 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r196489.
|
|
|
|
* merge.sh: Add *.S to the list of merged files.
|
|
|
|
|
2013-12-05 10:56:03 +01:00
|
|
|
2013-12-05 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/59368
|
|
|
|
* Makefile.am (gcc_version): Added gcc_version.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2013-12-05 10:18:38 +01:00
|
|
|
2013-12-05 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r196090.
|
|
|
|
* tsan/Makefile.am (tsan_files): Added new files.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.am (lsan_files): Added new files.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
|
2013-11-29 13:30:36 +01:00
|
|
|
2013-11-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/59063
|
|
|
|
* libsanitizer.spec.in: Add spec file to hold link flags for
|
|
|
|
various sanitizer libs.
|
|
|
|
* configure.ac: Check whether clock_* routines come from librt.
|
|
|
|
* asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
|
|
|
|
configure.ac.
|
|
|
|
* tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
|
|
|
|
* ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
|
|
|
|
* lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-11-28 13:20:23 +01:00
|
|
|
2013-11-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/59106
|
|
|
|
* ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
|
|
|
|
don't need it.
|
|
|
|
* ubsan/Makefile.in: Regenerated.
|
|
|
|
|
re PR sanitizer/59061 (Port leaksanitizer)
PR sanitizer/59061
* common.opt (static-liblsan): Add.
* config/gnu-user.h (STATIC_LIBLSAN_LIBS, STATIC_LIBUBSAN_LIBS):
Define.
* flag-types.h (enum sanitize_code): Add SANITIZE_LEAK. Renumber
SANITIZE_SHIFT, SANITIZE_DIVIDE, SANITIZE_UNREACHABLE, SANITIZE_VLA,
SANITIZE_RETURN.
* opts.c (common_handle_option): Handle -fsanitize=leak.
* gcc.c (ADD_STATIC_LIBLSAN_LIBS, LIBLSAN_SPEC): Define.
(LIBUBSAN_SPEC): Don't test LIBUBSAN_EARLY_SPEC.
(LIBUBSAN_EARLY_SPEC): Remove.
(SANITIZER_EARLY_SPEC): Don't do anything for libubsan.
(SANITIZER_SPEC): Add -fsanitize=leak handling.
(sanitize_spec_function): Handle %sanitize(leak).
* doc/invoke.texi (-static-liblsan, -fsanitize=leak): Document.
* c-c++-common/asan/no-redundant-instrumentation-7.c: Fix
cleanup-tree-dump directive.
* configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
* configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
* configure: Regenerated.
* lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
* lsan/Makefile.in: Regenerated.
From-SVN: r205290
2013-11-22 22:13:08 +01:00
|
|
|
2013-11-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/59061
|
|
|
|
* configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
|
|
|
|
* configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
|
|
|
|
liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
|
|
|
|
* lsan/Makefile.in: Regenerated.
|
|
|
|
|
2013-11-22 21:33:06 +01:00
|
|
|
2013-11-22 Mike Stump <mikestump@comcast.net>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
|
|
|
|
change from upstream to fix build.
|
|
|
|
|
2013-11-18 09:03:16 +01:00
|
|
|
2013-11-18 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
PR sanitizer/59106
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
|
|
|
|
* interception/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* lsan/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* tsan/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* interception/Makefile.in: Regenerate.
|
|
|
|
* tsan/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
|
2013-11-15 11:31:14 +01:00
|
|
|
2013-11-15 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
PR sanitizer/58994
|
2018-08-27 16:04:23 +02:00
|
|
|
Backport from upstream revision 194573
|
|
|
|
* asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
|
|
|
|
back to the original functions in the common libsanitizer
|
|
|
|
interceptors and the __cxa_atexit() interceptor on Darwin.
|
2013-11-15 11:31:14 +01:00
|
|
|
|
2013-11-13 23:34:33 +01:00
|
|
|
2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
PR sanitizer/59009
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
|
|
|
|
ifdef out more source.
|
|
|
|
|
2013-11-13 00:42:55 +01:00
|
|
|
2013-11-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
|
|
|
|
ifdef out almost the whole source.
|
|
|
|
* sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
|
|
|
|
|
2013-11-06 22:52:29 +01:00
|
|
|
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/59018
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.cc
|
|
|
|
(struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
|
|
|
|
defined.
|
|
|
|
|
2013-11-06 22:51:41 +01:00
|
|
|
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/59018
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_linux.cc
|
|
|
|
(struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
|
|
|
|
defined.
|
|
|
|
* sanitizer_common/sanitizer_platform_limits_posix.h
|
|
|
|
(__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
|
|
|
|
defined.
|
|
|
|
(__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
|
|
|
|
is defined.
|
|
|
|
(__sanitizer___kernel_gid_t): Likewise.
|
|
|
|
(__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
|
|
|
|
is defined.
|
|
|
|
|
2013-11-06 22:50:42 +01:00
|
|
|
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/59018
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
|
|
|
|
2 64-bit integers to save and restore fn and arg. Properly load
|
|
|
|
newtls/child_tidptr into r8/r10.
|
|
|
|
|
Cast pointers to uptr for 64-bit syscalls
PR sanitizer/59018
* sanitizer_common/sanitizer_linux.cc (internal_mmap,
internal_munmap, internal_open, internal_read, internal_write,
internal_stat, internal_lstat, internal_fstat, internal_readlink,
internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
BlockingMutex::Unlock, internal_ptrace, internal_getdents,
internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
From-SVN: r204480
2013-11-06 22:49:36 +01:00
|
|
|
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/59018
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (internal_mmap,
|
|
|
|
internal_munmap, internal_open, internal_read, internal_write,
|
|
|
|
internal_stat, internal_lstat, internal_fstat, internal_readlink,
|
|
|
|
internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
|
|
|
|
BlockingMutex::Unlock, internal_ptrace, internal_getdents,
|
|
|
|
internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
|
|
|
|
|
2013-11-04 22:33:31 +01:00
|
|
|
2013-11-04 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r191666.
|
|
|
|
* merge.sh: Added lsan.
|
|
|
|
* configure.ac (AC_CONFIG_FILES): Added lsan.
|
|
|
|
* Makefile.am (SUBDIRS): Added lsan.
|
|
|
|
* sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
|
|
|
|
* asan/Makefile.am (asan_files): Added new files.
|
|
|
|
(libasan_la_LIBADD): Added a dependency on lsan.
|
|
|
|
* lsan/Makefile.am: New file.
|
|
|
|
* asan/Makefile.in: Regenerate.
|
|
|
|
* lsan/Makefile.in: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerate.
|
|
|
|
|
2013-09-20 11:47:52 +02:00
|
|
|
2013-09-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-09-01 14:16:07 +02:00
|
|
|
2013-09-01 Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
|
|
|
* ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
|
|
|
|
libinterception.la for Darwin.
|
|
|
|
* ubsan/Makefile.in: Regenerate.
|
|
|
|
|
2013-08-30 18:12:58 +02:00
|
|
|
2013-08-30 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.am (SUBDIRS): Add ubsan.
|
|
|
|
* configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
|
|
|
|
* merge.sh: Merge ubsan.
|
|
|
|
* sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
|
|
|
|
* sanitizer_common/sanitizer_printf.cc: Likewise.
|
|
|
|
* sanitizer_common/sanitizer_common.h: Likewise.
|
|
|
|
* ubsan: New directory. Import ubsan runtime from llvm.
|
|
|
|
|
2013-06-03 15:04:35 +02:00
|
|
|
2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
|
|
|
|
Cherry pick upstream r182922.
|
|
|
|
|
2013-05-07 16:17:50 +02:00
|
|
|
2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
* configure.tgt: Add ARM pattern.
|
|
|
|
|
2013-03-22 15:17:24 +01:00
|
|
|
2013-03-22 Jakub Jelinek <jakub@redhat.com>
|
2013-03-22 15:14:42 +01:00
|
|
|
|
|
|
|
PR other/43620
|
|
|
|
* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
|
2013-02-28 20:55:40 +01:00
|
|
|
2013-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
|
|
|
|
* asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
|
|
|
|
0x4fffffffffULL.
|
|
|
|
|
2013-02-22 17:07:36 +01:00
|
|
|
2013-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR sanitizer/56393
|
|
|
|
* asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
|
|
|
|
libasan_preinit.o.
|
|
|
|
(libasan_preinit.o): Depend on asan_preinit.o.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* asan/asan_preinit.cc: New file, synced from upstream.
|
|
|
|
* asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
|
|
|
|
|
2013-10-23 23:30:54 +02:00
|
|
|
2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
|
2013-02-21 20:12:43 +01:00
|
|
|
|
|
|
|
* asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
|
|
|
|
dynamic/asan_interceptors_dynamic.cc.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
* merge.sh: Remove merge of deprecated lib/asan/dynamic.
|
|
|
|
|
2013-02-21 15:25:32 +01:00
|
|
|
2013-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
|
|
|
|
defined. Add used attribute.
|
|
|
|
|
2013-02-21 11:57:10 +01:00
|
|
|
2013-02-21 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r175733.
|
|
|
|
* sanitizer_common/Makefile.am: Added a new file.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
|
2013-02-14 17:54:01 +01:00
|
|
|
2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR bootstrap/56327
|
|
|
|
* interception/interception.h (OFF_T): Merged from upstream
|
|
|
|
r175140.
|
|
|
|
|
2013-02-13 17:06:43 +01:00
|
|
|
2013-02-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
|
|
|
|
|
2013-02-13 11:46:01 +01:00
|
|
|
2013-02-13 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
2013-02-14 17:54:01 +01:00
|
|
|
PR sanitizer/56128
|
2013-02-13 11:46:01 +01:00
|
|
|
* All source files: Merge from upstream r175049.
|
|
|
|
* interception/Makefile.am: added include path.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
|
2013-02-12 00:13:37 +01:00
|
|
|
2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
|
|
|
|
|
|
|
|
* configure.tgt: Disable build on darwin9 and earlier.
|
|
|
|
|
2013-01-23 12:41:33 +01:00
|
|
|
2013-01-23 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
2013-02-14 17:54:01 +01:00
|
|
|
PR sanitizer/55989
|
2013-01-23 12:41:33 +01:00
|
|
|
* All source files: Merge from upstream r173241.
|
|
|
|
* merge.sh: Support merging .inc files.
|
|
|
|
|
2013-01-16 08:34:49 +01:00
|
|
|
2013-01-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
|
|
|
|
-Wno-c99-extensions.
|
|
|
|
* interception/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* interception/Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Regenerated.
|
|
|
|
|
2013-01-10 18:57:34 +01:00
|
|
|
2013-01-10 Wei Mi <wmi@google.com>
|
|
|
|
|
|
|
|
PR sanitizer/55488
|
|
|
|
* tsan/Makefile.am: Add tsan_rtl_amd64.S.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
* tsan/tsan_rtl.h: Enable HACKY_CALL.
|
|
|
|
|
2013-01-10 13:44:08 +01:00
|
|
|
2013-01-10 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All source files: Merge from upstream r171973.
|
|
|
|
* sanitizer_common/Makefile.am: Added new files.
|
|
|
|
* asan/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2013-01-07 19:23:42 +01:00
|
|
|
2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* asan/Makefile.am (libasan_la_LIBADD): Replace
|
|
|
|
LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
|
|
|
|
* tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-12 16:41:36 +01:00
|
|
|
2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (AM_MAKEFLAGS): Restored.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-12 15:36:27 +01:00
|
|
|
2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (MAKEOVERRIDES): Restored.
|
|
|
|
* asan/Makefile.am: Likewise.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-12 14:40:15 +01:00
|
|
|
2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
|
|
|
|
* tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-12 14:36:47 +01:00
|
|
|
2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (AM_MAKEFLAGS): Removed.
|
|
|
|
(MAKEOVERRIDES): Likewise.
|
|
|
|
* asan/Makefile.am: Likewise.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-11 22:32:11 +01:00
|
|
|
2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/55533
|
|
|
|
* Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
|
|
|
|
* configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
|
|
|
|
(AM_MAKEFLAGS): Remove CC and CXX.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-12-06 22:53:36 +01:00
|
|
|
2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
* configure.tgt: Enable build on powerpc*-linux.
|
|
|
|
|
2013-10-23 23:30:54 +02:00
|
|
|
2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
|
2012-12-06 15:49:44 +01:00
|
|
|
|
|
|
|
PR 55599/sanitizer
|
2012-12-11 22:32:11 +01:00
|
|
|
* configure.ac: Set enable_static=no on darwin.
|
|
|
|
* configure: Regenerated.
|
2012-12-06 15:49:44 +01:00
|
|
|
|
2012-12-06 15:43:11 +01:00
|
|
|
2012-12-06 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All files: Merge from upstream r169392.
|
|
|
|
|
2012-12-05 14:19:55 +01:00
|
|
|
2012-12-05 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All files: Merge from upstream r169371.
|
|
|
|
|
2012-12-04 14:18:54 +01:00
|
|
|
2012-12-04 Kostya Serebryany <kcc@google.com>
|
2013-10-23 23:30:54 +02:00
|
|
|
Jack Howarth <howarth@bromo.med.uc.edu>
|
2012-12-04 08:00:35 +01:00
|
|
|
|
|
|
|
PR 55521/sanitizer
|
|
|
|
* configure.ac: Define USING_MAC_INTERPOSE when on darwin.
|
|
|
|
* Makefile.am: Don't build interception subdir when
|
|
|
|
USING_MAC_INTERPOSE defined.
|
|
|
|
* asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
|
|
|
|
-DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
|
|
|
|
Compile asan_interceptors_dynamic.cc but not libinterception
|
|
|
|
when USING_MAC_INTERPOSE defined.
|
|
|
|
* interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
|
|
|
|
* asan/asan_mac.cc: Likewise.
|
|
|
|
* asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
|
|
|
|
and use MISSING_BLOCKS_SUPPORT.
|
|
|
|
* merge.sh: Merge lib/asan/dynamic into asan/dynamic.
|
|
|
|
* interception/mach_override/LICENSE.txt: Remove unused file.
|
|
|
|
* interception/mach_override/mach_override.c: Likewise.
|
|
|
|
* interception/mach_override/mach_override.h: Likewise.
|
|
|
|
* interception/mach_override: Remove unused directory.
|
|
|
|
|
2012-11-29 20:15:43 +01:00
|
|
|
2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
|
|
|
|
* configure.ac (ACX_NONCANONICAL_TARGET): Removed.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
|
|
|
|
files.
|
|
|
|
(AM_MAKEFLAGS): Restore CC and CXX.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-11-29 20:01:17 +01:00
|
|
|
2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
|
|
|
|
* configure.ac (ACX_NONCANONICAL_TARGET): New.
|
|
|
|
* asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
|
|
|
|
files.
|
|
|
|
(AM_MAKEFLAGS): Remove CC and CXX.
|
|
|
|
* interception/Makefile.am: Likewise.
|
|
|
|
* sanitizer_common/Makefile.am: Likewise.
|
|
|
|
* tsan/Makefile.am: Likewise.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
* tsan/Makefile.in: Likewise.
|
|
|
|
|
2012-11-27 15:01:46 +01:00
|
|
|
2012-11-27 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
|
|
|
* All files: Merge from upstream r168699.
|
|
|
|
|
2012-12-04 14:18:54 +01:00
|
|
|
2012-11-24 Kostya Serebryany <kcc@google.com>
|
2013-10-23 23:30:54 +02:00
|
|
|
Jack Howarth <howarth@bromo.med.uc.edu>
|
2012-11-24 19:24:13 +01:00
|
|
|
|
|
|
|
* interception/mach_override/mach_override.c: Migrate from llvm.
|
|
|
|
* interception/mach_override/mach_override.h: Likewise.
|
|
|
|
* interception/mach_override/LICENSE.txt: Likewise.
|
|
|
|
* configure.tgt: Add darwin to supported targets.
|
|
|
|
* configure.ac: Define USING_MACH_OVERRIDE when on darwin.
|
|
|
|
* interception/Makefile.am: Compile mach_override.c when
|
|
|
|
USING_MACH_OVERRIDE defined.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
|
2012-11-23 22:14:05 +01:00
|
|
|
2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR sanitizer/55450
|
|
|
|
* tsan/Makefile.am (gcc_version): New.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
|
2012-11-23 05:09:17 +01:00
|
|
|
2012-11-23 Kostya Serebryany <kcc@google.com>
|
2012-11-23 22:14:05 +01:00
|
|
|
|
2012-11-23 15:46:25 +01:00
|
|
|
* merge.sh: Support tsan, support added/removed files.
|
|
|
|
* tsan/Makefile.am: Remove tsan_printf.cc.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
* other files: Merge from upstream r168514.
|
|
|
|
|
|
|
|
2012-11-23 Kostya Serebryany <kcc@google.com>
|
2012-11-23 22:14:05 +01:00
|
|
|
|
2012-11-23 15:46:25 +01:00
|
|
|
* merge.sh: New file.
|
2012-11-23 05:09:17 +01:00
|
|
|
|
2012-11-23 01:31:54 +01:00
|
|
|
2012-11-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
|
|
|
|
* Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
|
|
|
|
automake conditional instead of !MULTISUBDIR32.
|
|
|
|
* configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
|
|
|
|
for 64-bit multilib.
|
|
|
|
* configure.ac: Check for void * size, source in configure.tgt,
|
|
|
|
define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* tsan/Makefile.in: Regenerated.
|
|
|
|
|
2012-11-22 23:03:11 +01:00
|
|
|
2012-11-22 Wei Mi <wmi@google.com>
|
|
|
|
|
|
|
|
* tsan: New directory. Import tsan runtime from llvm.
|
|
|
|
* configure.ac: Add 64 bits tsan build.
|
|
|
|
* Makefile.am: Likewise.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
|
2012-11-21 16:07:31 +01:00
|
|
|
2012-11-21 Kostya Serebryany <kcc@google.com>
|
|
|
|
|
2012-11-23 22:14:05 +01:00
|
|
|
* README.gcc: Extend the README.gcc with mode details.
|
2012-11-21 16:07:31 +01:00
|
|
|
|
2012-11-20 21:54:49 +01:00
|
|
|
2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
|
|
|
|
|
|
|
|
* sanitizer_common/sanitizer_linux.cc
|
|
|
|
(SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
|
|
|
|
(internal_mmap): Use it.
|
|
|
|
(internal_filesize): Likewise.
|
|
|
|
|
2012-11-16 16:19:15 +01:00
|
|
|
2012-11-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
* configure.ac: Invoke AM_MAINTAINER_MODE.
|
|
|
|
* aclocal.m4, configure, Makefile.in, asan/Makefile.in,
|
|
|
|
interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
|
|
|
|
|
2012-11-16 13:02:29 +01:00
|
|
|
2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR other/55333
|
|
|
|
* include/sanitizer/common_interface_defs.h (uhwptr): New type
|
|
|
|
for hardware pointer.
|
|
|
|
* sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
|
|
|
|
Replace uptr with uhwptr for stack unwind.
|
|
|
|
|
2012-11-16 09:11:03 +01:00
|
|
|
2012-11-16 Dodji Seketeli <dodji@redhat.com>
|
|
|
|
|
|
|
|
* configure.tgt: Enable build on sparc linux.
|
|
|
|
|
2012-11-15 17:00:47 +01:00
|
|
|
2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure.ac: Properly set MULTISUBDIR.
|
|
|
|
* asan/Makefile.am (gcc_version): New.
|
|
|
|
* interception/Makefile.am (gcc_version): Likewise.
|
|
|
|
* sanitizer_common/Makefile.am (gcc_version): Likewise.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
|
2012-11-15 01:03:37 +01:00
|
|
|
2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR other/55291
|
|
|
|
* configure.ac (--enable-version-specific-runtime-libs): New option.
|
|
|
|
(AC_CANONICAL_SYSTEM): New.
|
|
|
|
(AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
|
|
|
|
(toolexecdir): Support multilib.
|
|
|
|
(toolexeclibdir): Likewise.
|
|
|
|
(multilib_arg): New.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
|
2012-11-14 14:45:56 +01:00
|
|
|
2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR other/55292
|
|
|
|
Backport from upstream revision 167883
|
|
|
|
* sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
|
|
|
|
__x86_64__ instead of __WORDSIZE.
|
|
|
|
(internal_filesize): Likwise.
|
|
|
|
|
2012-11-14 13:21:28 +01:00
|
|
|
2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure.ac (AC_CONFIG_AUX_DIR): Removed.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2012-11-14 01:02:12 +01:00
|
|
|
2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR other/55304
|
|
|
|
* acinclude.m4: New file.
|
|
|
|
* Makefile.am (ACLOCAL_AMFLAGS): New.
|
|
|
|
* configure.ac (AC_PREREQ): Set to 2.64.
|
|
|
|
(AC_CONFIG_AUX_DIR): Set to "..".
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
* asan/Makefile.in: Likewise.
|
|
|
|
* interception/Makefile.in: Likewise.
|
|
|
|
* sanitizer_common/Makefile.in: Likewise.
|
|
|
|
|
|
|
|
* config.guess: Removed.
|
|
|
|
* config.sub: Likewise.
|
|
|
|
* depcomp: Likewise.
|
|
|
|
* install-sh: Likewise.
|
|
|
|
* ltmain.sh: Likewise.
|
|
|
|
* missing: Likewise.
|
|
|
|
|
2012-11-13 23:19:44 +01:00
|
|
|
2012-11-13 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
* configure.tgt: New file.
|
|
|
|
|
2012-11-13 07:53:23 +01:00
|
|
|
2012-11-12 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
* asan/asan_linux.cc (GetPcSpBp): Add sparc support.
|
|
|
|
|
2012-11-12 16:53:47 +01:00
|
|
|
2012-10-29 Wei Mi <wmi@google.com>
|
|
|
|
|
|
|
|
Initial checkin: migrate asan runtime from llvm.
|