1 2017-03-22 Jakub Jelinek <jakub@redhat.com>
4 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
6 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
9 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
12 2017-02-11 Jakub Jelinek <jakub@redhat.com>
15 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
17 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
19 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
21 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
24 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
27 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
28 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
30 2017-01-31 Jakub Jelinek <jakub@redhat.com>
32 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
34 2017-01-24 Jakub Jelinek <jakub@redhat.com>
36 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
39 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
40 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
42 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
43 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
44 * tsan/tsan_ppc_regs.h: Likewise.
45 * tsan/tsan_rtl_aarch64.S: Likewise.
46 * tsan/tsan_rtl_mips64.S: Likewise.
47 * tsan/tsan_rtl_ppc64.S: Likewise.
49 2017-01-21 Jakub Jelinek <jakub@redhat.com>
52 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
53 instead of cat to get version from BASE-VER file.
54 * asan/Makefile.am (gcc_version): Likewise.
55 * ubsan/Makefile.am (gcc_version): Likewise.
56 * sanitizer_common/Makefile.am (gcc_version): Likewise.
57 * lsan/Makefile.am (gcc_version): Likewise.
58 * tsan/Makefile.am (gcc_version): Likewise.
59 * interception/Makefile.in: Regenerated.
60 * asan/Makefile.in: Regenerated.
61 * ubsan/Makefile.in: Regenerated.
62 * sanitizer_common/Makefile.in: Regenerated.
63 * lsan/Makefile.in: Regenerated.
64 * tsan/Makefile.in: Regenerated.
66 2017-01-17 Jakub Jelinek <jakub@redhat.com>
69 * configure.ac: Add GCC_BASE_VER.
70 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
71 get version from BASE-VER file.
72 * libbacktrace/Makefile.in: Regenerated.
73 * interception/Makefile.in: Regenerated.
74 * asan/Makefile.in: Regenerated.
75 * ubsan/Makefile.in: Regenerated.
76 * configure: Regenerated.
77 * sanitizer_common/Makefile.in: Regenerated.
78 * lsan/Makefile.in: Regenerated.
79 * Makefile.in: Regenerated.
80 * tsan/Makefile.in: Regenerated.
82 2017-01-10 James Clarke <jrtc27@jrtc27.com>
85 * sanitizer_common/sanitizer_platform_limits_posix.h
86 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
88 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
90 * LOCAL_PATCHES: Add revision.
92 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
95 * sanitizer_common/sanitizer_platform_limits_posix.h
96 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
99 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
101 * LOCAL_PATCHES: Remove r242480.
103 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
105 * LOCAL_PATCHES: Add revision.
107 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
110 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
111 compiler supports blocks extension.
113 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
115 * LOCAL_PATCHES: Add revision.
117 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
120 * tsan/tsan_rtl.cc: Add missing attribute.
122 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
124 * LOCAL_PATCHES: New file.
126 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
129 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
130 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
131 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
132 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
134 (__ubsan_handle_cfi_bad_type_abort): Likewise.
135 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
136 (__ubsan_handle_cfi_bad_type): Export function.
137 (__ubsan_handle_cfi_bad_type_abort): Likewise.
138 * HOWTO_MERGE: Update documentation.
140 2016-11-15 Matthias Klose <doko@ubuntu.com>
142 * configure: Regenerate.
144 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
146 * asan/asan_globals.cc (RegisterGlobal): Do not call
147 CheckODRViolationViaPoisoning.
148 (CheckODRViolationViaPoisoning): Remove.
150 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
152 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
153 compiled code with GCC when extracting the caller PC for ARM if no
154 valid frame pointer is available.
156 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
160 2014-10-14 David S. Miller <davem@davemloft.net>
162 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
163 Define at __kernel_time_t, as needed for sparc.
164 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
165 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
166 (__sanitizer): Define struct___old_kernel_stat_sz,
167 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
168 (__sanitizer_ipc_perm): Adjust for sparc targets.
169 (__sanitizer_shmid_ds): Likewsie.
170 (__sanitizer_sigaction): Likewise.
171 (IOC_SIZE): Likewsie.
173 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
175 * All source files: Merge from upstream 285547.
176 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
178 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
179 * asan/Makefile.am (asan_files): Add new files.
180 * asan/Makefile.in: Regenerate.
181 * ubsan/Makefile.in: Likewise.
182 * lsan/Makefile.in: Likewise.
183 * tsan/Makefile.am (tsan_files): Add new files.
184 * tsan/Makefile.in: Regenerate.
185 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
186 (EXTRA_libsanitizer_common_la_SOURCES): Define.
187 (libsanitizer_common_la_LIBADD): Likewise.
188 (libsanitizer_common_la_DEPENDENCIES): Likewise.
189 * sanitizer_common/Makefile.in: Regenerate.
190 * interception/Makefile.in: Likewise.
191 * libbacktace/Makefile.in: Likewise.
192 * Makefile.in: Likewise.
193 * configure: Likewise.
194 * merge.sh: Handle builtins/assembly.h merging.
195 * builtins/assembly.h: New file.
196 * asan/libtool-version: Bump the libasan SONAME.
198 2016-09-21 Jakub Jelinek <jakub@redhat.com>
201 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
203 2016-09-05 Jakub Jelinek <jakub@redhat.com>
206 * asan/asan_globals.cc: Cherry-pick upstream r280657.
208 2016-08-12 Jakub Jelinek <jakub@redhat.com>
211 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
212 * tsan/tsan_rtl_aarch64.S: Likewise.
214 2016-07-23 Alan Modra <amodra@gmail.com>
216 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
217 * configure.ac: Don't substitute OBSTACK_DEFS.
218 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
219 * tsan/Makefile.am: Likewise.
220 * configure: Regenerate.
221 * Makefile.in: Regenerate.
222 * asan/Makefile.in: Regenerate.
223 * interception/Makefile.in: Regenerate.
224 * libbacktrace/Makefile.in: Regenerate.
225 * lsan/Makefile.in: Regenerate.
226 * sanitizer_common/Makefile.in: Regenerate.
227 * tsan/Makefile.in: Regenerate.
228 * ubsan/Makefile.in: Regenerate.
230 2016-05-17 Jakub Jelinek <jakub@redhat.com>
233 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
236 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
239 * asan/asan_mac.cc: Cherry pick upstream r266868.
241 2016-01-19 Jakub Jelinek <jakub@redhat.com>
244 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
245 InitializeInterceptors): Cherry pick upstream r258119.
247 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
249 * configure.ac: Replace the hard-coded -ldl requirement for
250 link_sanitizer_common with a configure time check for -ldl.
251 * configure: Regenerate.
253 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
255 * include/system/linux/asm/ptrace.h: Move to ...
256 * include/system/asm/ptrace.h: ... this.
258 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
260 * include/system/linux/asm/ptrace.h: New header.
262 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
264 * All source files: Merge from upstream r253555.
265 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
266 dependences for TSan for aarch64-*-linux* targets.
267 * tsan/Makefile.am: Add new source files.
268 * configure: Regenerate.
269 * tsan/Makefile.in: Likewise.
271 2015-11-09 Alan Modra <amodra@gmail.com>
273 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
274 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
276 * configure.ac: Substitute OBSTACK_DEFS.
277 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
278 * tsan/Makefile.am: Likewise.
279 * configure: Regenerate.
280 * Makefile.in: Regenerate.
281 * asan/Makefile.in: Regenerate.
282 * interception/Makefile.in: Regenerate.
283 * libbacktrace/Makefile.in: Regenerate.
284 * lsan/Makefile.in: Regenerate.
285 * sanitizer_common/Makefile.in: Regenerate.
286 * tsan/Makefile.in: Regenerate.
287 * ubsan/Makefile.in: Regenerate.
289 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
292 * configure.ac (link_sanitizer_common): Link against librt only if it
293 contains shm_open, required by sanitizers.
294 (CXX_ABI_NEEDED): Remove variable.
295 * configure: Regenerate.
296 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
297 * ubsan/Makefile.in: Regenerate.
299 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
301 * HOWTO_MERGE: New file.
303 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
305 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
306 compiled code with GCC when extracting the caller PC for ARM if no
307 valid frame pointer is available.
309 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
313 2015-02-20 Jakub Jelinek <jakub@redhat.com>
315 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
316 support until it is rewritten upstream.
318 * c-c++-common/asan/pr63888.c: New test.
320 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
324 2014-10-14 David S. Miller <davem@davemloft.net>
326 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
327 Define at __kernel_time_t, as needed for sparc.
328 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
329 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
330 (__sanitizer): Define struct___old_kernel_stat_sz,
331 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
332 (__sanitizer_ipc_perm): Adjust for sparc targets.
333 (__sanitizer_shmid_ds): Likewsie.
334 (__sanitizer_sigaction): Likewise.
335 (IOC_SIZE): Likewsie.
337 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
339 * All source files: Merge from upstream r250806.
340 * configure.ac (link_sanitizer_common): Add -lrt flag.
341 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
342 Set USE_CXX_ABI_FLAG=true for darwin.
343 * asan/Makefile.am (asan_files): Add new files.
344 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
345 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
346 * asan/Makefile.in: Regenerate.
347 * ubsan/Makefile.am (ubsan_files): Add new files.
348 (DEFS): Add DCAN_SANITIZE_UB=1.
349 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
350 * ubsan/Makefile.in: Regenerate.
351 * tsan/Makefile.am (tsan_files): Add new files.
352 (DEFS): Add DCAN_SANITIZE_UB=0.
353 * tsan/Makefile.in: Regenerate.
354 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
355 * sanitizer_common/Makefile.in: Regenerate.
356 * asan/libtool-version: Bump the libasan SONAME.
358 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
361 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
363 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
366 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
369 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
372 * sanitizer_common/sanitizer_stacktrace.cc
373 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
374 find the link register at an offset of 16 from the base of the
375 caller's stack frame.
377 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
379 * Makefile.in: Regenerated with automake-1.11.6.
380 * aclocal.m4: Likewise.
381 * asan/Makefile.in: Likewise.
382 * configure: Likewise.
383 * interception/Makefile.in: Likewise.
384 * libbacktrace/Makefile.in: Likewise.
385 * lsan/Makefile.in: Likewise.
386 * sanitizer_common/Makefile.in: Likewise.
387 * tsan/Makefile.in: Likewise.
388 * ubsan/Makefile.in: Likewise.
390 2015-04-13 Yury Gribov <y.gribov@samsung.com>
393 * sanitizer_common/sanitizer_platform.h: Cherry pick
395 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
396 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
397 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
398 * Makefile.in: Regenerate.
399 * asan/Makefile.in: Regenerate.
400 * config.h.in: Regenerate.
401 * configure: 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.
410 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
413 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
415 * sanitizer_common/sanitizer_platform.h: Likewise.
416 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
418 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
420 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
421 upstream 224508 and 224755.
423 2015-03-09 Jakub Jelinek <jakub@redhat.com>
427 2014-10-14 David S. Miller <davem@davemloft.net>
429 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
430 Define at __kernel_time_t, as needed for sparc.
431 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
432 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
433 (__sanitizer): Define struct___old_kernel_stat_sz,
434 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
435 (__sanitizer_ipc_perm): Adjust for sparc targets.
436 (__sanitizer_shmid_ds): Likewsie.
437 (__sanitizer_sigaction): Likewise.
438 (IOC_SIZE): Likewsie.
440 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
442 * configure.tgt: Enable build on powerpc*le-*-linux.
444 2015-02-23 Jakub Jelinek <jakub@redhat.com>
447 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
448 support until it is rewritten upstream.
450 2015-01-26 Matthias Klose <doko@ubuntu.com>
452 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
453 * configure: Regenerate.
455 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
457 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
458 * configure: Regenerate.
459 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
461 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
463 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
464 * configure: Regenerate.
465 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
466 (libtsan_la_DEPENDENCIES): Likewise.
467 * Makefile.in: Regenerate.
468 * asan/Makefile.in: Regenerate.
469 * interception/Makefile.in: Regenerate.
470 * libbacktrace/Makefile.in: Regenerate.
471 * lsan/Makefile.in: Regenerate.
472 * sanitizer_common/Makefile.in: Regenerate.
473 * tsan/Makefile.in: Regenerate.
474 * ubsan/Makefile.in: Regenerate.
476 2015-01-22 Jakub Jelinek <jakub@redhat.com>
478 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
480 2015-01-21 Jakub Jelinek <jakub@redhat.com>
483 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
485 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
486 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
488 2015-01-20 Jakub Jelinek <jakub@redhat.com>
491 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
493 2015-01-19 Jakub Jelinek <jakub@redhat.com>
496 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
499 2015-01-13 Jakub Jelinek <jakub@redhat.com>
501 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
502 upstream r224518 and r224519.
503 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
506 2014-12-16 Jakub Jelinek <jakub@redhat.com>
508 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
509 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
510 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
513 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
516 * configure: Regenerated.
518 2014-11-21 Jakub Jelinek <jakub@redhat.com>
521 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
522 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
524 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
526 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
527 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
528 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
529 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
530 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
531 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
532 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
533 * sanitizer_common/Makefile.in: Regenerate.
534 * asan/Makefile.in: Ditto.
535 * lsan/Makefile.in: Ditto.
536 * interception/Makefile.in: Ditto.
537 * tsan/Makefile.in: Ditto.
538 * libbacktrace/Makefile.in: Ditto.
539 * ubsan/Makefile.in: Ditto.
541 2014-11-13 Kostya Serebryany <kcc@google.com>
543 * All source files: Merge from upstream r221802.
544 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
545 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
546 with 'start' to follow the new interface.
547 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
548 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
549 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
550 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
551 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
553 (AM_CXXFLAGS): Added -std=c++11.
554 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
555 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
556 * asan/Makefile.in: Regenerate.
557 * interception/Makefile.in: Regenerate.
558 * libbacktrace/Makefile.in: Regenerate.
559 * lsan/Makefile.in: Regenerate.
560 * sanitizer_common/Makefile.in: Regenerate.
561 * tsan/Makefile.in: Regenerate.
562 * ubsan/Makefile.in: Regenerate.
564 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
567 * configure: Regenerate.
569 2014-10-16 Martin Liska <mliska@suse.cz>
571 * asan/Makefile.am: IPA ICF pass is disabled.
572 * asan/Makefile.in: Likewise.
574 2014-10-14 David S. Miller <davem@davemloft.net>
576 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
577 Define at __kernel_time_t, as needed for sparc.
578 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
579 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
580 (__sanitizer): Define struct___old_kernel_stat_sz,
581 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
582 (__sanitizer_ipc_perm): Adjust for sparc targets.
583 (__sanitizer_shmid_ds): Likewsie.
584 (__sanitizer_sigaction): Likewsie.
585 (IOC_SIZE): Likewsie.
587 2014-10-14 Jakub Jelinek <jakub@redhat.com>
589 * ubsan/Makefile.am (DEFS): Add -DPIC.
590 * ubsan/Makefile.in: Regenerated.
592 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
594 * configure.tgt: Enable build on aarch64*-linux.
596 2014-09-19 Kostya Serebryany <kcc@google.com>
598 * All source files: Merge from upstream r218156.
599 * asan/Makefile.am (asan_files): Added new files.
600 * asan/Makefile.in: Regenerate.
601 * ubsan/Makefile.am (ubsan_files): Added new files.
602 * ubsan/Makefile.in: Regenerate.
603 * tsan/Makefile.am (tsan_files): Added new files.
604 * tsan/Makefile.in: Regenerate.
605 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
607 * sanitizer_common/Makefile.in: Regenerate.
608 * asan/libtool-version: Bump the libasan SONAME.
610 2014-09-10 Jakub Jelinek <jakub@redhat.com>
612 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
613 upstream r215485, r217389, r217391 and r217400.
615 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
617 * sanitizer_common/sanitizer_common_interceptors.inc:
618 Cherry pick upstream r211008.
620 2014-06-11 Richard Biener <rguenther@suse.de>
622 * asan/asan_linux.cc: Cherry pick upstream r210012.
624 2014-05-30 Jakub Jelinek <jakub@redhat.com>
626 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
628 * sanitizer_common/sanitizer_common.h: Likewise.
629 * asan/asan_mapping.h: Likewise.
630 * asan/asan_linux.cc: Likewise.
631 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
632 * sanitizer_common/sanitizer_allocator.h: Likewise.
634 2014-05-23 Marek Polacek <polacek@redhat.com>
636 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
637 floating-point types.
639 2014-05-22 Kostya Serebryany <kcc@google.com>
641 * All source files: Merge from upstream r209283.
642 * asan/Makefile.am (asan_files): Added new files.
643 * asan/Makefile.in: Regenerate.
644 * tsan/Makefile.am (tsan_files): Added new files.
645 * tsan/Makefile.in: Regenerate.
646 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
648 * sanitizer_common/Makefile.in: Regenerate.
650 2014-05-14 Yury Gribov <y.gribov@samsung.com>
653 * Makefile.am (nodist_saninclude_HEADERS): Install
655 * Makefile.in: Regenerate.
657 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
659 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
660 Add ../../libbacktrace/sort.c.
661 * libbacktrace/Makefile.in: Regenerate.
662 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
664 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
666 * configure.tgt: Unsupported for little endian PowerPC for now.
668 2014-02-04 Jakub Jelinek <jakub@redhat.com>
671 * tsan/tsan_flags.cc (__tsan_default_options): Add
672 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
673 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
676 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
677 sanitizer_atomic.h and unistd.h.
678 (kThreadDescriptorSize): Made static, remove initializer and const,
679 change type to atomic_uintptr_t.
680 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
681 query glibc version, compute kThreadDescriptorSize depending on
682 glibc version minor number.
683 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
684 kThreadDescriptorSize directly.
686 2014-01-23 Yury Gribov <y.gribov@samsung.com>
687 Jakub Jelinek <jakub@redhat.com>
690 * configure.ac: Check for missing syscalls.
691 * Makefile.am: Likewise.
692 * configure: Regenerate.
693 * Makefile.in: Regenerate.
695 2014-01-09 Jakub Jelinek <jakub@redhat.com>
697 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
698 (LibbacktraceSymbolizer::Demangle): New declaration.
699 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
700 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
702 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
703 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
704 (struct CplusV3DemangleData): New type.
705 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
706 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
707 SymbolizeDataCallback): Use CplusV3Demangle.
708 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
709 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
710 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
711 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
712 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
713 cplus_demangle_init_info, cplus_demangle_mangled_name,
714 cplus_demangle_operators, cplus_demangle_print,
715 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
716 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
717 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
719 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
720 (memcmp, strncmp): Redefine.
721 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
722 ../../libiberty/cp-demangle.c.
723 * libbacktrace/bridge.cc (__asan_internal_memcmp,
724 __asan_internal_strncmp): New functions.
725 * sanitizer_common/Makefile.in: Regenerated.
726 * libbacktrace/Makefile.in: Regenerated.
727 * configure: Regenerated.
728 * configure.ac: Regenerated.
729 * config.h.in: Regenerated.
731 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
732 -isystem $(top_srcdir)/include/system.
733 * sanitizer_common/Makefile.in: Regenerated.
734 * include/system/linux/aio_abi.h: New header.
735 * include/system/linux/mroute.h: New header.
736 * include/system/linux/mroute6.h: New header.
737 * include/system/linux/perf_event.h: New header.
738 * include/system/linux/types.h: New header.
741 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
742 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
743 and -I/-include flags.
744 * lsan/Makefile.am (liblsan_la_LIBADD): Add
745 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
746 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
747 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
748 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
749 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
751 * README.gcc: Document that also lsan and ubsan are
752 maintained in compiler-rt upstream.
753 * libbacktrace/Makefile.am: New file.
754 * libbacktrace/backtrace-rename.h: New file.
755 * libbacktrace/backtrace-supported.h.in: New file.
756 * libbacktrace/bridge.cc: New file.
757 * configure.ac: Add tests needed for libbacktrace build
759 * sanitizer_common/Makefile.in: Regenerated.
760 * lsan/Makefile.in: Regenerated.
761 * tsan/Makefile.in: Regenerated.
762 * ubsan/Makefile.in: Regenerated.
763 * libbacktrace/Makefile.in: Generated.
764 * config.h.in: Regenerated.
765 * configure: Regenerated.
766 * Makefile.in: Regenerated.
767 * interception/Makefile.in: Regenerated.
768 * asan/Makefile.in: Regenerated.
769 * aclocal.m4: Regenerated.
771 2013-12-19 Kostya Serebryany <kcc@google.com>
773 * sanitizer_common/sanitizer_platform_limits_posix.cc:
774 workaround for missing definition of EOWNERDEAD, backport
775 from upstream r196779.
777 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
779 * sanitizer_common/sanitizer_platform_limits_posix.h
780 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
781 (__sanitizer_clock_t): Use long long for x32.
783 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
785 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
786 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
787 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
789 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
791 * configure.ac (link_sanitizer_common): Add -lm.
792 * configure: Regenerated.
794 2013-12-05 Kostya Serebryany <kcc@google.com>
796 * All source files: Merge from upstream r196489.
797 * merge.sh: Add *.S to the list of merged files.
799 2013-12-05 Yury Gribov <y.gribov@samsung.com>
802 * Makefile.am (gcc_version): Added gcc_version.
803 * Makefile.in: Regenerate.
805 2013-12-05 Kostya Serebryany <kcc@google.com>
807 * All source files: Merge from upstream r196090.
808 * tsan/Makefile.am (tsan_files): Added new files.
809 * tsan/Makefile.in: Regenerate.
810 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
811 * sanitizer_common/Makefile.in: Regenerate.
812 * lsan/Makefile.am (lsan_files): Added new files.
813 * lsan/Makefile.in: Regenerate.
815 2013-11-29 Jakub Jelinek <jakub@redhat.com>
816 Yury Gribov <y.gribov@samsung.com>
819 * libsanitizer.spec.in: Add spec file to hold link flags for
820 various sanitizer libs.
821 * configure.ac: Check whether clock_* routines come from librt.
822 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
824 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
825 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
826 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
827 * asan/Makefile.in: Regenerate.
828 * interception/Makefile.in: Regenerate.
829 * lsan/Makefile.in: Regenerate.
830 * sanitizer_common/Makefile.in: Regenerate.
831 * tsan/Makefile.in: Regenerate.
832 * ubsan/Makefile.in: Regenerate.
833 * Makefile.in: Regenerate.
834 * configure: Regenerate.
836 2013-11-28 Jakub Jelinek <jakub@redhat.com>
837 Yury Gribov <y.gribov@samsung.com>
840 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
842 * ubsan/Makefile.in: Regenerated.
844 2013-11-22 Jakub Jelinek <jakub@redhat.com>
847 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
848 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
849 * configure: Regenerated.
850 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
851 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
852 * lsan/Makefile.in: Regenerated.
854 2013-11-22 Mike Stump <mikestump@comcast.net>
856 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
857 change from upstream to fix build.
859 2013-11-18 Yury Gribov <y.gribov@samsung.com>
862 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
863 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
864 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
865 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
866 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
867 * asan/Makefile.in: Regenerate.
868 * interception/Makefile.in: Regenerate.
869 * tsan/Makefile.in: Regenerate.
870 * lsan/Makefile.in: Regenerate.
871 * sanitizer_common/Makefile.in: Regenerate.
873 2013-11-15 Kostya Serebryany <kcc@google.com>
876 Backport from upstream revision 194573
877 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
878 back to the original functions in the common libsanitizer
879 interceptors and the __cxa_atexit() interceptor on Darwin.
881 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
884 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
885 ifdef out more source.
887 2013-11-12 Jakub Jelinek <jakub@redhat.com>
889 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
890 ifdef out almost the whole source.
891 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
893 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
896 * sanitizer_common/sanitizer_platform_limits_posix.cc
897 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
900 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
903 * sanitizer_common/sanitizer_platform_limits_linux.cc
904 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
906 * sanitizer_common/sanitizer_platform_limits_posix.h
907 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
909 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
911 (__sanitizer___kernel_gid_t): Likewise.
912 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
915 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
918 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
919 2 64-bit integers to save and restore fn and arg. Properly load
920 newtls/child_tidptr into r8/r10.
922 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
925 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
926 internal_munmap, internal_open, internal_read, internal_write,
927 internal_stat, internal_lstat, internal_fstat, internal_readlink,
928 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
929 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
930 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
932 2013-11-04 Kostya Serebryany <kcc@google.com>
934 * All source files: Merge from upstream r191666.
935 * merge.sh: Added lsan.
936 * configure.ac (AC_CONFIG_FILES): Added lsan.
937 * Makefile.am (SUBDIRS): Added lsan.
938 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
939 * asan/Makefile.am (asan_files): Added new files.
940 (libasan_la_LIBADD): Added a dependency on lsan.
941 * lsan/Makefile.am: New file.
942 * asan/Makefile.in: Regenerate.
943 * lsan/Makefile.in: Regenerate.
944 * Makefile.in: Regenerate.
945 * configure: Regenerate.
946 * sanitizer_common/Makefile.in: Regenerate.
948 2013-09-20 Alan Modra <amodra@gmail.com>
950 * configure: Regenerate.
952 2013-09-01 Iain Sandoe <iain@codesourcery.com>
954 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
955 libinterception.la for Darwin.
956 * ubsan/Makefile.in: Regenerate.
958 2013-08-30 Jakub Jelinek <jakub@redhat.com>
960 * Makefile.am (SUBDIRS): Add ubsan.
961 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
962 * merge.sh: Merge ubsan.
963 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
964 * sanitizer_common/sanitizer_printf.cc: Likewise.
965 * sanitizer_common/sanitizer_common.h: Likewise.
966 * ubsan: New directory. Import ubsan runtime from llvm.
968 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
970 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
971 Cherry pick upstream r182922.
973 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
975 * configure.tgt: Add ARM pattern.
977 2013-03-22 Jakub Jelinek <jakub@redhat.com>
980 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
981 * Makefile.in: Regenerated.
982 * asan/Makefile.in: Regenerated.
983 * interception/Makefile.in: Regenerated.
984 * sanitizer_common/Makefile.in: Regenerated.
985 * tsan/Makefile.in: Regenerated.
987 2013-02-28 Jakub Jelinek <jakub@redhat.com>
989 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
990 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
993 2013-02-22 Jakub Jelinek <jakub@redhat.com>
996 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
998 (libasan_preinit.o): Depend on asan_preinit.o.
999 * asan/Makefile.in: Regenerated.
1000 * asan/asan_preinit.cc: New file, synced from upstream.
1001 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1003 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1005 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1006 dynamic/asan_interceptors_dynamic.cc.
1007 * asan/Makefile.in: Regenerated.
1008 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1010 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1012 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1013 defined. Add used attribute.
1015 2013-02-21 Kostya Serebryany <kcc@google.com>
1017 * All source files: Merge from upstream r175733.
1018 * sanitizer_common/Makefile.am: Added a new file.
1019 * sanitizer_common/Makefile.in: Regenerated.
1021 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1024 * interception/interception.h (OFF_T): Merged from upstream
1027 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1029 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1031 2013-02-13 Kostya Serebryany <kcc@google.com>
1034 * All source files: Merge from upstream r175049.
1035 * interception/Makefile.am: added include path.
1036 * interception/Makefile.in: Regenerated.
1038 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1040 * configure.tgt: Disable build on darwin9 and earlier.
1042 2013-01-23 Kostya Serebryany <kcc@google.com>
1045 * All source files: Merge from upstream r173241.
1046 * merge.sh: Support merging .inc files.
1048 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1050 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1051 -Wno-c99-extensions.
1052 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1053 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1054 * sanitizer_common/Makefile.in: Regenerated.
1055 * interception/Makefile.in: Regenerated.
1056 * asan/Makefile.in: Regenerated.
1058 2013-01-10 Wei Mi <wmi@google.com>
1061 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1062 * tsan/Makefile.in: Regenerated.
1063 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1065 2013-01-10 Kostya Serebryany <kcc@google.com>
1067 * All source files: Merge from upstream r171973.
1068 * sanitizer_common/Makefile.am: Added new files.
1069 * asan/Makefile.am: Likewise.
1070 * tsan/Makefile.am: Likewise.
1071 * sanitizer_common/Makefile.in: Regenerated.
1072 * asan/Makefile.in: Likewise.
1073 * tsan/Makefile.in: Likewise.
1075 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1077 * asan/Makefile.am (libasan_la_LIBADD): Replace
1078 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1079 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1080 * Makefile.in: Regenerated.
1081 * configure: Likewise.
1082 * asan/Makefile.in: Likewise.
1083 * interception/Makefile.in: Likewise.
1084 * sanitizer_common/Makefile.in: Likewise.
1085 * tsan/Makefile.in: Likewise.
1087 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1089 * Makefile.am (AM_MAKEFLAGS): Restored.
1090 * interception/Makefile.am: Likewise.
1091 * sanitizer_common/Makefile.am: Likewise.
1092 * tsan/Makefile.am: Likewise.
1093 * Makefile.in: Regenerated.
1094 * asan/Makefile.in: Likewise.
1095 * interception/Makefile.in: Likewise.
1096 * sanitizer_common/Makefile.in: Likewise.
1097 * tsan/Makefile.in: Likewise.
1099 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1101 * Makefile.am (MAKEOVERRIDES): Restored.
1102 * asan/Makefile.am: Likewise.
1103 * interception/Makefile.am: Likewise.
1104 * sanitizer_common/Makefile.am: Likewise.
1105 * tsan/Makefile.am: Likewise.
1106 * Makefile.in: Regenerated.
1107 * asan/Makefile.in: Likewise.
1108 * interception/Makefile.in: Likewise.
1109 * sanitizer_common/Makefile.in: Likewise.
1110 * tsan/Makefile.in: Likewise.
1112 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1114 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1115 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1116 * Makefile.in: Regenerated.
1117 * configure: Likewise.
1118 * asan/Makefile.in: Likewise.
1119 * interception/Makefile.in: Likewise.
1120 * sanitizer_common/Makefile.in: Likewise.
1121 * tsan/Makefile.in: Likewise.
1123 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1125 * Makefile.am (AM_MAKEFLAGS): Removed.
1126 (MAKEOVERRIDES): Likewise.
1127 * asan/Makefile.am: Likewise.
1128 * interception/Makefile.am: Likewise.
1129 * sanitizer_common/Makefile.am: Likewise.
1130 * tsan/Makefile.am: Likewise.
1131 * Makefile.in: Regenerated.
1132 * asan/Makefile.in: Likewise.
1133 * interception/Makefile.in: Likewise.
1134 * sanitizer_common/Makefile.in: Likewise.
1135 * tsan/Makefile.in: Likewise.
1137 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1140 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1141 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1142 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1143 (AM_MAKEFLAGS): Remove CC and CXX.
1144 * interception/Makefile.am: Likewise.
1145 * sanitizer_common/Makefile.am: Likewise.
1146 * tsan/Makefile.am: Likewise.
1147 * Makefile.in: Regenerated.
1148 * aclocal.m4: Likewise.
1149 * configure: Likewise.
1150 * asan/Makefile.in: Likewise.
1151 * interception/Makefile.in: Likewise.
1152 * sanitizer_common/Makefile.in: Likewise.
1153 * tsan/Makefile.in: Likewise.
1155 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1157 * configure.tgt: Enable build on powerpc*-linux.
1159 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1162 * configure.ac: Set enable_static=no on darwin.
1163 * configure: Regenerated.
1165 2012-12-06 Kostya Serebryany <kcc@google.com>
1167 * All files: Merge from upstream r169392.
1169 2012-12-05 Kostya Serebryany <kcc@google.com>
1171 * All files: Merge from upstream r169371.
1173 2012-12-04 Kostya Serebryany <kcc@google.com>
1174 Jack Howarth <howarth@bromo.med.uc.edu>
1177 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1178 * Makefile.am: Don't build interception subdir when
1179 USING_MAC_INTERPOSE defined.
1180 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1181 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1182 Compile asan_interceptors_dynamic.cc but not libinterception
1183 when USING_MAC_INTERPOSE defined.
1184 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1185 * configure: Regenerated.
1186 * Makefile.in: Likewise.
1187 * asan/Makefile.in: Likewise.
1188 * interception/Makefile.in: Likewise.
1189 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1190 * asan/asan_mac.cc: Likewise.
1191 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1192 and use MISSING_BLOCKS_SUPPORT.
1193 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1194 * interception/mach_override/LICENSE.txt: Remove unused file.
1195 * interception/mach_override/mach_override.c: Likewise.
1196 * interception/mach_override/mach_override.h: Likewise.
1197 * interception/mach_override: Remove unused directory.
1199 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1201 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1202 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1203 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1205 (AM_MAKEFLAGS): Restore CC and CXX.
1206 * interception/Makefile.am: Likewise.
1207 * sanitizer_common/Makefile.am: Likewise.
1208 * tsan/Makefile.am: Likewise.
1209 * Makefile.in: Regenerated.
1210 * aclocal.m4: Likewise.
1211 * configure: Likewise.
1212 * asan/Makefile.in: Likewise.
1213 * interception/Makefile.in: Likewise.
1214 * sanitizer_common/Makefile.in: Likewise.
1215 * tsan/Makefile.in: Likewise.
1217 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1219 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1220 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1221 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1223 (AM_MAKEFLAGS): Remove CC and CXX.
1224 * interception/Makefile.am: Likewise.
1225 * sanitizer_common/Makefile.am: Likewise.
1226 * tsan/Makefile.am: Likewise.
1227 * Makefile.in: Regenerated.
1228 * aclocal.m4: Likewise.
1229 * configure: Likewise.
1230 * asan/Makefile.in: Likewise.
1231 * interception/Makefile.in: Likewise.
1232 * sanitizer_common/Makefile.in: Likewise.
1233 * tsan/Makefile.in: Likewise.
1235 2012-11-27 Kostya Serebryany <kcc@google.com>
1237 * All files: Merge from upstream r168699.
1239 2012-11-24 Kostya Serebryany <kcc@google.com>
1240 Jack Howarth <howarth@bromo.med.uc.edu>
1242 * interception/mach_override/mach_override.c: Migrate from llvm.
1243 * interception/mach_override/mach_override.h: Likewise.
1244 * interception/mach_override/LICENSE.txt: Likewise.
1245 * configure.tgt: Add darwin to supported targets.
1246 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1247 * interception/Makefile.am: Compile mach_override.c when
1248 USING_MACH_OVERRIDE defined.
1249 * configure: Regenerated.
1250 * interception/Makefile.in: Likewise.
1252 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1255 * tsan/Makefile.am (gcc_version): New.
1256 * tsan/Makefile.in: Regenerated.
1258 2012-11-23 Kostya Serebryany <kcc@google.com>
1260 * merge.sh: Support tsan, support added/removed files.
1261 * tsan/Makefile.am: Remove tsan_printf.cc.
1262 * tsan/Makefile.in: Regenerated.
1263 * other files: Merge from upstream r168514.
1265 2012-11-23 Kostya Serebryany <kcc@google.com>
1267 * merge.sh: New file.
1269 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1271 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1272 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1273 automake conditional instead of !MULTISUBDIR32.
1274 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1275 for 64-bit multilib.
1276 * configure.ac: Check for void * size, source in configure.tgt,
1277 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1278 * configure: Regenerated.
1279 * Makefile.in: Regenerated.
1280 * tsan/Makefile.in: Regenerated.
1282 2012-11-22 Wei Mi <wmi@google.com>
1284 * tsan: New directory. Import tsan runtime from llvm.
1285 * configure.ac: Add 64 bits tsan build.
1286 * Makefile.am: Likewise.
1287 * configure: Regenerated.
1288 * Makefile.in: Likewise.
1290 2012-11-21 Kostya Serebryany <kcc@google.com>
1292 * README.gcc: Extend the README.gcc with mode details.
1294 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1296 * sanitizer_common/sanitizer_linux.cc
1297 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1298 (internal_mmap): Use it.
1299 (internal_filesize): Likewise.
1301 2012-11-16 Tom Tromey <tromey@redhat.com>
1303 * configure.ac: Invoke AM_MAINTAINER_MODE.
1304 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1305 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1307 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1310 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1311 for hardware pointer.
1312 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1313 Replace uptr with uhwptr for stack unwind.
1315 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1317 * configure.tgt: Enable build on sparc linux.
1319 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1321 * configure.ac: Properly set MULTISUBDIR.
1322 * asan/Makefile.am (gcc_version): New.
1323 * interception/Makefile.am (gcc_version): Likewise.
1324 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1325 * configure: Regenerated.
1326 * asan/Makefile.in: Likewise.
1327 * interception/Makefile.in: Likewise.
1328 * sanitizer_common/Makefile.in: Likewise.
1330 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1333 * configure.ac (--enable-version-specific-runtime-libs): New option.
1334 (AC_CANONICAL_SYSTEM): New.
1335 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1336 (toolexecdir): Support multilib.
1337 (toolexeclibdir): Likewise.
1338 (multilib_arg): New.
1339 * Makefile.in: Regenerated.
1340 * aclocal.m4: Likewise.
1341 * configure: Likewise.
1342 * asan/Makefile.in: Likewise.
1343 * interception/Makefile.in: Likewise.
1344 * sanitizer_common/Makefile.in: Likewise.
1346 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1349 Backport from upstream revision 167883
1350 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1351 __x86_64__ instead of __WORDSIZE.
1352 (internal_filesize): Likwise.
1354 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1356 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1357 * Makefile.in: Regenerated.
1358 * configure: Likewise.
1360 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1363 * acinclude.m4: New file.
1364 * Makefile.am (ACLOCAL_AMFLAGS): New.
1365 * configure.ac (AC_PREREQ): Set to 2.64.
1366 (AC_CONFIG_AUX_DIR): Set to "..".
1367 * Makefile.in: Regenerated.
1368 * aclocal.m4: Likewise.
1369 * configure: Likewise.
1370 * asan/Makefile.in: Likewise.
1371 * interception/Makefile.in: Likewise.
1372 * sanitizer_common/Makefile.in: Likewise.
1374 * config.guess: Removed.
1375 * config.sub: Likewise.
1376 * depcomp: Likewise.
1377 * install-sh: Likewise.
1378 * ltmain.sh: Likewise.
1379 * missing: Likewise.
1381 2012-11-13 Richard Henderson <rth@redhat.com>
1383 * configure.tgt: New file.
1385 2012-11-12 David S. Miller <davem@davemloft.net>
1387 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1389 2012-10-29 Wei Mi <wmi@google.com>
1391 Initial checkin: migrate asan runtime from llvm.