Delete files unused since openbsd 2 & 3 support was dropped.
[official-gcc.git] / libsanitizer / ChangeLog
blob192318390d354a18c6b2d3fee3e3969af43bb352
1 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
3         PR sanitizer/81066
4         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
5         * sanitizer_common/sanitizer_linux.cc: Likewise.
6         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
7         * tsan/tsan_platform_linux.cc: Likewise.
9 2017-04-06  Martin Liska  <mliska@suse.cz>
11         PR sanitizer/80166
12         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
13         Cherry-pick upstream r299036.
15 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
17         PR sanitizer/78158
18         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
20 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
22         PR sanitizer/79562
23         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
24         upstream r294806.
26 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
28         PR sanitizer/79341
29         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
30         s390-linux 31-bit.
31         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
32         r294793.
33         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
34         upstream r294790.
35         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
36         r294799.
38 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
40         PR sanitizer/78663
41         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
42         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
44 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
46         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
48 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
50         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
52         PR sanitizer/79168
53         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
54         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
55         text.
56         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
57         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
58         * tsan/tsan_ppc_regs.h: Likewise.
59         * tsan/tsan_rtl_aarch64.S: Likewise.
60         * tsan/tsan_rtl_mips64.S: Likewise.
61         * tsan/tsan_rtl_ppc64.S: Likewise.
63 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
65         PR other/79046
66         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
67         instead of cat to get version from BASE-VER file.
68         * asan/Makefile.am (gcc_version): Likewise.
69         * ubsan/Makefile.am (gcc_version): Likewise.
70         * sanitizer_common/Makefile.am (gcc_version): Likewise.
71         * lsan/Makefile.am (gcc_version): Likewise.
72         * tsan/Makefile.am (gcc_version): Likewise.
73         * interception/Makefile.in: Regenerated.
74         * asan/Makefile.in: Regenerated.
75         * ubsan/Makefile.in: Regenerated.
76         * sanitizer_common/Makefile.in: Regenerated.
77         * lsan/Makefile.in: Regenerated.
78         * tsan/Makefile.in: Regenerated.
80 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
82         PR other/79046
83         * configure.ac: Add GCC_BASE_VER.
84         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
85         get version from BASE-VER file.
86         * libbacktrace/Makefile.in: Regenerated.
87         * interception/Makefile.in: Regenerated.
88         * asan/Makefile.in: Regenerated.
89         * ubsan/Makefile.in: Regenerated.
90         * configure: Regenerated.
91         * sanitizer_common/Makefile.in: Regenerated.
92         * lsan/Makefile.in: Regenerated.
93         * Makefile.in: Regenerated.
94         * tsan/Makefile.in: Regenerated.
96 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
98         PR sanitizer/78992
99         * sanitizer_common/sanitizer_platform_limits_posix.h
100         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
102 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
104         * LOCAL_PATCHES: Add revision.
106 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
108         PR sanitizer/78532
109         * sanitizer_common/sanitizer_platform_limits_posix.h
110         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
111         versions.
113 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
115         * LOCAL_PATCHES: Remove r242480.
117 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
119         * LOCAL_PATCHES: Add revision.
121 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
123         PR sanitizer/78267
124         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
125         compiler supports blocks extension.
127 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
129         * LOCAL_PATCHES: Add revision.
131 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
133         PR sanitizer/78294
134         * tsan/tsan_rtl.cc: Add missing attribute.
136 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
138         * LOCAL_PATCHES: New file.
140 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
142         PR sanitizer/78307
143         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
144         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
145         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
146         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
147         function.
148         (__ubsan_handle_cfi_bad_type_abort): Likewise.
149         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
150         (__ubsan_handle_cfi_bad_type): Export function.
151         (__ubsan_handle_cfi_bad_type_abort): Likewise.
152         * HOWTO_MERGE: Update documentation.
154 2016-11-15  Matthias Klose  <doko@ubuntu.com>
156         * configure: Regenerate.
158 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
160         * asan/asan_globals.cc (RegisterGlobal): Do not call
161         CheckODRViolationViaPoisoning.
162         (CheckODRViolationViaPoisoning): Remove.
164 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
166         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
167         compiled code with GCC when extracting the caller PC for ARM if no
168         valid frame pointer is available.
170 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
172         PR sanitizer/63958
173         Reapply:
174         2014-10-14  David S. Miller  <davem@davemloft.net>
176         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
177         Define at __kernel_time_t, as needed for sparc.
178         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
179         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
180         (__sanitizer): Define struct___old_kernel_stat_sz,
181         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
182         (__sanitizer_ipc_perm): Adjust for sparc targets.
183         (__sanitizer_shmid_ds): Likewsie.
184         (__sanitizer_sigaction): Likewise.
185         (IOC_SIZE): Likewsie.
187 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
189         * All source files: Merge from upstream 285547.
190         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
191         variable.
192         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
193         * asan/Makefile.am (asan_files): Add new files.
194         * asan/Makefile.in: Regenerate.
195         * ubsan/Makefile.in: Likewise.
196         * lsan/Makefile.in: Likewise.
197         * tsan/Makefile.am (tsan_files): Add new files.
198         * tsan/Makefile.in: Regenerate.
199         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
200         (EXTRA_libsanitizer_common_la_SOURCES): Define.
201         (libsanitizer_common_la_LIBADD): Likewise.
202         (libsanitizer_common_la_DEPENDENCIES): Likewise.
203         * sanitizer_common/Makefile.in: Regenerate.
204         * interception/Makefile.in: Likewise.
205         * libbacktace/Makefile.in: Likewise.
206         * Makefile.in: Likewise.
207         * configure: Likewise.
208         * merge.sh: Handle builtins/assembly.h merging.
209         * builtins/assembly.h: New file.
210         * asan/libtool-version: Bump the libasan SONAME.
212 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
214         PR sanitizer/77567
215         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
217 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
219         PR sanitizer/77396
220         * asan/asan_globals.cc: Cherry-pick upstream r280657.
222 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
224         PR sanitizer/71042
225         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
226         * tsan/tsan_rtl_aarch64.S: Likewise.
228 2016-07-23  Alan Modra  <amodra@gmail.com>
230         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
231         * configure.ac: Don't substitute OBSTACK_DEFS.
232         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
233         * tsan/Makefile.am: Likewise.
234         * configure: Regenerate.
235         * Makefile.in: Regenerate.
236         * asan/Makefile.in: Regenerate.
237         * interception/Makefile.in: Regenerate.
238         * libbacktrace/Makefile.in: Regenerate.
239         * lsan/Makefile.in: Regenerate.
240         * sanitizer_common/Makefile.in: Regenerate.
241         * tsan/Makefile.in: Regenerate.
242         * ubsan/Makefile.in: Regenerate.
244 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
246         PR sanitizer/71160
247         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
248         and r269633.
250 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
252         PR sanitizer/70624
253         * asan/asan_mac.cc: Cherry pick upstream r266868.
255 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
257         PR sanitizer/68824
258         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
259         InitializeInterceptors): Cherry pick upstream r258119.
261 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
263         * configure.ac: Replace the hard-coded -ldl requirement for
264         link_sanitizer_common with a configure time check for -ldl.
265         * configure: Regenerate.
267 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
269         * include/system/linux/asm/ptrace.h: Move to ...
270         * include/system/asm/ptrace.h: ... this.
272 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
274         * include/system/linux/asm/ptrace.h: New header.
276 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
278         * All source files: Merge from upstream r253555.
279         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
280         dependences for TSan for aarch64-*-linux* targets.
281         * tsan/Makefile.am: Add new source files.
282         * configure: Regenerate.
283         * tsan/Makefile.in: Likewise.
285 2015-11-09  Alan Modra  <amodra@gmail.com>
287         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
288         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
289         interceptors.
290         * configure.ac: Substitute OBSTACK_DEFS.
291         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
292         * tsan/Makefile.am: Likewise.
293         * configure: Regenerate.
294         * Makefile.in: Regenerate.
295         * asan/Makefile.in: Regenerate.
296         * interception/Makefile.in: Regenerate.
297         * libbacktrace/Makefile.in: Regenerate.
298         * lsan/Makefile.in: Regenerate.
299         * sanitizer_common/Makefile.in: Regenerate.
300         * tsan/Makefile.in: Regenerate.
301         * ubsan/Makefile.in: Regenerate.
303 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
305         PR bootstrap/68041
306         * configure.ac (link_sanitizer_common): Link against librt only if it
307         contains shm_open, required by sanitizers.
308         (CXX_ABI_NEEDED): Remove variable.
309         * configure: Regenerate.
310         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
311         * ubsan/Makefile.in: Regenerate.
313 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
315         * HOWTO_MERGE: New file.
317 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
319         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
320         compiled code with GCC when extracting the caller PC for ARM if no
321         valid frame pointer is available.
323 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
325         PR bootstrap/63888
326         Reapply:
327         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
329         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
330         support until it is rewritten upstream.
332         * c-c++-common/asan/pr63888.c: New test.
334 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
336         PR sanitizer/63958
337         Reapply:
338         2014-10-14  David S. Miller  <davem@davemloft.net>
340         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
341         Define at __kernel_time_t, as needed for sparc.
342         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
343         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
344         (__sanitizer): Define struct___old_kernel_stat_sz,
345         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
346         (__sanitizer_ipc_perm): Adjust for sparc targets.
347         (__sanitizer_shmid_ds): Likewsie.
348         (__sanitizer_sigaction): Likewise.
349         (IOC_SIZE): Likewsie.
351 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
353         * All source files: Merge from upstream r250806.
354         * configure.ac (link_sanitizer_common): Add -lrt flag.
355         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
356         Set USE_CXX_ABI_FLAG=true for darwin.
357         * asan/Makefile.am (asan_files): Add new files.
358         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
359         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
360         * asan/Makefile.in: Regenerate.
361         * ubsan/Makefile.am (ubsan_files): Add new files.
362         (DEFS): Add DCAN_SANITIZE_UB=1.
363         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
364         * ubsan/Makefile.in: Regenerate.
365         * tsan/Makefile.am (tsan_files): Add new files.
366         (DEFS): Add DCAN_SANITIZE_UB=0.
367         * tsan/Makefile.in: Regenerate.
368         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
369         * sanitizer_common/Makefile.in: Regenerate.
370         * asan/libtool-version: Bump the libasan SONAME.
372 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
374         PR sanitizer/67258
375         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
377 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
379         PR sanitizer/63927
380         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
381         for PowerPC.
383 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
385         PR sanitizer/63927
386         * sanitizer_common/sanitizer_stacktrace.cc
387         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
388         find the link register at an offset of 16 from the base of the
389         caller's stack frame.
391 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
393         * Makefile.in: Regenerated with automake-1.11.6.
394         * aclocal.m4: Likewise.
395         * asan/Makefile.in: Likewise.
396         * configure: Likewise.
397         * interception/Makefile.in: Likewise.
398         * libbacktrace/Makefile.in: Likewise.
399         * lsan/Makefile.in: Likewise.
400         * sanitizer_common/Makefile.in: Likewise.
401         * tsan/Makefile.in: Likewise.
402         * ubsan/Makefile.in: Likewise.
404 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
406         PR sanitizer/64839
407         * sanitizer_common/sanitizer_platform.h: Cherry pick
408         upstream r234470.
409         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
410         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
411         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
412         * Makefile.in: Regenerate.
413         * asan/Makefile.in: Regenerate.
414         * config.h.in: Regenerate.
415         * configure: Regenerate.
416         * interception/Makefile.in: Regenerate.
417         * libbacktrace/Makefile.in: Regenerate.
418         * lsan/Makefile.in: Regenerate.
419         * sanitizer_common/Makefile.in: Regenerate.
420         * tsan/Makefile.in: Regenerate.
421         * ubsan/Makefile.in: Regenerate.
424 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
426         PR sanitizer/59009
427         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
428         upstream r230324.
429         * sanitizer_common/sanitizer_platform.h: Likewise.
430         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
432 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
434         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
435         upstream 224508 and 224755.
437 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
439         PR sanitizer/63958
440         Reapply:
441         2014-10-14  David S. Miller  <davem@davemloft.net>
443         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
444         Define at __kernel_time_t, as needed for sparc.
445         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
446         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
447         (__sanitizer): Define struct___old_kernel_stat_sz,
448         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
449         (__sanitizer_ipc_perm): Adjust for sparc targets.
450         (__sanitizer_shmid_ds): Likewsie.
451         (__sanitizer_sigaction): Likewise.
452         (IOC_SIZE): Likewsie.
454 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
456         * configure.tgt: Enable build on powerpc*le-*-linux.
458 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
460         PR bootstrap/63888
461         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
462         support until it is rewritten upstream.
464 2015-01-26  Matthias Klose  <doko@ubuntu.com>
466         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
467         * configure: Regenerate.
469 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
471         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
472         * configure: Regenerate.
473         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
475 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
477         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
478         * configure: Regenerate.
479         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
480         (libtsan_la_DEPENDENCIES): Likewise.
481         * Makefile.in: Regenerate.
482         * asan/Makefile.in: Regenerate.
483         * interception/Makefile.in: Regenerate.
484         * libbacktrace/Makefile.in: Regenerate.
485         * lsan/Makefile.in: Regenerate.
486         * sanitizer_common/Makefile.in: Regenerate.
487         * tsan/Makefile.in: Regenerate.
488         * ubsan/Makefile.in: Regenerate.
490 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
492         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
494 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
496         PR sanitizer/64435
497         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
498         upstream r226637.
499         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
500         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
502 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
504         PR sanitizer/64632
505         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
507 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
509         PR sanitizer/64435
510         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
511         upstream r223925.
513 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
515         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
516         upstream r224518 and r224519.
517         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
518         r224834.
520 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
522         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
523         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
524         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
525         upstream r224308.
527 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
529         PR bootstrap/63784
530         * configure: Regenerated.
532 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
534         PR target/61137
535         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
536         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
538 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
540         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
541         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
542         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
543         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
544         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
545         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
546         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
547         * sanitizer_common/Makefile.in: Regenerate.
548         * asan/Makefile.in: Ditto.
549         * lsan/Makefile.in: Ditto.
550         * interception/Makefile.in: Ditto.
551         * tsan/Makefile.in: Ditto.
552         * libbacktrace/Makefile.in: Ditto.
553         * ubsan/Makefile.in: Ditto.
555 2014-11-13  Kostya Serebryany  <kcc@google.com>
557         * All source files: Merge from upstream r221802.
558         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
559         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
560         with 'start' to follow the new interface.
561         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
562         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
563         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
564         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
565         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
566         files.
567         (AM_CXXFLAGS): Added -std=c++11.
568         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
569         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
570         * asan/Makefile.in: Regenerate.
571         * interception/Makefile.in: Regenerate.
572         * libbacktrace/Makefile.in: Regenerate.
573         * lsan/Makefile.in: Regenerate.
574         * sanitizer_common/Makefile.in: Regenerate.
575         * tsan/Makefile.in: Regenerate.
576         * ubsan/Makefile.in: Regenerate.
578 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
580         PR target/63610
581         * configure: Regenerate.
583 2014-10-16  Martin Liska  <mliska@suse.cz>
585         * asan/Makefile.am: IPA ICF pass is disabled.
586         * asan/Makefile.in: Likewise.
588 2014-10-14  David S. Miller  <davem@davemloft.net>
590         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
591         Define at __kernel_time_t, as needed for sparc.
592         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
593         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
594         (__sanitizer): Define struct___old_kernel_stat_sz,
595         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
596         (__sanitizer_ipc_perm): Adjust for sparc targets.
597         (__sanitizer_shmid_ds): Likewsie.
598         (__sanitizer_sigaction): Likewsie.
599         (IOC_SIZE): Likewsie.
601 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
603         * ubsan/Makefile.am (DEFS): Add -DPIC.
604         * ubsan/Makefile.in: Regenerated.
606 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
608         * configure.tgt: Enable build on aarch64*-linux.
610 2014-09-19  Kostya Serebryany  <kcc@google.com>
612         * All source files: Merge from upstream r218156.
613         * asan/Makefile.am (asan_files): Added new files.
614         * asan/Makefile.in: Regenerate.
615         * ubsan/Makefile.am (ubsan_files): Added new files.
616         * ubsan/Makefile.in: Regenerate.
617         * tsan/Makefile.am (tsan_files): Added new files.
618         * tsan/Makefile.in: Regenerate.
619         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
620           files.
621         * sanitizer_common/Makefile.in: Regenerate.
622         * asan/libtool-version: Bump the libasan SONAME.
624 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
626         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
627         upstream r215485, r217389, r217391 and r217400.
629 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
631         * sanitizer_common/sanitizer_common_interceptors.inc:
632         Cherry pick upstream r211008.
634 2014-06-11  Richard Biener  <rguenther@suse.de>
636         * asan/asan_linux.cc: Cherry pick upstream r210012.
638 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
640         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
641         r209879.
642         * sanitizer_common/sanitizer_common.h: Likewise.
643         * asan/asan_mapping.h: Likewise.
644         * asan/asan_linux.cc: Likewise.
645         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
646         * sanitizer_common/sanitizer_allocator.h: Likewise.
648 2014-05-23  Marek Polacek  <polacek@redhat.com>
650         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
651         floating-point types.
653 2014-05-22  Kostya Serebryany  <kcc@google.com>
655         * All source files: Merge from upstream r209283.
656         * asan/Makefile.am (asan_files): Added new files.
657         * asan/Makefile.in: Regenerate.
658         * tsan/Makefile.am (tsan_files): Added new files.
659         * tsan/Makefile.in: Regenerate.
660         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
661         files.
662         * sanitizer_common/Makefile.in: Regenerate.
664 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
666         PR sanitizer/61100
667         * Makefile.am (nodist_saninclude_HEADERS): Install
668         public headers.
669         * Makefile.in: Regenerate.
671 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
673         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
674         Add ../../libbacktrace/sort.c.
675         * libbacktrace/Makefile.in: Regenerate.
676         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
678 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
680         * configure.tgt: Unsupported for little endian PowerPC for now.
682 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
684         PR sanitizer/60055
685         * tsan/tsan_flags.cc (__tsan_default_options): Add
686         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
687         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
689         PR sanitizer/60038
690         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
691         sanitizer_atomic.h and unistd.h.
692         (kThreadDescriptorSize): Made static, remove initializer and const,
693         change type to atomic_uintptr_t.
694         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
695         query glibc version, compute kThreadDescriptorSize depending on
696         glibc version minor number.
697         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
698         kThreadDescriptorSize directly.
700 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
701             Jakub Jelinek  <jakub@redhat.com>
703         PR sanitizer/57316
704         * configure.ac: Check for missing syscalls.
705         * Makefile.am: Likewise.
706         * configure: Regenerate.
707         * Makefile.in: Regenerate.
709 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
711         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
712         (LibbacktraceSymbolizer::Demangle): New declaration.
713         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
714         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
715         method if possible.
716         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
717         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
718         (struct CplusV3DemangleData): New type.
719         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
720         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
721         SymbolizeDataCallback): Use CplusV3Demangle.
722         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
723         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
724         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
725         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
726         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
727         cplus_demangle_init_info, cplus_demangle_mangled_name,
728         cplus_demangle_operators, cplus_demangle_print,
729         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
730         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
731         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
732         Define.
733         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
734         (memcmp, strncmp): Redefine.
735         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
736         ../../libiberty/cp-demangle.c.
737         * libbacktrace/bridge.cc (__asan_internal_memcmp,
738         __asan_internal_strncmp): New functions.
739         * sanitizer_common/Makefile.in: Regenerated.
740         * libbacktrace/Makefile.in: Regenerated.
741         * configure: Regenerated.
742         * configure.ac: Regenerated.
743         * config.h.in: Regenerated.
745         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
746         -isystem $(top_srcdir)/include/system.
747         * sanitizer_common/Makefile.in: Regenerated.
748         * include/system/linux/aio_abi.h: New header.
749         * include/system/linux/mroute.h: New header.
750         * include/system/linux/mroute6.h: New header.
751         * include/system/linux/perf_event.h: New header.
752         * include/system/linux/types.h: New header.
754         PR sanitizer/59136
755         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
756         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
757         and -I/-include flags.
758         * lsan/Makefile.am (liblsan_la_LIBADD): Add
759         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
760         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
761         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
762         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
763         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
764         libbacktrace.
765         * README.gcc: Document that also lsan and ubsan are
766         maintained in compiler-rt upstream.
767         * libbacktrace/Makefile.am: New file.
768         * libbacktrace/backtrace-rename.h: New file.
769         * libbacktrace/backtrace-supported.h.in: New file.
770         * libbacktrace/bridge.cc: New file.
771         * configure.ac: Add tests needed for libbacktrace build
772         within libsanitizer.
773         * sanitizer_common/Makefile.in: Regenerated.
774         * lsan/Makefile.in: Regenerated.
775         * tsan/Makefile.in: Regenerated.
776         * ubsan/Makefile.in: Regenerated.
777         * libbacktrace/Makefile.in: Generated.
778         * config.h.in: Regenerated.
779         * configure: Regenerated.
780         * Makefile.in: Regenerated.
781         * interception/Makefile.in: Regenerated.
782         * asan/Makefile.in: Regenerated.
783         * aclocal.m4: Regenerated.
785 2013-12-19  Kostya Serebryany  <kcc@google.com>
787         * sanitizer_common/sanitizer_platform_limits_posix.cc:
788         workaround for missing definition of EOWNERDEAD, backport
789         from upstream r196779.
791 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
793         * sanitizer_common/sanitizer_platform_limits_posix.h
794         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
795         (__sanitizer_clock_t): Use long long for x32.
797 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
799         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
800         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
801         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
803 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
805         * configure.ac (link_sanitizer_common): Add -lm.
806         * configure: Regenerated.
808 2013-12-05  Kostya Serebryany  <kcc@google.com>
810         * All source files: Merge from upstream r196489.
811         * merge.sh: Add *.S to the list of merged files.
813 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
815         PR sanitizer/59368
816         * Makefile.am (gcc_version): Added gcc_version.
817         * Makefile.in: Regenerate.
819 2013-12-05  Kostya Serebryany  <kcc@google.com>
821         * All source files: Merge from upstream r196090.
822         * tsan/Makefile.am (tsan_files): Added new files.
823         * tsan/Makefile.in: Regenerate.
824         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
825         * sanitizer_common/Makefile.in: Regenerate.
826         * lsan/Makefile.am (lsan_files): Added new files.
827         * lsan/Makefile.in: Regenerate.
829 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
830             Yury Gribov  <y.gribov@samsung.com>
832         PR sanitizer/59063
833         * libsanitizer.spec.in: Add spec file to hold link flags for
834         various sanitizer libs.
835         * configure.ac: Check whether clock_* routines come from librt.
836         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
837         configure.ac.
838         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
839         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
840         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
841         * asan/Makefile.in: Regenerate.
842         * interception/Makefile.in: Regenerate.
843         * lsan/Makefile.in: Regenerate.
844         * sanitizer_common/Makefile.in: Regenerate.
845         * tsan/Makefile.in: Regenerate.
846         * ubsan/Makefile.in: Regenerate.
847         * Makefile.in: Regenerate.
848         * configure: Regenerate.
850 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
851             Yury Gribov  <y.gribov@samsung.com>
853         PR sanitizer/59106
854         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
855         don't need it.
856         * ubsan/Makefile.in: Regenerated.
858 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
860         PR sanitizer/59061
861         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
862         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
863         * configure: Regenerated.
864         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
865         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
866         * lsan/Makefile.in: Regenerated.
868 2013-11-22  Mike Stump  <mikestump@comcast.net>
870         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
871         change from upstream to fix build.
873 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
875         PR sanitizer/59106
876         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
877         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
878         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
879         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
880         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
881         * asan/Makefile.in: Regenerate.
882         * interception/Makefile.in: Regenerate.
883         * tsan/Makefile.in: Regenerate.
884         * lsan/Makefile.in: Regenerate.
885         * sanitizer_common/Makefile.in: Regenerate.
887 2013-11-15  Kostya Serebryany  <kcc@google.com>
889         PR sanitizer/58994
890         Backport from upstream revision 194573
891         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
892         back to the original functions in the common libsanitizer
893         interceptors and the __cxa_atexit() interceptor on Darwin.
895 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
897         PR sanitizer/59009
898         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
899         ifdef out more source.
901 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
903         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
904         ifdef out almost the whole source.
905         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
907 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
909         PR sanitizer/59018
910         * sanitizer_common/sanitizer_platform_limits_posix.cc
911         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
912         defined.
914 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
916         PR sanitizer/59018
917         * sanitizer_common/sanitizer_platform_limits_linux.cc
918         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
919         defined.
920         * sanitizer_common/sanitizer_platform_limits_posix.h
921         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
922         defined.
923         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
924         is defined.
925         (__sanitizer___kernel_gid_t): Likewise.
926         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
927         is defined.
929 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
931         PR sanitizer/59018
932         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
933         2 64-bit integers to save and restore fn and arg.  Properly load
934         newtls/child_tidptr into r8/r10.
936 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
938         PR sanitizer/59018
939         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
940         internal_munmap, internal_open, internal_read, internal_write,
941         internal_stat, internal_lstat, internal_fstat, internal_readlink,
942         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
943         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
944         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
946 2013-11-04  Kostya Serebryany  <kcc@google.com>
948         * All source files: Merge from upstream r191666.
949         * merge.sh: Added lsan.
950         * configure.ac (AC_CONFIG_FILES): Added lsan.
951         * Makefile.am (SUBDIRS): Added lsan.
952         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
953         * asan/Makefile.am (asan_files): Added new files.
954         (libasan_la_LIBADD): Added a dependency on lsan.
955         * lsan/Makefile.am: New file.
956         * asan/Makefile.in: Regenerate.
957         * lsan/Makefile.in: Regenerate.
958         * Makefile.in: Regenerate.
959         * configure: Regenerate.
960         * sanitizer_common/Makefile.in: Regenerate.
962 2013-09-20  Alan Modra  <amodra@gmail.com>
964         * configure: Regenerate.
966 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
968         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
969         libinterception.la for Darwin.
970         * ubsan/Makefile.in: Regenerate.
972 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
974         * Makefile.am (SUBDIRS): Add ubsan.
975         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
976         * merge.sh: Merge ubsan.
977         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
978         * sanitizer_common/sanitizer_printf.cc: Likewise.
979         * sanitizer_common/sanitizer_common.h: Likewise.
980         * ubsan: New directory. Import ubsan runtime from llvm.
982 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
984         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
985         Cherry pick upstream r182922.
987 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
989         * configure.tgt: Add ARM pattern.
991 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
993         PR other/43620
994         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
995         * Makefile.in: Regenerated.
996         * asan/Makefile.in: Regenerated.
997         * interception/Makefile.in: Regenerated.
998         * sanitizer_common/Makefile.in: Regenerated.
999         * tsan/Makefile.in: Regenerated.
1001 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
1003         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1004         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1005         0x4fffffffffULL.
1007 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
1009         PR sanitizer/56393
1010         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1011         libasan_preinit.o.
1012         (libasan_preinit.o): Depend on asan_preinit.o.
1013         * asan/Makefile.in: Regenerated.
1014         * asan/asan_preinit.cc: New file, synced from upstream.
1015         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1017 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
1019         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1020         dynamic/asan_interceptors_dynamic.cc.
1021         * asan/Makefile.in: Regenerated.
1022         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1024 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
1026         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1027         defined.  Add used attribute.
1029 2013-02-21  Kostya Serebryany  <kcc@google.com>
1031         * All source files: Merge from upstream r175733.
1032         * sanitizer_common/Makefile.am: Added a new file.
1033         * sanitizer_common/Makefile.in: Regenerated.
1035 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1037         PR bootstrap/56327
1038         * interception/interception.h (OFF_T): Merged from upstream
1039         r175140.
1041 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
1043         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1045 2013-02-13  Kostya Serebryany  <kcc@google.com>
1047         PR sanitizer/56128
1048         * All source files: Merge from upstream r175049.
1049         * interception/Makefile.am: added include path.
1050         * interception/Makefile.in: Regenerated.
1052 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
1054         * configure.tgt: Disable build on darwin9 and earlier.
1056 2013-01-23  Kostya Serebryany  <kcc@google.com>
1058         PR sanitizer/55989
1059         * All source files: Merge from upstream r173241.
1060         * merge.sh: Support merging .inc files.
1062 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
1064         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1065         -Wno-c99-extensions.
1066         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1067         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1068         * sanitizer_common/Makefile.in: Regenerated.
1069         * interception/Makefile.in: Regenerated.
1070         * asan/Makefile.in: Regenerated.
1072 2013-01-10  Wei Mi  <wmi@google.com>
1074         PR sanitizer/55488
1075         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1076         * tsan/Makefile.in: Regenerated.
1077         * tsan/tsan_rtl.h: Enable HACKY_CALL.
1079 2013-01-10  Kostya Serebryany  <kcc@google.com>
1081         * All source files: Merge from upstream r171973.
1082         * sanitizer_common/Makefile.am: Added new files.
1083         * asan/Makefile.am: Likewise.
1084         * tsan/Makefile.am: Likewise.
1085         * sanitizer_common/Makefile.in: Regenerated.
1086         * asan/Makefile.in: Likewise.
1087         * tsan/Makefile.in: Likewise.
1089 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1091         * asan/Makefile.am (libasan_la_LIBADD): Replace
1092         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1093         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1094         * Makefile.in: Regenerated.
1095         * configure: Likewise.
1096         * asan/Makefile.in: Likewise.
1097         * interception/Makefile.in: Likewise.
1098         * sanitizer_common/Makefile.in: Likewise.
1099         * tsan/Makefile.in: Likewise.
1101 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1103         * Makefile.am (AM_MAKEFLAGS): Restored.
1104         * interception/Makefile.am: Likewise.
1105         * sanitizer_common/Makefile.am: Likewise.
1106         * tsan/Makefile.am: Likewise.
1107         * Makefile.in: Regenerated.
1108         * asan/Makefile.in: Likewise.
1109         * interception/Makefile.in: Likewise.
1110         * sanitizer_common/Makefile.in: Likewise.
1111         * tsan/Makefile.in: Likewise.
1113 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1115         * Makefile.am (MAKEOVERRIDES): Restored.
1116         * asan/Makefile.am: Likewise.
1117         * interception/Makefile.am: Likewise.
1118         * sanitizer_common/Makefile.am: Likewise.
1119         * tsan/Makefile.am: Likewise.
1120         * Makefile.in: Regenerated.
1121         * asan/Makefile.in: Likewise.
1122         * interception/Makefile.in: Likewise.
1123         * sanitizer_common/Makefile.in: Likewise.
1124         * tsan/Makefile.in: Likewise.
1126 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1128         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1129         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1130         * Makefile.in: Regenerated.
1131         * configure: Likewise.
1132         * asan/Makefile.in: Likewise.
1133         * interception/Makefile.in: Likewise.
1134         * sanitizer_common/Makefile.in: Likewise.
1135         * tsan/Makefile.in: Likewise.
1137 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1139         * Makefile.am (AM_MAKEFLAGS): Removed.
1140         (MAKEOVERRIDES): Likewise.
1141         * asan/Makefile.am: Likewise.
1142         * interception/Makefile.am: Likewise.
1143         * sanitizer_common/Makefile.am: Likewise.
1144         * tsan/Makefile.am: Likewise.
1145         * Makefile.in: Regenerated.
1146         * asan/Makefile.in: Likewise.
1147         * interception/Makefile.in: Likewise.
1148         * sanitizer_common/Makefile.in: Likewise.
1149         * tsan/Makefile.in: Likewise.
1151 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
1153         PR sanitizer/55533
1154         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1155         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1156         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1157         (AM_MAKEFLAGS): Remove CC and CXX.
1158         * interception/Makefile.am: Likewise.
1159         * sanitizer_common/Makefile.am: Likewise.
1160         * tsan/Makefile.am: Likewise.
1161         * Makefile.in: Regenerated.
1162         * aclocal.m4: Likewise.
1163         * configure: Likewise.
1164         * asan/Makefile.in: Likewise.
1165         * interception/Makefile.in: Likewise.
1166         * sanitizer_common/Makefile.in: Likewise.
1167         * tsan/Makefile.in: Likewise.
1169 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
1171         * configure.tgt: Enable build on powerpc*-linux.
1173 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
1175         PR 55599/sanitizer
1176         * configure.ac: Set enable_static=no on darwin.
1177         * configure: Regenerated.
1179 2012-12-06  Kostya Serebryany  <kcc@google.com>
1181         * All files: Merge from upstream r169392.
1183 2012-12-05  Kostya Serebryany  <kcc@google.com>
1185         * All files: Merge from upstream r169371.
1187 2012-12-04  Kostya Serebryany  <kcc@google.com>
1188             Jack Howarth  <howarth@bromo.med.uc.edu>
1190         PR 55521/sanitizer
1191         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1192         * Makefile.am: Don't build interception subdir when
1193         USING_MAC_INTERPOSE defined.
1194         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1195         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1196         Compile asan_interceptors_dynamic.cc but not libinterception
1197         when USING_MAC_INTERPOSE defined.
1198         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1199         * configure: Regenerated.
1200         * Makefile.in: Likewise.
1201         * asan/Makefile.in: Likewise.
1202         * interception/Makefile.in: Likewise.
1203         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1204         * asan/asan_mac.cc: Likewise.
1205         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1206         and use MISSING_BLOCKS_SUPPORT.
1207         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1208         * interception/mach_override/LICENSE.txt: Remove unused file.
1209         * interception/mach_override/mach_override.c: Likewise.
1210         * interception/mach_override/mach_override.h: Likewise.
1211         * interception/mach_override: Remove unused directory.
1213 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1215         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1216         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1217         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1218         files.
1219         (AM_MAKEFLAGS): Restore CC and CXX.
1220         * interception/Makefile.am: Likewise.
1221         * sanitizer_common/Makefile.am: Likewise.
1222         * tsan/Makefile.am: Likewise.
1223         * Makefile.in: Regenerated.
1224         * aclocal.m4: Likewise.
1225         * configure: Likewise.
1226         * asan/Makefile.in: Likewise.
1227         * interception/Makefile.in: Likewise.
1228         * sanitizer_common/Makefile.in: Likewise.
1229         * tsan/Makefile.in: Likewise.
1231 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1233         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1234         * configure.ac (ACX_NONCANONICAL_TARGET): New.
1235         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1236         files.
1237         (AM_MAKEFLAGS): Remove CC and CXX.
1238         * interception/Makefile.am: Likewise.
1239         * sanitizer_common/Makefile.am: Likewise.
1240         * tsan/Makefile.am: Likewise.
1241         * Makefile.in: Regenerated.
1242         * aclocal.m4: Likewise.
1243         * configure: Likewise.
1244         * asan/Makefile.in: Likewise.
1245         * interception/Makefile.in: Likewise.
1246         * sanitizer_common/Makefile.in: Likewise.
1247         * tsan/Makefile.in: Likewise.
1249 2012-11-27  Kostya Serebryany  <kcc@google.com>
1251         * All files: Merge from upstream r168699.
1253 2012-11-24  Kostya Serebryany  <kcc@google.com>
1254             Jack Howarth  <howarth@bromo.med.uc.edu>
1256         * interception/mach_override/mach_override.c: Migrate from llvm.
1257         * interception/mach_override/mach_override.h: Likewise.
1258         * interception/mach_override/LICENSE.txt: Likewise.
1259         * configure.tgt: Add darwin to supported targets.
1260         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1261         * interception/Makefile.am: Compile mach_override.c when
1262         USING_MACH_OVERRIDE defined.
1263         * configure: Regenerated.
1264         * interception/Makefile.in: Likewise.
1266 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1268         PR sanitizer/55450
1269         * tsan/Makefile.am (gcc_version): New.
1270         * tsan/Makefile.in: Regenerated.
1272 2012-11-23  Kostya Serebryany  <kcc@google.com>
1274         * merge.sh: Support tsan, support added/removed files.
1275         * tsan/Makefile.am: Remove tsan_printf.cc.
1276         * tsan/Makefile.in: Regenerated.
1277         * other files: Merge from upstream r168514.
1279 2012-11-23  Kostya Serebryany  <kcc@google.com>
1281         * merge.sh: New file.
1283 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1285         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1286         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1287         automake conditional instead of !MULTISUBDIR32.
1288         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1289         for 64-bit multilib.
1290         * configure.ac: Check for void * size, source in configure.tgt,
1291         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1292         * configure: Regenerated.
1293         * Makefile.in: Regenerated.
1294         * tsan/Makefile.in: Regenerated.
1296 2012-11-22  Wei Mi  <wmi@google.com>
1298         * tsan: New directory. Import tsan runtime from llvm.
1299         * configure.ac: Add 64 bits tsan build.
1300         * Makefile.am: Likewise.
1301         * configure: Regenerated.
1302         * Makefile.in: Likewise.
1304 2012-11-21  Kostya Serebryany  <kcc@google.com>
1306         * README.gcc: Extend the README.gcc with mode details.
1308 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1310         * sanitizer_common/sanitizer_linux.cc
1311         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1312         (internal_mmap): Use it.
1313         (internal_filesize): Likewise.
1315 2012-11-16  Tom Tromey  <tromey@redhat.com>
1317         * configure.ac: Invoke AM_MAINTAINER_MODE.
1318         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1319         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1321 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1323         PR other/55333
1324         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1325         for hardware pointer.
1326         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1327         Replace uptr with uhwptr for stack unwind.
1329 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1331         * configure.tgt: Enable build on sparc linux.
1333 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1335         * configure.ac: Properly set MULTISUBDIR.
1336         * asan/Makefile.am (gcc_version): New.
1337         * interception/Makefile.am (gcc_version): Likewise.
1338         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1339         * configure: Regenerated.
1340         * asan/Makefile.in: Likewise.
1341         * interception/Makefile.in: Likewise.
1342         * sanitizer_common/Makefile.in: Likewise.
1344 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1346         PR other/55291
1347         * configure.ac (--enable-version-specific-runtime-libs): New option.
1348         (AC_CANONICAL_SYSTEM): New.
1349         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1350         (toolexecdir): Support multilib.
1351         (toolexeclibdir): Likewise.
1352         (multilib_arg): New.
1353         * Makefile.in: Regenerated.
1354         * aclocal.m4: Likewise.
1355         * configure: Likewise.
1356         * asan/Makefile.in: Likewise.
1357         * interception/Makefile.in: Likewise.
1358         * sanitizer_common/Makefile.in: Likewise.
1360 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1362         PR other/55292
1363         Backport from upstream revision 167883
1364         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1365         __x86_64__ instead of __WORDSIZE.
1366         (internal_filesize): Likwise.
1368 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1370         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1371         * Makefile.in: Regenerated.
1372         * configure: Likewise.
1374 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1376         PR other/55304
1377         * acinclude.m4: New file.
1378         * Makefile.am (ACLOCAL_AMFLAGS): New.
1379         * configure.ac (AC_PREREQ): Set to 2.64.
1380         (AC_CONFIG_AUX_DIR): Set to "..".
1381         * Makefile.in: Regenerated.
1382         * aclocal.m4: Likewise.
1383         * configure: Likewise.
1384         * asan/Makefile.in: Likewise.
1385         * interception/Makefile.in: Likewise.
1386         * sanitizer_common/Makefile.in: Likewise.
1388         * config.guess: Removed.
1389         * config.sub: Likewise.
1390         * depcomp: Likewise.
1391         * install-sh: Likewise.
1392         * ltmain.sh: Likewise.
1393         * missing: Likewise.
1395 2012-11-13  Richard Henderson  <rth@redhat.com>
1397         * configure.tgt: New file.
1399 2012-11-12  David S. Miller  <davem@davemloft.net>
1401         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1403 2012-10-29  Wei Mi  <wmi@google.com>
1405         Initial checkin: migrate asan runtime from llvm.