* gcc.dg/torture/pr78515.c: Add -Wno-psabi for AIX.
[official-gcc.git] / libsanitizer / ChangeLog
blob3dc49d3ebb04ee86a3c6f65730f30c6edf5a5eae
1 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
3         * LOCAL_PATCHES: Add revision.
5 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
7         PR sanitizer/78532
8         * sanitizer_common/sanitizer_platform_limits_posix.h
9         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
10         versions.
12 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
14         * LOCAL_PATCHES: Remove r242480.
16 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
18         * LOCAL_PATCHES: Add revision.
20 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
22         PR sanitizer/78267
23         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
24         compiler supports blocks extension.
26 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
28         * LOCAL_PATCHES: Add revision.
30 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
32         PR sanitizer/78294
33         * tsan/tsan_rtl.cc: Add missing attribute.
35 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
37         * LOCAL_PATCHES: New file.
39 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
41         PR sanitizer/78307
42         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
43         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
44         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
45         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
46         function.
47         (__ubsan_handle_cfi_bad_type_abort): Likewise.
48         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
49         (__ubsan_handle_cfi_bad_type): Export function.
50         (__ubsan_handle_cfi_bad_type_abort): Likewise.
51         * HOWTO_MERGE: Update documentation.
53 2016-11-15  Matthias Klose  <doko@ubuntu.com>
55         * configure: Regenerate.
57 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
59         * asan/asan_globals.cc (RegisterGlobal): Do not call
60         CheckODRViolationViaPoisoning.
61         (CheckODRViolationViaPoisoning): Remove.
63 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
65         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
66         compiled code with GCC when extracting the caller PC for ARM if no
67         valid frame pointer is available.
69 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
71         PR sanitizer/63958
72         Reapply:
73         2014-10-14  David S. Miller  <davem@davemloft.net>
75         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
76         Define at __kernel_time_t, as needed for sparc.
77         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
78         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
79         (__sanitizer): Define struct___old_kernel_stat_sz,
80         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
81         (__sanitizer_ipc_perm): Adjust for sparc targets.
82         (__sanitizer_shmid_ds): Likewsie.
83         (__sanitizer_sigaction): Likewise.
84         (IOC_SIZE): Likewsie.
86 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
88         * All source files: Merge from upstream 285547.
89         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
90         variable.
91         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
92         * asan/Makefile.am (asan_files): Add new files.
93         * asan/Makefile.in: Regenerate.
94         * ubsan/Makefile.in: Likewise.
95         * lsan/Makefile.in: Likewise.
96         * tsan/Makefile.am (tsan_files): Add new files.
97         * tsan/Makefile.in: Regenerate.
98         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
99         (EXTRA_libsanitizer_common_la_SOURCES): Define.
100         (libsanitizer_common_la_LIBADD): Likewise.
101         (libsanitizer_common_la_DEPENDENCIES): Likewise.
102         * sanitizer_common/Makefile.in: Regenerate.
103         * interception/Makefile.in: Likewise.
104         * libbacktace/Makefile.in: Likewise.
105         * Makefile.in: Likewise.
106         * configure: Likewise.
107         * merge.sh: Handle builtins/assembly.h merging.
108         * builtins/assembly.h: New file.
109         * asan/libtool-version: Bump the libasan SONAME.
111 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
113         PR sanitizer/77567
114         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
116 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
118         PR sanitizer/77396
119         * asan/asan_globals.cc: Cherry-pick upstream r280657.
121 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
123         PR sanitizer/71042
124         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
125         * tsan/tsan_rtl_aarch64.S: Likewise.
127 2016-07-23  Alan Modra  <amodra@gmail.com>
129         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
130         * configure.ac: Don't substitute OBSTACK_DEFS.
131         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
132         * tsan/Makefile.am: Likewise.
133         * configure: Regenerate.
134         * Makefile.in: Regenerate.
135         * asan/Makefile.in: Regenerate.
136         * interception/Makefile.in: Regenerate.
137         * libbacktrace/Makefile.in: Regenerate.
138         * lsan/Makefile.in: Regenerate.
139         * sanitizer_common/Makefile.in: Regenerate.
140         * tsan/Makefile.in: Regenerate.
141         * ubsan/Makefile.in: Regenerate.
143 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
145         PR sanitizer/71160
146         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
147         and r269633.
149 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
151         PR sanitizer/70624
152         * asan/asan_mac.cc: Cherry pick upstream r266868.
154 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
156         PR sanitizer/68824
157         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
158         InitializeInterceptors): Cherry pick upstream r258119.
160 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
162         * configure.ac: Replace the hard-coded -ldl requirement for
163         link_sanitizer_common with a configure time check for -ldl.
164         * configure: Regenerate.
166 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
168         * include/system/linux/asm/ptrace.h: Move to ...
169         * include/system/asm/ptrace.h: ... this.
171 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
173         * include/system/linux/asm/ptrace.h: New header.
175 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
177         * All source files: Merge from upstream r253555.
178         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
179         dependences for TSan for aarch64-*-linux* targets.
180         * tsan/Makefile.am: Add new source files.
181         * configure: Regenerate.
182         * tsan/Makefile.in: Likewise.
184 2015-11-09  Alan Modra  <amodra@gmail.com>
186         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
187         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
188         interceptors.
189         * configure.ac: Substitute OBSTACK_DEFS.
190         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
191         * tsan/Makefile.am: Likewise.
192         * configure: Regenerate.
193         * Makefile.in: Regenerate.
194         * asan/Makefile.in: Regenerate.
195         * interception/Makefile.in: Regenerate.
196         * libbacktrace/Makefile.in: Regenerate.
197         * lsan/Makefile.in: Regenerate.
198         * sanitizer_common/Makefile.in: Regenerate.
199         * tsan/Makefile.in: Regenerate.
200         * ubsan/Makefile.in: Regenerate.
202 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
204         PR bootstrap/68041
205         * configure.ac (link_sanitizer_common): Link against librt only if it
206         contains shm_open, required by sanitizers.
207         (CXX_ABI_NEEDED): Remove variable.
208         * configure: Regenerate.
209         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
210         * ubsan/Makefile.in: Regenerate.
212 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
214         * HOWTO_MERGE: New file.
216 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
218         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
219         compiled code with GCC when extracting the caller PC for ARM if no
220         valid frame pointer is available.
222 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
224         PR bootstrap/63888
225         Reapply:
226         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
228         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
229         support until it is rewritten upstream.
231         * c-c++-common/asan/pr63888.c: New test.
233 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
235         PR sanitizer/63958
236         Reapply:
237         2014-10-14  David S. Miller  <davem@davemloft.net>
239         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
240         Define at __kernel_time_t, as needed for sparc.
241         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
242         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
243         (__sanitizer): Define struct___old_kernel_stat_sz,
244         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
245         (__sanitizer_ipc_perm): Adjust for sparc targets.
246         (__sanitizer_shmid_ds): Likewsie.
247         (__sanitizer_sigaction): Likewise.
248         (IOC_SIZE): Likewsie.
250 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
252         * All source files: Merge from upstream r250806.
253         * configure.ac (link_sanitizer_common): Add -lrt flag.
254         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
255         Set USE_CXX_ABI_FLAG=true for darwin.
256         * asan/Makefile.am (asan_files): Add new files.
257         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
258         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
259         * asan/Makefile.in: Regenerate.
260         * ubsan/Makefile.am (ubsan_files): Add new files.
261         (DEFS): Add DCAN_SANITIZE_UB=1.
262         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
263         * ubsan/Makefile.in: Regenerate.
264         * tsan/Makefile.am (tsan_files): Add new files.
265         (DEFS): Add DCAN_SANITIZE_UB=0.
266         * tsan/Makefile.in: Regenerate.
267         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
268         * sanitizer_common/Makefile.in: Regenerate.
269         * asan/libtool-version: Bump the libasan SONAME.
271 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
273         PR sanitizer/67258
274         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
276 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
278         PR sanitizer/63927
279         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
280         for PowerPC.
282 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
284         PR sanitizer/63927
285         * sanitizer_common/sanitizer_stacktrace.cc
286         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
287         find the link register at an offset of 16 from the base of the
288         caller's stack frame.
290 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
292         * Makefile.in: Regenerated with automake-1.11.6.
293         * aclocal.m4: Likewise.
294         * asan/Makefile.in: Likewise.
295         * configure: Likewise.
296         * interception/Makefile.in: Likewise.
297         * libbacktrace/Makefile.in: Likewise.
298         * lsan/Makefile.in: Likewise.
299         * sanitizer_common/Makefile.in: Likewise.
300         * tsan/Makefile.in: Likewise.
301         * ubsan/Makefile.in: Likewise.
303 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
305         PR sanitizer/64839
306         * sanitizer_common/sanitizer_platform.h: Cherry pick
307         upstream r234470.
308         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
309         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
310         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
311         * Makefile.in: Regenerate.
312         * asan/Makefile.in: Regenerate.
313         * config.h.in: Regenerate.
314         * configure: Regenerate.
315         * interception/Makefile.in: Regenerate.
316         * libbacktrace/Makefile.in: Regenerate.
317         * lsan/Makefile.in: Regenerate.
318         * sanitizer_common/Makefile.in: Regenerate.
319         * tsan/Makefile.in: Regenerate.
320         * ubsan/Makefile.in: Regenerate.
323 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
325         PR sanitizer/59009
326         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
327         upstream r230324.
328         * sanitizer_common/sanitizer_platform.h: Likewise.
329         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
331 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
333         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
334         upstream 224508 and 224755.
336 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
338         PR sanitizer/63958
339         Reapply:
340         2014-10-14  David S. Miller  <davem@davemloft.net>
342         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
343         Define at __kernel_time_t, as needed for sparc.
344         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
345         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
346         (__sanitizer): Define struct___old_kernel_stat_sz,
347         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
348         (__sanitizer_ipc_perm): Adjust for sparc targets.
349         (__sanitizer_shmid_ds): Likewsie.
350         (__sanitizer_sigaction): Likewise.
351         (IOC_SIZE): Likewsie.
353 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
355         * configure.tgt: Enable build on powerpc*le-*-linux.
357 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
359         PR bootstrap/63888
360         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
361         support until it is rewritten upstream.
363 2015-01-26  Matthias Klose  <doko@ubuntu.com>
365         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
366         * configure: Regenerate.
368 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
370         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
371         * configure: Regenerate.
372         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
374 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
376         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
377         * configure: Regenerate.
378         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
379         (libtsan_la_DEPENDENCIES): Likewise.
380         * Makefile.in: Regenerate.
381         * asan/Makefile.in: Regenerate.
382         * interception/Makefile.in: Regenerate.
383         * libbacktrace/Makefile.in: Regenerate.
384         * lsan/Makefile.in: Regenerate.
385         * sanitizer_common/Makefile.in: Regenerate.
386         * tsan/Makefile.in: Regenerate.
387         * ubsan/Makefile.in: Regenerate.
389 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
391         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
393 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
395         PR sanitizer/64435
396         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
397         upstream r226637.
398         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
399         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
401 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
403         PR sanitizer/64632
404         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
406 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
408         PR sanitizer/64435
409         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
410         upstream r223925.
412 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
414         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
415         upstream r224518 and r224519.
416         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
417         r224834.
419 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
421         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
422         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
423         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
424         upstream r224308.
426 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
428         PR bootstrap/63784
429         * configure: Regenerated.
431 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
433         PR target/61137
434         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
435         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
437 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
439         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
440         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
441         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
442         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
443         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
444         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
445         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
446         * sanitizer_common/Makefile.in: Regenerate.
447         * asan/Makefile.in: Ditto.
448         * lsan/Makefile.in: Ditto.
449         * interception/Makefile.in: Ditto.
450         * tsan/Makefile.in: Ditto.
451         * libbacktrace/Makefile.in: Ditto.
452         * ubsan/Makefile.in: Ditto.
454 2014-11-13  Kostya Serebryany  <kcc@google.com>
456         * All source files: Merge from upstream r221802.
457         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
458         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
459         with 'start' to follow the new interface.
460         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
461         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
462         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
463         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
464         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
465         files.
466         (AM_CXXFLAGS): Added -std=c++11.
467         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
468         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
469         * asan/Makefile.in: Regenerate.
470         * interception/Makefile.in: Regenerate.
471         * libbacktrace/Makefile.in: Regenerate.
472         * lsan/Makefile.in: Regenerate.
473         * sanitizer_common/Makefile.in: Regenerate.
474         * tsan/Makefile.in: Regenerate.
475         * ubsan/Makefile.in: Regenerate.
477 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
479         PR target/63610
480         * configure: Regenerate.
482 2014-10-16  Martin Liska  <mliska@suse.cz>
484         * asan/Makefile.am: IPA ICF pass is disabled.
485         * asan/Makefile.in: Likewise.
487 2014-10-14  David S. Miller  <davem@davemloft.net>
489         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
490         Define at __kernel_time_t, as needed for sparc.
491         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
492         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
493         (__sanitizer): Define struct___old_kernel_stat_sz,
494         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
495         (__sanitizer_ipc_perm): Adjust for sparc targets.
496         (__sanitizer_shmid_ds): Likewsie.
497         (__sanitizer_sigaction): Likewsie.
498         (IOC_SIZE): Likewsie.
500 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
502         * ubsan/Makefile.am (DEFS): Add -DPIC.
503         * ubsan/Makefile.in: Regenerated.
505 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
507         * configure.tgt: Enable build on aarch64*-linux.
509 2014-09-19  Kostya Serebryany  <kcc@google.com>
511         * All source files: Merge from upstream r218156.
512         * asan/Makefile.am (asan_files): Added new files.
513         * asan/Makefile.in: Regenerate.
514         * ubsan/Makefile.am (ubsan_files): Added new files.
515         * ubsan/Makefile.in: Regenerate.
516         * tsan/Makefile.am (tsan_files): Added new files.
517         * tsan/Makefile.in: Regenerate.
518         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
519           files.
520         * sanitizer_common/Makefile.in: Regenerate.
521         * asan/libtool-version: Bump the libasan SONAME.
523 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
525         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
526         upstream r215485, r217389, r217391 and r217400.
528 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
530         * sanitizer_common/sanitizer_common_interceptors.inc:
531         Cherry pick upstream r211008.
533 2014-06-11  Richard Biener  <rguenther@suse.de>
535         * asan/asan_linux.cc: Cherry pick upstream r210012.
537 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
539         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
540         r209879.
541         * sanitizer_common/sanitizer_common.h: Likewise.
542         * asan/asan_mapping.h: Likewise.
543         * asan/asan_linux.cc: Likewise.
544         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
545         * sanitizer_common/sanitizer_allocator.h: Likewise.
547 2014-05-23  Marek Polacek  <polacek@redhat.com>
549         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
550         floating-point types.
552 2014-05-22  Kostya Serebryany  <kcc@google.com>
554         * All source files: Merge from upstream r209283.
555         * asan/Makefile.am (asan_files): Added new files.
556         * asan/Makefile.in: Regenerate.
557         * tsan/Makefile.am (tsan_files): Added new files.
558         * tsan/Makefile.in: Regenerate.
559         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
560         files.
561         * sanitizer_common/Makefile.in: Regenerate.
563 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
565         PR sanitizer/61100
566         * Makefile.am (nodist_saninclude_HEADERS): Install
567         public headers.
568         * Makefile.in: Regenerate.
570 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
572         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
573         Add ../../libbacktrace/sort.c.
574         * libbacktrace/Makefile.in: Regenerate.
575         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
577 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
579         * configure.tgt: Unsupported for little endian PowerPC for now.
581 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
583         PR sanitizer/60055
584         * tsan/tsan_flags.cc (__tsan_default_options): Add
585         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
586         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
588         PR sanitizer/60038
589         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
590         sanitizer_atomic.h and unistd.h.
591         (kThreadDescriptorSize): Made static, remove initializer and const,
592         change type to atomic_uintptr_t.
593         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
594         query glibc version, compute kThreadDescriptorSize depending on
595         glibc version minor number.
596         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
597         kThreadDescriptorSize directly.
599 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
600             Jakub Jelinek  <jakub@redhat.com>
602         PR sanitizer/57316
603         * configure.ac: Check for missing syscalls.
604         * Makefile.am: Likewise.
605         * configure: Regenerate.
606         * Makefile.in: Regenerate.
608 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
610         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
611         (LibbacktraceSymbolizer::Demangle): New declaration.
612         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
613         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
614         method if possible.
615         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
616         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
617         (struct CplusV3DemangleData): New type.
618         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
619         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
620         SymbolizeDataCallback): Use CplusV3Demangle.
621         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
622         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
623         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
624         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
625         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
626         cplus_demangle_init_info, cplus_demangle_mangled_name,
627         cplus_demangle_operators, cplus_demangle_print,
628         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
629         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
630         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
631         Define.
632         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
633         (memcmp, strncmp): Redefine.
634         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
635         ../../libiberty/cp-demangle.c.
636         * libbacktrace/bridge.cc (__asan_internal_memcmp,
637         __asan_internal_strncmp): New functions.
638         * sanitizer_common/Makefile.in: Regenerated.
639         * libbacktrace/Makefile.in: Regenerated.
640         * configure: Regenerated.
641         * configure.ac: Regenerated.
642         * config.h.in: Regenerated.
644         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
645         -isystem $(top_srcdir)/include/system.
646         * sanitizer_common/Makefile.in: Regenerated.
647         * include/system/linux/aio_abi.h: New header.
648         * include/system/linux/mroute.h: New header.
649         * include/system/linux/mroute6.h: New header.
650         * include/system/linux/perf_event.h: New header.
651         * include/system/linux/types.h: New header.
653         PR sanitizer/59136
654         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
655         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
656         and -I/-include flags.
657         * lsan/Makefile.am (liblsan_la_LIBADD): Add
658         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
659         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
660         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
661         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
662         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
663         libbacktrace.
664         * README.gcc: Document that also lsan and ubsan are
665         maintained in compiler-rt upstream.
666         * libbacktrace/Makefile.am: New file.
667         * libbacktrace/backtrace-rename.h: New file.
668         * libbacktrace/backtrace-supported.h.in: New file.
669         * libbacktrace/bridge.cc: New file.
670         * configure.ac: Add tests needed for libbacktrace build
671         within libsanitizer.
672         * sanitizer_common/Makefile.in: Regenerated.
673         * lsan/Makefile.in: Regenerated.
674         * tsan/Makefile.in: Regenerated.
675         * ubsan/Makefile.in: Regenerated.
676         * libbacktrace/Makefile.in: Generated.
677         * config.h.in: Regenerated.
678         * configure: Regenerated.
679         * Makefile.in: Regenerated.
680         * interception/Makefile.in: Regenerated.
681         * asan/Makefile.in: Regenerated.
682         * aclocal.m4: Regenerated.
684 2013-12-19  Kostya Serebryany  <kcc@google.com>
686         * sanitizer_common/sanitizer_platform_limits_posix.cc:
687         workaround for missing definition of EOWNERDEAD, backport
688         from upstream r196779.
690 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
692         * sanitizer_common/sanitizer_platform_limits_posix.h
693         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
694         (__sanitizer_clock_t): Use long long for x32.
696 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
698         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
699         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
700         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
702 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
704         * configure.ac (link_sanitizer_common): Add -lm.
705         * configure: Regenerated.
707 2013-12-05  Kostya Serebryany  <kcc@google.com>
709         * All source files: Merge from upstream r196489.
710         * merge.sh: Add *.S to the list of merged files.
712 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
714         PR sanitizer/59368
715         * Makefile.am (gcc_version): Added gcc_version.
716         * Makefile.in: Regenerate.
718 2013-12-05  Kostya Serebryany  <kcc@google.com>
720         * All source files: Merge from upstream r196090.
721         * tsan/Makefile.am (tsan_files): Added new files.
722         * tsan/Makefile.in: Regenerate.
723         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
724         * sanitizer_common/Makefile.in: Regenerate.
725         * lsan/Makefile.am (lsan_files): Added new files.
726         * lsan/Makefile.in: Regenerate.
728 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
729             Yury Gribov  <y.gribov@samsung.com>
731         PR sanitizer/59063
732         * libsanitizer.spec.in: Add spec file to hold link flags for
733         various sanitizer libs.
734         * configure.ac: Check whether clock_* routines come from librt.
735         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
736         configure.ac.
737         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
738         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
739         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
740         * asan/Makefile.in: Regenerate.
741         * interception/Makefile.in: Regenerate.
742         * lsan/Makefile.in: Regenerate.
743         * sanitizer_common/Makefile.in: Regenerate.
744         * tsan/Makefile.in: Regenerate.
745         * ubsan/Makefile.in: Regenerate.
746         * Makefile.in: Regenerate.
747         * configure: Regenerate.
749 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
750             Yury Gribov  <y.gribov@samsung.com>
752         PR sanitizer/59106
753         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
754         don't need it.
755         * ubsan/Makefile.in: Regenerated.
757 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
759         PR sanitizer/59061
760         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
761         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
762         * configure: Regenerated.
763         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
764         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
765         * lsan/Makefile.in: Regenerated.
767 2013-11-22  Mike Stump  <mikestump@comcast.net>
769         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
770         change from upstream to fix build.
772 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
774         PR sanitizer/59106
775         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
776         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
777         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
778         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
779         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
780         * asan/Makefile.in: Regenerate.
781         * interception/Makefile.in: Regenerate.
782         * tsan/Makefile.in: Regenerate.
783         * lsan/Makefile.in: Regenerate.
784         * sanitizer_common/Makefile.in: Regenerate.
786 2013-11-15  Kostya Serebryany  <kcc@google.com>
788         PR sanitizer/58994
789         Backport from upstream revision 194573
790         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
791         back to the original functions in the common libsanitizer
792         interceptors and the __cxa_atexit() interceptor on Darwin.
794 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
796         PR sanitizer/59009
797         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
798         ifdef out more source.
800 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
802         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
803         ifdef out almost the whole source.
804         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
806 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
808         PR sanitizer/59018
809         * sanitizer_common/sanitizer_platform_limits_posix.cc
810         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
811         defined.
813 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
815         PR sanitizer/59018
816         * sanitizer_common/sanitizer_platform_limits_linux.cc
817         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
818         defined.
819         * sanitizer_common/sanitizer_platform_limits_posix.h
820         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
821         defined.
822         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
823         is defined.
824         (__sanitizer___kernel_gid_t): Likewise.
825         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
826         is defined.
828 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
830         PR sanitizer/59018
831         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
832         2 64-bit integers to save and restore fn and arg.  Properly load
833         newtls/child_tidptr into r8/r10.
835 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
837         PR sanitizer/59018
838         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
839         internal_munmap, internal_open, internal_read, internal_write,
840         internal_stat, internal_lstat, internal_fstat, internal_readlink,
841         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
842         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
843         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
845 2013-11-04  Kostya Serebryany  <kcc@google.com>
847         * All source files: Merge from upstream r191666.
848         * merge.sh: Added lsan.
849         * configure.ac (AC_CONFIG_FILES): Added lsan.
850         * Makefile.am (SUBDIRS): Added lsan.
851         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
852         * asan/Makefile.am (asan_files): Added new files.
853         (libasan_la_LIBADD): Added a dependency on lsan.
854         * lsan/Makefile.am: New file.
855         * asan/Makefile.in: Regenerate.
856         * lsan/Makefile.in: Regenerate.
857         * Makefile.in: Regenerate.
858         * configure: Regenerate.
859         * sanitizer_common/Makefile.in: Regenerate.
861 2013-09-20  Alan Modra  <amodra@gmail.com>
863         * configure: Regenerate.
865 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
867         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
868         libinterception.la for Darwin.
869         * ubsan/Makefile.in: Regenerate.
871 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
873         * Makefile.am (SUBDIRS): Add ubsan.
874         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
875         * merge.sh: Merge ubsan.
876         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
877         * sanitizer_common/sanitizer_printf.cc: Likewise.
878         * sanitizer_common/sanitizer_common.h: Likewise.
879         * ubsan: New directory. Import ubsan runtime from llvm.
881 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
883         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
884         Cherry pick upstream r182922.
886 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
888         * configure.tgt: Add ARM pattern.
890 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
892         PR other/43620
893         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
894         * Makefile.in: Regenerated.
895         * asan/Makefile.in: Regenerated.
896         * interception/Makefile.in: Regenerated.
897         * sanitizer_common/Makefile.in: Regenerated.
898         * tsan/Makefile.in: Regenerated.
900 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
902         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
903         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
904         0x4fffffffffULL.
906 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
908         PR sanitizer/56393
909         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
910         libasan_preinit.o.
911         (libasan_preinit.o): Depend on asan_preinit.o.
912         * asan/Makefile.in: Regenerated.
913         * asan/asan_preinit.cc: New file, synced from upstream.
914         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
916 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
918         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
919         dynamic/asan_interceptors_dynamic.cc.
920         * asan/Makefile.in: Regenerated.
921         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
923 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
925         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
926         defined.  Add used attribute.
928 2013-02-21  Kostya Serebryany  <kcc@google.com>
930         * All source files: Merge from upstream r175733.
931         * sanitizer_common/Makefile.am: Added a new file.
932         * sanitizer_common/Makefile.in: Regenerated.
934 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
936         PR bootstrap/56327
937         * interception/interception.h (OFF_T): Merged from upstream
938         r175140.
940 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
942         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
944 2013-02-13  Kostya Serebryany  <kcc@google.com>
946         PR sanitizer/56128
947         * All source files: Merge from upstream r175049.
948         * interception/Makefile.am: added include path.
949         * interception/Makefile.in: Regenerated.
951 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
953         * configure.tgt: Disable build on darwin9 and earlier.
955 2013-01-23  Kostya Serebryany  <kcc@google.com>
957         PR sanitizer/55989
958         * All source files: Merge from upstream r173241.
959         * merge.sh: Support merging .inc files.
961 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
963         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
964         -Wno-c99-extensions.
965         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
966         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
967         * sanitizer_common/Makefile.in: Regenerated.
968         * interception/Makefile.in: Regenerated.
969         * asan/Makefile.in: Regenerated.
971 2013-01-10  Wei Mi  <wmi@google.com>
973         PR sanitizer/55488
974         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
975         * tsan/Makefile.in: Regenerated.
976         * tsan/tsan_rtl.h: Enable HACKY_CALL.
978 2013-01-10  Kostya Serebryany  <kcc@google.com>
980         * All source files: Merge from upstream r171973.
981         * sanitizer_common/Makefile.am: Added new files.
982         * asan/Makefile.am: Likewise.
983         * tsan/Makefile.am: Likewise.
984         * sanitizer_common/Makefile.in: Regenerated.
985         * asan/Makefile.in: Likewise.
986         * tsan/Makefile.in: Likewise.
988 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
990         * asan/Makefile.am (libasan_la_LIBADD): Replace
991         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
992         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
993         * Makefile.in: Regenerated.
994         * configure: Likewise.
995         * asan/Makefile.in: Likewise.
996         * interception/Makefile.in: Likewise.
997         * sanitizer_common/Makefile.in: Likewise.
998         * tsan/Makefile.in: Likewise.
1000 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1002         * Makefile.am (AM_MAKEFLAGS): Restored.
1003         * interception/Makefile.am: Likewise.
1004         * sanitizer_common/Makefile.am: Likewise.
1005         * tsan/Makefile.am: Likewise.
1006         * Makefile.in: Regenerated.
1007         * asan/Makefile.in: Likewise.
1008         * interception/Makefile.in: Likewise.
1009         * sanitizer_common/Makefile.in: Likewise.
1010         * tsan/Makefile.in: Likewise.
1012 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1014         * Makefile.am (MAKEOVERRIDES): Restored.
1015         * asan/Makefile.am: Likewise.
1016         * interception/Makefile.am: Likewise.
1017         * sanitizer_common/Makefile.am: Likewise.
1018         * tsan/Makefile.am: Likewise.
1019         * Makefile.in: Regenerated.
1020         * asan/Makefile.in: Likewise.
1021         * interception/Makefile.in: Likewise.
1022         * sanitizer_common/Makefile.in: Likewise.
1023         * tsan/Makefile.in: Likewise.
1025 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1027         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1028         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1029         * Makefile.in: Regenerated.
1030         * configure: Likewise.
1031         * asan/Makefile.in: Likewise.
1032         * interception/Makefile.in: Likewise.
1033         * sanitizer_common/Makefile.in: Likewise.
1034         * tsan/Makefile.in: Likewise.
1036 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1038         * Makefile.am (AM_MAKEFLAGS): Removed.
1039         (MAKEOVERRIDES): Likewise.
1040         * asan/Makefile.am: Likewise.
1041         * interception/Makefile.am: Likewise.
1042         * sanitizer_common/Makefile.am: Likewise.
1043         * tsan/Makefile.am: Likewise.
1044         * Makefile.in: Regenerated.
1045         * asan/Makefile.in: Likewise.
1046         * interception/Makefile.in: Likewise.
1047         * sanitizer_common/Makefile.in: Likewise.
1048         * tsan/Makefile.in: Likewise.
1050 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
1052         PR sanitizer/55533
1053         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1054         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1055         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1056         (AM_MAKEFLAGS): Remove CC and CXX.
1057         * interception/Makefile.am: Likewise.
1058         * sanitizer_common/Makefile.am: Likewise.
1059         * tsan/Makefile.am: Likewise.
1060         * Makefile.in: Regenerated.
1061         * aclocal.m4: Likewise.
1062         * configure: Likewise.
1063         * asan/Makefile.in: Likewise.
1064         * interception/Makefile.in: Likewise.
1065         * sanitizer_common/Makefile.in: Likewise.
1066         * tsan/Makefile.in: Likewise.
1068 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
1070         * configure.tgt: Enable build on powerpc*-linux.
1072 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
1074         PR 55599/sanitizer
1075         * configure.ac: Set enable_static=no on darwin.
1076         * configure: Regenerated.
1078 2012-12-06  Kostya Serebryany  <kcc@google.com>
1080         * All files: Merge from upstream r169392.
1082 2012-12-05  Kostya Serebryany  <kcc@google.com>
1084         * All files: Merge from upstream r169371.
1086 2012-12-04  Kostya Serebryany  <kcc@google.com>
1087             Jack Howarth  <howarth@bromo.med.uc.edu>
1089         PR 55521/sanitizer
1090         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1091         * Makefile.am: Don't build interception subdir when
1092         USING_MAC_INTERPOSE defined.
1093         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1094         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1095         Compile asan_interceptors_dynamic.cc but not libinterception
1096         when USING_MAC_INTERPOSE defined.
1097         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1098         * configure: Regenerated.
1099         * Makefile.in: Likewise.
1100         * asan/Makefile.in: Likewise.
1101         * interception/Makefile.in: Likewise.
1102         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1103         * asan/asan_mac.cc: Likewise.
1104         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1105         and use MISSING_BLOCKS_SUPPORT.
1106         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1107         * interception/mach_override/LICENSE.txt: Remove unused file.
1108         * interception/mach_override/mach_override.c: Likewise.
1109         * interception/mach_override/mach_override.h: Likewise.
1110         * interception/mach_override: Remove unused directory.
1112 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1114         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1115         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1116         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1117         files.
1118         (AM_MAKEFLAGS): Restore CC and CXX.
1119         * interception/Makefile.am: Likewise.
1120         * sanitizer_common/Makefile.am: Likewise.
1121         * tsan/Makefile.am: Likewise.
1122         * Makefile.in: Regenerated.
1123         * aclocal.m4: Likewise.
1124         * configure: Likewise.
1125         * asan/Makefile.in: Likewise.
1126         * interception/Makefile.in: Likewise.
1127         * sanitizer_common/Makefile.in: Likewise.
1128         * tsan/Makefile.in: Likewise.
1130 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1132         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1133         * configure.ac (ACX_NONCANONICAL_TARGET): New.
1134         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1135         files.
1136         (AM_MAKEFLAGS): Remove CC and CXX.
1137         * interception/Makefile.am: Likewise.
1138         * sanitizer_common/Makefile.am: Likewise.
1139         * tsan/Makefile.am: Likewise.
1140         * Makefile.in: Regenerated.
1141         * aclocal.m4: Likewise.
1142         * configure: Likewise.
1143         * asan/Makefile.in: Likewise.
1144         * interception/Makefile.in: Likewise.
1145         * sanitizer_common/Makefile.in: Likewise.
1146         * tsan/Makefile.in: Likewise.
1148 2012-11-27  Kostya Serebryany  <kcc@google.com>
1150         * All files: Merge from upstream r168699.
1152 2012-11-24  Kostya Serebryany  <kcc@google.com>
1153             Jack Howarth  <howarth@bromo.med.uc.edu>
1155         * interception/mach_override/mach_override.c: Migrate from llvm.
1156         * interception/mach_override/mach_override.h: Likewise.
1157         * interception/mach_override/LICENSE.txt: Likewise.
1158         * configure.tgt: Add darwin to supported targets.
1159         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1160         * interception/Makefile.am: Compile mach_override.c when
1161         USING_MACH_OVERRIDE defined.
1162         * configure: Regenerated.
1163         * interception/Makefile.in: Likewise.
1165 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1167         PR sanitizer/55450
1168         * tsan/Makefile.am (gcc_version): New.
1169         * tsan/Makefile.in: Regenerated.
1171 2012-11-23  Kostya Serebryany  <kcc@google.com>
1173         * merge.sh: Support tsan, support added/removed files.
1174         * tsan/Makefile.am: Remove tsan_printf.cc.
1175         * tsan/Makefile.in: Regenerated.
1176         * other files: Merge from upstream r168514.
1178 2012-11-23  Kostya Serebryany  <kcc@google.com>
1180         * merge.sh: New file.
1182 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1184         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1185         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1186         automake conditional instead of !MULTISUBDIR32.
1187         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1188         for 64-bit multilib.
1189         * configure.ac: Check for void * size, source in configure.tgt,
1190         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1191         * configure: Regenerated.
1192         * Makefile.in: Regenerated.
1193         * tsan/Makefile.in: Regenerated.
1195 2012-11-22  Wei Mi  <wmi@google.com>
1197         * tsan: New directory. Import tsan runtime from llvm.
1198         * configure.ac: Add 64 bits tsan build.
1199         * Makefile.am: Likewise.
1200         * configure: Regenerated.
1201         * Makefile.in: Likewise.
1203 2012-11-21  Kostya Serebryany  <kcc@google.com>
1205         * README.gcc: Extend the README.gcc with mode details.
1207 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1209         * sanitizer_common/sanitizer_linux.cc
1210         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1211         (internal_mmap): Use it.
1212         (internal_filesize): Likewise.
1214 2012-11-16  Tom Tromey  <tromey@redhat.com>
1216         * configure.ac: Invoke AM_MAINTAINER_MODE.
1217         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1218         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1220 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1222         PR other/55333
1223         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1224         for hardware pointer.
1225         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1226         Replace uptr with uhwptr for stack unwind.
1228 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1230         * configure.tgt: Enable build on sparc linux.
1232 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1234         * configure.ac: Properly set MULTISUBDIR.
1235         * asan/Makefile.am (gcc_version): New.
1236         * interception/Makefile.am (gcc_version): Likewise.
1237         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1238         * configure: Regenerated.
1239         * asan/Makefile.in: Likewise.
1240         * interception/Makefile.in: Likewise.
1241         * sanitizer_common/Makefile.in: Likewise.
1243 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1245         PR other/55291
1246         * configure.ac (--enable-version-specific-runtime-libs): New option.
1247         (AC_CANONICAL_SYSTEM): New.
1248         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1249         (toolexecdir): Support multilib.
1250         (toolexeclibdir): Likewise.
1251         (multilib_arg): New.
1252         * Makefile.in: Regenerated.
1253         * aclocal.m4: Likewise.
1254         * configure: Likewise.
1255         * asan/Makefile.in: Likewise.
1256         * interception/Makefile.in: Likewise.
1257         * sanitizer_common/Makefile.in: Likewise.
1259 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1261         PR other/55292
1262         Backport from upstream revision 167883
1263         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1264         __x86_64__ instead of __WORDSIZE.
1265         (internal_filesize): Likwise.
1267 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1269         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1270         * Makefile.in: Regenerated.
1271         * configure: Likewise.
1273 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1275         PR other/55304
1276         * acinclude.m4: New file.
1277         * Makefile.am (ACLOCAL_AMFLAGS): New.
1278         * configure.ac (AC_PREREQ): Set to 2.64.
1279         (AC_CONFIG_AUX_DIR): Set to "..".
1280         * Makefile.in: Regenerated.
1281         * aclocal.m4: Likewise.
1282         * configure: Likewise.
1283         * asan/Makefile.in: Likewise.
1284         * interception/Makefile.in: Likewise.
1285         * sanitizer_common/Makefile.in: Likewise.
1287         * config.guess: Removed.
1288         * config.sub: Likewise.
1289         * depcomp: Likewise.
1290         * install-sh: Likewise.
1291         * ltmain.sh: Likewise.
1292         * missing: Likewise.
1294 2012-11-13  Richard Henderson  <rth@redhat.com>
1296         * configure.tgt: New file.
1298 2012-11-12  David S. Miller  <davem@davemloft.net>
1300         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1302 2012-10-29  Wei Mi  <wmi@google.com>
1304         Initial checkin: migrate asan runtime from llvm.