PR bootstrap/82670
[official-gcc.git] / libsanitizer / ChangeLog
blobf94a53bcd378dfdf7e1979bc66770efe69720562
1 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
3         PR bootstrap/82670
4         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
5         and ubsan_signals_standalone.cc.
6         * ubsan/Makefile.in: Regenerated.
8 2017-11-05  Tom de Vries  <tom@codesourcery.com>
10         PR other/82784
11         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
12         "do {} while (0)".
13         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
15 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
17         PR sanitizer/82595
18         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
19         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
20         liblsan_preinit.o.
21         (lsan_files): Remove lsan_preinit.cc.
22         (liblsan_preinit.o): New rule.
23         * lsan/Makefile.in: Regenerated.
25 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
27         * All source files: Merge from upstream 315899.
28         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
29         include/sanitizer/tsan_interface.h.
30         * asan/libtool-version: Bump the libasan SONAME.
31         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
32         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
33         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
34         sancov_flags.cc, sanitizer_allocator_checks.cc,
35         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
36         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
37         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
38         and sanitizer_coverage_mapping_libcdep.cc.
39         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
40         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
41         (ubsan_files): Add ubsan_init_standalone.cc and
42         ubsan_signals_standalone.cc.
43         * ubsan/libtool-version: Bump the libubsan SONAME.
44         * asan/Makefile.in: Regenerate.
45         * lsan/Makefile.in: Regenerate.
46         * sanitizer_common/Makefile.in: Regenerate.
47         * tsan/Makefile.in: Regenerate.
48         * ubsan/Makefile.in: Regenerate.
50 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52         PR sanitizer/82379
53         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
54         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
56 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
58         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
59         Define.
61 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
63         * include/system/sys/ptrace.h: New file.
65 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
67         PR sanitizer/80998
68         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
69         * ubsan/ubsan_checks.inc: Likewise.
70         * ubsan/ubsan_handlers.h: Likewise.
72 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
74         PR sanitizer/81066
75         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
76         * sanitizer_common/sanitizer_linux.cc: Likewise.
77         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
78         * tsan/tsan_platform_linux.cc: Likewise.
80 2017-04-06  Martin Liska  <mliska@suse.cz>
82         PR sanitizer/80166
83         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
84         Cherry-pick upstream r299036.
86 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
88         PR sanitizer/78158
89         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
91 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
93         PR sanitizer/79562
94         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
95         upstream r294806.
97 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
99         PR sanitizer/79341
100         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
101         s390-linux 31-bit.
102         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
103         r294793.
104         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
105         upstream r294790.
106         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
107         r294799.
109 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
111         PR sanitizer/78663
112         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
113         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
115 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
117         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
119 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
121         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
123         PR sanitizer/79168
124         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
125         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
126         text.
127         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
128         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
129         * tsan/tsan_ppc_regs.h: Likewise.
130         * tsan/tsan_rtl_aarch64.S: Likewise.
131         * tsan/tsan_rtl_mips64.S: Likewise.
132         * tsan/tsan_rtl_ppc64.S: Likewise.
134 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
136         PR other/79046
137         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
138         instead of cat to get version from BASE-VER file.
139         * asan/Makefile.am (gcc_version): Likewise.
140         * ubsan/Makefile.am (gcc_version): Likewise.
141         * sanitizer_common/Makefile.am (gcc_version): Likewise.
142         * lsan/Makefile.am (gcc_version): Likewise.
143         * tsan/Makefile.am (gcc_version): Likewise.
144         * interception/Makefile.in: Regenerated.
145         * asan/Makefile.in: Regenerated.
146         * ubsan/Makefile.in: Regenerated.
147         * sanitizer_common/Makefile.in: Regenerated.
148         * lsan/Makefile.in: Regenerated.
149         * tsan/Makefile.in: Regenerated.
151 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
153         PR other/79046
154         * configure.ac: Add GCC_BASE_VER.
155         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
156         get version from BASE-VER file.
157         * libbacktrace/Makefile.in: Regenerated.
158         * interception/Makefile.in: Regenerated.
159         * asan/Makefile.in: Regenerated.
160         * ubsan/Makefile.in: Regenerated.
161         * configure: Regenerated.
162         * sanitizer_common/Makefile.in: Regenerated.
163         * lsan/Makefile.in: Regenerated.
164         * Makefile.in: Regenerated.
165         * tsan/Makefile.in: Regenerated.
167 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
169         PR sanitizer/78992
170         * sanitizer_common/sanitizer_platform_limits_posix.h
171         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
173 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
175         * LOCAL_PATCHES: Add revision.
177 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
179         PR sanitizer/78532
180         * sanitizer_common/sanitizer_platform_limits_posix.h
181         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
182         versions.
184 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
186         * LOCAL_PATCHES: Remove r242480.
188 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
190         * LOCAL_PATCHES: Add revision.
192 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
194         PR sanitizer/78267
195         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
196         compiler supports blocks extension.
198 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
200         * LOCAL_PATCHES: Add revision.
202 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
204         PR sanitizer/78294
205         * tsan/tsan_rtl.cc: Add missing attribute.
207 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
209         * LOCAL_PATCHES: New file.
211 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
213         PR sanitizer/78307
214         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
215         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
216         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
217         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
218         function.
219         (__ubsan_handle_cfi_bad_type_abort): Likewise.
220         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
221         (__ubsan_handle_cfi_bad_type): Export function.
222         (__ubsan_handle_cfi_bad_type_abort): Likewise.
223         * HOWTO_MERGE: Update documentation.
225 2016-11-15  Matthias Klose  <doko@ubuntu.com>
227         * configure: Regenerate.
229 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
231         * asan/asan_globals.cc (RegisterGlobal): Do not call
232         CheckODRViolationViaPoisoning.
233         (CheckODRViolationViaPoisoning): Remove.
235 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
237         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
238         compiled code with GCC when extracting the caller PC for ARM if no
239         valid frame pointer is available.
241 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
243         PR sanitizer/63958
244         Reapply:
245         2014-10-14  David S. Miller  <davem@davemloft.net>
247         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
248         Define at __kernel_time_t, as needed for sparc.
249         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
250         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
251         (__sanitizer): Define struct___old_kernel_stat_sz,
252         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
253         (__sanitizer_ipc_perm): Adjust for sparc targets.
254         (__sanitizer_shmid_ds): Likewsie.
255         (__sanitizer_sigaction): Likewise.
256         (IOC_SIZE): Likewsie.
258 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
260         * All source files: Merge from upstream 285547.
261         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
262         variable.
263         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
264         * asan/Makefile.am (asan_files): Add new files.
265         * asan/Makefile.in: Regenerate.
266         * ubsan/Makefile.in: Likewise.
267         * lsan/Makefile.in: Likewise.
268         * tsan/Makefile.am (tsan_files): Add new files.
269         * tsan/Makefile.in: Regenerate.
270         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
271         (EXTRA_libsanitizer_common_la_SOURCES): Define.
272         (libsanitizer_common_la_LIBADD): Likewise.
273         (libsanitizer_common_la_DEPENDENCIES): Likewise.
274         * sanitizer_common/Makefile.in: Regenerate.
275         * interception/Makefile.in: Likewise.
276         * libbacktace/Makefile.in: Likewise.
277         * Makefile.in: Likewise.
278         * configure: Likewise.
279         * merge.sh: Handle builtins/assembly.h merging.
280         * builtins/assembly.h: New file.
281         * asan/libtool-version: Bump the libasan SONAME.
283 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
285         PR sanitizer/77567
286         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
288 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
290         PR sanitizer/77396
291         * asan/asan_globals.cc: Cherry-pick upstream r280657.
293 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
295         PR sanitizer/71042
296         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
297         * tsan/tsan_rtl_aarch64.S: Likewise.
299 2016-07-23  Alan Modra  <amodra@gmail.com>
301         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
302         * configure.ac: Don't substitute OBSTACK_DEFS.
303         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
304         * tsan/Makefile.am: Likewise.
305         * configure: Regenerate.
306         * Makefile.in: Regenerate.
307         * asan/Makefile.in: Regenerate.
308         * interception/Makefile.in: Regenerate.
309         * libbacktrace/Makefile.in: Regenerate.
310         * lsan/Makefile.in: Regenerate.
311         * sanitizer_common/Makefile.in: Regenerate.
312         * tsan/Makefile.in: Regenerate.
313         * ubsan/Makefile.in: Regenerate.
315 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
317         PR sanitizer/71160
318         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
319         and r269633.
321 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
323         PR sanitizer/70624
324         * asan/asan_mac.cc: Cherry pick upstream r266868.
326 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
328         PR sanitizer/68824
329         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
330         InitializeInterceptors): Cherry pick upstream r258119.
332 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
334         * configure.ac: Replace the hard-coded -ldl requirement for
335         link_sanitizer_common with a configure time check for -ldl.
336         * configure: Regenerate.
338 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
340         * include/system/linux/asm/ptrace.h: Move to ...
341         * include/system/asm/ptrace.h: ... this.
343 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
345         * include/system/linux/asm/ptrace.h: New header.
347 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
349         * All source files: Merge from upstream r253555.
350         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
351         dependences for TSan for aarch64-*-linux* targets.
352         * tsan/Makefile.am: Add new source files.
353         * configure: Regenerate.
354         * tsan/Makefile.in: Likewise.
356 2015-11-09  Alan Modra  <amodra@gmail.com>
358         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
359         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
360         interceptors.
361         * configure.ac: Substitute OBSTACK_DEFS.
362         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
363         * tsan/Makefile.am: Likewise.
364         * configure: Regenerate.
365         * Makefile.in: Regenerate.
366         * asan/Makefile.in: Regenerate.
367         * interception/Makefile.in: Regenerate.
368         * libbacktrace/Makefile.in: Regenerate.
369         * lsan/Makefile.in: Regenerate.
370         * sanitizer_common/Makefile.in: Regenerate.
371         * tsan/Makefile.in: Regenerate.
372         * ubsan/Makefile.in: Regenerate.
374 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
376         PR bootstrap/68041
377         * configure.ac (link_sanitizer_common): Link against librt only if it
378         contains shm_open, required by sanitizers.
379         (CXX_ABI_NEEDED): Remove variable.
380         * configure: Regenerate.
381         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
382         * ubsan/Makefile.in: Regenerate.
384 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
386         * HOWTO_MERGE: New file.
388 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
390         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
391         compiled code with GCC when extracting the caller PC for ARM if no
392         valid frame pointer is available.
394 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
396         PR bootstrap/63888
397         Reapply:
398         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
400         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
401         support until it is rewritten upstream.
403         * c-c++-common/asan/pr63888.c: New test.
405 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
407         PR sanitizer/63958
408         Reapply:
409         2014-10-14  David S. Miller  <davem@davemloft.net>
411         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
412         Define at __kernel_time_t, as needed for sparc.
413         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
414         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
415         (__sanitizer): Define struct___old_kernel_stat_sz,
416         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
417         (__sanitizer_ipc_perm): Adjust for sparc targets.
418         (__sanitizer_shmid_ds): Likewsie.
419         (__sanitizer_sigaction): Likewise.
420         (IOC_SIZE): Likewsie.
422 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
424         * All source files: Merge from upstream r250806.
425         * configure.ac (link_sanitizer_common): Add -lrt flag.
426         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
427         Set USE_CXX_ABI_FLAG=true for darwin.
428         * asan/Makefile.am (asan_files): Add new files.
429         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
430         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
431         * asan/Makefile.in: Regenerate.
432         * ubsan/Makefile.am (ubsan_files): Add new files.
433         (DEFS): Add DCAN_SANITIZE_UB=1.
434         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
435         * ubsan/Makefile.in: Regenerate.
436         * tsan/Makefile.am (tsan_files): Add new files.
437         (DEFS): Add DCAN_SANITIZE_UB=0.
438         * tsan/Makefile.in: Regenerate.
439         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
440         * sanitizer_common/Makefile.in: Regenerate.
441         * asan/libtool-version: Bump the libasan SONAME.
443 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
445         PR sanitizer/67258
446         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
448 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
450         PR sanitizer/63927
451         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
452         for PowerPC.
454 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
456         PR sanitizer/63927
457         * sanitizer_common/sanitizer_stacktrace.cc
458         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
459         find the link register at an offset of 16 from the base of the
460         caller's stack frame.
462 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
464         * Makefile.in: Regenerated with automake-1.11.6.
465         * aclocal.m4: Likewise.
466         * asan/Makefile.in: Likewise.
467         * configure: Likewise.
468         * interception/Makefile.in: Likewise.
469         * libbacktrace/Makefile.in: Likewise.
470         * lsan/Makefile.in: Likewise.
471         * sanitizer_common/Makefile.in: Likewise.
472         * tsan/Makefile.in: Likewise.
473         * ubsan/Makefile.in: Likewise.
475 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
477         PR sanitizer/64839
478         * sanitizer_common/sanitizer_platform.h: Cherry pick
479         upstream r234470.
480         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
481         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
482         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
483         * Makefile.in: Regenerate.
484         * asan/Makefile.in: Regenerate.
485         * config.h.in: Regenerate.
486         * configure: Regenerate.
487         * interception/Makefile.in: Regenerate.
488         * libbacktrace/Makefile.in: Regenerate.
489         * lsan/Makefile.in: Regenerate.
490         * sanitizer_common/Makefile.in: Regenerate.
491         * tsan/Makefile.in: Regenerate.
492         * ubsan/Makefile.in: Regenerate.
495 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
497         PR sanitizer/59009
498         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
499         upstream r230324.
500         * sanitizer_common/sanitizer_platform.h: Likewise.
501         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
503 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
505         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
506         upstream 224508 and 224755.
508 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
510         PR sanitizer/63958
511         Reapply:
512         2014-10-14  David S. Miller  <davem@davemloft.net>
514         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
515         Define at __kernel_time_t, as needed for sparc.
516         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
517         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
518         (__sanitizer): Define struct___old_kernel_stat_sz,
519         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
520         (__sanitizer_ipc_perm): Adjust for sparc targets.
521         (__sanitizer_shmid_ds): Likewsie.
522         (__sanitizer_sigaction): Likewise.
523         (IOC_SIZE): Likewsie.
525 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
527         * configure.tgt: Enable build on powerpc*le-*-linux.
529 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
531         PR bootstrap/63888
532         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
533         support until it is rewritten upstream.
535 2015-01-26  Matthias Klose  <doko@ubuntu.com>
537         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
538         * configure: Regenerate.
540 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
542         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
543         * configure: Regenerate.
544         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
546 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
548         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
549         * configure: Regenerate.
550         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
551         (libtsan_la_DEPENDENCIES): Likewise.
552         * Makefile.in: Regenerate.
553         * asan/Makefile.in: Regenerate.
554         * interception/Makefile.in: Regenerate.
555         * libbacktrace/Makefile.in: Regenerate.
556         * lsan/Makefile.in: Regenerate.
557         * sanitizer_common/Makefile.in: Regenerate.
558         * tsan/Makefile.in: Regenerate.
559         * ubsan/Makefile.in: Regenerate.
561 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
563         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
565 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
567         PR sanitizer/64435
568         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
569         upstream r226637.
570         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
571         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
573 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
575         PR sanitizer/64632
576         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
578 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
580         PR sanitizer/64435
581         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
582         upstream r223925.
584 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
586         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
587         upstream r224518 and r224519.
588         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
589         r224834.
591 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
593         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
594         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
595         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
596         upstream r224308.
598 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
600         PR bootstrap/63784
601         * configure: Regenerated.
603 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
605         PR target/61137
606         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
607         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
609 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
611         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
612         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
613         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
614         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
615         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
616         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
617         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
618         * sanitizer_common/Makefile.in: Regenerate.
619         * asan/Makefile.in: Ditto.
620         * lsan/Makefile.in: Ditto.
621         * interception/Makefile.in: Ditto.
622         * tsan/Makefile.in: Ditto.
623         * libbacktrace/Makefile.in: Ditto.
624         * ubsan/Makefile.in: Ditto.
626 2014-11-13  Kostya Serebryany  <kcc@google.com>
628         * All source files: Merge from upstream r221802.
629         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
630         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
631         with 'start' to follow the new interface.
632         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
633         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
634         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
635         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
636         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
637         files.
638         (AM_CXXFLAGS): Added -std=c++11.
639         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
640         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
641         * asan/Makefile.in: Regenerate.
642         * interception/Makefile.in: Regenerate.
643         * libbacktrace/Makefile.in: Regenerate.
644         * lsan/Makefile.in: Regenerate.
645         * sanitizer_common/Makefile.in: Regenerate.
646         * tsan/Makefile.in: Regenerate.
647         * ubsan/Makefile.in: Regenerate.
649 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
651         PR target/63610
652         * configure: Regenerate.
654 2014-10-16  Martin Liska  <mliska@suse.cz>
656         * asan/Makefile.am: IPA ICF pass is disabled.
657         * asan/Makefile.in: Likewise.
659 2014-10-14  David S. Miller  <davem@davemloft.net>
661         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
662         Define at __kernel_time_t, as needed for sparc.
663         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
664         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
665         (__sanitizer): Define struct___old_kernel_stat_sz,
666         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
667         (__sanitizer_ipc_perm): Adjust for sparc targets.
668         (__sanitizer_shmid_ds): Likewsie.
669         (__sanitizer_sigaction): Likewsie.
670         (IOC_SIZE): Likewsie.
672 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
674         * ubsan/Makefile.am (DEFS): Add -DPIC.
675         * ubsan/Makefile.in: Regenerated.
677 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
679         * configure.tgt: Enable build on aarch64*-linux.
681 2014-09-19  Kostya Serebryany  <kcc@google.com>
683         * All source files: Merge from upstream r218156.
684         * asan/Makefile.am (asan_files): Added new files.
685         * asan/Makefile.in: Regenerate.
686         * ubsan/Makefile.am (ubsan_files): Added new files.
687         * ubsan/Makefile.in: Regenerate.
688         * tsan/Makefile.am (tsan_files): Added new files.
689         * tsan/Makefile.in: Regenerate.
690         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
691           files.
692         * sanitizer_common/Makefile.in: Regenerate.
693         * asan/libtool-version: Bump the libasan SONAME.
695 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
697         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
698         upstream r215485, r217389, r217391 and r217400.
700 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
702         * sanitizer_common/sanitizer_common_interceptors.inc:
703         Cherry pick upstream r211008.
705 2014-06-11  Richard Biener  <rguenther@suse.de>
707         * asan/asan_linux.cc: Cherry pick upstream r210012.
709 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
711         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
712         r209879.
713         * sanitizer_common/sanitizer_common.h: Likewise.
714         * asan/asan_mapping.h: Likewise.
715         * asan/asan_linux.cc: Likewise.
716         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
717         * sanitizer_common/sanitizer_allocator.h: Likewise.
719 2014-05-23  Marek Polacek  <polacek@redhat.com>
721         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
722         floating-point types.
724 2014-05-22  Kostya Serebryany  <kcc@google.com>
726         * All source files: Merge from upstream r209283.
727         * asan/Makefile.am (asan_files): Added new files.
728         * asan/Makefile.in: Regenerate.
729         * tsan/Makefile.am (tsan_files): Added new files.
730         * tsan/Makefile.in: Regenerate.
731         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
732         files.
733         * sanitizer_common/Makefile.in: Regenerate.
735 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
737         PR sanitizer/61100
738         * Makefile.am (nodist_saninclude_HEADERS): Install
739         public headers.
740         * Makefile.in: Regenerate.
742 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
744         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
745         Add ../../libbacktrace/sort.c.
746         * libbacktrace/Makefile.in: Regenerate.
747         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
749 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
751         * configure.tgt: Unsupported for little endian PowerPC for now.
753 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
755         PR sanitizer/60055
756         * tsan/tsan_flags.cc (__tsan_default_options): Add
757         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
758         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
760         PR sanitizer/60038
761         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
762         sanitizer_atomic.h and unistd.h.
763         (kThreadDescriptorSize): Made static, remove initializer and const,
764         change type to atomic_uintptr_t.
765         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
766         query glibc version, compute kThreadDescriptorSize depending on
767         glibc version minor number.
768         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
769         kThreadDescriptorSize directly.
771 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
772             Jakub Jelinek  <jakub@redhat.com>
774         PR sanitizer/57316
775         * configure.ac: Check for missing syscalls.
776         * Makefile.am: Likewise.
777         * configure: Regenerate.
778         * Makefile.in: Regenerate.
780 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
782         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
783         (LibbacktraceSymbolizer::Demangle): New declaration.
784         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
785         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
786         method if possible.
787         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
788         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
789         (struct CplusV3DemangleData): New type.
790         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
791         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
792         SymbolizeDataCallback): Use CplusV3Demangle.
793         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
794         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
795         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
796         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
797         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
798         cplus_demangle_init_info, cplus_demangle_mangled_name,
799         cplus_demangle_operators, cplus_demangle_print,
800         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
801         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
802         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
803         Define.
804         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
805         (memcmp, strncmp): Redefine.
806         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
807         ../../libiberty/cp-demangle.c.
808         * libbacktrace/bridge.cc (__asan_internal_memcmp,
809         __asan_internal_strncmp): New functions.
810         * sanitizer_common/Makefile.in: Regenerated.
811         * libbacktrace/Makefile.in: Regenerated.
812         * configure: Regenerated.
813         * configure.ac: Regenerated.
814         * config.h.in: Regenerated.
816         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
817         -isystem $(top_srcdir)/include/system.
818         * sanitizer_common/Makefile.in: Regenerated.
819         * include/system/linux/aio_abi.h: New header.
820         * include/system/linux/mroute.h: New header.
821         * include/system/linux/mroute6.h: New header.
822         * include/system/linux/perf_event.h: New header.
823         * include/system/linux/types.h: New header.
825         PR sanitizer/59136
826         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
827         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
828         and -I/-include flags.
829         * lsan/Makefile.am (liblsan_la_LIBADD): Add
830         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
831         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
832         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
833         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
834         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
835         libbacktrace.
836         * README.gcc: Document that also lsan and ubsan are
837         maintained in compiler-rt upstream.
838         * libbacktrace/Makefile.am: New file.
839         * libbacktrace/backtrace-rename.h: New file.
840         * libbacktrace/backtrace-supported.h.in: New file.
841         * libbacktrace/bridge.cc: New file.
842         * configure.ac: Add tests needed for libbacktrace build
843         within libsanitizer.
844         * sanitizer_common/Makefile.in: Regenerated.
845         * lsan/Makefile.in: Regenerated.
846         * tsan/Makefile.in: Regenerated.
847         * ubsan/Makefile.in: Regenerated.
848         * libbacktrace/Makefile.in: Generated.
849         * config.h.in: Regenerated.
850         * configure: Regenerated.
851         * Makefile.in: Regenerated.
852         * interception/Makefile.in: Regenerated.
853         * asan/Makefile.in: Regenerated.
854         * aclocal.m4: Regenerated.
856 2013-12-19  Kostya Serebryany  <kcc@google.com>
858         * sanitizer_common/sanitizer_platform_limits_posix.cc:
859         workaround for missing definition of EOWNERDEAD, backport
860         from upstream r196779.
862 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
864         * sanitizer_common/sanitizer_platform_limits_posix.h
865         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
866         (__sanitizer_clock_t): Use long long for x32.
868 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
870         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
871         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
872         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
874 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
876         * configure.ac (link_sanitizer_common): Add -lm.
877         * configure: Regenerated.
879 2013-12-05  Kostya Serebryany  <kcc@google.com>
881         * All source files: Merge from upstream r196489.
882         * merge.sh: Add *.S to the list of merged files.
884 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
886         PR sanitizer/59368
887         * Makefile.am (gcc_version): Added gcc_version.
888         * Makefile.in: Regenerate.
890 2013-12-05  Kostya Serebryany  <kcc@google.com>
892         * All source files: Merge from upstream r196090.
893         * tsan/Makefile.am (tsan_files): Added new files.
894         * tsan/Makefile.in: Regenerate.
895         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
896         * sanitizer_common/Makefile.in: Regenerate.
897         * lsan/Makefile.am (lsan_files): Added new files.
898         * lsan/Makefile.in: Regenerate.
900 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
901             Yury Gribov  <y.gribov@samsung.com>
903         PR sanitizer/59063
904         * libsanitizer.spec.in: Add spec file to hold link flags for
905         various sanitizer libs.
906         * configure.ac: Check whether clock_* routines come from librt.
907         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
908         configure.ac.
909         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
910         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
911         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
912         * asan/Makefile.in: Regenerate.
913         * interception/Makefile.in: Regenerate.
914         * lsan/Makefile.in: Regenerate.
915         * sanitizer_common/Makefile.in: Regenerate.
916         * tsan/Makefile.in: Regenerate.
917         * ubsan/Makefile.in: Regenerate.
918         * Makefile.in: Regenerate.
919         * configure: Regenerate.
921 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
922             Yury Gribov  <y.gribov@samsung.com>
924         PR sanitizer/59106
925         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
926         don't need it.
927         * ubsan/Makefile.in: Regenerated.
929 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
931         PR sanitizer/59061
932         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
933         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
934         * configure: Regenerated.
935         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
936         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
937         * lsan/Makefile.in: Regenerated.
939 2013-11-22  Mike Stump  <mikestump@comcast.net>
941         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
942         change from upstream to fix build.
944 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
946         PR sanitizer/59106
947         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
948         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
949         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
950         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
951         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
952         * asan/Makefile.in: Regenerate.
953         * interception/Makefile.in: Regenerate.
954         * tsan/Makefile.in: Regenerate.
955         * lsan/Makefile.in: Regenerate.
956         * sanitizer_common/Makefile.in: Regenerate.
958 2013-11-15  Kostya Serebryany  <kcc@google.com>
960         PR sanitizer/58994
961         Backport from upstream revision 194573
962         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
963         back to the original functions in the common libsanitizer
964         interceptors and the __cxa_atexit() interceptor on Darwin.
966 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
968         PR sanitizer/59009
969         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
970         ifdef out more source.
972 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
974         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
975         ifdef out almost the whole source.
976         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
978 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
980         PR sanitizer/59018
981         * sanitizer_common/sanitizer_platform_limits_posix.cc
982         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
983         defined.
985 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
987         PR sanitizer/59018
988         * sanitizer_common/sanitizer_platform_limits_linux.cc
989         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
990         defined.
991         * sanitizer_common/sanitizer_platform_limits_posix.h
992         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
993         defined.
994         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
995         is defined.
996         (__sanitizer___kernel_gid_t): Likewise.
997         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
998         is defined.
1000 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1002         PR sanitizer/59018
1003         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1004         2 64-bit integers to save and restore fn and arg.  Properly load
1005         newtls/child_tidptr into r8/r10.
1007 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1009         PR sanitizer/59018
1010         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1011         internal_munmap, internal_open, internal_read, internal_write,
1012         internal_stat, internal_lstat, internal_fstat, internal_readlink,
1013         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1014         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1015         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1017 2013-11-04  Kostya Serebryany  <kcc@google.com>
1019         * All source files: Merge from upstream r191666.
1020         * merge.sh: Added lsan.
1021         * configure.ac (AC_CONFIG_FILES): Added lsan.
1022         * Makefile.am (SUBDIRS): Added lsan.
1023         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1024         * asan/Makefile.am (asan_files): Added new files.
1025         (libasan_la_LIBADD): Added a dependency on lsan.
1026         * lsan/Makefile.am: New file.
1027         * asan/Makefile.in: Regenerate.
1028         * lsan/Makefile.in: Regenerate.
1029         * Makefile.in: Regenerate.
1030         * configure: Regenerate.
1031         * sanitizer_common/Makefile.in: Regenerate.
1033 2013-09-20  Alan Modra  <amodra@gmail.com>
1035         * configure: Regenerate.
1037 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
1039         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1040         libinterception.la for Darwin.
1041         * ubsan/Makefile.in: Regenerate.
1043 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
1045         * Makefile.am (SUBDIRS): Add ubsan.
1046         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1047         * merge.sh: Merge ubsan.
1048         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1049         * sanitizer_common/sanitizer_printf.cc: Likewise.
1050         * sanitizer_common/sanitizer_common.h: Likewise.
1051         * ubsan: New directory. Import ubsan runtime from llvm.
1053 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
1055         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1056         Cherry pick upstream r182922.
1058 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
1060         * configure.tgt: Add ARM pattern.
1062 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
1064         PR other/43620
1065         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1066         * Makefile.in: Regenerated.
1067         * asan/Makefile.in: Regenerated.
1068         * interception/Makefile.in: Regenerated.
1069         * sanitizer_common/Makefile.in: Regenerated.
1070         * tsan/Makefile.in: Regenerated.
1072 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
1074         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1075         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1076         0x4fffffffffULL.
1078 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
1080         PR sanitizer/56393
1081         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1082         libasan_preinit.o.
1083         (libasan_preinit.o): Depend on asan_preinit.o.
1084         * asan/Makefile.in: Regenerated.
1085         * asan/asan_preinit.cc: New file, synced from upstream.
1086         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1088 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
1090         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1091         dynamic/asan_interceptors_dynamic.cc.
1092         * asan/Makefile.in: Regenerated.
1093         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1095 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
1097         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1098         defined.  Add used attribute.
1100 2013-02-21  Kostya Serebryany  <kcc@google.com>
1102         * All source files: Merge from upstream r175733.
1103         * sanitizer_common/Makefile.am: Added a new file.
1104         * sanitizer_common/Makefile.in: Regenerated.
1106 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1108         PR bootstrap/56327
1109         * interception/interception.h (OFF_T): Merged from upstream
1110         r175140.
1112 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
1114         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1116 2013-02-13  Kostya Serebryany  <kcc@google.com>
1118         PR sanitizer/56128
1119         * All source files: Merge from upstream r175049.
1120         * interception/Makefile.am: added include path.
1121         * interception/Makefile.in: Regenerated.
1123 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
1125         * configure.tgt: Disable build on darwin9 and earlier.
1127 2013-01-23  Kostya Serebryany  <kcc@google.com>
1129         PR sanitizer/55989
1130         * All source files: Merge from upstream r173241.
1131         * merge.sh: Support merging .inc files.
1133 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
1135         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1136         -Wno-c99-extensions.
1137         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1138         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1139         * sanitizer_common/Makefile.in: Regenerated.
1140         * interception/Makefile.in: Regenerated.
1141         * asan/Makefile.in: Regenerated.
1143 2013-01-10  Wei Mi  <wmi@google.com>
1145         PR sanitizer/55488
1146         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1147         * tsan/Makefile.in: Regenerated.
1148         * tsan/tsan_rtl.h: Enable HACKY_CALL.
1150 2013-01-10  Kostya Serebryany  <kcc@google.com>
1152         * All source files: Merge from upstream r171973.
1153         * sanitizer_common/Makefile.am: Added new files.
1154         * asan/Makefile.am: Likewise.
1155         * tsan/Makefile.am: Likewise.
1156         * sanitizer_common/Makefile.in: Regenerated.
1157         * asan/Makefile.in: Likewise.
1158         * tsan/Makefile.in: Likewise.
1160 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1162         * asan/Makefile.am (libasan_la_LIBADD): Replace
1163         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1164         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1165         * Makefile.in: Regenerated.
1166         * configure: Likewise.
1167         * asan/Makefile.in: Likewise.
1168         * interception/Makefile.in: Likewise.
1169         * sanitizer_common/Makefile.in: Likewise.
1170         * tsan/Makefile.in: Likewise.
1172 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1174         * Makefile.am (AM_MAKEFLAGS): Restored.
1175         * interception/Makefile.am: Likewise.
1176         * sanitizer_common/Makefile.am: Likewise.
1177         * tsan/Makefile.am: Likewise.
1178         * Makefile.in: Regenerated.
1179         * asan/Makefile.in: Likewise.
1180         * interception/Makefile.in: Likewise.
1181         * sanitizer_common/Makefile.in: Likewise.
1182         * tsan/Makefile.in: Likewise.
1184 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1186         * Makefile.am (MAKEOVERRIDES): Restored.
1187         * asan/Makefile.am: Likewise.
1188         * interception/Makefile.am: Likewise.
1189         * sanitizer_common/Makefile.am: Likewise.
1190         * tsan/Makefile.am: Likewise.
1191         * Makefile.in: Regenerated.
1192         * asan/Makefile.in: Likewise.
1193         * interception/Makefile.in: Likewise.
1194         * sanitizer_common/Makefile.in: Likewise.
1195         * tsan/Makefile.in: Likewise.
1197 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1199         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1200         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1201         * Makefile.in: Regenerated.
1202         * configure: Likewise.
1203         * asan/Makefile.in: Likewise.
1204         * interception/Makefile.in: Likewise.
1205         * sanitizer_common/Makefile.in: Likewise.
1206         * tsan/Makefile.in: Likewise.
1208 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1210         * Makefile.am (AM_MAKEFLAGS): Removed.
1211         (MAKEOVERRIDES): Likewise.
1212         * asan/Makefile.am: Likewise.
1213         * interception/Makefile.am: Likewise.
1214         * sanitizer_common/Makefile.am: Likewise.
1215         * tsan/Makefile.am: Likewise.
1216         * Makefile.in: Regenerated.
1217         * asan/Makefile.in: Likewise.
1218         * interception/Makefile.in: Likewise.
1219         * sanitizer_common/Makefile.in: Likewise.
1220         * tsan/Makefile.in: Likewise.
1222 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
1224         PR sanitizer/55533
1225         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1226         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1227         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1228         (AM_MAKEFLAGS): Remove CC and CXX.
1229         * interception/Makefile.am: Likewise.
1230         * sanitizer_common/Makefile.am: Likewise.
1231         * tsan/Makefile.am: Likewise.
1232         * Makefile.in: Regenerated.
1233         * aclocal.m4: Likewise.
1234         * configure: Likewise.
1235         * asan/Makefile.in: Likewise.
1236         * interception/Makefile.in: Likewise.
1237         * sanitizer_common/Makefile.in: Likewise.
1238         * tsan/Makefile.in: Likewise.
1240 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
1242         * configure.tgt: Enable build on powerpc*-linux.
1244 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
1246         PR 55599/sanitizer
1247         * configure.ac: Set enable_static=no on darwin.
1248         * configure: Regenerated.
1250 2012-12-06  Kostya Serebryany  <kcc@google.com>
1252         * All files: Merge from upstream r169392.
1254 2012-12-05  Kostya Serebryany  <kcc@google.com>
1256         * All files: Merge from upstream r169371.
1258 2012-12-04  Kostya Serebryany  <kcc@google.com>
1259             Jack Howarth  <howarth@bromo.med.uc.edu>
1261         PR 55521/sanitizer
1262         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1263         * Makefile.am: Don't build interception subdir when
1264         USING_MAC_INTERPOSE defined.
1265         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1266         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1267         Compile asan_interceptors_dynamic.cc but not libinterception
1268         when USING_MAC_INTERPOSE defined.
1269         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1270         * configure: Regenerated.
1271         * Makefile.in: Likewise.
1272         * asan/Makefile.in: Likewise.
1273         * interception/Makefile.in: Likewise.
1274         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1275         * asan/asan_mac.cc: Likewise.
1276         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1277         and use MISSING_BLOCKS_SUPPORT.
1278         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1279         * interception/mach_override/LICENSE.txt: Remove unused file.
1280         * interception/mach_override/mach_override.c: Likewise.
1281         * interception/mach_override/mach_override.h: Likewise.
1282         * interception/mach_override: Remove unused directory.
1284 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1286         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1287         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1288         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1289         files.
1290         (AM_MAKEFLAGS): Restore CC and CXX.
1291         * interception/Makefile.am: Likewise.
1292         * sanitizer_common/Makefile.am: Likewise.
1293         * tsan/Makefile.am: Likewise.
1294         * Makefile.in: Regenerated.
1295         * aclocal.m4: Likewise.
1296         * configure: Likewise.
1297         * asan/Makefile.in: Likewise.
1298         * interception/Makefile.in: Likewise.
1299         * sanitizer_common/Makefile.in: Likewise.
1300         * tsan/Makefile.in: Likewise.
1302 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1304         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1305         * configure.ac (ACX_NONCANONICAL_TARGET): New.
1306         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1307         files.
1308         (AM_MAKEFLAGS): Remove CC and CXX.
1309         * interception/Makefile.am: Likewise.
1310         * sanitizer_common/Makefile.am: Likewise.
1311         * tsan/Makefile.am: Likewise.
1312         * Makefile.in: Regenerated.
1313         * aclocal.m4: Likewise.
1314         * configure: Likewise.
1315         * asan/Makefile.in: Likewise.
1316         * interception/Makefile.in: Likewise.
1317         * sanitizer_common/Makefile.in: Likewise.
1318         * tsan/Makefile.in: Likewise.
1320 2012-11-27  Kostya Serebryany  <kcc@google.com>
1322         * All files: Merge from upstream r168699.
1324 2012-11-24  Kostya Serebryany  <kcc@google.com>
1325             Jack Howarth  <howarth@bromo.med.uc.edu>
1327         * interception/mach_override/mach_override.c: Migrate from llvm.
1328         * interception/mach_override/mach_override.h: Likewise.
1329         * interception/mach_override/LICENSE.txt: Likewise.
1330         * configure.tgt: Add darwin to supported targets.
1331         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1332         * interception/Makefile.am: Compile mach_override.c when
1333         USING_MACH_OVERRIDE defined.
1334         * configure: Regenerated.
1335         * interception/Makefile.in: Likewise.
1337 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1339         PR sanitizer/55450
1340         * tsan/Makefile.am (gcc_version): New.
1341         * tsan/Makefile.in: Regenerated.
1343 2012-11-23  Kostya Serebryany  <kcc@google.com>
1345         * merge.sh: Support tsan, support added/removed files.
1346         * tsan/Makefile.am: Remove tsan_printf.cc.
1347         * tsan/Makefile.in: Regenerated.
1348         * other files: Merge from upstream r168514.
1350 2012-11-23  Kostya Serebryany  <kcc@google.com>
1352         * merge.sh: New file.
1354 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1356         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1357         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1358         automake conditional instead of !MULTISUBDIR32.
1359         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1360         for 64-bit multilib.
1361         * configure.ac: Check for void * size, source in configure.tgt,
1362         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1363         * configure: Regenerated.
1364         * Makefile.in: Regenerated.
1365         * tsan/Makefile.in: Regenerated.
1367 2012-11-22  Wei Mi  <wmi@google.com>
1369         * tsan: New directory. Import tsan runtime from llvm.
1370         * configure.ac: Add 64 bits tsan build.
1371         * Makefile.am: Likewise.
1372         * configure: Regenerated.
1373         * Makefile.in: Likewise.
1375 2012-11-21  Kostya Serebryany  <kcc@google.com>
1377         * README.gcc: Extend the README.gcc with mode details.
1379 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1381         * sanitizer_common/sanitizer_linux.cc
1382         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1383         (internal_mmap): Use it.
1384         (internal_filesize): Likewise.
1386 2012-11-16  Tom Tromey  <tromey@redhat.com>
1388         * configure.ac: Invoke AM_MAINTAINER_MODE.
1389         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1390         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1392 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1394         PR other/55333
1395         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1396         for hardware pointer.
1397         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1398         Replace uptr with uhwptr for stack unwind.
1400 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1402         * configure.tgt: Enable build on sparc linux.
1404 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1406         * configure.ac: Properly set MULTISUBDIR.
1407         * asan/Makefile.am (gcc_version): New.
1408         * interception/Makefile.am (gcc_version): Likewise.
1409         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1410         * configure: Regenerated.
1411         * asan/Makefile.in: Likewise.
1412         * interception/Makefile.in: Likewise.
1413         * sanitizer_common/Makefile.in: Likewise.
1415 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1417         PR other/55291
1418         * configure.ac (--enable-version-specific-runtime-libs): New option.
1419         (AC_CANONICAL_SYSTEM): New.
1420         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1421         (toolexecdir): Support multilib.
1422         (toolexeclibdir): Likewise.
1423         (multilib_arg): New.
1424         * Makefile.in: Regenerated.
1425         * aclocal.m4: Likewise.
1426         * configure: Likewise.
1427         * asan/Makefile.in: Likewise.
1428         * interception/Makefile.in: Likewise.
1429         * sanitizer_common/Makefile.in: Likewise.
1431 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1433         PR other/55292
1434         Backport from upstream revision 167883
1435         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1436         __x86_64__ instead of __WORDSIZE.
1437         (internal_filesize): Likwise.
1439 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1441         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1442         * Makefile.in: Regenerated.
1443         * configure: Likewise.
1445 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1447         PR other/55304
1448         * acinclude.m4: New file.
1449         * Makefile.am (ACLOCAL_AMFLAGS): New.
1450         * configure.ac (AC_PREREQ): Set to 2.64.
1451         (AC_CONFIG_AUX_DIR): Set to "..".
1452         * Makefile.in: Regenerated.
1453         * aclocal.m4: Likewise.
1454         * configure: Likewise.
1455         * asan/Makefile.in: Likewise.
1456         * interception/Makefile.in: Likewise.
1457         * sanitizer_common/Makefile.in: Likewise.
1459         * config.guess: Removed.
1460         * config.sub: Likewise.
1461         * depcomp: Likewise.
1462         * install-sh: Likewise.
1463         * ltmain.sh: Likewise.
1464         * missing: Likewise.
1466 2012-11-13  Richard Henderson  <rth@redhat.com>
1468         * configure.tgt: New file.
1470 2012-11-12  David S. Miller  <davem@davemloft.net>
1472         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1474 2012-10-29  Wei Mi  <wmi@google.com>
1476         Initial checkin: migrate asan runtime from llvm.