1 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
4 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
7 2017-02-11 Jakub Jelinek <jakub@redhat.com>
10 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
12 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
14 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
16 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
19 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
22 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
23 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
25 2017-01-31 Jakub Jelinek <jakub@redhat.com>
27 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
29 2017-01-24 Jakub Jelinek <jakub@redhat.com>
31 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
34 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
35 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
37 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
38 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
39 * tsan/tsan_ppc_regs.h: Likewise.
40 * tsan/tsan_rtl_aarch64.S: Likewise.
41 * tsan/tsan_rtl_mips64.S: Likewise.
42 * tsan/tsan_rtl_ppc64.S: Likewise.
44 2017-01-21 Jakub Jelinek <jakub@redhat.com>
47 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
48 instead of cat to get version from BASE-VER file.
49 * asan/Makefile.am (gcc_version): Likewise.
50 * ubsan/Makefile.am (gcc_version): Likewise.
51 * sanitizer_common/Makefile.am (gcc_version): Likewise.
52 * lsan/Makefile.am (gcc_version): Likewise.
53 * tsan/Makefile.am (gcc_version): Likewise.
54 * interception/Makefile.in: Regenerated.
55 * asan/Makefile.in: Regenerated.
56 * ubsan/Makefile.in: Regenerated.
57 * sanitizer_common/Makefile.in: Regenerated.
58 * lsan/Makefile.in: Regenerated.
59 * tsan/Makefile.in: Regenerated.
61 2017-01-17 Jakub Jelinek <jakub@redhat.com>
64 * configure.ac: Add GCC_BASE_VER.
65 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
66 get version from BASE-VER file.
67 * libbacktrace/Makefile.in: Regenerated.
68 * interception/Makefile.in: Regenerated.
69 * asan/Makefile.in: Regenerated.
70 * ubsan/Makefile.in: Regenerated.
71 * configure: Regenerated.
72 * sanitizer_common/Makefile.in: Regenerated.
73 * lsan/Makefile.in: Regenerated.
74 * Makefile.in: Regenerated.
75 * tsan/Makefile.in: Regenerated.
77 2017-01-10 James Clarke <jrtc27@jrtc27.com>
80 * sanitizer_common/sanitizer_platform_limits_posix.h
81 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
83 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
85 * LOCAL_PATCHES: Add revision.
87 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
90 * sanitizer_common/sanitizer_platform_limits_posix.h
91 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
94 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
96 * LOCAL_PATCHES: Remove r242480.
98 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
100 * LOCAL_PATCHES: Add revision.
102 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
105 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
106 compiler supports blocks extension.
108 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
110 * LOCAL_PATCHES: Add revision.
112 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
115 * tsan/tsan_rtl.cc: Add missing attribute.
117 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
119 * LOCAL_PATCHES: New file.
121 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
124 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
125 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
126 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
127 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
129 (__ubsan_handle_cfi_bad_type_abort): Likewise.
130 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
131 (__ubsan_handle_cfi_bad_type): Export function.
132 (__ubsan_handle_cfi_bad_type_abort): Likewise.
133 * HOWTO_MERGE: Update documentation.
135 2016-11-15 Matthias Klose <doko@ubuntu.com>
137 * configure: Regenerate.
139 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
141 * asan/asan_globals.cc (RegisterGlobal): Do not call
142 CheckODRViolationViaPoisoning.
143 (CheckODRViolationViaPoisoning): Remove.
145 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
147 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
148 compiled code with GCC when extracting the caller PC for ARM if no
149 valid frame pointer is available.
151 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
155 2014-10-14 David S. Miller <davem@davemloft.net>
157 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
158 Define at __kernel_time_t, as needed for sparc.
159 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
160 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
161 (__sanitizer): Define struct___old_kernel_stat_sz,
162 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
163 (__sanitizer_ipc_perm): Adjust for sparc targets.
164 (__sanitizer_shmid_ds): Likewsie.
165 (__sanitizer_sigaction): Likewise.
166 (IOC_SIZE): Likewsie.
168 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
170 * All source files: Merge from upstream 285547.
171 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
173 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
174 * asan/Makefile.am (asan_files): Add new files.
175 * asan/Makefile.in: Regenerate.
176 * ubsan/Makefile.in: Likewise.
177 * lsan/Makefile.in: Likewise.
178 * tsan/Makefile.am (tsan_files): Add new files.
179 * tsan/Makefile.in: Regenerate.
180 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
181 (EXTRA_libsanitizer_common_la_SOURCES): Define.
182 (libsanitizer_common_la_LIBADD): Likewise.
183 (libsanitizer_common_la_DEPENDENCIES): Likewise.
184 * sanitizer_common/Makefile.in: Regenerate.
185 * interception/Makefile.in: Likewise.
186 * libbacktace/Makefile.in: Likewise.
187 * Makefile.in: Likewise.
188 * configure: Likewise.
189 * merge.sh: Handle builtins/assembly.h merging.
190 * builtins/assembly.h: New file.
191 * asan/libtool-version: Bump the libasan SONAME.
193 2016-09-21 Jakub Jelinek <jakub@redhat.com>
196 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
198 2016-09-05 Jakub Jelinek <jakub@redhat.com>
201 * asan/asan_globals.cc: Cherry-pick upstream r280657.
203 2016-08-12 Jakub Jelinek <jakub@redhat.com>
206 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
207 * tsan/tsan_rtl_aarch64.S: Likewise.
209 2016-07-23 Alan Modra <amodra@gmail.com>
211 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
212 * configure.ac: Don't substitute OBSTACK_DEFS.
213 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
214 * tsan/Makefile.am: Likewise.
215 * configure: Regenerate.
216 * Makefile.in: Regenerate.
217 * asan/Makefile.in: Regenerate.
218 * interception/Makefile.in: Regenerate.
219 * libbacktrace/Makefile.in: Regenerate.
220 * lsan/Makefile.in: Regenerate.
221 * sanitizer_common/Makefile.in: Regenerate.
222 * tsan/Makefile.in: Regenerate.
223 * ubsan/Makefile.in: Regenerate.
225 2016-05-17 Jakub Jelinek <jakub@redhat.com>
228 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
231 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
234 * asan/asan_mac.cc: Cherry pick upstream r266868.
236 2016-01-19 Jakub Jelinek <jakub@redhat.com>
239 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
240 InitializeInterceptors): Cherry pick upstream r258119.
242 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
244 * configure.ac: Replace the hard-coded -ldl requirement for
245 link_sanitizer_common with a configure time check for -ldl.
246 * configure: Regenerate.
248 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
250 * include/system/linux/asm/ptrace.h: Move to ...
251 * include/system/asm/ptrace.h: ... this.
253 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
255 * include/system/linux/asm/ptrace.h: New header.
257 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
259 * All source files: Merge from upstream r253555.
260 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
261 dependences for TSan for aarch64-*-linux* targets.
262 * tsan/Makefile.am: Add new source files.
263 * configure: Regenerate.
264 * tsan/Makefile.in: Likewise.
266 2015-11-09 Alan Modra <amodra@gmail.com>
268 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
269 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
271 * configure.ac: Substitute OBSTACK_DEFS.
272 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
273 * tsan/Makefile.am: Likewise.
274 * configure: Regenerate.
275 * Makefile.in: Regenerate.
276 * asan/Makefile.in: Regenerate.
277 * interception/Makefile.in: Regenerate.
278 * libbacktrace/Makefile.in: Regenerate.
279 * lsan/Makefile.in: Regenerate.
280 * sanitizer_common/Makefile.in: Regenerate.
281 * tsan/Makefile.in: Regenerate.
282 * ubsan/Makefile.in: Regenerate.
284 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
287 * configure.ac (link_sanitizer_common): Link against librt only if it
288 contains shm_open, required by sanitizers.
289 (CXX_ABI_NEEDED): Remove variable.
290 * configure: Regenerate.
291 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
292 * ubsan/Makefile.in: Regenerate.
294 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
296 * HOWTO_MERGE: New file.
298 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
300 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
301 compiled code with GCC when extracting the caller PC for ARM if no
302 valid frame pointer is available.
304 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
308 2015-02-20 Jakub Jelinek <jakub@redhat.com>
310 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
311 support until it is rewritten upstream.
313 * c-c++-common/asan/pr63888.c: New test.
315 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
319 2014-10-14 David S. Miller <davem@davemloft.net>
321 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
322 Define at __kernel_time_t, as needed for sparc.
323 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
324 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
325 (__sanitizer): Define struct___old_kernel_stat_sz,
326 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
327 (__sanitizer_ipc_perm): Adjust for sparc targets.
328 (__sanitizer_shmid_ds): Likewsie.
329 (__sanitizer_sigaction): Likewise.
330 (IOC_SIZE): Likewsie.
332 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
334 * All source files: Merge from upstream r250806.
335 * configure.ac (link_sanitizer_common): Add -lrt flag.
336 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
337 Set USE_CXX_ABI_FLAG=true for darwin.
338 * asan/Makefile.am (asan_files): Add new files.
339 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
340 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
341 * asan/Makefile.in: Regenerate.
342 * ubsan/Makefile.am (ubsan_files): Add new files.
343 (DEFS): Add DCAN_SANITIZE_UB=1.
344 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
345 * ubsan/Makefile.in: Regenerate.
346 * tsan/Makefile.am (tsan_files): Add new files.
347 (DEFS): Add DCAN_SANITIZE_UB=0.
348 * tsan/Makefile.in: Regenerate.
349 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
350 * sanitizer_common/Makefile.in: Regenerate.
351 * asan/libtool-version: Bump the libasan SONAME.
353 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
356 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
358 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
361 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
364 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
367 * sanitizer_common/sanitizer_stacktrace.cc
368 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
369 find the link register at an offset of 16 from the base of the
370 caller's stack frame.
372 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
374 * Makefile.in: Regenerated with automake-1.11.6.
375 * aclocal.m4: Likewise.
376 * asan/Makefile.in: Likewise.
377 * configure: Likewise.
378 * interception/Makefile.in: Likewise.
379 * libbacktrace/Makefile.in: Likewise.
380 * lsan/Makefile.in: Likewise.
381 * sanitizer_common/Makefile.in: Likewise.
382 * tsan/Makefile.in: Likewise.
383 * ubsan/Makefile.in: Likewise.
385 2015-04-13 Yury Gribov <y.gribov@samsung.com>
388 * sanitizer_common/sanitizer_platform.h: Cherry pick
390 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
391 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
392 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
393 * Makefile.in: Regenerate.
394 * asan/Makefile.in: Regenerate.
395 * config.h.in: Regenerate.
396 * configure: Regenerate.
397 * interception/Makefile.in: Regenerate.
398 * libbacktrace/Makefile.in: Regenerate.
399 * lsan/Makefile.in: Regenerate.
400 * sanitizer_common/Makefile.in: Regenerate.
401 * tsan/Makefile.in: Regenerate.
402 * ubsan/Makefile.in: Regenerate.
405 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
408 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
410 * sanitizer_common/sanitizer_platform.h: Likewise.
411 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
413 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
415 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
416 upstream 224508 and 224755.
418 2015-03-09 Jakub Jelinek <jakub@redhat.com>
422 2014-10-14 David S. Miller <davem@davemloft.net>
424 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
425 Define at __kernel_time_t, as needed for sparc.
426 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
427 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
428 (__sanitizer): Define struct___old_kernel_stat_sz,
429 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
430 (__sanitizer_ipc_perm): Adjust for sparc targets.
431 (__sanitizer_shmid_ds): Likewsie.
432 (__sanitizer_sigaction): Likewise.
433 (IOC_SIZE): Likewsie.
435 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
437 * configure.tgt: Enable build on powerpc*le-*-linux.
439 2015-02-23 Jakub Jelinek <jakub@redhat.com>
442 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
443 support until it is rewritten upstream.
445 2015-01-26 Matthias Klose <doko@ubuntu.com>
447 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
448 * configure: Regenerate.
450 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
452 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
453 * configure: Regenerate.
454 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
456 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
458 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
459 * configure: Regenerate.
460 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
461 (libtsan_la_DEPENDENCIES): Likewise.
462 * Makefile.in: Regenerate.
463 * asan/Makefile.in: Regenerate.
464 * interception/Makefile.in: Regenerate.
465 * libbacktrace/Makefile.in: Regenerate.
466 * lsan/Makefile.in: Regenerate.
467 * sanitizer_common/Makefile.in: Regenerate.
468 * tsan/Makefile.in: Regenerate.
469 * ubsan/Makefile.in: Regenerate.
471 2015-01-22 Jakub Jelinek <jakub@redhat.com>
473 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
475 2015-01-21 Jakub Jelinek <jakub@redhat.com>
478 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
480 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
481 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
483 2015-01-20 Jakub Jelinek <jakub@redhat.com>
486 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
488 2015-01-19 Jakub Jelinek <jakub@redhat.com>
491 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
494 2015-01-13 Jakub Jelinek <jakub@redhat.com>
496 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
497 upstream r224518 and r224519.
498 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
501 2014-12-16 Jakub Jelinek <jakub@redhat.com>
503 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
504 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
505 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
508 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
511 * configure: Regenerated.
513 2014-11-21 Jakub Jelinek <jakub@redhat.com>
516 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
517 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
519 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
521 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
522 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
523 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
524 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
525 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
526 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
527 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
528 * sanitizer_common/Makefile.in: Regenerate.
529 * asan/Makefile.in: Ditto.
530 * lsan/Makefile.in: Ditto.
531 * interception/Makefile.in: Ditto.
532 * tsan/Makefile.in: Ditto.
533 * libbacktrace/Makefile.in: Ditto.
534 * ubsan/Makefile.in: Ditto.
536 2014-11-13 Kostya Serebryany <kcc@google.com>
538 * All source files: Merge from upstream r221802.
539 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
540 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
541 with 'start' to follow the new interface.
542 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
543 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
544 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
545 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
546 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
548 (AM_CXXFLAGS): Added -std=c++11.
549 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
550 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
551 * asan/Makefile.in: Regenerate.
552 * interception/Makefile.in: Regenerate.
553 * libbacktrace/Makefile.in: Regenerate.
554 * lsan/Makefile.in: Regenerate.
555 * sanitizer_common/Makefile.in: Regenerate.
556 * tsan/Makefile.in: Regenerate.
557 * ubsan/Makefile.in: Regenerate.
559 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
562 * configure: Regenerate.
564 2014-10-16 Martin Liska <mliska@suse.cz>
566 * asan/Makefile.am: IPA ICF pass is disabled.
567 * asan/Makefile.in: Likewise.
569 2014-10-14 David S. Miller <davem@davemloft.net>
571 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
572 Define at __kernel_time_t, as needed for sparc.
573 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
574 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
575 (__sanitizer): Define struct___old_kernel_stat_sz,
576 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
577 (__sanitizer_ipc_perm): Adjust for sparc targets.
578 (__sanitizer_shmid_ds): Likewsie.
579 (__sanitizer_sigaction): Likewsie.
580 (IOC_SIZE): Likewsie.
582 2014-10-14 Jakub Jelinek <jakub@redhat.com>
584 * ubsan/Makefile.am (DEFS): Add -DPIC.
585 * ubsan/Makefile.in: Regenerated.
587 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
589 * configure.tgt: Enable build on aarch64*-linux.
591 2014-09-19 Kostya Serebryany <kcc@google.com>
593 * All source files: Merge from upstream r218156.
594 * asan/Makefile.am (asan_files): Added new files.
595 * asan/Makefile.in: Regenerate.
596 * ubsan/Makefile.am (ubsan_files): Added new files.
597 * ubsan/Makefile.in: Regenerate.
598 * tsan/Makefile.am (tsan_files): Added new files.
599 * tsan/Makefile.in: Regenerate.
600 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
602 * sanitizer_common/Makefile.in: Regenerate.
603 * asan/libtool-version: Bump the libasan SONAME.
605 2014-09-10 Jakub Jelinek <jakub@redhat.com>
607 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
608 upstream r215485, r217389, r217391 and r217400.
610 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
612 * sanitizer_common/sanitizer_common_interceptors.inc:
613 Cherry pick upstream r211008.
615 2014-06-11 Richard Biener <rguenther@suse.de>
617 * asan/asan_linux.cc: Cherry pick upstream r210012.
619 2014-05-30 Jakub Jelinek <jakub@redhat.com>
621 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
623 * sanitizer_common/sanitizer_common.h: Likewise.
624 * asan/asan_mapping.h: Likewise.
625 * asan/asan_linux.cc: Likewise.
626 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
627 * sanitizer_common/sanitizer_allocator.h: Likewise.
629 2014-05-23 Marek Polacek <polacek@redhat.com>
631 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
632 floating-point types.
634 2014-05-22 Kostya Serebryany <kcc@google.com>
636 * All source files: Merge from upstream r209283.
637 * asan/Makefile.am (asan_files): Added new files.
638 * asan/Makefile.in: Regenerate.
639 * tsan/Makefile.am (tsan_files): Added new files.
640 * tsan/Makefile.in: Regenerate.
641 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
643 * sanitizer_common/Makefile.in: Regenerate.
645 2014-05-14 Yury Gribov <y.gribov@samsung.com>
648 * Makefile.am (nodist_saninclude_HEADERS): Install
650 * Makefile.in: Regenerate.
652 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
654 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
655 Add ../../libbacktrace/sort.c.
656 * libbacktrace/Makefile.in: Regenerate.
657 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
659 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
661 * configure.tgt: Unsupported for little endian PowerPC for now.
663 2014-02-04 Jakub Jelinek <jakub@redhat.com>
666 * tsan/tsan_flags.cc (__tsan_default_options): Add
667 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
668 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
671 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
672 sanitizer_atomic.h and unistd.h.
673 (kThreadDescriptorSize): Made static, remove initializer and const,
674 change type to atomic_uintptr_t.
675 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
676 query glibc version, compute kThreadDescriptorSize depending on
677 glibc version minor number.
678 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
679 kThreadDescriptorSize directly.
681 2014-01-23 Yury Gribov <y.gribov@samsung.com>
682 Jakub Jelinek <jakub@redhat.com>
685 * configure.ac: Check for missing syscalls.
686 * Makefile.am: Likewise.
687 * configure: Regenerate.
688 * Makefile.in: Regenerate.
690 2014-01-09 Jakub Jelinek <jakub@redhat.com>
692 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
693 (LibbacktraceSymbolizer::Demangle): New declaration.
694 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
695 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
697 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
698 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
699 (struct CplusV3DemangleData): New type.
700 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
701 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
702 SymbolizeDataCallback): Use CplusV3Demangle.
703 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
704 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
705 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
706 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
707 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
708 cplus_demangle_init_info, cplus_demangle_mangled_name,
709 cplus_demangle_operators, cplus_demangle_print,
710 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
711 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
712 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
714 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
715 (memcmp, strncmp): Redefine.
716 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
717 ../../libiberty/cp-demangle.c.
718 * libbacktrace/bridge.cc (__asan_internal_memcmp,
719 __asan_internal_strncmp): New functions.
720 * sanitizer_common/Makefile.in: Regenerated.
721 * libbacktrace/Makefile.in: Regenerated.
722 * configure: Regenerated.
723 * configure.ac: Regenerated.
724 * config.h.in: Regenerated.
726 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
727 -isystem $(top_srcdir)/include/system.
728 * sanitizer_common/Makefile.in: Regenerated.
729 * include/system/linux/aio_abi.h: New header.
730 * include/system/linux/mroute.h: New header.
731 * include/system/linux/mroute6.h: New header.
732 * include/system/linux/perf_event.h: New header.
733 * include/system/linux/types.h: New header.
736 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
737 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
738 and -I/-include flags.
739 * lsan/Makefile.am (liblsan_la_LIBADD): Add
740 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
741 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
742 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
743 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
744 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
746 * README.gcc: Document that also lsan and ubsan are
747 maintained in compiler-rt upstream.
748 * libbacktrace/Makefile.am: New file.
749 * libbacktrace/backtrace-rename.h: New file.
750 * libbacktrace/backtrace-supported.h.in: New file.
751 * libbacktrace/bridge.cc: New file.
752 * configure.ac: Add tests needed for libbacktrace build
754 * sanitizer_common/Makefile.in: Regenerated.
755 * lsan/Makefile.in: Regenerated.
756 * tsan/Makefile.in: Regenerated.
757 * ubsan/Makefile.in: Regenerated.
758 * libbacktrace/Makefile.in: Generated.
759 * config.h.in: Regenerated.
760 * configure: Regenerated.
761 * Makefile.in: Regenerated.
762 * interception/Makefile.in: Regenerated.
763 * asan/Makefile.in: Regenerated.
764 * aclocal.m4: Regenerated.
766 2013-12-19 Kostya Serebryany <kcc@google.com>
768 * sanitizer_common/sanitizer_platform_limits_posix.cc:
769 workaround for missing definition of EOWNERDEAD, backport
770 from upstream r196779.
772 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
774 * sanitizer_common/sanitizer_platform_limits_posix.h
775 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
776 (__sanitizer_clock_t): Use long long for x32.
778 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
780 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
781 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
782 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
784 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
786 * configure.ac (link_sanitizer_common): Add -lm.
787 * configure: Regenerated.
789 2013-12-05 Kostya Serebryany <kcc@google.com>
791 * All source files: Merge from upstream r196489.
792 * merge.sh: Add *.S to the list of merged files.
794 2013-12-05 Yury Gribov <y.gribov@samsung.com>
797 * Makefile.am (gcc_version): Added gcc_version.
798 * Makefile.in: Regenerate.
800 2013-12-05 Kostya Serebryany <kcc@google.com>
802 * All source files: Merge from upstream r196090.
803 * tsan/Makefile.am (tsan_files): Added new files.
804 * tsan/Makefile.in: Regenerate.
805 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
806 * sanitizer_common/Makefile.in: Regenerate.
807 * lsan/Makefile.am (lsan_files): Added new files.
808 * lsan/Makefile.in: Regenerate.
810 2013-11-29 Jakub Jelinek <jakub@redhat.com>
811 Yury Gribov <y.gribov@samsung.com>
814 * libsanitizer.spec.in: Add spec file to hold link flags for
815 various sanitizer libs.
816 * configure.ac: Check whether clock_* routines come from librt.
817 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
819 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
820 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
821 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
822 * asan/Makefile.in: Regenerate.
823 * interception/Makefile.in: Regenerate.
824 * lsan/Makefile.in: Regenerate.
825 * sanitizer_common/Makefile.in: Regenerate.
826 * tsan/Makefile.in: Regenerate.
827 * ubsan/Makefile.in: Regenerate.
828 * Makefile.in: Regenerate.
829 * configure: Regenerate.
831 2013-11-28 Jakub Jelinek <jakub@redhat.com>
832 Yury Gribov <y.gribov@samsung.com>
835 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
837 * ubsan/Makefile.in: Regenerated.
839 2013-11-22 Jakub Jelinek <jakub@redhat.com>
842 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
843 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
844 * configure: Regenerated.
845 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
846 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
847 * lsan/Makefile.in: Regenerated.
849 2013-11-22 Mike Stump <mikestump@comcast.net>
851 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
852 change from upstream to fix build.
854 2013-11-18 Yury Gribov <y.gribov@samsung.com>
857 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
858 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
859 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
860 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
861 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
862 * asan/Makefile.in: Regenerate.
863 * interception/Makefile.in: Regenerate.
864 * tsan/Makefile.in: Regenerate.
865 * lsan/Makefile.in: Regenerate.
866 * sanitizer_common/Makefile.in: Regenerate.
868 2013-11-15 Kostya Serebryany <kcc@google.com>
871 Backport from upstream revision 194573
872 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
873 back to the original functions in the common libsanitizer
874 interceptors and the __cxa_atexit() interceptor on Darwin.
876 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
879 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
880 ifdef out more source.
882 2013-11-12 Jakub Jelinek <jakub@redhat.com>
884 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
885 ifdef out almost the whole source.
886 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
888 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
891 * sanitizer_common/sanitizer_platform_limits_posix.cc
892 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
895 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
898 * sanitizer_common/sanitizer_platform_limits_linux.cc
899 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
901 * sanitizer_common/sanitizer_platform_limits_posix.h
902 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
904 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
906 (__sanitizer___kernel_gid_t): Likewise.
907 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
910 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
913 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
914 2 64-bit integers to save and restore fn and arg. Properly load
915 newtls/child_tidptr into r8/r10.
917 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
920 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
921 internal_munmap, internal_open, internal_read, internal_write,
922 internal_stat, internal_lstat, internal_fstat, internal_readlink,
923 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
924 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
925 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
927 2013-11-04 Kostya Serebryany <kcc@google.com>
929 * All source files: Merge from upstream r191666.
930 * merge.sh: Added lsan.
931 * configure.ac (AC_CONFIG_FILES): Added lsan.
932 * Makefile.am (SUBDIRS): Added lsan.
933 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
934 * asan/Makefile.am (asan_files): Added new files.
935 (libasan_la_LIBADD): Added a dependency on lsan.
936 * lsan/Makefile.am: New file.
937 * asan/Makefile.in: Regenerate.
938 * lsan/Makefile.in: Regenerate.
939 * Makefile.in: Regenerate.
940 * configure: Regenerate.
941 * sanitizer_common/Makefile.in: Regenerate.
943 2013-09-20 Alan Modra <amodra@gmail.com>
945 * configure: Regenerate.
947 2013-09-01 Iain Sandoe <iain@codesourcery.com>
949 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
950 libinterception.la for Darwin.
951 * ubsan/Makefile.in: Regenerate.
953 2013-08-30 Jakub Jelinek <jakub@redhat.com>
955 * Makefile.am (SUBDIRS): Add ubsan.
956 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
957 * merge.sh: Merge ubsan.
958 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
959 * sanitizer_common/sanitizer_printf.cc: Likewise.
960 * sanitizer_common/sanitizer_common.h: Likewise.
961 * ubsan: New directory. Import ubsan runtime from llvm.
963 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
965 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
966 Cherry pick upstream r182922.
968 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
970 * configure.tgt: Add ARM pattern.
972 2013-03-22 Jakub Jelinek <jakub@redhat.com>
975 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
976 * Makefile.in: Regenerated.
977 * asan/Makefile.in: Regenerated.
978 * interception/Makefile.in: Regenerated.
979 * sanitizer_common/Makefile.in: Regenerated.
980 * tsan/Makefile.in: Regenerated.
982 2013-02-28 Jakub Jelinek <jakub@redhat.com>
984 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
985 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
988 2013-02-22 Jakub Jelinek <jakub@redhat.com>
991 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
993 (libasan_preinit.o): Depend on asan_preinit.o.
994 * asan/Makefile.in: Regenerated.
995 * asan/asan_preinit.cc: New file, synced from upstream.
996 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
998 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1000 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1001 dynamic/asan_interceptors_dynamic.cc.
1002 * asan/Makefile.in: Regenerated.
1003 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1005 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1007 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1008 defined. Add used attribute.
1010 2013-02-21 Kostya Serebryany <kcc@google.com>
1012 * All source files: Merge from upstream r175733.
1013 * sanitizer_common/Makefile.am: Added a new file.
1014 * sanitizer_common/Makefile.in: Regenerated.
1016 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1019 * interception/interception.h (OFF_T): Merged from upstream
1022 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1024 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1026 2013-02-13 Kostya Serebryany <kcc@google.com>
1029 * All source files: Merge from upstream r175049.
1030 * interception/Makefile.am: added include path.
1031 * interception/Makefile.in: Regenerated.
1033 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1035 * configure.tgt: Disable build on darwin9 and earlier.
1037 2013-01-23 Kostya Serebryany <kcc@google.com>
1040 * All source files: Merge from upstream r173241.
1041 * merge.sh: Support merging .inc files.
1043 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1045 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1046 -Wno-c99-extensions.
1047 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1048 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1049 * sanitizer_common/Makefile.in: Regenerated.
1050 * interception/Makefile.in: Regenerated.
1051 * asan/Makefile.in: Regenerated.
1053 2013-01-10 Wei Mi <wmi@google.com>
1056 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1057 * tsan/Makefile.in: Regenerated.
1058 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1060 2013-01-10 Kostya Serebryany <kcc@google.com>
1062 * All source files: Merge from upstream r171973.
1063 * sanitizer_common/Makefile.am: Added new files.
1064 * asan/Makefile.am: Likewise.
1065 * tsan/Makefile.am: Likewise.
1066 * sanitizer_common/Makefile.in: Regenerated.
1067 * asan/Makefile.in: Likewise.
1068 * tsan/Makefile.in: Likewise.
1070 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1072 * asan/Makefile.am (libasan_la_LIBADD): Replace
1073 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1074 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1075 * Makefile.in: Regenerated.
1076 * configure: Likewise.
1077 * asan/Makefile.in: Likewise.
1078 * interception/Makefile.in: Likewise.
1079 * sanitizer_common/Makefile.in: Likewise.
1080 * tsan/Makefile.in: Likewise.
1082 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1084 * Makefile.am (AM_MAKEFLAGS): Restored.
1085 * interception/Makefile.am: Likewise.
1086 * sanitizer_common/Makefile.am: Likewise.
1087 * tsan/Makefile.am: Likewise.
1088 * Makefile.in: Regenerated.
1089 * asan/Makefile.in: Likewise.
1090 * interception/Makefile.in: Likewise.
1091 * sanitizer_common/Makefile.in: Likewise.
1092 * tsan/Makefile.in: Likewise.
1094 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1096 * Makefile.am (MAKEOVERRIDES): Restored.
1097 * asan/Makefile.am: Likewise.
1098 * interception/Makefile.am: Likewise.
1099 * sanitizer_common/Makefile.am: Likewise.
1100 * tsan/Makefile.am: Likewise.
1101 * Makefile.in: Regenerated.
1102 * asan/Makefile.in: Likewise.
1103 * interception/Makefile.in: Likewise.
1104 * sanitizer_common/Makefile.in: Likewise.
1105 * tsan/Makefile.in: Likewise.
1107 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1109 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1110 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1111 * Makefile.in: Regenerated.
1112 * configure: Likewise.
1113 * asan/Makefile.in: Likewise.
1114 * interception/Makefile.in: Likewise.
1115 * sanitizer_common/Makefile.in: Likewise.
1116 * tsan/Makefile.in: Likewise.
1118 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1120 * Makefile.am (AM_MAKEFLAGS): Removed.
1121 (MAKEOVERRIDES): Likewise.
1122 * asan/Makefile.am: Likewise.
1123 * interception/Makefile.am: Likewise.
1124 * sanitizer_common/Makefile.am: Likewise.
1125 * tsan/Makefile.am: Likewise.
1126 * Makefile.in: Regenerated.
1127 * asan/Makefile.in: Likewise.
1128 * interception/Makefile.in: Likewise.
1129 * sanitizer_common/Makefile.in: Likewise.
1130 * tsan/Makefile.in: Likewise.
1132 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1135 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1136 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1137 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1138 (AM_MAKEFLAGS): Remove CC and CXX.
1139 * interception/Makefile.am: Likewise.
1140 * sanitizer_common/Makefile.am: Likewise.
1141 * tsan/Makefile.am: Likewise.
1142 * Makefile.in: Regenerated.
1143 * aclocal.m4: Likewise.
1144 * configure: Likewise.
1145 * asan/Makefile.in: Likewise.
1146 * interception/Makefile.in: Likewise.
1147 * sanitizer_common/Makefile.in: Likewise.
1148 * tsan/Makefile.in: Likewise.
1150 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1152 * configure.tgt: Enable build on powerpc*-linux.
1154 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1157 * configure.ac: Set enable_static=no on darwin.
1158 * configure: Regenerated.
1160 2012-12-06 Kostya Serebryany <kcc@google.com>
1162 * All files: Merge from upstream r169392.
1164 2012-12-05 Kostya Serebryany <kcc@google.com>
1166 * All files: Merge from upstream r169371.
1168 2012-12-04 Kostya Serebryany <kcc@google.com>
1169 Jack Howarth <howarth@bromo.med.uc.edu>
1172 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1173 * Makefile.am: Don't build interception subdir when
1174 USING_MAC_INTERPOSE defined.
1175 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1176 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1177 Compile asan_interceptors_dynamic.cc but not libinterception
1178 when USING_MAC_INTERPOSE defined.
1179 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1180 * configure: Regenerated.
1181 * Makefile.in: Likewise.
1182 * asan/Makefile.in: Likewise.
1183 * interception/Makefile.in: Likewise.
1184 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1185 * asan/asan_mac.cc: Likewise.
1186 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1187 and use MISSING_BLOCKS_SUPPORT.
1188 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1189 * interception/mach_override/LICENSE.txt: Remove unused file.
1190 * interception/mach_override/mach_override.c: Likewise.
1191 * interception/mach_override/mach_override.h: Likewise.
1192 * interception/mach_override: Remove unused directory.
1194 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1196 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1197 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1198 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1200 (AM_MAKEFLAGS): Restore CC and CXX.
1201 * interception/Makefile.am: Likewise.
1202 * sanitizer_common/Makefile.am: Likewise.
1203 * tsan/Makefile.am: Likewise.
1204 * Makefile.in: Regenerated.
1205 * aclocal.m4: Likewise.
1206 * configure: Likewise.
1207 * asan/Makefile.in: Likewise.
1208 * interception/Makefile.in: Likewise.
1209 * sanitizer_common/Makefile.in: Likewise.
1210 * tsan/Makefile.in: Likewise.
1212 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1214 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1215 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1216 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1218 (AM_MAKEFLAGS): Remove CC and CXX.
1219 * interception/Makefile.am: Likewise.
1220 * sanitizer_common/Makefile.am: Likewise.
1221 * tsan/Makefile.am: Likewise.
1222 * Makefile.in: Regenerated.
1223 * aclocal.m4: Likewise.
1224 * configure: Likewise.
1225 * asan/Makefile.in: Likewise.
1226 * interception/Makefile.in: Likewise.
1227 * sanitizer_common/Makefile.in: Likewise.
1228 * tsan/Makefile.in: Likewise.
1230 2012-11-27 Kostya Serebryany <kcc@google.com>
1232 * All files: Merge from upstream r168699.
1234 2012-11-24 Kostya Serebryany <kcc@google.com>
1235 Jack Howarth <howarth@bromo.med.uc.edu>
1237 * interception/mach_override/mach_override.c: Migrate from llvm.
1238 * interception/mach_override/mach_override.h: Likewise.
1239 * interception/mach_override/LICENSE.txt: Likewise.
1240 * configure.tgt: Add darwin to supported targets.
1241 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1242 * interception/Makefile.am: Compile mach_override.c when
1243 USING_MACH_OVERRIDE defined.
1244 * configure: Regenerated.
1245 * interception/Makefile.in: Likewise.
1247 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1250 * tsan/Makefile.am (gcc_version): New.
1251 * tsan/Makefile.in: Regenerated.
1253 2012-11-23 Kostya Serebryany <kcc@google.com>
1255 * merge.sh: Support tsan, support added/removed files.
1256 * tsan/Makefile.am: Remove tsan_printf.cc.
1257 * tsan/Makefile.in: Regenerated.
1258 * other files: Merge from upstream r168514.
1260 2012-11-23 Kostya Serebryany <kcc@google.com>
1262 * merge.sh: New file.
1264 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1266 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1267 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1268 automake conditional instead of !MULTISUBDIR32.
1269 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1270 for 64-bit multilib.
1271 * configure.ac: Check for void * size, source in configure.tgt,
1272 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1273 * configure: Regenerated.
1274 * Makefile.in: Regenerated.
1275 * tsan/Makefile.in: Regenerated.
1277 2012-11-22 Wei Mi <wmi@google.com>
1279 * tsan: New directory. Import tsan runtime from llvm.
1280 * configure.ac: Add 64 bits tsan build.
1281 * Makefile.am: Likewise.
1282 * configure: Regenerated.
1283 * Makefile.in: Likewise.
1285 2012-11-21 Kostya Serebryany <kcc@google.com>
1287 * README.gcc: Extend the README.gcc with mode details.
1289 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1291 * sanitizer_common/sanitizer_linux.cc
1292 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1293 (internal_mmap): Use it.
1294 (internal_filesize): Likewise.
1296 2012-11-16 Tom Tromey <tromey@redhat.com>
1298 * configure.ac: Invoke AM_MAINTAINER_MODE.
1299 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1300 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1302 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1305 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1306 for hardware pointer.
1307 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1308 Replace uptr with uhwptr for stack unwind.
1310 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1312 * configure.tgt: Enable build on sparc linux.
1314 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1316 * configure.ac: Properly set MULTISUBDIR.
1317 * asan/Makefile.am (gcc_version): New.
1318 * interception/Makefile.am (gcc_version): Likewise.
1319 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1320 * configure: Regenerated.
1321 * asan/Makefile.in: Likewise.
1322 * interception/Makefile.in: Likewise.
1323 * sanitizer_common/Makefile.in: Likewise.
1325 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1328 * configure.ac (--enable-version-specific-runtime-libs): New option.
1329 (AC_CANONICAL_SYSTEM): New.
1330 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1331 (toolexecdir): Support multilib.
1332 (toolexeclibdir): Likewise.
1333 (multilib_arg): New.
1334 * Makefile.in: Regenerated.
1335 * aclocal.m4: Likewise.
1336 * configure: Likewise.
1337 * asan/Makefile.in: Likewise.
1338 * interception/Makefile.in: Likewise.
1339 * sanitizer_common/Makefile.in: Likewise.
1341 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1344 Backport from upstream revision 167883
1345 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1346 __x86_64__ instead of __WORDSIZE.
1347 (internal_filesize): Likwise.
1349 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1351 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1352 * Makefile.in: Regenerated.
1353 * configure: Likewise.
1355 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1358 * acinclude.m4: New file.
1359 * Makefile.am (ACLOCAL_AMFLAGS): New.
1360 * configure.ac (AC_PREREQ): Set to 2.64.
1361 (AC_CONFIG_AUX_DIR): Set to "..".
1362 * Makefile.in: Regenerated.
1363 * aclocal.m4: Likewise.
1364 * configure: Likewise.
1365 * asan/Makefile.in: Likewise.
1366 * interception/Makefile.in: Likewise.
1367 * sanitizer_common/Makefile.in: Likewise.
1369 * config.guess: Removed.
1370 * config.sub: Likewise.
1371 * depcomp: Likewise.
1372 * install-sh: Likewise.
1373 * ltmain.sh: Likewise.
1374 * missing: Likewise.
1376 2012-11-13 Richard Henderson <rth@redhat.com>
1378 * configure.tgt: New file.
1380 2012-11-12 David S. Miller <davem@davemloft.net>
1382 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1384 2012-10-29 Wei Mi <wmi@google.com>
1386 Initial checkin: migrate asan runtime from llvm.