1 2017-12-05 Martin Liska <mliska@suse.cz>
2 Jakub Jelinek <jakub@redhat.com>
4 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
5 * asan/asan_descriptions.h: Likewise.
6 * asan/asan_report.cc: Likewise.
7 * asan/asan_thread.cc: Likewise.
8 * asan/asan_thread.h: Likewise.
10 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12 * acinclude.m4: Add enable.m4 and cet.m4.
13 * Makefile.in: Regenerate.
14 * asan/Makefile.am: Update AM_CXXFLAGS.
15 * asan/Makefile.in: Regenerate.
16 * configure: Likewise.
17 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
18 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
19 * interception/Makefile.am: Update AM_CXXFLAGS.
20 * interception/Makefile.in: Regenerate.
21 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
22 * libbacktrace/Makefile.in: Regenerate.
23 * lsan/Makefile.am: Update AM_CXXFLAGS.
24 * lsan/Makefile.in: Regenerate.
25 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
27 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
29 * sanitizer_common/Makefile.in: Regenerate.
30 * tsan/Makefile.am: Update AM_CXXFLAGS.
31 * tsan/Makefile.in: Regenerate.
32 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
33 * ubsan/Makefile.am: Update AM_CXXFLAGS.
34 * ubsan/Makefile.in: Regenerate.
36 2017-11-08 Jakub Jelinek <jakub@redhat.com>
39 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
40 and ubsan_signals_standalone.cc.
41 * ubsan/Makefile.in: Regenerated.
43 2017-11-05 Tom de Vries <tom@codesourcery.com>
46 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
48 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
50 2017-10-20 Jakub Jelinek <jakub@redhat.com>
53 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
54 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
56 (lsan_files): Remove lsan_preinit.cc.
57 (liblsan_preinit.o): New rule.
58 * lsan/Makefile.in: Regenerated.
60 2017-10-19 Jakub Jelinek <jakub@redhat.com>
62 * All source files: Merge from upstream 315899.
63 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
64 include/sanitizer/tsan_interface.h.
65 * asan/libtool-version: Bump the libasan SONAME.
66 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
67 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
68 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
69 sancov_flags.cc, sanitizer_allocator_checks.cc,
70 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
71 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
72 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
73 and sanitizer_coverage_mapping_libcdep.cc.
74 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
75 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
76 (ubsan_files): Add ubsan_init_standalone.cc and
77 ubsan_signals_standalone.cc.
78 * ubsan/libtool-version: Bump the libubsan SONAME.
79 * asan/Makefile.in: Regenerate.
80 * lsan/Makefile.in: Regenerate.
81 * sanitizer_common/Makefile.in: Regenerate.
82 * tsan/Makefile.in: Regenerate.
83 * ubsan/Makefile.in: Regenerate.
85 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
88 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
89 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
91 2017-10-02 Jakub Jelinek <jakub@redhat.com>
93 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
96 2017-08-07 Jakub Jelinek <jakub@redhat.com>
98 * include/system/sys/ptrace.h: New file.
100 2017-07-28 Jakub Jelinek <jakub@redhat.com>
103 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
104 * ubsan/ubsan_checks.inc: Likewise.
105 * ubsan/ubsan_handlers.h: Likewise.
107 2017-07-14 Jakub Jelinek <jakub@redhat.com>
110 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
111 * sanitizer_common/sanitizer_linux.cc: Likewise.
112 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
113 * tsan/tsan_platform_linux.cc: Likewise.
115 2017-04-06 Martin Liska <mliska@suse.cz>
118 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
119 Cherry-pick upstream r299036.
121 2017-03-22 Jakub Jelinek <jakub@redhat.com>
124 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
126 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
129 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
132 2017-02-11 Jakub Jelinek <jakub@redhat.com>
135 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
137 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
139 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
141 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
144 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
147 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
148 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
150 2017-01-31 Jakub Jelinek <jakub@redhat.com>
152 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
154 2017-01-24 Jakub Jelinek <jakub@redhat.com>
156 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
159 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
160 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
162 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
163 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
164 * tsan/tsan_ppc_regs.h: Likewise.
165 * tsan/tsan_rtl_aarch64.S: Likewise.
166 * tsan/tsan_rtl_mips64.S: Likewise.
167 * tsan/tsan_rtl_ppc64.S: Likewise.
169 2017-01-21 Jakub Jelinek <jakub@redhat.com>
172 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
173 instead of cat to get version from BASE-VER file.
174 * asan/Makefile.am (gcc_version): Likewise.
175 * ubsan/Makefile.am (gcc_version): Likewise.
176 * sanitizer_common/Makefile.am (gcc_version): Likewise.
177 * lsan/Makefile.am (gcc_version): Likewise.
178 * tsan/Makefile.am (gcc_version): Likewise.
179 * interception/Makefile.in: Regenerated.
180 * asan/Makefile.in: Regenerated.
181 * ubsan/Makefile.in: Regenerated.
182 * sanitizer_common/Makefile.in: Regenerated.
183 * lsan/Makefile.in: Regenerated.
184 * tsan/Makefile.in: Regenerated.
186 2017-01-17 Jakub Jelinek <jakub@redhat.com>
189 * configure.ac: Add GCC_BASE_VER.
190 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
191 get version from BASE-VER file.
192 * libbacktrace/Makefile.in: Regenerated.
193 * interception/Makefile.in: Regenerated.
194 * asan/Makefile.in: Regenerated.
195 * ubsan/Makefile.in: Regenerated.
196 * configure: Regenerated.
197 * sanitizer_common/Makefile.in: Regenerated.
198 * lsan/Makefile.in: Regenerated.
199 * Makefile.in: Regenerated.
200 * tsan/Makefile.in: Regenerated.
202 2017-01-10 James Clarke <jrtc27@jrtc27.com>
205 * sanitizer_common/sanitizer_platform_limits_posix.h
206 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
208 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
210 * LOCAL_PATCHES: Add revision.
212 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
215 * sanitizer_common/sanitizer_platform_limits_posix.h
216 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
219 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
221 * LOCAL_PATCHES: Remove r242480.
223 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
225 * LOCAL_PATCHES: Add revision.
227 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
230 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
231 compiler supports blocks extension.
233 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
235 * LOCAL_PATCHES: Add revision.
237 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
240 * tsan/tsan_rtl.cc: Add missing attribute.
242 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
244 * LOCAL_PATCHES: New file.
246 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
249 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
250 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
251 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
252 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
254 (__ubsan_handle_cfi_bad_type_abort): Likewise.
255 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
256 (__ubsan_handle_cfi_bad_type): Export function.
257 (__ubsan_handle_cfi_bad_type_abort): Likewise.
258 * HOWTO_MERGE: Update documentation.
260 2016-11-15 Matthias Klose <doko@ubuntu.com>
262 * configure: Regenerate.
264 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
266 * asan/asan_globals.cc (RegisterGlobal): Do not call
267 CheckODRViolationViaPoisoning.
268 (CheckODRViolationViaPoisoning): Remove.
270 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
272 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
273 compiled code with GCC when extracting the caller PC for ARM if no
274 valid frame pointer is available.
276 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
280 2014-10-14 David S. Miller <davem@davemloft.net>
282 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
283 Define at __kernel_time_t, as needed for sparc.
284 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
285 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
286 (__sanitizer): Define struct___old_kernel_stat_sz,
287 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
288 (__sanitizer_ipc_perm): Adjust for sparc targets.
289 (__sanitizer_shmid_ds): Likewsie.
290 (__sanitizer_sigaction): Likewise.
291 (IOC_SIZE): Likewsie.
293 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
295 * All source files: Merge from upstream 285547.
296 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
298 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
299 * asan/Makefile.am (asan_files): Add new files.
300 * asan/Makefile.in: Regenerate.
301 * ubsan/Makefile.in: Likewise.
302 * lsan/Makefile.in: Likewise.
303 * tsan/Makefile.am (tsan_files): Add new files.
304 * tsan/Makefile.in: Regenerate.
305 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
306 (EXTRA_libsanitizer_common_la_SOURCES): Define.
307 (libsanitizer_common_la_LIBADD): Likewise.
308 (libsanitizer_common_la_DEPENDENCIES): Likewise.
309 * sanitizer_common/Makefile.in: Regenerate.
310 * interception/Makefile.in: Likewise.
311 * libbacktace/Makefile.in: Likewise.
312 * Makefile.in: Likewise.
313 * configure: Likewise.
314 * merge.sh: Handle builtins/assembly.h merging.
315 * builtins/assembly.h: New file.
316 * asan/libtool-version: Bump the libasan SONAME.
318 2016-09-21 Jakub Jelinek <jakub@redhat.com>
321 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
323 2016-09-05 Jakub Jelinek <jakub@redhat.com>
326 * asan/asan_globals.cc: Cherry-pick upstream r280657.
328 2016-08-12 Jakub Jelinek <jakub@redhat.com>
331 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
332 * tsan/tsan_rtl_aarch64.S: Likewise.
334 2016-07-23 Alan Modra <amodra@gmail.com>
336 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
337 * configure.ac: Don't substitute OBSTACK_DEFS.
338 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
339 * tsan/Makefile.am: Likewise.
340 * configure: Regenerate.
341 * Makefile.in: Regenerate.
342 * asan/Makefile.in: Regenerate.
343 * interception/Makefile.in: Regenerate.
344 * libbacktrace/Makefile.in: Regenerate.
345 * lsan/Makefile.in: Regenerate.
346 * sanitizer_common/Makefile.in: Regenerate.
347 * tsan/Makefile.in: Regenerate.
348 * ubsan/Makefile.in: Regenerate.
350 2016-05-17 Jakub Jelinek <jakub@redhat.com>
353 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
356 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
359 * asan/asan_mac.cc: Cherry pick upstream r266868.
361 2016-01-19 Jakub Jelinek <jakub@redhat.com>
364 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
365 InitializeInterceptors): Cherry pick upstream r258119.
367 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
369 * configure.ac: Replace the hard-coded -ldl requirement for
370 link_sanitizer_common with a configure time check for -ldl.
371 * configure: Regenerate.
373 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
375 * include/system/linux/asm/ptrace.h: Move to ...
376 * include/system/asm/ptrace.h: ... this.
378 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
380 * include/system/linux/asm/ptrace.h: New header.
382 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
384 * All source files: Merge from upstream r253555.
385 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
386 dependences for TSan for aarch64-*-linux* targets.
387 * tsan/Makefile.am: Add new source files.
388 * configure: Regenerate.
389 * tsan/Makefile.in: Likewise.
391 2015-11-09 Alan Modra <amodra@gmail.com>
393 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
394 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
396 * configure.ac: Substitute OBSTACK_DEFS.
397 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
398 * tsan/Makefile.am: Likewise.
399 * configure: Regenerate.
400 * Makefile.in: Regenerate.
401 * asan/Makefile.in: Regenerate.
402 * interception/Makefile.in: Regenerate.
403 * libbacktrace/Makefile.in: Regenerate.
404 * lsan/Makefile.in: Regenerate.
405 * sanitizer_common/Makefile.in: Regenerate.
406 * tsan/Makefile.in: Regenerate.
407 * ubsan/Makefile.in: Regenerate.
409 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
412 * configure.ac (link_sanitizer_common): Link against librt only if it
413 contains shm_open, required by sanitizers.
414 (CXX_ABI_NEEDED): Remove variable.
415 * configure: Regenerate.
416 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
417 * ubsan/Makefile.in: Regenerate.
419 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
421 * HOWTO_MERGE: New file.
423 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
425 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
426 compiled code with GCC when extracting the caller PC for ARM if no
427 valid frame pointer is available.
429 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
433 2015-02-20 Jakub Jelinek <jakub@redhat.com>
435 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
436 support until it is rewritten upstream.
438 * c-c++-common/asan/pr63888.c: New test.
440 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
444 2014-10-14 David S. Miller <davem@davemloft.net>
446 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
447 Define at __kernel_time_t, as needed for sparc.
448 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
449 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
450 (__sanitizer): Define struct___old_kernel_stat_sz,
451 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
452 (__sanitizer_ipc_perm): Adjust for sparc targets.
453 (__sanitizer_shmid_ds): Likewsie.
454 (__sanitizer_sigaction): Likewise.
455 (IOC_SIZE): Likewsie.
457 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
459 * All source files: Merge from upstream r250806.
460 * configure.ac (link_sanitizer_common): Add -lrt flag.
461 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
462 Set USE_CXX_ABI_FLAG=true for darwin.
463 * asan/Makefile.am (asan_files): Add new files.
464 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
465 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
466 * asan/Makefile.in: Regenerate.
467 * ubsan/Makefile.am (ubsan_files): Add new files.
468 (DEFS): Add DCAN_SANITIZE_UB=1.
469 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
470 * ubsan/Makefile.in: Regenerate.
471 * tsan/Makefile.am (tsan_files): Add new files.
472 (DEFS): Add DCAN_SANITIZE_UB=0.
473 * tsan/Makefile.in: Regenerate.
474 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
475 * sanitizer_common/Makefile.in: Regenerate.
476 * asan/libtool-version: Bump the libasan SONAME.
478 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
481 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
483 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
486 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
489 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
492 * sanitizer_common/sanitizer_stacktrace.cc
493 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
494 find the link register at an offset of 16 from the base of the
495 caller's stack frame.
497 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
499 * Makefile.in: Regenerated with automake-1.11.6.
500 * aclocal.m4: Likewise.
501 * asan/Makefile.in: Likewise.
502 * configure: Likewise.
503 * interception/Makefile.in: Likewise.
504 * libbacktrace/Makefile.in: Likewise.
505 * lsan/Makefile.in: Likewise.
506 * sanitizer_common/Makefile.in: Likewise.
507 * tsan/Makefile.in: Likewise.
508 * ubsan/Makefile.in: Likewise.
510 2015-04-13 Yury Gribov <y.gribov@samsung.com>
513 * sanitizer_common/sanitizer_platform.h: Cherry pick
515 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
516 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
517 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
518 * Makefile.in: Regenerate.
519 * asan/Makefile.in: Regenerate.
520 * config.h.in: Regenerate.
521 * configure: Regenerate.
522 * interception/Makefile.in: Regenerate.
523 * libbacktrace/Makefile.in: Regenerate.
524 * lsan/Makefile.in: Regenerate.
525 * sanitizer_common/Makefile.in: Regenerate.
526 * tsan/Makefile.in: Regenerate.
527 * ubsan/Makefile.in: Regenerate.
530 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
533 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
535 * sanitizer_common/sanitizer_platform.h: Likewise.
536 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
538 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
540 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
541 upstream 224508 and 224755.
543 2015-03-09 Jakub Jelinek <jakub@redhat.com>
547 2014-10-14 David S. Miller <davem@davemloft.net>
549 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
550 Define at __kernel_time_t, as needed for sparc.
551 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
552 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
553 (__sanitizer): Define struct___old_kernel_stat_sz,
554 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
555 (__sanitizer_ipc_perm): Adjust for sparc targets.
556 (__sanitizer_shmid_ds): Likewsie.
557 (__sanitizer_sigaction): Likewise.
558 (IOC_SIZE): Likewsie.
560 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
562 * configure.tgt: Enable build on powerpc*le-*-linux.
564 2015-02-23 Jakub Jelinek <jakub@redhat.com>
567 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
568 support until it is rewritten upstream.
570 2015-01-26 Matthias Klose <doko@ubuntu.com>
572 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
573 * configure: Regenerate.
575 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
577 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
578 * configure: Regenerate.
579 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
581 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
583 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
584 * configure: Regenerate.
585 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
586 (libtsan_la_DEPENDENCIES): Likewise.
587 * Makefile.in: Regenerate.
588 * asan/Makefile.in: Regenerate.
589 * interception/Makefile.in: Regenerate.
590 * libbacktrace/Makefile.in: Regenerate.
591 * lsan/Makefile.in: Regenerate.
592 * sanitizer_common/Makefile.in: Regenerate.
593 * tsan/Makefile.in: Regenerate.
594 * ubsan/Makefile.in: Regenerate.
596 2015-01-22 Jakub Jelinek <jakub@redhat.com>
598 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
600 2015-01-21 Jakub Jelinek <jakub@redhat.com>
603 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
605 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
606 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
608 2015-01-20 Jakub Jelinek <jakub@redhat.com>
611 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
613 2015-01-19 Jakub Jelinek <jakub@redhat.com>
616 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
619 2015-01-13 Jakub Jelinek <jakub@redhat.com>
621 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
622 upstream r224518 and r224519.
623 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
626 2014-12-16 Jakub Jelinek <jakub@redhat.com>
628 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
629 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
630 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
633 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
636 * configure: Regenerated.
638 2014-11-21 Jakub Jelinek <jakub@redhat.com>
641 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
642 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
644 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
646 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
647 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
648 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
649 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
650 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
651 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
652 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
653 * sanitizer_common/Makefile.in: Regenerate.
654 * asan/Makefile.in: Ditto.
655 * lsan/Makefile.in: Ditto.
656 * interception/Makefile.in: Ditto.
657 * tsan/Makefile.in: Ditto.
658 * libbacktrace/Makefile.in: Ditto.
659 * ubsan/Makefile.in: Ditto.
661 2014-11-13 Kostya Serebryany <kcc@google.com>
663 * All source files: Merge from upstream r221802.
664 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
665 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
666 with 'start' to follow the new interface.
667 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
668 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
669 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
670 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
671 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
673 (AM_CXXFLAGS): Added -std=c++11.
674 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
675 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
676 * asan/Makefile.in: Regenerate.
677 * interception/Makefile.in: Regenerate.
678 * libbacktrace/Makefile.in: Regenerate.
679 * lsan/Makefile.in: Regenerate.
680 * sanitizer_common/Makefile.in: Regenerate.
681 * tsan/Makefile.in: Regenerate.
682 * ubsan/Makefile.in: Regenerate.
684 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
687 * configure: Regenerate.
689 2014-10-16 Martin Liska <mliska@suse.cz>
691 * asan/Makefile.am: IPA ICF pass is disabled.
692 * asan/Makefile.in: Likewise.
694 2014-10-14 David S. Miller <davem@davemloft.net>
696 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
697 Define at __kernel_time_t, as needed for sparc.
698 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
699 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
700 (__sanitizer): Define struct___old_kernel_stat_sz,
701 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
702 (__sanitizer_ipc_perm): Adjust for sparc targets.
703 (__sanitizer_shmid_ds): Likewsie.
704 (__sanitizer_sigaction): Likewsie.
705 (IOC_SIZE): Likewsie.
707 2014-10-14 Jakub Jelinek <jakub@redhat.com>
709 * ubsan/Makefile.am (DEFS): Add -DPIC.
710 * ubsan/Makefile.in: Regenerated.
712 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
714 * configure.tgt: Enable build on aarch64*-linux.
716 2014-09-19 Kostya Serebryany <kcc@google.com>
718 * All source files: Merge from upstream r218156.
719 * asan/Makefile.am (asan_files): Added new files.
720 * asan/Makefile.in: Regenerate.
721 * ubsan/Makefile.am (ubsan_files): Added new files.
722 * ubsan/Makefile.in: Regenerate.
723 * tsan/Makefile.am (tsan_files): Added new files.
724 * tsan/Makefile.in: Regenerate.
725 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
727 * sanitizer_common/Makefile.in: Regenerate.
728 * asan/libtool-version: Bump the libasan SONAME.
730 2014-09-10 Jakub Jelinek <jakub@redhat.com>
732 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
733 upstream r215485, r217389, r217391 and r217400.
735 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
737 * sanitizer_common/sanitizer_common_interceptors.inc:
738 Cherry pick upstream r211008.
740 2014-06-11 Richard Biener <rguenther@suse.de>
742 * asan/asan_linux.cc: Cherry pick upstream r210012.
744 2014-05-30 Jakub Jelinek <jakub@redhat.com>
746 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
748 * sanitizer_common/sanitizer_common.h: Likewise.
749 * asan/asan_mapping.h: Likewise.
750 * asan/asan_linux.cc: Likewise.
751 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
752 * sanitizer_common/sanitizer_allocator.h: Likewise.
754 2014-05-23 Marek Polacek <polacek@redhat.com>
756 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
757 floating-point types.
759 2014-05-22 Kostya Serebryany <kcc@google.com>
761 * All source files: Merge from upstream r209283.
762 * asan/Makefile.am (asan_files): Added new files.
763 * asan/Makefile.in: Regenerate.
764 * tsan/Makefile.am (tsan_files): Added new files.
765 * tsan/Makefile.in: Regenerate.
766 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
768 * sanitizer_common/Makefile.in: Regenerate.
770 2014-05-14 Yury Gribov <y.gribov@samsung.com>
773 * Makefile.am (nodist_saninclude_HEADERS): Install
775 * Makefile.in: Regenerate.
777 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
779 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
780 Add ../../libbacktrace/sort.c.
781 * libbacktrace/Makefile.in: Regenerate.
782 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
784 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
786 * configure.tgt: Unsupported for little endian PowerPC for now.
788 2014-02-04 Jakub Jelinek <jakub@redhat.com>
791 * tsan/tsan_flags.cc (__tsan_default_options): Add
792 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
793 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
796 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
797 sanitizer_atomic.h and unistd.h.
798 (kThreadDescriptorSize): Made static, remove initializer and const,
799 change type to atomic_uintptr_t.
800 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
801 query glibc version, compute kThreadDescriptorSize depending on
802 glibc version minor number.
803 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
804 kThreadDescriptorSize directly.
806 2014-01-23 Yury Gribov <y.gribov@samsung.com>
807 Jakub Jelinek <jakub@redhat.com>
810 * configure.ac: Check for missing syscalls.
811 * Makefile.am: Likewise.
812 * configure: Regenerate.
813 * Makefile.in: Regenerate.
815 2014-01-09 Jakub Jelinek <jakub@redhat.com>
817 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
818 (LibbacktraceSymbolizer::Demangle): New declaration.
819 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
820 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
822 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
823 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
824 (struct CplusV3DemangleData): New type.
825 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
826 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
827 SymbolizeDataCallback): Use CplusV3Demangle.
828 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
829 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
830 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
831 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
832 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
833 cplus_demangle_init_info, cplus_demangle_mangled_name,
834 cplus_demangle_operators, cplus_demangle_print,
835 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
836 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
837 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
839 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
840 (memcmp, strncmp): Redefine.
841 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
842 ../../libiberty/cp-demangle.c.
843 * libbacktrace/bridge.cc (__asan_internal_memcmp,
844 __asan_internal_strncmp): New functions.
845 * sanitizer_common/Makefile.in: Regenerated.
846 * libbacktrace/Makefile.in: Regenerated.
847 * configure: Regenerated.
848 * configure.ac: Regenerated.
849 * config.h.in: Regenerated.
851 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
852 -isystem $(top_srcdir)/include/system.
853 * sanitizer_common/Makefile.in: Regenerated.
854 * include/system/linux/aio_abi.h: New header.
855 * include/system/linux/mroute.h: New header.
856 * include/system/linux/mroute6.h: New header.
857 * include/system/linux/perf_event.h: New header.
858 * include/system/linux/types.h: New header.
861 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
862 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
863 and -I/-include flags.
864 * lsan/Makefile.am (liblsan_la_LIBADD): Add
865 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
866 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
867 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
868 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
869 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
871 * README.gcc: Document that also lsan and ubsan are
872 maintained in compiler-rt upstream.
873 * libbacktrace/Makefile.am: New file.
874 * libbacktrace/backtrace-rename.h: New file.
875 * libbacktrace/backtrace-supported.h.in: New file.
876 * libbacktrace/bridge.cc: New file.
877 * configure.ac: Add tests needed for libbacktrace build
879 * sanitizer_common/Makefile.in: Regenerated.
880 * lsan/Makefile.in: Regenerated.
881 * tsan/Makefile.in: Regenerated.
882 * ubsan/Makefile.in: Regenerated.
883 * libbacktrace/Makefile.in: Generated.
884 * config.h.in: Regenerated.
885 * configure: Regenerated.
886 * Makefile.in: Regenerated.
887 * interception/Makefile.in: Regenerated.
888 * asan/Makefile.in: Regenerated.
889 * aclocal.m4: Regenerated.
891 2013-12-19 Kostya Serebryany <kcc@google.com>
893 * sanitizer_common/sanitizer_platform_limits_posix.cc:
894 workaround for missing definition of EOWNERDEAD, backport
895 from upstream r196779.
897 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
899 * sanitizer_common/sanitizer_platform_limits_posix.h
900 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
901 (__sanitizer_clock_t): Use long long for x32.
903 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
905 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
906 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
907 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
909 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
911 * configure.ac (link_sanitizer_common): Add -lm.
912 * configure: Regenerated.
914 2013-12-05 Kostya Serebryany <kcc@google.com>
916 * All source files: Merge from upstream r196489.
917 * merge.sh: Add *.S to the list of merged files.
919 2013-12-05 Yury Gribov <y.gribov@samsung.com>
922 * Makefile.am (gcc_version): Added gcc_version.
923 * Makefile.in: Regenerate.
925 2013-12-05 Kostya Serebryany <kcc@google.com>
927 * All source files: Merge from upstream r196090.
928 * tsan/Makefile.am (tsan_files): Added new files.
929 * tsan/Makefile.in: Regenerate.
930 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
931 * sanitizer_common/Makefile.in: Regenerate.
932 * lsan/Makefile.am (lsan_files): Added new files.
933 * lsan/Makefile.in: Regenerate.
935 2013-11-29 Jakub Jelinek <jakub@redhat.com>
936 Yury Gribov <y.gribov@samsung.com>
939 * libsanitizer.spec.in: Add spec file to hold link flags for
940 various sanitizer libs.
941 * configure.ac: Check whether clock_* routines come from librt.
942 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
944 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
945 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
946 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
947 * asan/Makefile.in: Regenerate.
948 * interception/Makefile.in: Regenerate.
949 * lsan/Makefile.in: Regenerate.
950 * sanitizer_common/Makefile.in: Regenerate.
951 * tsan/Makefile.in: Regenerate.
952 * ubsan/Makefile.in: Regenerate.
953 * Makefile.in: Regenerate.
954 * configure: Regenerate.
956 2013-11-28 Jakub Jelinek <jakub@redhat.com>
957 Yury Gribov <y.gribov@samsung.com>
960 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
962 * ubsan/Makefile.in: Regenerated.
964 2013-11-22 Jakub Jelinek <jakub@redhat.com>
967 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
968 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
969 * configure: Regenerated.
970 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
971 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
972 * lsan/Makefile.in: Regenerated.
974 2013-11-22 Mike Stump <mikestump@comcast.net>
976 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
977 change from upstream to fix build.
979 2013-11-18 Yury Gribov <y.gribov@samsung.com>
982 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
983 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
984 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
985 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
986 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
987 * asan/Makefile.in: Regenerate.
988 * interception/Makefile.in: Regenerate.
989 * tsan/Makefile.in: Regenerate.
990 * lsan/Makefile.in: Regenerate.
991 * sanitizer_common/Makefile.in: Regenerate.
993 2013-11-15 Kostya Serebryany <kcc@google.com>
996 Backport from upstream revision 194573
997 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
998 back to the original functions in the common libsanitizer
999 interceptors and the __cxa_atexit() interceptor on Darwin.
1001 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1004 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1005 ifdef out more source.
1007 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1009 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1010 ifdef out almost the whole source.
1011 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1013 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1016 * sanitizer_common/sanitizer_platform_limits_posix.cc
1017 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1020 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1023 * sanitizer_common/sanitizer_platform_limits_linux.cc
1024 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1026 * sanitizer_common/sanitizer_platform_limits_posix.h
1027 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1029 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1031 (__sanitizer___kernel_gid_t): Likewise.
1032 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1035 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1038 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1039 2 64-bit integers to save and restore fn and arg. Properly load
1040 newtls/child_tidptr into r8/r10.
1042 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1045 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1046 internal_munmap, internal_open, internal_read, internal_write,
1047 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1048 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1049 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1050 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1052 2013-11-04 Kostya Serebryany <kcc@google.com>
1054 * All source files: Merge from upstream r191666.
1055 * merge.sh: Added lsan.
1056 * configure.ac (AC_CONFIG_FILES): Added lsan.
1057 * Makefile.am (SUBDIRS): Added lsan.
1058 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1059 * asan/Makefile.am (asan_files): Added new files.
1060 (libasan_la_LIBADD): Added a dependency on lsan.
1061 * lsan/Makefile.am: New file.
1062 * asan/Makefile.in: Regenerate.
1063 * lsan/Makefile.in: Regenerate.
1064 * Makefile.in: Regenerate.
1065 * configure: Regenerate.
1066 * sanitizer_common/Makefile.in: Regenerate.
1068 2013-09-20 Alan Modra <amodra@gmail.com>
1070 * configure: Regenerate.
1072 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1074 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1075 libinterception.la for Darwin.
1076 * ubsan/Makefile.in: Regenerate.
1078 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1080 * Makefile.am (SUBDIRS): Add ubsan.
1081 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1082 * merge.sh: Merge ubsan.
1083 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1084 * sanitizer_common/sanitizer_printf.cc: Likewise.
1085 * sanitizer_common/sanitizer_common.h: Likewise.
1086 * ubsan: New directory. Import ubsan runtime from llvm.
1088 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1090 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1091 Cherry pick upstream r182922.
1093 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1095 * configure.tgt: Add ARM pattern.
1097 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1100 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1101 * Makefile.in: Regenerated.
1102 * asan/Makefile.in: Regenerated.
1103 * interception/Makefile.in: Regenerated.
1104 * sanitizer_common/Makefile.in: Regenerated.
1105 * tsan/Makefile.in: Regenerated.
1107 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1109 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1110 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1113 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1116 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1118 (libasan_preinit.o): Depend on asan_preinit.o.
1119 * asan/Makefile.in: Regenerated.
1120 * asan/asan_preinit.cc: New file, synced from upstream.
1121 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1123 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1125 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1126 dynamic/asan_interceptors_dynamic.cc.
1127 * asan/Makefile.in: Regenerated.
1128 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1130 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1132 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1133 defined. Add used attribute.
1135 2013-02-21 Kostya Serebryany <kcc@google.com>
1137 * All source files: Merge from upstream r175733.
1138 * sanitizer_common/Makefile.am: Added a new file.
1139 * sanitizer_common/Makefile.in: Regenerated.
1141 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1144 * interception/interception.h (OFF_T): Merged from upstream
1147 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1149 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1151 2013-02-13 Kostya Serebryany <kcc@google.com>
1154 * All source files: Merge from upstream r175049.
1155 * interception/Makefile.am: added include path.
1156 * interception/Makefile.in: Regenerated.
1158 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1160 * configure.tgt: Disable build on darwin9 and earlier.
1162 2013-01-23 Kostya Serebryany <kcc@google.com>
1165 * All source files: Merge from upstream r173241.
1166 * merge.sh: Support merging .inc files.
1168 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1170 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1171 -Wno-c99-extensions.
1172 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1173 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1174 * sanitizer_common/Makefile.in: Regenerated.
1175 * interception/Makefile.in: Regenerated.
1176 * asan/Makefile.in: Regenerated.
1178 2013-01-10 Wei Mi <wmi@google.com>
1181 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1182 * tsan/Makefile.in: Regenerated.
1183 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1185 2013-01-10 Kostya Serebryany <kcc@google.com>
1187 * All source files: Merge from upstream r171973.
1188 * sanitizer_common/Makefile.am: Added new files.
1189 * asan/Makefile.am: Likewise.
1190 * tsan/Makefile.am: Likewise.
1191 * sanitizer_common/Makefile.in: Regenerated.
1192 * asan/Makefile.in: Likewise.
1193 * tsan/Makefile.in: Likewise.
1195 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1197 * asan/Makefile.am (libasan_la_LIBADD): Replace
1198 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1199 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1200 * Makefile.in: Regenerated.
1201 * configure: Likewise.
1202 * asan/Makefile.in: Likewise.
1203 * interception/Makefile.in: Likewise.
1204 * sanitizer_common/Makefile.in: Likewise.
1205 * tsan/Makefile.in: Likewise.
1207 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1209 * Makefile.am (AM_MAKEFLAGS): Restored.
1210 * interception/Makefile.am: Likewise.
1211 * sanitizer_common/Makefile.am: Likewise.
1212 * tsan/Makefile.am: Likewise.
1213 * Makefile.in: Regenerated.
1214 * asan/Makefile.in: Likewise.
1215 * interception/Makefile.in: Likewise.
1216 * sanitizer_common/Makefile.in: Likewise.
1217 * tsan/Makefile.in: Likewise.
1219 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1221 * Makefile.am (MAKEOVERRIDES): Restored.
1222 * asan/Makefile.am: Likewise.
1223 * interception/Makefile.am: Likewise.
1224 * sanitizer_common/Makefile.am: Likewise.
1225 * tsan/Makefile.am: Likewise.
1226 * Makefile.in: Regenerated.
1227 * asan/Makefile.in: Likewise.
1228 * interception/Makefile.in: Likewise.
1229 * sanitizer_common/Makefile.in: Likewise.
1230 * tsan/Makefile.in: Likewise.
1232 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1234 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1235 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1236 * Makefile.in: Regenerated.
1237 * configure: Likewise.
1238 * asan/Makefile.in: Likewise.
1239 * interception/Makefile.in: Likewise.
1240 * sanitizer_common/Makefile.in: Likewise.
1241 * tsan/Makefile.in: Likewise.
1243 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1245 * Makefile.am (AM_MAKEFLAGS): Removed.
1246 (MAKEOVERRIDES): Likewise.
1247 * asan/Makefile.am: Likewise.
1248 * interception/Makefile.am: Likewise.
1249 * sanitizer_common/Makefile.am: Likewise.
1250 * tsan/Makefile.am: Likewise.
1251 * Makefile.in: Regenerated.
1252 * asan/Makefile.in: Likewise.
1253 * interception/Makefile.in: Likewise.
1254 * sanitizer_common/Makefile.in: Likewise.
1255 * tsan/Makefile.in: Likewise.
1257 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1260 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1261 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1262 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1263 (AM_MAKEFLAGS): Remove CC and CXX.
1264 * interception/Makefile.am: Likewise.
1265 * sanitizer_common/Makefile.am: Likewise.
1266 * tsan/Makefile.am: Likewise.
1267 * Makefile.in: Regenerated.
1268 * aclocal.m4: Likewise.
1269 * configure: Likewise.
1270 * asan/Makefile.in: Likewise.
1271 * interception/Makefile.in: Likewise.
1272 * sanitizer_common/Makefile.in: Likewise.
1273 * tsan/Makefile.in: Likewise.
1275 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1277 * configure.tgt: Enable build on powerpc*-linux.
1279 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1282 * configure.ac: Set enable_static=no on darwin.
1283 * configure: Regenerated.
1285 2012-12-06 Kostya Serebryany <kcc@google.com>
1287 * All files: Merge from upstream r169392.
1289 2012-12-05 Kostya Serebryany <kcc@google.com>
1291 * All files: Merge from upstream r169371.
1293 2012-12-04 Kostya Serebryany <kcc@google.com>
1294 Jack Howarth <howarth@bromo.med.uc.edu>
1297 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1298 * Makefile.am: Don't build interception subdir when
1299 USING_MAC_INTERPOSE defined.
1300 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1301 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1302 Compile asan_interceptors_dynamic.cc but not libinterception
1303 when USING_MAC_INTERPOSE defined.
1304 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1305 * configure: Regenerated.
1306 * Makefile.in: Likewise.
1307 * asan/Makefile.in: Likewise.
1308 * interception/Makefile.in: Likewise.
1309 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1310 * asan/asan_mac.cc: Likewise.
1311 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1312 and use MISSING_BLOCKS_SUPPORT.
1313 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1314 * interception/mach_override/LICENSE.txt: Remove unused file.
1315 * interception/mach_override/mach_override.c: Likewise.
1316 * interception/mach_override/mach_override.h: Likewise.
1317 * interception/mach_override: Remove unused directory.
1319 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1321 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1322 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1323 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1325 (AM_MAKEFLAGS): Restore CC and CXX.
1326 * interception/Makefile.am: Likewise.
1327 * sanitizer_common/Makefile.am: Likewise.
1328 * tsan/Makefile.am: Likewise.
1329 * Makefile.in: Regenerated.
1330 * aclocal.m4: Likewise.
1331 * configure: Likewise.
1332 * asan/Makefile.in: Likewise.
1333 * interception/Makefile.in: Likewise.
1334 * sanitizer_common/Makefile.in: Likewise.
1335 * tsan/Makefile.in: Likewise.
1337 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1339 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1340 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1341 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1343 (AM_MAKEFLAGS): Remove CC and CXX.
1344 * interception/Makefile.am: Likewise.
1345 * sanitizer_common/Makefile.am: Likewise.
1346 * tsan/Makefile.am: Likewise.
1347 * Makefile.in: Regenerated.
1348 * aclocal.m4: Likewise.
1349 * configure: Likewise.
1350 * asan/Makefile.in: Likewise.
1351 * interception/Makefile.in: Likewise.
1352 * sanitizer_common/Makefile.in: Likewise.
1353 * tsan/Makefile.in: Likewise.
1355 2012-11-27 Kostya Serebryany <kcc@google.com>
1357 * All files: Merge from upstream r168699.
1359 2012-11-24 Kostya Serebryany <kcc@google.com>
1360 Jack Howarth <howarth@bromo.med.uc.edu>
1362 * interception/mach_override/mach_override.c: Migrate from llvm.
1363 * interception/mach_override/mach_override.h: Likewise.
1364 * interception/mach_override/LICENSE.txt: Likewise.
1365 * configure.tgt: Add darwin to supported targets.
1366 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1367 * interception/Makefile.am: Compile mach_override.c when
1368 USING_MACH_OVERRIDE defined.
1369 * configure: Regenerated.
1370 * interception/Makefile.in: Likewise.
1372 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1375 * tsan/Makefile.am (gcc_version): New.
1376 * tsan/Makefile.in: Regenerated.
1378 2012-11-23 Kostya Serebryany <kcc@google.com>
1380 * merge.sh: Support tsan, support added/removed files.
1381 * tsan/Makefile.am: Remove tsan_printf.cc.
1382 * tsan/Makefile.in: Regenerated.
1383 * other files: Merge from upstream r168514.
1385 2012-11-23 Kostya Serebryany <kcc@google.com>
1387 * merge.sh: New file.
1389 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1391 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1392 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1393 automake conditional instead of !MULTISUBDIR32.
1394 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1395 for 64-bit multilib.
1396 * configure.ac: Check for void * size, source in configure.tgt,
1397 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1398 * configure: Regenerated.
1399 * Makefile.in: Regenerated.
1400 * tsan/Makefile.in: Regenerated.
1402 2012-11-22 Wei Mi <wmi@google.com>
1404 * tsan: New directory. Import tsan runtime from llvm.
1405 * configure.ac: Add 64 bits tsan build.
1406 * Makefile.am: Likewise.
1407 * configure: Regenerated.
1408 * Makefile.in: Likewise.
1410 2012-11-21 Kostya Serebryany <kcc@google.com>
1412 * README.gcc: Extend the README.gcc with mode details.
1414 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1416 * sanitizer_common/sanitizer_linux.cc
1417 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1418 (internal_mmap): Use it.
1419 (internal_filesize): Likewise.
1421 2012-11-16 Tom Tromey <tromey@redhat.com>
1423 * configure.ac: Invoke AM_MAINTAINER_MODE.
1424 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1425 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1427 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1430 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1431 for hardware pointer.
1432 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1433 Replace uptr with uhwptr for stack unwind.
1435 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1437 * configure.tgt: Enable build on sparc linux.
1439 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1441 * configure.ac: Properly set MULTISUBDIR.
1442 * asan/Makefile.am (gcc_version): New.
1443 * interception/Makefile.am (gcc_version): Likewise.
1444 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1445 * configure: Regenerated.
1446 * asan/Makefile.in: Likewise.
1447 * interception/Makefile.in: Likewise.
1448 * sanitizer_common/Makefile.in: Likewise.
1450 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1453 * configure.ac (--enable-version-specific-runtime-libs): New option.
1454 (AC_CANONICAL_SYSTEM): New.
1455 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1456 (toolexecdir): Support multilib.
1457 (toolexeclibdir): Likewise.
1458 (multilib_arg): New.
1459 * Makefile.in: Regenerated.
1460 * aclocal.m4: Likewise.
1461 * configure: Likewise.
1462 * asan/Makefile.in: Likewise.
1463 * interception/Makefile.in: Likewise.
1464 * sanitizer_common/Makefile.in: Likewise.
1466 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1469 Backport from upstream revision 167883
1470 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1471 __x86_64__ instead of __WORDSIZE.
1472 (internal_filesize): Likwise.
1474 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1476 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1477 * Makefile.in: Regenerated.
1478 * configure: Likewise.
1480 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1483 * acinclude.m4: New file.
1484 * Makefile.am (ACLOCAL_AMFLAGS): New.
1485 * configure.ac (AC_PREREQ): Set to 2.64.
1486 (AC_CONFIG_AUX_DIR): Set to "..".
1487 * Makefile.in: Regenerated.
1488 * aclocal.m4: Likewise.
1489 * configure: Likewise.
1490 * asan/Makefile.in: Likewise.
1491 * interception/Makefile.in: Likewise.
1492 * sanitizer_common/Makefile.in: Likewise.
1494 * config.guess: Removed.
1495 * config.sub: Likewise.
1496 * depcomp: Likewise.
1497 * install-sh: Likewise.
1498 * ltmain.sh: Likewise.
1499 * missing: Likewise.
1501 2012-11-13 Richard Henderson <rth@redhat.com>
1503 * configure.tgt: New file.
1505 2012-11-12 David S. Miller <davem@davemloft.net>
1507 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1509 2012-10-29 Wei Mi <wmi@google.com>
1511 Initial checkin: migrate asan runtime from llvm.