1 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
4 * configure.ac: Check for lstat and readlink.
5 * configure, config.h.in: Rebuild.
7 2018-05-31 Matthias Klose <doko@ubuntu.com>
10 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
11 SIZEOF_STRUCT_USTAT for 32bit sparc.
13 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
16 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
17 include <sys/ustat.h> for Linux.
18 (SIZEOF_STRUCT_USTAT): New.
19 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
21 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
23 * configure.tgt <mips*-*-linux*>: Enable build, excluding
26 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
27 take the shortcut to #include <sys/stat.h> for MIPS instead of
28 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
29 or wrong to get the kernel struct stat.
30 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
31 Correct the value for 32-bit non-android struct_kernel_stat_sz.
33 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
34 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
36 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
38 * configure: Regenerated.
40 2018-04-19 Jakub Jelinek <jakub@redhat.com>
42 * configure: Regenerated.
44 2018-04-18 David Malcolm <dmalcolm@redhat.com>
47 * configure: Regenerate.
49 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
52 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
53 from 0xa0000000000ULL to ~(uptr)0.
55 2018-03-19 Jakub Jelinek <jakub@redhat.com>
58 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
59 Define if not defined.
60 (DL_INTERNAL_FUNCTION): Don't define.
61 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
62 determine at runtime whether to use regparm(3), stdcall calling
63 convention for older glibcs or normal calling convention for
64 newer glibcs for call to _dl_get_tls_static_info.
66 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
68 * sanitizer_common/sanitizer_stacktrace.cc
69 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
72 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
75 * configure: Regenerate.
77 2018-02-05 Martin Liska <mliska@suse.cz>
79 * asan/asan_flags.inc: Cherry-pick upstream r323995.
80 * asan/asan_report.cc (CheckForInvalidPointerPair):
81 Cherry-pick upstream r323995.
83 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
86 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
89 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
94 2017-12-05 Martin Liska <mliska@suse.cz>
95 Jakub Jelinek <jakub@redhat.com>
97 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
98 * asan/asan_descriptions.h: Likewise.
99 * asan/asan_report.cc: Likewise.
100 * asan/asan_thread.cc: Likewise.
101 * asan/asan_thread.h: Likewise.
103 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
105 * acinclude.m4: Add enable.m4 and cet.m4.
106 * Makefile.in: Regenerate.
107 * asan/Makefile.am: Update AM_CXXFLAGS.
108 * asan/Makefile.in: Regenerate.
109 * configure: Likewise.
110 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
111 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
112 * interception/Makefile.am: Update AM_CXXFLAGS.
113 * interception/Makefile.in: Regenerate.
114 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
115 * libbacktrace/Makefile.in: Regenerate.
116 * lsan/Makefile.am: Update AM_CXXFLAGS.
117 * lsan/Makefile.in: Regenerate.
118 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
120 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
121 Add _CET_ENDBR macro.
122 * sanitizer_common/Makefile.in: Regenerate.
123 * tsan/Makefile.am: Update AM_CXXFLAGS.
124 * tsan/Makefile.in: Regenerate.
125 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
126 * ubsan/Makefile.am: Update AM_CXXFLAGS.
127 * ubsan/Makefile.in: Regenerate.
129 2017-11-08 Jakub Jelinek <jakub@redhat.com>
132 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
133 and ubsan_signals_standalone.cc.
134 * ubsan/Makefile.in: Regenerated.
136 2017-11-05 Tom de Vries <tom@codesourcery.com>
139 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
141 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
143 2017-10-20 Jakub Jelinek <jakub@redhat.com>
146 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
147 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
149 (lsan_files): Remove lsan_preinit.cc.
150 (liblsan_preinit.o): New rule.
151 * lsan/Makefile.in: Regenerated.
153 2017-10-19 Jakub Jelinek <jakub@redhat.com>
155 * All source files: Merge from upstream 315899.
156 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
157 include/sanitizer/tsan_interface.h.
158 * asan/libtool-version: Bump the libasan SONAME.
159 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
160 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
161 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
162 sancov_flags.cc, sanitizer_allocator_checks.cc,
163 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
164 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
165 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
166 and sanitizer_coverage_mapping_libcdep.cc.
167 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
168 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
169 (ubsan_files): Add ubsan_init_standalone.cc and
170 ubsan_signals_standalone.cc.
171 * ubsan/libtool-version: Bump the libubsan SONAME.
172 * asan/Makefile.in: Regenerate.
173 * lsan/Makefile.in: Regenerate.
174 * sanitizer_common/Makefile.in: Regenerate.
175 * tsan/Makefile.in: Regenerate.
176 * ubsan/Makefile.in: Regenerate.
178 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
181 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
182 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
184 2017-10-02 Jakub Jelinek <jakub@redhat.com>
186 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
189 2017-08-07 Jakub Jelinek <jakub@redhat.com>
191 * include/system/sys/ptrace.h: New file.
193 2017-07-28 Jakub Jelinek <jakub@redhat.com>
196 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
197 * ubsan/ubsan_checks.inc: Likewise.
198 * ubsan/ubsan_handlers.h: Likewise.
200 2017-07-14 Jakub Jelinek <jakub@redhat.com>
203 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
204 * sanitizer_common/sanitizer_linux.cc: Likewise.
205 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
206 * tsan/tsan_platform_linux.cc: Likewise.
208 2017-04-06 Martin Liska <mliska@suse.cz>
211 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
212 Cherry-pick upstream r299036.
214 2017-03-22 Jakub Jelinek <jakub@redhat.com>
217 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
219 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
222 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
225 2017-02-11 Jakub Jelinek <jakub@redhat.com>
228 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
230 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
232 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
234 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
237 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
240 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
241 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
243 2017-01-31 Jakub Jelinek <jakub@redhat.com>
245 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
247 2017-01-24 Jakub Jelinek <jakub@redhat.com>
249 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
252 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
253 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
255 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
256 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
257 * tsan/tsan_ppc_regs.h: Likewise.
258 * tsan/tsan_rtl_aarch64.S: Likewise.
259 * tsan/tsan_rtl_mips64.S: Likewise.
260 * tsan/tsan_rtl_ppc64.S: Likewise.
262 2017-01-21 Jakub Jelinek <jakub@redhat.com>
265 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
266 instead of cat to get version from BASE-VER file.
267 * asan/Makefile.am (gcc_version): Likewise.
268 * ubsan/Makefile.am (gcc_version): Likewise.
269 * sanitizer_common/Makefile.am (gcc_version): Likewise.
270 * lsan/Makefile.am (gcc_version): Likewise.
271 * tsan/Makefile.am (gcc_version): Likewise.
272 * interception/Makefile.in: Regenerated.
273 * asan/Makefile.in: Regenerated.
274 * ubsan/Makefile.in: Regenerated.
275 * sanitizer_common/Makefile.in: Regenerated.
276 * lsan/Makefile.in: Regenerated.
277 * tsan/Makefile.in: Regenerated.
279 2017-01-17 Jakub Jelinek <jakub@redhat.com>
282 * configure.ac: Add GCC_BASE_VER.
283 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
284 get version from BASE-VER file.
285 * libbacktrace/Makefile.in: Regenerated.
286 * interception/Makefile.in: Regenerated.
287 * asan/Makefile.in: Regenerated.
288 * ubsan/Makefile.in: Regenerated.
289 * configure: Regenerated.
290 * sanitizer_common/Makefile.in: Regenerated.
291 * lsan/Makefile.in: Regenerated.
292 * Makefile.in: Regenerated.
293 * tsan/Makefile.in: Regenerated.
295 2017-01-10 James Clarke <jrtc27@jrtc27.com>
298 * sanitizer_common/sanitizer_platform_limits_posix.h
299 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
301 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
303 * LOCAL_PATCHES: Add revision.
305 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
308 * sanitizer_common/sanitizer_platform_limits_posix.h
309 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
312 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
314 * LOCAL_PATCHES: Remove r242480.
316 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
318 * LOCAL_PATCHES: Add revision.
320 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
323 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
324 compiler supports blocks extension.
326 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
328 * LOCAL_PATCHES: Add revision.
330 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
333 * tsan/tsan_rtl.cc: Add missing attribute.
335 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
337 * LOCAL_PATCHES: New file.
339 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
342 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
343 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
344 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
345 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
347 (__ubsan_handle_cfi_bad_type_abort): Likewise.
348 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
349 (__ubsan_handle_cfi_bad_type): Export function.
350 (__ubsan_handle_cfi_bad_type_abort): Likewise.
351 * HOWTO_MERGE: Update documentation.
353 2016-11-15 Matthias Klose <doko@ubuntu.com>
355 * configure: Regenerate.
357 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
359 * asan/asan_globals.cc (RegisterGlobal): Do not call
360 CheckODRViolationViaPoisoning.
361 (CheckODRViolationViaPoisoning): Remove.
363 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
365 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
366 compiled code with GCC when extracting the caller PC for ARM if no
367 valid frame pointer is available.
369 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
373 2014-10-14 David S. Miller <davem@davemloft.net>
375 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
376 Define at __kernel_time_t, as needed for sparc.
377 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
378 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
379 (__sanitizer): Define struct___old_kernel_stat_sz,
380 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
381 (__sanitizer_ipc_perm): Adjust for sparc targets.
382 (__sanitizer_shmid_ds): Likewsie.
383 (__sanitizer_sigaction): Likewise.
384 (IOC_SIZE): Likewsie.
386 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
388 * All source files: Merge from upstream 285547.
389 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
391 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
392 * asan/Makefile.am (asan_files): Add new files.
393 * asan/Makefile.in: Regenerate.
394 * ubsan/Makefile.in: Likewise.
395 * lsan/Makefile.in: Likewise.
396 * tsan/Makefile.am (tsan_files): Add new files.
397 * tsan/Makefile.in: Regenerate.
398 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
399 (EXTRA_libsanitizer_common_la_SOURCES): Define.
400 (libsanitizer_common_la_LIBADD): Likewise.
401 (libsanitizer_common_la_DEPENDENCIES): Likewise.
402 * sanitizer_common/Makefile.in: Regenerate.
403 * interception/Makefile.in: Likewise.
404 * libbacktace/Makefile.in: Likewise.
405 * Makefile.in: Likewise.
406 * configure: Likewise.
407 * merge.sh: Handle builtins/assembly.h merging.
408 * builtins/assembly.h: New file.
409 * asan/libtool-version: Bump the libasan SONAME.
411 2016-09-21 Jakub Jelinek <jakub@redhat.com>
414 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
416 2016-09-05 Jakub Jelinek <jakub@redhat.com>
419 * asan/asan_globals.cc: Cherry-pick upstream r280657.
421 2016-08-12 Jakub Jelinek <jakub@redhat.com>
424 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
425 * tsan/tsan_rtl_aarch64.S: Likewise.
427 2016-07-23 Alan Modra <amodra@gmail.com>
429 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
430 * configure.ac: Don't substitute OBSTACK_DEFS.
431 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
432 * tsan/Makefile.am: Likewise.
433 * configure: Regenerate.
434 * Makefile.in: Regenerate.
435 * asan/Makefile.in: Regenerate.
436 * interception/Makefile.in: Regenerate.
437 * libbacktrace/Makefile.in: Regenerate.
438 * lsan/Makefile.in: Regenerate.
439 * sanitizer_common/Makefile.in: Regenerate.
440 * tsan/Makefile.in: Regenerate.
441 * ubsan/Makefile.in: Regenerate.
443 2016-05-17 Jakub Jelinek <jakub@redhat.com>
446 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
449 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
452 * asan/asan_mac.cc: Cherry pick upstream r266868.
454 2016-01-19 Jakub Jelinek <jakub@redhat.com>
457 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
458 InitializeInterceptors): Cherry pick upstream r258119.
460 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
462 * configure.ac: Replace the hard-coded -ldl requirement for
463 link_sanitizer_common with a configure time check for -ldl.
464 * configure: Regenerate.
466 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
468 * include/system/linux/asm/ptrace.h: Move to ...
469 * include/system/asm/ptrace.h: ... this.
471 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
473 * include/system/linux/asm/ptrace.h: New header.
475 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
477 * All source files: Merge from upstream r253555.
478 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
479 dependences for TSan for aarch64-*-linux* targets.
480 * tsan/Makefile.am: Add new source files.
481 * configure: Regenerate.
482 * tsan/Makefile.in: Likewise.
484 2015-11-09 Alan Modra <amodra@gmail.com>
486 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
487 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
489 * configure.ac: Substitute OBSTACK_DEFS.
490 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
491 * tsan/Makefile.am: Likewise.
492 * configure: Regenerate.
493 * Makefile.in: Regenerate.
494 * asan/Makefile.in: Regenerate.
495 * interception/Makefile.in: Regenerate.
496 * libbacktrace/Makefile.in: Regenerate.
497 * lsan/Makefile.in: Regenerate.
498 * sanitizer_common/Makefile.in: Regenerate.
499 * tsan/Makefile.in: Regenerate.
500 * ubsan/Makefile.in: Regenerate.
502 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
505 * configure.ac (link_sanitizer_common): Link against librt only if it
506 contains shm_open, required by sanitizers.
507 (CXX_ABI_NEEDED): Remove variable.
508 * configure: Regenerate.
509 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
510 * ubsan/Makefile.in: Regenerate.
512 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
514 * HOWTO_MERGE: New file.
516 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
518 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
519 compiled code with GCC when extracting the caller PC for ARM if no
520 valid frame pointer is available.
522 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
526 2015-02-20 Jakub Jelinek <jakub@redhat.com>
528 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
529 support until it is rewritten upstream.
531 * c-c++-common/asan/pr63888.c: New test.
533 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
537 2014-10-14 David S. Miller <davem@davemloft.net>
539 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
540 Define at __kernel_time_t, as needed for sparc.
541 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
542 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
543 (__sanitizer): Define struct___old_kernel_stat_sz,
544 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
545 (__sanitizer_ipc_perm): Adjust for sparc targets.
546 (__sanitizer_shmid_ds): Likewsie.
547 (__sanitizer_sigaction): Likewise.
548 (IOC_SIZE): Likewsie.
550 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
552 * All source files: Merge from upstream r250806.
553 * configure.ac (link_sanitizer_common): Add -lrt flag.
554 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
555 Set USE_CXX_ABI_FLAG=true for darwin.
556 * asan/Makefile.am (asan_files): Add new files.
557 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
558 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
559 * asan/Makefile.in: Regenerate.
560 * ubsan/Makefile.am (ubsan_files): Add new files.
561 (DEFS): Add DCAN_SANITIZE_UB=1.
562 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
563 * ubsan/Makefile.in: Regenerate.
564 * tsan/Makefile.am (tsan_files): Add new files.
565 (DEFS): Add DCAN_SANITIZE_UB=0.
566 * tsan/Makefile.in: Regenerate.
567 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
568 * sanitizer_common/Makefile.in: Regenerate.
569 * asan/libtool-version: Bump the libasan SONAME.
571 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
574 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
576 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
579 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
582 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
585 * sanitizer_common/sanitizer_stacktrace.cc
586 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
587 find the link register at an offset of 16 from the base of the
588 caller's stack frame.
590 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
592 * Makefile.in: Regenerated with automake-1.11.6.
593 * aclocal.m4: Likewise.
594 * asan/Makefile.in: Likewise.
595 * configure: Likewise.
596 * interception/Makefile.in: Likewise.
597 * libbacktrace/Makefile.in: Likewise.
598 * lsan/Makefile.in: Likewise.
599 * sanitizer_common/Makefile.in: Likewise.
600 * tsan/Makefile.in: Likewise.
601 * ubsan/Makefile.in: Likewise.
603 2015-04-13 Yury Gribov <y.gribov@samsung.com>
606 * sanitizer_common/sanitizer_platform.h: Cherry pick
608 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
609 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
610 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
611 * Makefile.in: Regenerate.
612 * asan/Makefile.in: Regenerate.
613 * config.h.in: Regenerate.
614 * configure: Regenerate.
615 * interception/Makefile.in: Regenerate.
616 * libbacktrace/Makefile.in: Regenerate.
617 * lsan/Makefile.in: Regenerate.
618 * sanitizer_common/Makefile.in: Regenerate.
619 * tsan/Makefile.in: Regenerate.
620 * ubsan/Makefile.in: Regenerate.
623 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
626 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
628 * sanitizer_common/sanitizer_platform.h: Likewise.
629 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
631 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
633 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
634 upstream 224508 and 224755.
636 2015-03-09 Jakub Jelinek <jakub@redhat.com>
640 2014-10-14 David S. Miller <davem@davemloft.net>
642 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
643 Define at __kernel_time_t, as needed for sparc.
644 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
645 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
646 (__sanitizer): Define struct___old_kernel_stat_sz,
647 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
648 (__sanitizer_ipc_perm): Adjust for sparc targets.
649 (__sanitizer_shmid_ds): Likewsie.
650 (__sanitizer_sigaction): Likewise.
651 (IOC_SIZE): Likewsie.
653 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
655 * configure.tgt: Enable build on powerpc*le-*-linux.
657 2015-02-23 Jakub Jelinek <jakub@redhat.com>
660 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
661 support until it is rewritten upstream.
663 2015-01-26 Matthias Klose <doko@ubuntu.com>
665 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
666 * configure: Regenerate.
668 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
670 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
671 * configure: Regenerate.
672 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
674 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
676 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
677 * configure: Regenerate.
678 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
679 (libtsan_la_DEPENDENCIES): Likewise.
680 * Makefile.in: Regenerate.
681 * asan/Makefile.in: Regenerate.
682 * interception/Makefile.in: Regenerate.
683 * libbacktrace/Makefile.in: Regenerate.
684 * lsan/Makefile.in: Regenerate.
685 * sanitizer_common/Makefile.in: Regenerate.
686 * tsan/Makefile.in: Regenerate.
687 * ubsan/Makefile.in: Regenerate.
689 2015-01-22 Jakub Jelinek <jakub@redhat.com>
691 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
693 2015-01-21 Jakub Jelinek <jakub@redhat.com>
696 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
698 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
699 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
701 2015-01-20 Jakub Jelinek <jakub@redhat.com>
704 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
706 2015-01-19 Jakub Jelinek <jakub@redhat.com>
709 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
712 2015-01-13 Jakub Jelinek <jakub@redhat.com>
714 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
715 upstream r224518 and r224519.
716 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
719 2014-12-16 Jakub Jelinek <jakub@redhat.com>
721 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
722 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
723 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
726 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
729 * configure: Regenerated.
731 2014-11-21 Jakub Jelinek <jakub@redhat.com>
734 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
735 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
737 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
739 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
740 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
741 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
742 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
743 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
744 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
745 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
746 * sanitizer_common/Makefile.in: Regenerate.
747 * asan/Makefile.in: Ditto.
748 * lsan/Makefile.in: Ditto.
749 * interception/Makefile.in: Ditto.
750 * tsan/Makefile.in: Ditto.
751 * libbacktrace/Makefile.in: Ditto.
752 * ubsan/Makefile.in: Ditto.
754 2014-11-13 Kostya Serebryany <kcc@google.com>
756 * All source files: Merge from upstream r221802.
757 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
758 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
759 with 'start' to follow the new interface.
760 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
761 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
762 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
763 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
764 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
766 (AM_CXXFLAGS): Added -std=c++11.
767 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
768 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
769 * asan/Makefile.in: Regenerate.
770 * interception/Makefile.in: Regenerate.
771 * libbacktrace/Makefile.in: Regenerate.
772 * lsan/Makefile.in: Regenerate.
773 * sanitizer_common/Makefile.in: Regenerate.
774 * tsan/Makefile.in: Regenerate.
775 * ubsan/Makefile.in: Regenerate.
777 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
780 * configure: Regenerate.
782 2014-10-16 Martin Liska <mliska@suse.cz>
784 * asan/Makefile.am: IPA ICF pass is disabled.
785 * asan/Makefile.in: Likewise.
787 2014-10-14 David S. Miller <davem@davemloft.net>
789 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
790 Define at __kernel_time_t, as needed for sparc.
791 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
792 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
793 (__sanitizer): Define struct___old_kernel_stat_sz,
794 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
795 (__sanitizer_ipc_perm): Adjust for sparc targets.
796 (__sanitizer_shmid_ds): Likewsie.
797 (__sanitizer_sigaction): Likewsie.
798 (IOC_SIZE): Likewsie.
800 2014-10-14 Jakub Jelinek <jakub@redhat.com>
802 * ubsan/Makefile.am (DEFS): Add -DPIC.
803 * ubsan/Makefile.in: Regenerated.
805 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
807 * configure.tgt: Enable build on aarch64*-linux.
809 2014-09-19 Kostya Serebryany <kcc@google.com>
811 * All source files: Merge from upstream r218156.
812 * asan/Makefile.am (asan_files): Added new files.
813 * asan/Makefile.in: Regenerate.
814 * ubsan/Makefile.am (ubsan_files): Added new files.
815 * ubsan/Makefile.in: Regenerate.
816 * tsan/Makefile.am (tsan_files): Added new files.
817 * tsan/Makefile.in: Regenerate.
818 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
820 * sanitizer_common/Makefile.in: Regenerate.
821 * asan/libtool-version: Bump the libasan SONAME.
823 2014-09-10 Jakub Jelinek <jakub@redhat.com>
825 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
826 upstream r215485, r217389, r217391 and r217400.
828 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
830 * sanitizer_common/sanitizer_common_interceptors.inc:
831 Cherry pick upstream r211008.
833 2014-06-11 Richard Biener <rguenther@suse.de>
835 * asan/asan_linux.cc: Cherry pick upstream r210012.
837 2014-05-30 Jakub Jelinek <jakub@redhat.com>
839 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
841 * sanitizer_common/sanitizer_common.h: Likewise.
842 * asan/asan_mapping.h: Likewise.
843 * asan/asan_linux.cc: Likewise.
844 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
845 * sanitizer_common/sanitizer_allocator.h: Likewise.
847 2014-05-23 Marek Polacek <polacek@redhat.com>
849 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
850 floating-point types.
852 2014-05-22 Kostya Serebryany <kcc@google.com>
854 * All source files: Merge from upstream r209283.
855 * asan/Makefile.am (asan_files): Added new files.
856 * asan/Makefile.in: Regenerate.
857 * tsan/Makefile.am (tsan_files): Added new files.
858 * tsan/Makefile.in: Regenerate.
859 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
861 * sanitizer_common/Makefile.in: Regenerate.
863 2014-05-14 Yury Gribov <y.gribov@samsung.com>
866 * Makefile.am (nodist_saninclude_HEADERS): Install
868 * Makefile.in: Regenerate.
870 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
873 Add ../../libbacktrace/sort.c.
874 * libbacktrace/Makefile.in: Regenerate.
875 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
877 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
879 * configure.tgt: Unsupported for little endian PowerPC for now.
881 2014-02-04 Jakub Jelinek <jakub@redhat.com>
884 * tsan/tsan_flags.cc (__tsan_default_options): Add
885 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
886 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
889 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
890 sanitizer_atomic.h and unistd.h.
891 (kThreadDescriptorSize): Made static, remove initializer and const,
892 change type to atomic_uintptr_t.
893 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
894 query glibc version, compute kThreadDescriptorSize depending on
895 glibc version minor number.
896 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
897 kThreadDescriptorSize directly.
899 2014-01-23 Yury Gribov <y.gribov@samsung.com>
900 Jakub Jelinek <jakub@redhat.com>
903 * configure.ac: Check for missing syscalls.
904 * Makefile.am: Likewise.
905 * configure: Regenerate.
906 * Makefile.in: Regenerate.
908 2014-01-09 Jakub Jelinek <jakub@redhat.com>
910 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
911 (LibbacktraceSymbolizer::Demangle): New declaration.
912 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
913 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
915 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
916 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
917 (struct CplusV3DemangleData): New type.
918 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
919 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
920 SymbolizeDataCallback): Use CplusV3Demangle.
921 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
922 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
923 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
924 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
925 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
926 cplus_demangle_init_info, cplus_demangle_mangled_name,
927 cplus_demangle_operators, cplus_demangle_print,
928 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
929 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
930 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
932 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
933 (memcmp, strncmp): Redefine.
934 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
935 ../../libiberty/cp-demangle.c.
936 * libbacktrace/bridge.cc (__asan_internal_memcmp,
937 __asan_internal_strncmp): New functions.
938 * sanitizer_common/Makefile.in: Regenerated.
939 * libbacktrace/Makefile.in: Regenerated.
940 * configure: Regenerated.
941 * configure.ac: Regenerated.
942 * config.h.in: Regenerated.
944 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
945 -isystem $(top_srcdir)/include/system.
946 * sanitizer_common/Makefile.in: Regenerated.
947 * include/system/linux/aio_abi.h: New header.
948 * include/system/linux/mroute.h: New header.
949 * include/system/linux/mroute6.h: New header.
950 * include/system/linux/perf_event.h: New header.
951 * include/system/linux/types.h: New header.
954 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
955 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
956 and -I/-include flags.
957 * lsan/Makefile.am (liblsan_la_LIBADD): Add
958 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
959 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
960 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
961 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
962 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
964 * README.gcc: Document that also lsan and ubsan are
965 maintained in compiler-rt upstream.
966 * libbacktrace/Makefile.am: New file.
967 * libbacktrace/backtrace-rename.h: New file.
968 * libbacktrace/backtrace-supported.h.in: New file.
969 * libbacktrace/bridge.cc: New file.
970 * configure.ac: Add tests needed for libbacktrace build
972 * sanitizer_common/Makefile.in: Regenerated.
973 * lsan/Makefile.in: Regenerated.
974 * tsan/Makefile.in: Regenerated.
975 * ubsan/Makefile.in: Regenerated.
976 * libbacktrace/Makefile.in: Generated.
977 * config.h.in: Regenerated.
978 * configure: Regenerated.
979 * Makefile.in: Regenerated.
980 * interception/Makefile.in: Regenerated.
981 * asan/Makefile.in: Regenerated.
982 * aclocal.m4: Regenerated.
984 2013-12-19 Kostya Serebryany <kcc@google.com>
986 * sanitizer_common/sanitizer_platform_limits_posix.cc:
987 workaround for missing definition of EOWNERDEAD, backport
988 from upstream r196779.
990 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
992 * sanitizer_common/sanitizer_platform_limits_posix.h
993 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
994 (__sanitizer_clock_t): Use long long for x32.
996 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
998 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
999 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1000 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1002 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1004 * configure.ac (link_sanitizer_common): Add -lm.
1005 * configure: Regenerated.
1007 2013-12-05 Kostya Serebryany <kcc@google.com>
1009 * All source files: Merge from upstream r196489.
1010 * merge.sh: Add *.S to the list of merged files.
1012 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1015 * Makefile.am (gcc_version): Added gcc_version.
1016 * Makefile.in: Regenerate.
1018 2013-12-05 Kostya Serebryany <kcc@google.com>
1020 * All source files: Merge from upstream r196090.
1021 * tsan/Makefile.am (tsan_files): Added new files.
1022 * tsan/Makefile.in: Regenerate.
1023 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1024 * sanitizer_common/Makefile.in: Regenerate.
1025 * lsan/Makefile.am (lsan_files): Added new files.
1026 * lsan/Makefile.in: Regenerate.
1028 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1029 Yury Gribov <y.gribov@samsung.com>
1032 * libsanitizer.spec.in: Add spec file to hold link flags for
1033 various sanitizer libs.
1034 * configure.ac: Check whether clock_* routines come from librt.
1035 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1037 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1038 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1039 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1040 * asan/Makefile.in: Regenerate.
1041 * interception/Makefile.in: Regenerate.
1042 * lsan/Makefile.in: Regenerate.
1043 * sanitizer_common/Makefile.in: Regenerate.
1044 * tsan/Makefile.in: Regenerate.
1045 * ubsan/Makefile.in: Regenerate.
1046 * Makefile.in: Regenerate.
1047 * configure: Regenerate.
1049 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1050 Yury Gribov <y.gribov@samsung.com>
1053 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1055 * ubsan/Makefile.in: Regenerated.
1057 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1060 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1061 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1062 * configure: Regenerated.
1063 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1064 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1065 * lsan/Makefile.in: Regenerated.
1067 2013-11-22 Mike Stump <mikestump@comcast.net>
1069 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1070 change from upstream to fix build.
1072 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1075 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1076 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1077 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1078 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1079 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1080 * asan/Makefile.in: Regenerate.
1081 * interception/Makefile.in: Regenerate.
1082 * tsan/Makefile.in: Regenerate.
1083 * lsan/Makefile.in: Regenerate.
1084 * sanitizer_common/Makefile.in: Regenerate.
1086 2013-11-15 Kostya Serebryany <kcc@google.com>
1089 Backport from upstream revision 194573
1090 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1091 back to the original functions in the common libsanitizer
1092 interceptors and the __cxa_atexit() interceptor on Darwin.
1094 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1097 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1098 ifdef out more source.
1100 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1102 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1103 ifdef out almost the whole source.
1104 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1106 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1109 * sanitizer_common/sanitizer_platform_limits_posix.cc
1110 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1113 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1116 * sanitizer_common/sanitizer_platform_limits_linux.cc
1117 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1119 * sanitizer_common/sanitizer_platform_limits_posix.h
1120 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1122 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1124 (__sanitizer___kernel_gid_t): Likewise.
1125 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1128 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1131 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1132 2 64-bit integers to save and restore fn and arg. Properly load
1133 newtls/child_tidptr into r8/r10.
1135 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1138 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1139 internal_munmap, internal_open, internal_read, internal_write,
1140 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1141 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1142 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1143 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1145 2013-11-04 Kostya Serebryany <kcc@google.com>
1147 * All source files: Merge from upstream r191666.
1148 * merge.sh: Added lsan.
1149 * configure.ac (AC_CONFIG_FILES): Added lsan.
1150 * Makefile.am (SUBDIRS): Added lsan.
1151 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1152 * asan/Makefile.am (asan_files): Added new files.
1153 (libasan_la_LIBADD): Added a dependency on lsan.
1154 * lsan/Makefile.am: New file.
1155 * asan/Makefile.in: Regenerate.
1156 * lsan/Makefile.in: Regenerate.
1157 * Makefile.in: Regenerate.
1158 * configure: Regenerate.
1159 * sanitizer_common/Makefile.in: Regenerate.
1161 2013-09-20 Alan Modra <amodra@gmail.com>
1163 * configure: Regenerate.
1165 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1167 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1168 libinterception.la for Darwin.
1169 * ubsan/Makefile.in: Regenerate.
1171 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1173 * Makefile.am (SUBDIRS): Add ubsan.
1174 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1175 * merge.sh: Merge ubsan.
1176 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1177 * sanitizer_common/sanitizer_printf.cc: Likewise.
1178 * sanitizer_common/sanitizer_common.h: Likewise.
1179 * ubsan: New directory. Import ubsan runtime from llvm.
1181 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1183 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1184 Cherry pick upstream r182922.
1186 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1188 * configure.tgt: Add ARM pattern.
1190 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1193 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1194 * Makefile.in: Regenerated.
1195 * asan/Makefile.in: Regenerated.
1196 * interception/Makefile.in: Regenerated.
1197 * sanitizer_common/Makefile.in: Regenerated.
1198 * tsan/Makefile.in: Regenerated.
1200 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1202 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1203 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1206 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1209 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1211 (libasan_preinit.o): Depend on asan_preinit.o.
1212 * asan/Makefile.in: Regenerated.
1213 * asan/asan_preinit.cc: New file, synced from upstream.
1214 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1216 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1218 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1219 dynamic/asan_interceptors_dynamic.cc.
1220 * asan/Makefile.in: Regenerated.
1221 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1223 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1225 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1226 defined. Add used attribute.
1228 2013-02-21 Kostya Serebryany <kcc@google.com>
1230 * All source files: Merge from upstream r175733.
1231 * sanitizer_common/Makefile.am: Added a new file.
1232 * sanitizer_common/Makefile.in: Regenerated.
1234 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1237 * interception/interception.h (OFF_T): Merged from upstream
1240 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1242 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1244 2013-02-13 Kostya Serebryany <kcc@google.com>
1247 * All source files: Merge from upstream r175049.
1248 * interception/Makefile.am: added include path.
1249 * interception/Makefile.in: Regenerated.
1251 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1253 * configure.tgt: Disable build on darwin9 and earlier.
1255 2013-01-23 Kostya Serebryany <kcc@google.com>
1258 * All source files: Merge from upstream r173241.
1259 * merge.sh: Support merging .inc files.
1261 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1263 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1264 -Wno-c99-extensions.
1265 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1266 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1267 * sanitizer_common/Makefile.in: Regenerated.
1268 * interception/Makefile.in: Regenerated.
1269 * asan/Makefile.in: Regenerated.
1271 2013-01-10 Wei Mi <wmi@google.com>
1274 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1275 * tsan/Makefile.in: Regenerated.
1276 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1278 2013-01-10 Kostya Serebryany <kcc@google.com>
1280 * All source files: Merge from upstream r171973.
1281 * sanitizer_common/Makefile.am: Added new files.
1282 * asan/Makefile.am: Likewise.
1283 * tsan/Makefile.am: Likewise.
1284 * sanitizer_common/Makefile.in: Regenerated.
1285 * asan/Makefile.in: Likewise.
1286 * tsan/Makefile.in: Likewise.
1288 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1290 * asan/Makefile.am (libasan_la_LIBADD): Replace
1291 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1292 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1293 * Makefile.in: Regenerated.
1294 * configure: Likewise.
1295 * asan/Makefile.in: Likewise.
1296 * interception/Makefile.in: Likewise.
1297 * sanitizer_common/Makefile.in: Likewise.
1298 * tsan/Makefile.in: Likewise.
1300 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1302 * Makefile.am (AM_MAKEFLAGS): Restored.
1303 * interception/Makefile.am: Likewise.
1304 * sanitizer_common/Makefile.am: Likewise.
1305 * tsan/Makefile.am: Likewise.
1306 * Makefile.in: Regenerated.
1307 * asan/Makefile.in: Likewise.
1308 * interception/Makefile.in: Likewise.
1309 * sanitizer_common/Makefile.in: Likewise.
1310 * tsan/Makefile.in: Likewise.
1312 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1314 * Makefile.am (MAKEOVERRIDES): Restored.
1315 * asan/Makefile.am: Likewise.
1316 * interception/Makefile.am: Likewise.
1317 * sanitizer_common/Makefile.am: Likewise.
1318 * tsan/Makefile.am: Likewise.
1319 * Makefile.in: Regenerated.
1320 * asan/Makefile.in: Likewise.
1321 * interception/Makefile.in: Likewise.
1322 * sanitizer_common/Makefile.in: Likewise.
1323 * tsan/Makefile.in: Likewise.
1325 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1327 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1328 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1329 * Makefile.in: Regenerated.
1330 * configure: Likewise.
1331 * asan/Makefile.in: Likewise.
1332 * interception/Makefile.in: Likewise.
1333 * sanitizer_common/Makefile.in: Likewise.
1334 * tsan/Makefile.in: Likewise.
1336 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1338 * Makefile.am (AM_MAKEFLAGS): Removed.
1339 (MAKEOVERRIDES): Likewise.
1340 * asan/Makefile.am: Likewise.
1341 * interception/Makefile.am: Likewise.
1342 * sanitizer_common/Makefile.am: Likewise.
1343 * tsan/Makefile.am: Likewise.
1344 * Makefile.in: Regenerated.
1345 * asan/Makefile.in: Likewise.
1346 * interception/Makefile.in: Likewise.
1347 * sanitizer_common/Makefile.in: Likewise.
1348 * tsan/Makefile.in: Likewise.
1350 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1353 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1354 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1355 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1356 (AM_MAKEFLAGS): Remove CC and CXX.
1357 * interception/Makefile.am: Likewise.
1358 * sanitizer_common/Makefile.am: Likewise.
1359 * tsan/Makefile.am: Likewise.
1360 * Makefile.in: Regenerated.
1361 * aclocal.m4: Likewise.
1362 * configure: Likewise.
1363 * asan/Makefile.in: Likewise.
1364 * interception/Makefile.in: Likewise.
1365 * sanitizer_common/Makefile.in: Likewise.
1366 * tsan/Makefile.in: Likewise.
1368 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1370 * configure.tgt: Enable build on powerpc*-linux.
1372 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1375 * configure.ac: Set enable_static=no on darwin.
1376 * configure: Regenerated.
1378 2012-12-06 Kostya Serebryany <kcc@google.com>
1380 * All files: Merge from upstream r169392.
1382 2012-12-05 Kostya Serebryany <kcc@google.com>
1384 * All files: Merge from upstream r169371.
1386 2012-12-04 Kostya Serebryany <kcc@google.com>
1387 Jack Howarth <howarth@bromo.med.uc.edu>
1390 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1391 * Makefile.am: Don't build interception subdir when
1392 USING_MAC_INTERPOSE defined.
1393 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1394 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1395 Compile asan_interceptors_dynamic.cc but not libinterception
1396 when USING_MAC_INTERPOSE defined.
1397 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1398 * configure: Regenerated.
1399 * Makefile.in: Likewise.
1400 * asan/Makefile.in: Likewise.
1401 * interception/Makefile.in: Likewise.
1402 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1403 * asan/asan_mac.cc: Likewise.
1404 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1405 and use MISSING_BLOCKS_SUPPORT.
1406 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1407 * interception/mach_override/LICENSE.txt: Remove unused file.
1408 * interception/mach_override/mach_override.c: Likewise.
1409 * interception/mach_override/mach_override.h: Likewise.
1410 * interception/mach_override: Remove unused directory.
1412 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1414 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1415 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1416 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1418 (AM_MAKEFLAGS): Restore CC and CXX.
1419 * interception/Makefile.am: Likewise.
1420 * sanitizer_common/Makefile.am: Likewise.
1421 * tsan/Makefile.am: Likewise.
1422 * Makefile.in: Regenerated.
1423 * aclocal.m4: Likewise.
1424 * configure: Likewise.
1425 * asan/Makefile.in: Likewise.
1426 * interception/Makefile.in: Likewise.
1427 * sanitizer_common/Makefile.in: Likewise.
1428 * tsan/Makefile.in: Likewise.
1430 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1432 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1433 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1434 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1436 (AM_MAKEFLAGS): Remove CC and CXX.
1437 * interception/Makefile.am: Likewise.
1438 * sanitizer_common/Makefile.am: Likewise.
1439 * tsan/Makefile.am: Likewise.
1440 * Makefile.in: Regenerated.
1441 * aclocal.m4: Likewise.
1442 * configure: Likewise.
1443 * asan/Makefile.in: Likewise.
1444 * interception/Makefile.in: Likewise.
1445 * sanitizer_common/Makefile.in: Likewise.
1446 * tsan/Makefile.in: Likewise.
1448 2012-11-27 Kostya Serebryany <kcc@google.com>
1450 * All files: Merge from upstream r168699.
1452 2012-11-24 Kostya Serebryany <kcc@google.com>
1453 Jack Howarth <howarth@bromo.med.uc.edu>
1455 * interception/mach_override/mach_override.c: Migrate from llvm.
1456 * interception/mach_override/mach_override.h: Likewise.
1457 * interception/mach_override/LICENSE.txt: Likewise.
1458 * configure.tgt: Add darwin to supported targets.
1459 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1460 * interception/Makefile.am: Compile mach_override.c when
1461 USING_MACH_OVERRIDE defined.
1462 * configure: Regenerated.
1463 * interception/Makefile.in: Likewise.
1465 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1468 * tsan/Makefile.am (gcc_version): New.
1469 * tsan/Makefile.in: Regenerated.
1471 2012-11-23 Kostya Serebryany <kcc@google.com>
1473 * merge.sh: Support tsan, support added/removed files.
1474 * tsan/Makefile.am: Remove tsan_printf.cc.
1475 * tsan/Makefile.in: Regenerated.
1476 * other files: Merge from upstream r168514.
1478 2012-11-23 Kostya Serebryany <kcc@google.com>
1480 * merge.sh: New file.
1482 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1484 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1485 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1486 automake conditional instead of !MULTISUBDIR32.
1487 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1488 for 64-bit multilib.
1489 * configure.ac: Check for void * size, source in configure.tgt,
1490 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1491 * configure: Regenerated.
1492 * Makefile.in: Regenerated.
1493 * tsan/Makefile.in: Regenerated.
1495 2012-11-22 Wei Mi <wmi@google.com>
1497 * tsan: New directory. Import tsan runtime from llvm.
1498 * configure.ac: Add 64 bits tsan build.
1499 * Makefile.am: Likewise.
1500 * configure: Regenerated.
1501 * Makefile.in: Likewise.
1503 2012-11-21 Kostya Serebryany <kcc@google.com>
1505 * README.gcc: Extend the README.gcc with mode details.
1507 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1509 * sanitizer_common/sanitizer_linux.cc
1510 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1511 (internal_mmap): Use it.
1512 (internal_filesize): Likewise.
1514 2012-11-16 Tom Tromey <tromey@redhat.com>
1516 * configure.ac: Invoke AM_MAINTAINER_MODE.
1517 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1518 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1520 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1523 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1524 for hardware pointer.
1525 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1526 Replace uptr with uhwptr for stack unwind.
1528 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1530 * configure.tgt: Enable build on sparc linux.
1532 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1534 * configure.ac: Properly set MULTISUBDIR.
1535 * asan/Makefile.am (gcc_version): New.
1536 * interception/Makefile.am (gcc_version): Likewise.
1537 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1538 * configure: Regenerated.
1539 * asan/Makefile.in: Likewise.
1540 * interception/Makefile.in: Likewise.
1541 * sanitizer_common/Makefile.in: Likewise.
1543 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1546 * configure.ac (--enable-version-specific-runtime-libs): New option.
1547 (AC_CANONICAL_SYSTEM): New.
1548 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1549 (toolexecdir): Support multilib.
1550 (toolexeclibdir): Likewise.
1551 (multilib_arg): New.
1552 * Makefile.in: Regenerated.
1553 * aclocal.m4: Likewise.
1554 * configure: Likewise.
1555 * asan/Makefile.in: Likewise.
1556 * interception/Makefile.in: Likewise.
1557 * sanitizer_common/Makefile.in: Likewise.
1559 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1562 Backport from upstream revision 167883
1563 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1564 __x86_64__ instead of __WORDSIZE.
1565 (internal_filesize): Likwise.
1567 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1569 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1570 * Makefile.in: Regenerated.
1571 * configure: Likewise.
1573 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1576 * acinclude.m4: New file.
1577 * Makefile.am (ACLOCAL_AMFLAGS): New.
1578 * configure.ac (AC_PREREQ): Set to 2.64.
1579 (AC_CONFIG_AUX_DIR): Set to "..".
1580 * Makefile.in: Regenerated.
1581 * aclocal.m4: Likewise.
1582 * configure: Likewise.
1583 * asan/Makefile.in: Likewise.
1584 * interception/Makefile.in: Likewise.
1585 * sanitizer_common/Makefile.in: Likewise.
1587 * config.guess: Removed.
1588 * config.sub: Likewise.
1589 * depcomp: Likewise.
1590 * install-sh: Likewise.
1591 * ltmain.sh: Likewise.
1592 * missing: Likewise.
1594 2012-11-13 Richard Henderson <rth@redhat.com>
1596 * configure.tgt: New file.
1598 2012-11-12 David S. Miller <davem@davemloft.net>
1600 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1602 2012-10-29 Wei Mi <wmi@google.com>
1604 Initial checkin: migrate asan runtime from llvm.