1 2017-08-07 Jakub Jelinek <jakub@redhat.com>
3 * include/system/sys/ptrace.h: New file.
5 2017-07-28 Jakub Jelinek <jakub@redhat.com>
8 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
9 * ubsan/ubsan_checks.inc: Likewise.
10 * ubsan/ubsan_handlers.h: Likewise.
12 2017-07-14 Jakub Jelinek <jakub@redhat.com>
15 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
16 * sanitizer_common/sanitizer_linux.cc: Likewise.
17 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
18 * tsan/tsan_platform_linux.cc: Likewise.
20 2017-04-06 Martin Liska <mliska@suse.cz>
23 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
24 Cherry-pick upstream r299036.
26 2017-03-22 Jakub Jelinek <jakub@redhat.com>
29 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
31 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
34 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
37 2017-02-11 Jakub Jelinek <jakub@redhat.com>
40 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
42 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
44 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
46 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
49 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
52 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
53 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
55 2017-01-31 Jakub Jelinek <jakub@redhat.com>
57 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
59 2017-01-24 Jakub Jelinek <jakub@redhat.com>
61 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
64 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
65 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
67 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
68 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
69 * tsan/tsan_ppc_regs.h: Likewise.
70 * tsan/tsan_rtl_aarch64.S: Likewise.
71 * tsan/tsan_rtl_mips64.S: Likewise.
72 * tsan/tsan_rtl_ppc64.S: Likewise.
74 2017-01-21 Jakub Jelinek <jakub@redhat.com>
77 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
78 instead of cat to get version from BASE-VER file.
79 * asan/Makefile.am (gcc_version): Likewise.
80 * ubsan/Makefile.am (gcc_version): Likewise.
81 * sanitizer_common/Makefile.am (gcc_version): Likewise.
82 * lsan/Makefile.am (gcc_version): Likewise.
83 * tsan/Makefile.am (gcc_version): Likewise.
84 * interception/Makefile.in: Regenerated.
85 * asan/Makefile.in: Regenerated.
86 * ubsan/Makefile.in: Regenerated.
87 * sanitizer_common/Makefile.in: Regenerated.
88 * lsan/Makefile.in: Regenerated.
89 * tsan/Makefile.in: Regenerated.
91 2017-01-17 Jakub Jelinek <jakub@redhat.com>
94 * configure.ac: Add GCC_BASE_VER.
95 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
96 get version from BASE-VER file.
97 * libbacktrace/Makefile.in: Regenerated.
98 * interception/Makefile.in: Regenerated.
99 * asan/Makefile.in: Regenerated.
100 * ubsan/Makefile.in: Regenerated.
101 * configure: Regenerated.
102 * sanitizer_common/Makefile.in: Regenerated.
103 * lsan/Makefile.in: Regenerated.
104 * Makefile.in: Regenerated.
105 * tsan/Makefile.in: Regenerated.
107 2017-01-10 James Clarke <jrtc27@jrtc27.com>
110 * sanitizer_common/sanitizer_platform_limits_posix.h
111 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
113 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
115 * LOCAL_PATCHES: Add revision.
117 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
120 * sanitizer_common/sanitizer_platform_limits_posix.h
121 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
124 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
126 * LOCAL_PATCHES: Remove r242480.
128 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
130 * LOCAL_PATCHES: Add revision.
132 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
135 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
136 compiler supports blocks extension.
138 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
140 * LOCAL_PATCHES: Add revision.
142 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
145 * tsan/tsan_rtl.cc: Add missing attribute.
147 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
149 * LOCAL_PATCHES: New file.
151 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
154 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
155 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
156 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
157 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
159 (__ubsan_handle_cfi_bad_type_abort): Likewise.
160 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
161 (__ubsan_handle_cfi_bad_type): Export function.
162 (__ubsan_handle_cfi_bad_type_abort): Likewise.
163 * HOWTO_MERGE: Update documentation.
165 2016-11-15 Matthias Klose <doko@ubuntu.com>
167 * configure: Regenerate.
169 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
171 * asan/asan_globals.cc (RegisterGlobal): Do not call
172 CheckODRViolationViaPoisoning.
173 (CheckODRViolationViaPoisoning): Remove.
175 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
177 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
178 compiled code with GCC when extracting the caller PC for ARM if no
179 valid frame pointer is available.
181 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
185 2014-10-14 David S. Miller <davem@davemloft.net>
187 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
188 Define at __kernel_time_t, as needed for sparc.
189 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
190 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
191 (__sanitizer): Define struct___old_kernel_stat_sz,
192 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
193 (__sanitizer_ipc_perm): Adjust for sparc targets.
194 (__sanitizer_shmid_ds): Likewsie.
195 (__sanitizer_sigaction): Likewise.
196 (IOC_SIZE): Likewsie.
198 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
200 * All source files: Merge from upstream 285547.
201 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
203 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
204 * asan/Makefile.am (asan_files): Add new files.
205 * asan/Makefile.in: Regenerate.
206 * ubsan/Makefile.in: Likewise.
207 * lsan/Makefile.in: Likewise.
208 * tsan/Makefile.am (tsan_files): Add new files.
209 * tsan/Makefile.in: Regenerate.
210 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
211 (EXTRA_libsanitizer_common_la_SOURCES): Define.
212 (libsanitizer_common_la_LIBADD): Likewise.
213 (libsanitizer_common_la_DEPENDENCIES): Likewise.
214 * sanitizer_common/Makefile.in: Regenerate.
215 * interception/Makefile.in: Likewise.
216 * libbacktace/Makefile.in: Likewise.
217 * Makefile.in: Likewise.
218 * configure: Likewise.
219 * merge.sh: Handle builtins/assembly.h merging.
220 * builtins/assembly.h: New file.
221 * asan/libtool-version: Bump the libasan SONAME.
223 2016-09-21 Jakub Jelinek <jakub@redhat.com>
226 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
228 2016-09-05 Jakub Jelinek <jakub@redhat.com>
231 * asan/asan_globals.cc: Cherry-pick upstream r280657.
233 2016-08-12 Jakub Jelinek <jakub@redhat.com>
236 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
237 * tsan/tsan_rtl_aarch64.S: Likewise.
239 2016-07-23 Alan Modra <amodra@gmail.com>
241 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
242 * configure.ac: Don't substitute OBSTACK_DEFS.
243 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
244 * tsan/Makefile.am: Likewise.
245 * configure: Regenerate.
246 * Makefile.in: Regenerate.
247 * asan/Makefile.in: Regenerate.
248 * interception/Makefile.in: Regenerate.
249 * libbacktrace/Makefile.in: Regenerate.
250 * lsan/Makefile.in: Regenerate.
251 * sanitizer_common/Makefile.in: Regenerate.
252 * tsan/Makefile.in: Regenerate.
253 * ubsan/Makefile.in: Regenerate.
255 2016-05-17 Jakub Jelinek <jakub@redhat.com>
258 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
261 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
264 * asan/asan_mac.cc: Cherry pick upstream r266868.
266 2016-01-19 Jakub Jelinek <jakub@redhat.com>
269 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
270 InitializeInterceptors): Cherry pick upstream r258119.
272 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
274 * configure.ac: Replace the hard-coded -ldl requirement for
275 link_sanitizer_common with a configure time check for -ldl.
276 * configure: Regenerate.
278 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
280 * include/system/linux/asm/ptrace.h: Move to ...
281 * include/system/asm/ptrace.h: ... this.
283 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
285 * include/system/linux/asm/ptrace.h: New header.
287 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
289 * All source files: Merge from upstream r253555.
290 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
291 dependences for TSan for aarch64-*-linux* targets.
292 * tsan/Makefile.am: Add new source files.
293 * configure: Regenerate.
294 * tsan/Makefile.in: Likewise.
296 2015-11-09 Alan Modra <amodra@gmail.com>
298 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
299 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
301 * configure.ac: Substitute OBSTACK_DEFS.
302 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
303 * tsan/Makefile.am: Likewise.
304 * configure: Regenerate.
305 * Makefile.in: Regenerate.
306 * asan/Makefile.in: Regenerate.
307 * interception/Makefile.in: Regenerate.
308 * libbacktrace/Makefile.in: Regenerate.
309 * lsan/Makefile.in: Regenerate.
310 * sanitizer_common/Makefile.in: Regenerate.
311 * tsan/Makefile.in: Regenerate.
312 * ubsan/Makefile.in: Regenerate.
314 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
317 * configure.ac (link_sanitizer_common): Link against librt only if it
318 contains shm_open, required by sanitizers.
319 (CXX_ABI_NEEDED): Remove variable.
320 * configure: Regenerate.
321 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
322 * ubsan/Makefile.in: Regenerate.
324 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
326 * HOWTO_MERGE: New file.
328 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
330 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
331 compiled code with GCC when extracting the caller PC for ARM if no
332 valid frame pointer is available.
334 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
338 2015-02-20 Jakub Jelinek <jakub@redhat.com>
340 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
341 support until it is rewritten upstream.
343 * c-c++-common/asan/pr63888.c: New test.
345 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
349 2014-10-14 David S. Miller <davem@davemloft.net>
351 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
352 Define at __kernel_time_t, as needed for sparc.
353 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
354 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
355 (__sanitizer): Define struct___old_kernel_stat_sz,
356 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
357 (__sanitizer_ipc_perm): Adjust for sparc targets.
358 (__sanitizer_shmid_ds): Likewsie.
359 (__sanitizer_sigaction): Likewise.
360 (IOC_SIZE): Likewsie.
362 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
364 * All source files: Merge from upstream r250806.
365 * configure.ac (link_sanitizer_common): Add -lrt flag.
366 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
367 Set USE_CXX_ABI_FLAG=true for darwin.
368 * asan/Makefile.am (asan_files): Add new files.
369 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
370 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
371 * asan/Makefile.in: Regenerate.
372 * ubsan/Makefile.am (ubsan_files): Add new files.
373 (DEFS): Add DCAN_SANITIZE_UB=1.
374 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
375 * ubsan/Makefile.in: Regenerate.
376 * tsan/Makefile.am (tsan_files): Add new files.
377 (DEFS): Add DCAN_SANITIZE_UB=0.
378 * tsan/Makefile.in: Regenerate.
379 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
380 * sanitizer_common/Makefile.in: Regenerate.
381 * asan/libtool-version: Bump the libasan SONAME.
383 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
386 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
388 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
391 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
394 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
397 * sanitizer_common/sanitizer_stacktrace.cc
398 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
399 find the link register at an offset of 16 from the base of the
400 caller's stack frame.
402 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
404 * Makefile.in: Regenerated with automake-1.11.6.
405 * aclocal.m4: Likewise.
406 * asan/Makefile.in: Likewise.
407 * configure: Likewise.
408 * interception/Makefile.in: Likewise.
409 * libbacktrace/Makefile.in: Likewise.
410 * lsan/Makefile.in: Likewise.
411 * sanitizer_common/Makefile.in: Likewise.
412 * tsan/Makefile.in: Likewise.
413 * ubsan/Makefile.in: Likewise.
415 2015-04-13 Yury Gribov <y.gribov@samsung.com>
418 * sanitizer_common/sanitizer_platform.h: Cherry pick
420 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
421 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
422 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
423 * Makefile.in: Regenerate.
424 * asan/Makefile.in: Regenerate.
425 * config.h.in: Regenerate.
426 * configure: Regenerate.
427 * interception/Makefile.in: Regenerate.
428 * libbacktrace/Makefile.in: Regenerate.
429 * lsan/Makefile.in: Regenerate.
430 * sanitizer_common/Makefile.in: Regenerate.
431 * tsan/Makefile.in: Regenerate.
432 * ubsan/Makefile.in: Regenerate.
435 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
438 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
440 * sanitizer_common/sanitizer_platform.h: Likewise.
441 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
443 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
445 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
446 upstream 224508 and 224755.
448 2015-03-09 Jakub Jelinek <jakub@redhat.com>
452 2014-10-14 David S. Miller <davem@davemloft.net>
454 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
455 Define at __kernel_time_t, as needed for sparc.
456 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
457 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
458 (__sanitizer): Define struct___old_kernel_stat_sz,
459 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
460 (__sanitizer_ipc_perm): Adjust for sparc targets.
461 (__sanitizer_shmid_ds): Likewsie.
462 (__sanitizer_sigaction): Likewise.
463 (IOC_SIZE): Likewsie.
465 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
467 * configure.tgt: Enable build on powerpc*le-*-linux.
469 2015-02-23 Jakub Jelinek <jakub@redhat.com>
472 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
473 support until it is rewritten upstream.
475 2015-01-26 Matthias Klose <doko@ubuntu.com>
477 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
478 * configure: Regenerate.
480 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
482 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
483 * configure: Regenerate.
484 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
486 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
488 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
489 * configure: Regenerate.
490 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
491 (libtsan_la_DEPENDENCIES): Likewise.
492 * Makefile.in: Regenerate.
493 * asan/Makefile.in: Regenerate.
494 * interception/Makefile.in: Regenerate.
495 * libbacktrace/Makefile.in: Regenerate.
496 * lsan/Makefile.in: Regenerate.
497 * sanitizer_common/Makefile.in: Regenerate.
498 * tsan/Makefile.in: Regenerate.
499 * ubsan/Makefile.in: Regenerate.
501 2015-01-22 Jakub Jelinek <jakub@redhat.com>
503 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
505 2015-01-21 Jakub Jelinek <jakub@redhat.com>
508 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
510 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
511 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
513 2015-01-20 Jakub Jelinek <jakub@redhat.com>
516 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
518 2015-01-19 Jakub Jelinek <jakub@redhat.com>
521 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
524 2015-01-13 Jakub Jelinek <jakub@redhat.com>
526 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
527 upstream r224518 and r224519.
528 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
531 2014-12-16 Jakub Jelinek <jakub@redhat.com>
533 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
534 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
535 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
538 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
541 * configure: Regenerated.
543 2014-11-21 Jakub Jelinek <jakub@redhat.com>
546 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
547 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
549 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
551 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
552 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
553 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
554 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
555 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
556 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
557 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
558 * sanitizer_common/Makefile.in: Regenerate.
559 * asan/Makefile.in: Ditto.
560 * lsan/Makefile.in: Ditto.
561 * interception/Makefile.in: Ditto.
562 * tsan/Makefile.in: Ditto.
563 * libbacktrace/Makefile.in: Ditto.
564 * ubsan/Makefile.in: Ditto.
566 2014-11-13 Kostya Serebryany <kcc@google.com>
568 * All source files: Merge from upstream r221802.
569 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
570 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
571 with 'start' to follow the new interface.
572 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
573 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
574 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
575 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
576 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
578 (AM_CXXFLAGS): Added -std=c++11.
579 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
580 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
581 * asan/Makefile.in: Regenerate.
582 * interception/Makefile.in: Regenerate.
583 * libbacktrace/Makefile.in: Regenerate.
584 * lsan/Makefile.in: Regenerate.
585 * sanitizer_common/Makefile.in: Regenerate.
586 * tsan/Makefile.in: Regenerate.
587 * ubsan/Makefile.in: Regenerate.
589 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
592 * configure: Regenerate.
594 2014-10-16 Martin Liska <mliska@suse.cz>
596 * asan/Makefile.am: IPA ICF pass is disabled.
597 * asan/Makefile.in: Likewise.
599 2014-10-14 David S. Miller <davem@davemloft.net>
601 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
602 Define at __kernel_time_t, as needed for sparc.
603 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
604 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
605 (__sanitizer): Define struct___old_kernel_stat_sz,
606 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
607 (__sanitizer_ipc_perm): Adjust for sparc targets.
608 (__sanitizer_shmid_ds): Likewsie.
609 (__sanitizer_sigaction): Likewsie.
610 (IOC_SIZE): Likewsie.
612 2014-10-14 Jakub Jelinek <jakub@redhat.com>
614 * ubsan/Makefile.am (DEFS): Add -DPIC.
615 * ubsan/Makefile.in: Regenerated.
617 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
619 * configure.tgt: Enable build on aarch64*-linux.
621 2014-09-19 Kostya Serebryany <kcc@google.com>
623 * All source files: Merge from upstream r218156.
624 * asan/Makefile.am (asan_files): Added new files.
625 * asan/Makefile.in: Regenerate.
626 * ubsan/Makefile.am (ubsan_files): Added new files.
627 * ubsan/Makefile.in: Regenerate.
628 * tsan/Makefile.am (tsan_files): Added new files.
629 * tsan/Makefile.in: Regenerate.
630 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
632 * sanitizer_common/Makefile.in: Regenerate.
633 * asan/libtool-version: Bump the libasan SONAME.
635 2014-09-10 Jakub Jelinek <jakub@redhat.com>
637 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
638 upstream r215485, r217389, r217391 and r217400.
640 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
642 * sanitizer_common/sanitizer_common_interceptors.inc:
643 Cherry pick upstream r211008.
645 2014-06-11 Richard Biener <rguenther@suse.de>
647 * asan/asan_linux.cc: Cherry pick upstream r210012.
649 2014-05-30 Jakub Jelinek <jakub@redhat.com>
651 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
653 * sanitizer_common/sanitizer_common.h: Likewise.
654 * asan/asan_mapping.h: Likewise.
655 * asan/asan_linux.cc: Likewise.
656 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
657 * sanitizer_common/sanitizer_allocator.h: Likewise.
659 2014-05-23 Marek Polacek <polacek@redhat.com>
661 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
662 floating-point types.
664 2014-05-22 Kostya Serebryany <kcc@google.com>
666 * All source files: Merge from upstream r209283.
667 * asan/Makefile.am (asan_files): Added new files.
668 * asan/Makefile.in: Regenerate.
669 * tsan/Makefile.am (tsan_files): Added new files.
670 * tsan/Makefile.in: Regenerate.
671 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
673 * sanitizer_common/Makefile.in: Regenerate.
675 2014-05-14 Yury Gribov <y.gribov@samsung.com>
678 * Makefile.am (nodist_saninclude_HEADERS): Install
680 * Makefile.in: Regenerate.
682 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
684 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
685 Add ../../libbacktrace/sort.c.
686 * libbacktrace/Makefile.in: Regenerate.
687 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
689 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
691 * configure.tgt: Unsupported for little endian PowerPC for now.
693 2014-02-04 Jakub Jelinek <jakub@redhat.com>
696 * tsan/tsan_flags.cc (__tsan_default_options): Add
697 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
698 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
701 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
702 sanitizer_atomic.h and unistd.h.
703 (kThreadDescriptorSize): Made static, remove initializer and const,
704 change type to atomic_uintptr_t.
705 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
706 query glibc version, compute kThreadDescriptorSize depending on
707 glibc version minor number.
708 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
709 kThreadDescriptorSize directly.
711 2014-01-23 Yury Gribov <y.gribov@samsung.com>
712 Jakub Jelinek <jakub@redhat.com>
715 * configure.ac: Check for missing syscalls.
716 * Makefile.am: Likewise.
717 * configure: Regenerate.
718 * Makefile.in: Regenerate.
720 2014-01-09 Jakub Jelinek <jakub@redhat.com>
722 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
723 (LibbacktraceSymbolizer::Demangle): New declaration.
724 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
725 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
727 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
728 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
729 (struct CplusV3DemangleData): New type.
730 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
731 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
732 SymbolizeDataCallback): Use CplusV3Demangle.
733 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
734 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
735 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
736 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
737 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
738 cplus_demangle_init_info, cplus_demangle_mangled_name,
739 cplus_demangle_operators, cplus_demangle_print,
740 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
741 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
742 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
744 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
745 (memcmp, strncmp): Redefine.
746 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
747 ../../libiberty/cp-demangle.c.
748 * libbacktrace/bridge.cc (__asan_internal_memcmp,
749 __asan_internal_strncmp): New functions.
750 * sanitizer_common/Makefile.in: Regenerated.
751 * libbacktrace/Makefile.in: Regenerated.
752 * configure: Regenerated.
753 * configure.ac: Regenerated.
754 * config.h.in: Regenerated.
756 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
757 -isystem $(top_srcdir)/include/system.
758 * sanitizer_common/Makefile.in: Regenerated.
759 * include/system/linux/aio_abi.h: New header.
760 * include/system/linux/mroute.h: New header.
761 * include/system/linux/mroute6.h: New header.
762 * include/system/linux/perf_event.h: New header.
763 * include/system/linux/types.h: New header.
766 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
767 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
768 and -I/-include flags.
769 * lsan/Makefile.am (liblsan_la_LIBADD): Add
770 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
771 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
772 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
773 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
774 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
776 * README.gcc: Document that also lsan and ubsan are
777 maintained in compiler-rt upstream.
778 * libbacktrace/Makefile.am: New file.
779 * libbacktrace/backtrace-rename.h: New file.
780 * libbacktrace/backtrace-supported.h.in: New file.
781 * libbacktrace/bridge.cc: New file.
782 * configure.ac: Add tests needed for libbacktrace build
784 * sanitizer_common/Makefile.in: Regenerated.
785 * lsan/Makefile.in: Regenerated.
786 * tsan/Makefile.in: Regenerated.
787 * ubsan/Makefile.in: Regenerated.
788 * libbacktrace/Makefile.in: Generated.
789 * config.h.in: Regenerated.
790 * configure: Regenerated.
791 * Makefile.in: Regenerated.
792 * interception/Makefile.in: Regenerated.
793 * asan/Makefile.in: Regenerated.
794 * aclocal.m4: Regenerated.
796 2013-12-19 Kostya Serebryany <kcc@google.com>
798 * sanitizer_common/sanitizer_platform_limits_posix.cc:
799 workaround for missing definition of EOWNERDEAD, backport
800 from upstream r196779.
802 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
804 * sanitizer_common/sanitizer_platform_limits_posix.h
805 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
806 (__sanitizer_clock_t): Use long long for x32.
808 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
810 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
811 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
812 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
814 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
816 * configure.ac (link_sanitizer_common): Add -lm.
817 * configure: Regenerated.
819 2013-12-05 Kostya Serebryany <kcc@google.com>
821 * All source files: Merge from upstream r196489.
822 * merge.sh: Add *.S to the list of merged files.
824 2013-12-05 Yury Gribov <y.gribov@samsung.com>
827 * Makefile.am (gcc_version): Added gcc_version.
828 * Makefile.in: Regenerate.
830 2013-12-05 Kostya Serebryany <kcc@google.com>
832 * All source files: Merge from upstream r196090.
833 * tsan/Makefile.am (tsan_files): Added new files.
834 * tsan/Makefile.in: Regenerate.
835 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
836 * sanitizer_common/Makefile.in: Regenerate.
837 * lsan/Makefile.am (lsan_files): Added new files.
838 * lsan/Makefile.in: Regenerate.
840 2013-11-29 Jakub Jelinek <jakub@redhat.com>
841 Yury Gribov <y.gribov@samsung.com>
844 * libsanitizer.spec.in: Add spec file to hold link flags for
845 various sanitizer libs.
846 * configure.ac: Check whether clock_* routines come from librt.
847 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
849 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
850 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
851 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
852 * asan/Makefile.in: Regenerate.
853 * interception/Makefile.in: Regenerate.
854 * lsan/Makefile.in: Regenerate.
855 * sanitizer_common/Makefile.in: Regenerate.
856 * tsan/Makefile.in: Regenerate.
857 * ubsan/Makefile.in: Regenerate.
858 * Makefile.in: Regenerate.
859 * configure: Regenerate.
861 2013-11-28 Jakub Jelinek <jakub@redhat.com>
862 Yury Gribov <y.gribov@samsung.com>
865 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
867 * ubsan/Makefile.in: Regenerated.
869 2013-11-22 Jakub Jelinek <jakub@redhat.com>
872 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
873 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
874 * configure: Regenerated.
875 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
876 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
877 * lsan/Makefile.in: Regenerated.
879 2013-11-22 Mike Stump <mikestump@comcast.net>
881 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
882 change from upstream to fix build.
884 2013-11-18 Yury Gribov <y.gribov@samsung.com>
887 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
888 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
889 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
890 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
891 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
892 * asan/Makefile.in: Regenerate.
893 * interception/Makefile.in: Regenerate.
894 * tsan/Makefile.in: Regenerate.
895 * lsan/Makefile.in: Regenerate.
896 * sanitizer_common/Makefile.in: Regenerate.
898 2013-11-15 Kostya Serebryany <kcc@google.com>
901 Backport from upstream revision 194573
902 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
903 back to the original functions in the common libsanitizer
904 interceptors and the __cxa_atexit() interceptor on Darwin.
906 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
909 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
910 ifdef out more source.
912 2013-11-12 Jakub Jelinek <jakub@redhat.com>
914 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
915 ifdef out almost the whole source.
916 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
918 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
921 * sanitizer_common/sanitizer_platform_limits_posix.cc
922 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
925 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
928 * sanitizer_common/sanitizer_platform_limits_linux.cc
929 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
931 * sanitizer_common/sanitizer_platform_limits_posix.h
932 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
934 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
936 (__sanitizer___kernel_gid_t): Likewise.
937 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
940 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
943 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
944 2 64-bit integers to save and restore fn and arg. Properly load
945 newtls/child_tidptr into r8/r10.
947 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
950 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
951 internal_munmap, internal_open, internal_read, internal_write,
952 internal_stat, internal_lstat, internal_fstat, internal_readlink,
953 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
954 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
955 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
957 2013-11-04 Kostya Serebryany <kcc@google.com>
959 * All source files: Merge from upstream r191666.
960 * merge.sh: Added lsan.
961 * configure.ac (AC_CONFIG_FILES): Added lsan.
962 * Makefile.am (SUBDIRS): Added lsan.
963 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
964 * asan/Makefile.am (asan_files): Added new files.
965 (libasan_la_LIBADD): Added a dependency on lsan.
966 * lsan/Makefile.am: New file.
967 * asan/Makefile.in: Regenerate.
968 * lsan/Makefile.in: Regenerate.
969 * Makefile.in: Regenerate.
970 * configure: Regenerate.
971 * sanitizer_common/Makefile.in: Regenerate.
973 2013-09-20 Alan Modra <amodra@gmail.com>
975 * configure: Regenerate.
977 2013-09-01 Iain Sandoe <iain@codesourcery.com>
979 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
980 libinterception.la for Darwin.
981 * ubsan/Makefile.in: Regenerate.
983 2013-08-30 Jakub Jelinek <jakub@redhat.com>
985 * Makefile.am (SUBDIRS): Add ubsan.
986 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
987 * merge.sh: Merge ubsan.
988 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
989 * sanitizer_common/sanitizer_printf.cc: Likewise.
990 * sanitizer_common/sanitizer_common.h: Likewise.
991 * ubsan: New directory. Import ubsan runtime from llvm.
993 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
995 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
996 Cherry pick upstream r182922.
998 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1000 * configure.tgt: Add ARM pattern.
1002 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1005 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1006 * Makefile.in: Regenerated.
1007 * asan/Makefile.in: Regenerated.
1008 * interception/Makefile.in: Regenerated.
1009 * sanitizer_common/Makefile.in: Regenerated.
1010 * tsan/Makefile.in: Regenerated.
1012 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1014 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1015 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1018 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1021 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1023 (libasan_preinit.o): Depend on asan_preinit.o.
1024 * asan/Makefile.in: Regenerated.
1025 * asan/asan_preinit.cc: New file, synced from upstream.
1026 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1028 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1030 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1031 dynamic/asan_interceptors_dynamic.cc.
1032 * asan/Makefile.in: Regenerated.
1033 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1035 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1037 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1038 defined. Add used attribute.
1040 2013-02-21 Kostya Serebryany <kcc@google.com>
1042 * All source files: Merge from upstream r175733.
1043 * sanitizer_common/Makefile.am: Added a new file.
1044 * sanitizer_common/Makefile.in: Regenerated.
1046 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1049 * interception/interception.h (OFF_T): Merged from upstream
1052 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1054 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1056 2013-02-13 Kostya Serebryany <kcc@google.com>
1059 * All source files: Merge from upstream r175049.
1060 * interception/Makefile.am: added include path.
1061 * interception/Makefile.in: Regenerated.
1063 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1065 * configure.tgt: Disable build on darwin9 and earlier.
1067 2013-01-23 Kostya Serebryany <kcc@google.com>
1070 * All source files: Merge from upstream r173241.
1071 * merge.sh: Support merging .inc files.
1073 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1075 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1076 -Wno-c99-extensions.
1077 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1078 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1079 * sanitizer_common/Makefile.in: Regenerated.
1080 * interception/Makefile.in: Regenerated.
1081 * asan/Makefile.in: Regenerated.
1083 2013-01-10 Wei Mi <wmi@google.com>
1086 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1087 * tsan/Makefile.in: Regenerated.
1088 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1090 2013-01-10 Kostya Serebryany <kcc@google.com>
1092 * All source files: Merge from upstream r171973.
1093 * sanitizer_common/Makefile.am: Added new files.
1094 * asan/Makefile.am: Likewise.
1095 * tsan/Makefile.am: Likewise.
1096 * sanitizer_common/Makefile.in: Regenerated.
1097 * asan/Makefile.in: Likewise.
1098 * tsan/Makefile.in: Likewise.
1100 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1102 * asan/Makefile.am (libasan_la_LIBADD): Replace
1103 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1104 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1105 * Makefile.in: Regenerated.
1106 * configure: Likewise.
1107 * asan/Makefile.in: Likewise.
1108 * interception/Makefile.in: Likewise.
1109 * sanitizer_common/Makefile.in: Likewise.
1110 * tsan/Makefile.in: Likewise.
1112 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1114 * Makefile.am (AM_MAKEFLAGS): Restored.
1115 * interception/Makefile.am: Likewise.
1116 * sanitizer_common/Makefile.am: Likewise.
1117 * tsan/Makefile.am: Likewise.
1118 * Makefile.in: Regenerated.
1119 * asan/Makefile.in: Likewise.
1120 * interception/Makefile.in: Likewise.
1121 * sanitizer_common/Makefile.in: Likewise.
1122 * tsan/Makefile.in: Likewise.
1124 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1126 * Makefile.am (MAKEOVERRIDES): Restored.
1127 * asan/Makefile.am: Likewise.
1128 * interception/Makefile.am: Likewise.
1129 * sanitizer_common/Makefile.am: Likewise.
1130 * tsan/Makefile.am: Likewise.
1131 * Makefile.in: Regenerated.
1132 * asan/Makefile.in: Likewise.
1133 * interception/Makefile.in: Likewise.
1134 * sanitizer_common/Makefile.in: Likewise.
1135 * tsan/Makefile.in: Likewise.
1137 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1139 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1140 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1141 * Makefile.in: Regenerated.
1142 * configure: Likewise.
1143 * asan/Makefile.in: Likewise.
1144 * interception/Makefile.in: Likewise.
1145 * sanitizer_common/Makefile.in: Likewise.
1146 * tsan/Makefile.in: Likewise.
1148 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1150 * Makefile.am (AM_MAKEFLAGS): Removed.
1151 (MAKEOVERRIDES): Likewise.
1152 * asan/Makefile.am: Likewise.
1153 * interception/Makefile.am: Likewise.
1154 * sanitizer_common/Makefile.am: Likewise.
1155 * tsan/Makefile.am: Likewise.
1156 * Makefile.in: Regenerated.
1157 * asan/Makefile.in: Likewise.
1158 * interception/Makefile.in: Likewise.
1159 * sanitizer_common/Makefile.in: Likewise.
1160 * tsan/Makefile.in: Likewise.
1162 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1165 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1166 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1167 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1168 (AM_MAKEFLAGS): Remove CC and CXX.
1169 * interception/Makefile.am: Likewise.
1170 * sanitizer_common/Makefile.am: Likewise.
1171 * tsan/Makefile.am: Likewise.
1172 * Makefile.in: Regenerated.
1173 * aclocal.m4: Likewise.
1174 * configure: Likewise.
1175 * asan/Makefile.in: Likewise.
1176 * interception/Makefile.in: Likewise.
1177 * sanitizer_common/Makefile.in: Likewise.
1178 * tsan/Makefile.in: Likewise.
1180 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1182 * configure.tgt: Enable build on powerpc*-linux.
1184 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1187 * configure.ac: Set enable_static=no on darwin.
1188 * configure: Regenerated.
1190 2012-12-06 Kostya Serebryany <kcc@google.com>
1192 * All files: Merge from upstream r169392.
1194 2012-12-05 Kostya Serebryany <kcc@google.com>
1196 * All files: Merge from upstream r169371.
1198 2012-12-04 Kostya Serebryany <kcc@google.com>
1199 Jack Howarth <howarth@bromo.med.uc.edu>
1202 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1203 * Makefile.am: Don't build interception subdir when
1204 USING_MAC_INTERPOSE defined.
1205 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1206 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1207 Compile asan_interceptors_dynamic.cc but not libinterception
1208 when USING_MAC_INTERPOSE defined.
1209 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1210 * configure: Regenerated.
1211 * Makefile.in: Likewise.
1212 * asan/Makefile.in: Likewise.
1213 * interception/Makefile.in: Likewise.
1214 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1215 * asan/asan_mac.cc: Likewise.
1216 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1217 and use MISSING_BLOCKS_SUPPORT.
1218 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1219 * interception/mach_override/LICENSE.txt: Remove unused file.
1220 * interception/mach_override/mach_override.c: Likewise.
1221 * interception/mach_override/mach_override.h: Likewise.
1222 * interception/mach_override: Remove unused directory.
1224 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1226 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1227 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1228 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1230 (AM_MAKEFLAGS): Restore CC and CXX.
1231 * interception/Makefile.am: Likewise.
1232 * sanitizer_common/Makefile.am: Likewise.
1233 * tsan/Makefile.am: Likewise.
1234 * Makefile.in: Regenerated.
1235 * aclocal.m4: Likewise.
1236 * configure: Likewise.
1237 * asan/Makefile.in: Likewise.
1238 * interception/Makefile.in: Likewise.
1239 * sanitizer_common/Makefile.in: Likewise.
1240 * tsan/Makefile.in: Likewise.
1242 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1244 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1245 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1246 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1248 (AM_MAKEFLAGS): Remove CC and CXX.
1249 * interception/Makefile.am: Likewise.
1250 * sanitizer_common/Makefile.am: Likewise.
1251 * tsan/Makefile.am: Likewise.
1252 * Makefile.in: Regenerated.
1253 * aclocal.m4: Likewise.
1254 * configure: Likewise.
1255 * asan/Makefile.in: Likewise.
1256 * interception/Makefile.in: Likewise.
1257 * sanitizer_common/Makefile.in: Likewise.
1258 * tsan/Makefile.in: Likewise.
1260 2012-11-27 Kostya Serebryany <kcc@google.com>
1262 * All files: Merge from upstream r168699.
1264 2012-11-24 Kostya Serebryany <kcc@google.com>
1265 Jack Howarth <howarth@bromo.med.uc.edu>
1267 * interception/mach_override/mach_override.c: Migrate from llvm.
1268 * interception/mach_override/mach_override.h: Likewise.
1269 * interception/mach_override/LICENSE.txt: Likewise.
1270 * configure.tgt: Add darwin to supported targets.
1271 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1272 * interception/Makefile.am: Compile mach_override.c when
1273 USING_MACH_OVERRIDE defined.
1274 * configure: Regenerated.
1275 * interception/Makefile.in: Likewise.
1277 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1280 * tsan/Makefile.am (gcc_version): New.
1281 * tsan/Makefile.in: Regenerated.
1283 2012-11-23 Kostya Serebryany <kcc@google.com>
1285 * merge.sh: Support tsan, support added/removed files.
1286 * tsan/Makefile.am: Remove tsan_printf.cc.
1287 * tsan/Makefile.in: Regenerated.
1288 * other files: Merge from upstream r168514.
1290 2012-11-23 Kostya Serebryany <kcc@google.com>
1292 * merge.sh: New file.
1294 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1296 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1297 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1298 automake conditional instead of !MULTISUBDIR32.
1299 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1300 for 64-bit multilib.
1301 * configure.ac: Check for void * size, source in configure.tgt,
1302 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1303 * configure: Regenerated.
1304 * Makefile.in: Regenerated.
1305 * tsan/Makefile.in: Regenerated.
1307 2012-11-22 Wei Mi <wmi@google.com>
1309 * tsan: New directory. Import tsan runtime from llvm.
1310 * configure.ac: Add 64 bits tsan build.
1311 * Makefile.am: Likewise.
1312 * configure: Regenerated.
1313 * Makefile.in: Likewise.
1315 2012-11-21 Kostya Serebryany <kcc@google.com>
1317 * README.gcc: Extend the README.gcc with mode details.
1319 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1321 * sanitizer_common/sanitizer_linux.cc
1322 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1323 (internal_mmap): Use it.
1324 (internal_filesize): Likewise.
1326 2012-11-16 Tom Tromey <tromey@redhat.com>
1328 * configure.ac: Invoke AM_MAINTAINER_MODE.
1329 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1330 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1332 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1335 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1336 for hardware pointer.
1337 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1338 Replace uptr with uhwptr for stack unwind.
1340 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1342 * configure.tgt: Enable build on sparc linux.
1344 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1346 * configure.ac: Properly set MULTISUBDIR.
1347 * asan/Makefile.am (gcc_version): New.
1348 * interception/Makefile.am (gcc_version): Likewise.
1349 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1350 * configure: Regenerated.
1351 * asan/Makefile.in: Likewise.
1352 * interception/Makefile.in: Likewise.
1353 * sanitizer_common/Makefile.in: Likewise.
1355 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1358 * configure.ac (--enable-version-specific-runtime-libs): New option.
1359 (AC_CANONICAL_SYSTEM): New.
1360 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1361 (toolexecdir): Support multilib.
1362 (toolexeclibdir): Likewise.
1363 (multilib_arg): New.
1364 * Makefile.in: Regenerated.
1365 * aclocal.m4: Likewise.
1366 * configure: Likewise.
1367 * asan/Makefile.in: Likewise.
1368 * interception/Makefile.in: Likewise.
1369 * sanitizer_common/Makefile.in: Likewise.
1371 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1374 Backport from upstream revision 167883
1375 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1376 __x86_64__ instead of __WORDSIZE.
1377 (internal_filesize): Likwise.
1379 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1381 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1382 * Makefile.in: Regenerated.
1383 * configure: Likewise.
1385 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1388 * acinclude.m4: New file.
1389 * Makefile.am (ACLOCAL_AMFLAGS): New.
1390 * configure.ac (AC_PREREQ): Set to 2.64.
1391 (AC_CONFIG_AUX_DIR): Set to "..".
1392 * Makefile.in: Regenerated.
1393 * aclocal.m4: Likewise.
1394 * configure: Likewise.
1395 * asan/Makefile.in: Likewise.
1396 * interception/Makefile.in: Likewise.
1397 * sanitizer_common/Makefile.in: Likewise.
1399 * config.guess: Removed.
1400 * config.sub: Likewise.
1401 * depcomp: Likewise.
1402 * install-sh: Likewise.
1403 * ltmain.sh: Likewise.
1404 * missing: Likewise.
1406 2012-11-13 Richard Henderson <rth@redhat.com>
1408 * configure.tgt: New file.
1410 2012-11-12 David S. Miller <davem@davemloft.net>
1412 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1414 2012-10-29 Wei Mi <wmi@google.com>
1416 Initial checkin: migrate asan runtime from llvm.