Fix tree-ssa/attr-hotcold-2.c failures now that the test runs.
[official-gcc.git] / libsanitizer / ChangeLog
blob063846922b63f34b5dfec55a0f59c509d7e20af2
1 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
3         PR sanitizer/71160
4         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
5         and r269633.
7 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
9         PR sanitizer/70624
10         * asan/asan_mac.cc: Cherry pick upstream r266868.
12 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
14         PR sanitizer/68824
15         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
16         InitializeInterceptors): Cherry pick upstream r258119.
18 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
20         * configure.ac: Replace the hard-coded -ldl requirement for
21         link_sanitizer_common with a configure time check for -ldl.
22         * configure: Regenerate.
24 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26         * include/system/linux/asm/ptrace.h: Move to ...
27         * include/system/asm/ptrace.h: ... this.
29 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31         * include/system/linux/asm/ptrace.h: New header.
33 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
35         * All source files: Merge from upstream r253555.
36         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
37         dependences for TSan for aarch64-*-linux* targets.
38         * tsan/Makefile.am: Add new source files.
39         * configure: Regenerate.
40         * tsan/Makefile.in: Likewise.
42 2015-11-09  Alan Modra  <amodra@gmail.com>
44         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
45         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
46         interceptors.
47         * configure.ac: Substitute OBSTACK_DEFS.
48         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
49         * tsan/Makefile.am: Likewise.
50         * configure: Regenerate.
51         * Makefile.in: Regenerate.
52         * asan/Makefile.in: Regenerate.
53         * interception/Makefile.in: Regenerate.
54         * libbacktrace/Makefile.in: Regenerate.
55         * lsan/Makefile.in: Regenerate.
56         * sanitizer_common/Makefile.in: Regenerate.
57         * tsan/Makefile.in: Regenerate.
58         * ubsan/Makefile.in: Regenerate.
60 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
62         PR bootstrap/68041
63         * configure.ac (link_sanitizer_common): Link against librt only if it
64         contains shm_open, required by sanitizers.
65         (CXX_ABI_NEEDED): Remove variable.
66         * configure: Regenerate.
67         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
68         * ubsan/Makefile.in: Regenerate.
70 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
72         * HOWTO_MERGE: New file.
74 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
76         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
77         compiled code with GCC when extracting the caller PC for ARM if no
78         valid frame pointer is available.
80 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
82         PR bootstrap/63888
83         Reapply:
84         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
86         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
87         support until it is rewritten upstream.
89         * c-c++-common/asan/pr63888.c: New test.
91 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
93         PR sanitizer/63958
94         Reapply:
95         2014-10-14  David S. Miller  <davem@davemloft.net>
97         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
98         Define at __kernel_time_t, as needed for sparc.
99         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
100         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
101         (__sanitizer): Define struct___old_kernel_stat_sz,
102         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
103         (__sanitizer_ipc_perm): Adjust for sparc targets.
104         (__sanitizer_shmid_ds): Likewsie.
105         (__sanitizer_sigaction): Likewise.
106         (IOC_SIZE): Likewsie.
108 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
110         * All source files: Merge from upstream r250806.
111         * configure.ac (link_sanitizer_common): Add -lrt flag.
112         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
113         Set USE_CXX_ABI_FLAG=true for darwin.
114         * asan/Makefile.am (asan_files): Add new files.
115         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
116         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
117         * asan/Makefile.in: Regenerate.
118         * ubsan/Makefile.am (ubsan_files): Add new files.
119         (DEFS): Add DCAN_SANITIZE_UB=1.
120         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
121         * ubsan/Makefile.in: Regenerate.
122         * tsan/Makefile.am (tsan_files): Add new files.
123         (DEFS): Add DCAN_SANITIZE_UB=0.
124         * tsan/Makefile.in: Regenerate.
125         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
126         * sanitizer_common/Makefile.in: Regenerate.
127         * asan/libtool-version: Bump the libasan SONAME.
129 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
131         PR sanitizer/67258
132         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
134 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
136         PR sanitizer/63927
137         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
138         for PowerPC.
140 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
142         PR sanitizer/63927
143         * sanitizer_common/sanitizer_stacktrace.cc
144         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
145         find the link register at an offset of 16 from the base of the
146         caller's stack frame.
148 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
150         * Makefile.in: Regenerated with automake-1.11.6.
151         * aclocal.m4: Likewise.
152         * asan/Makefile.in: Likewise.
153         * configure: Likewise.
154         * interception/Makefile.in: Likewise.
155         * libbacktrace/Makefile.in: Likewise.
156         * lsan/Makefile.in: Likewise.
157         * sanitizer_common/Makefile.in: Likewise.
158         * tsan/Makefile.in: Likewise.
159         * ubsan/Makefile.in: Likewise.
161 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
163         PR sanitizer/64839
164         * sanitizer_common/sanitizer_platform.h: Cherry pick
165         upstream r234470.
166         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
167         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
168         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
169         * Makefile.in: Regenerate.
170         * asan/Makefile.in: Regenerate.
171         * config.h.in: Regenerate.
172         * configure: Regenerate.
173         * interception/Makefile.in: Regenerate.
174         * libbacktrace/Makefile.in: Regenerate.
175         * lsan/Makefile.in: Regenerate.
176         * sanitizer_common/Makefile.in: Regenerate.
177         * tsan/Makefile.in: Regenerate.
178         * ubsan/Makefile.in: Regenerate.
181 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
183         PR sanitizer/59009
184         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
185         upstream r230324.
186         * sanitizer_common/sanitizer_platform.h: Likewise.
187         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
189 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
191         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
192         upstream 224508 and 224755.
194 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
196         PR sanitizer/63958
197         Reapply:
198         2014-10-14  David S. Miller  <davem@davemloft.net>
200         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
201         Define at __kernel_time_t, as needed for sparc.
202         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
203         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
204         (__sanitizer): Define struct___old_kernel_stat_sz,
205         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
206         (__sanitizer_ipc_perm): Adjust for sparc targets.
207         (__sanitizer_shmid_ds): Likewsie.
208         (__sanitizer_sigaction): Likewise.
209         (IOC_SIZE): Likewsie.
211 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
213         * configure.tgt: Enable build on powerpc*le-*-linux.
215 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
217         PR bootstrap/63888
218         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
219         support until it is rewritten upstream.
221 2015-01-26  Matthias Klose  <doko@ubuntu.com>
223         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
224         * configure: Regenerate.
226 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
228         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
229         * configure: Regenerate.
230         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
232 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
234         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
235         * configure: Regenerate.
236         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
237         (libtsan_la_DEPENDENCIES): Likewise.
238         * Makefile.in: Regenerate.
239         * asan/Makefile.in: Regenerate.
240         * interception/Makefile.in: Regenerate.
241         * libbacktrace/Makefile.in: Regenerate.
242         * lsan/Makefile.in: Regenerate.
243         * sanitizer_common/Makefile.in: Regenerate.
244         * tsan/Makefile.in: Regenerate.
245         * ubsan/Makefile.in: Regenerate.
247 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
249         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
251 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
253         PR sanitizer/64435
254         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
255         upstream r226637.
256         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
257         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
259 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
261         PR sanitizer/64632
262         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
264 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
266         PR sanitizer/64435
267         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
268         upstream r223925.
270 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
272         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
273         upstream r224518 and r224519.
274         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
275         r224834.
277 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
279         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
280         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
281         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
282         upstream r224308.
284 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
286         PR bootstrap/63784
287         * configure: Regenerated.
289 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
291         PR target/61137
292         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
293         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
295 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
297         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
298         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
299         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
300         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
301         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
302         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
303         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
304         * sanitizer_common/Makefile.in: Regenerate.
305         * asan/Makefile.in: Ditto.
306         * lsan/Makefile.in: Ditto.
307         * interception/Makefile.in: Ditto.
308         * tsan/Makefile.in: Ditto.
309         * libbacktrace/Makefile.in: Ditto.
310         * ubsan/Makefile.in: Ditto.
312 2014-11-13  Kostya Serebryany  <kcc@google.com>
314         * All source files: Merge from upstream r221802.
315         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
316         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
317         with 'start' to follow the new interface.
318         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
319         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
320         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
321         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
322         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
323         files.
324         (AM_CXXFLAGS): Added -std=c++11.
325         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
326         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
327         * asan/Makefile.in: Regenerate.
328         * interception/Makefile.in: Regenerate.
329         * libbacktrace/Makefile.in: Regenerate.
330         * lsan/Makefile.in: Regenerate.
331         * sanitizer_common/Makefile.in: Regenerate.
332         * tsan/Makefile.in: Regenerate.
333         * ubsan/Makefile.in: Regenerate.
335 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
337         PR target/63610
338         * configure: Regenerate.
340 2014-10-16  Martin Liska  <mliska@suse.cz>
342         * asan/Makefile.am: IPA ICF pass is disabled.
343         * asan/Makefile.in: Likewise.
345 2014-10-14  David S. Miller  <davem@davemloft.net>
347         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
348         Define at __kernel_time_t, as needed for sparc.
349         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
350         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
351         (__sanitizer): Define struct___old_kernel_stat_sz,
352         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
353         (__sanitizer_ipc_perm): Adjust for sparc targets.
354         (__sanitizer_shmid_ds): Likewsie.
355         (__sanitizer_sigaction): Likewsie.
356         (IOC_SIZE): Likewsie.
358 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
360         * ubsan/Makefile.am (DEFS): Add -DPIC.
361         * ubsan/Makefile.in: Regenerated.
363 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
365         * configure.tgt: Enable build on aarch64*-linux.
367 2014-09-19  Kostya Serebryany  <kcc@google.com>
369         * All source files: Merge from upstream r218156.
370         * asan/Makefile.am (asan_files): Added new files.
371         * asan/Makefile.in: Regenerate.
372         * ubsan/Makefile.am (ubsan_files): Added new files.
373         * ubsan/Makefile.in: Regenerate.
374         * tsan/Makefile.am (tsan_files): Added new files.
375         * tsan/Makefile.in: Regenerate.
376         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
377           files.
378         * sanitizer_common/Makefile.in: Regenerate.
379         * asan/libtool-version: Bump the libasan SONAME.
381 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
383         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
384         upstream r215485, r217389, r217391 and r217400.
386 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
388         * sanitizer_common/sanitizer_common_interceptors.inc:
389         Cherry pick upstream r211008.
391 2014-06-11  Richard Biener  <rguenther@suse.de>
393         * asan/asan_linux.cc: Cherry pick upstream r210012.
395 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
397         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
398         r209879.
399         * sanitizer_common/sanitizer_common.h: Likewise.
400         * asan/asan_mapping.h: Likewise.
401         * asan/asan_linux.cc: Likewise.
402         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
403         * sanitizer_common/sanitizer_allocator.h: Likewise.
405 2014-05-23  Marek Polacek  <polacek@redhat.com>
407         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
408         floating-point types.
410 2014-05-22  Kostya Serebryany  <kcc@google.com>
412         * All source files: Merge from upstream r209283.
413         * asan/Makefile.am (asan_files): Added new files.
414         * asan/Makefile.in: Regenerate.
415         * tsan/Makefile.am (tsan_files): Added new files.
416         * tsan/Makefile.in: Regenerate.
417         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
418         files.
419         * sanitizer_common/Makefile.in: Regenerate.
421 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
423         PR sanitizer/61100
424         * Makefile.am (nodist_saninclude_HEADERS): Install
425         public headers.
426         * Makefile.in: Regenerate.
428 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
430         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
431         Add ../../libbacktrace/sort.c.
432         * libbacktrace/Makefile.in: Regenerate.
433         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
435 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
437         * configure.tgt: Unsupported for little endian PowerPC for now.
439 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
441         PR sanitizer/60055
442         * tsan/tsan_flags.cc (__tsan_default_options): Add
443         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
444         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
446         PR sanitizer/60038
447         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
448         sanitizer_atomic.h and unistd.h.
449         (kThreadDescriptorSize): Made static, remove initializer and const,
450         change type to atomic_uintptr_t.
451         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
452         query glibc version, compute kThreadDescriptorSize depending on
453         glibc version minor number.
454         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
455         kThreadDescriptorSize directly.
457 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
458             Jakub Jelinek  <jakub@redhat.com>
460         PR sanitizer/57316
461         * configure.ac: Check for missing syscalls.
462         * Makefile.am: Likewise.
463         * configure: Regenerate.
464         * Makefile.in: Regenerate.
466 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
468         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
469         (LibbacktraceSymbolizer::Demangle): New declaration.
470         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
471         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
472         method if possible.
473         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
474         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
475         (struct CplusV3DemangleData): New type.
476         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
477         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
478         SymbolizeDataCallback): Use CplusV3Demangle.
479         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
480         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
481         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
482         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
483         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
484         cplus_demangle_init_info, cplus_demangle_mangled_name,
485         cplus_demangle_operators, cplus_demangle_print,
486         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
487         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
488         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
489         Define.
490         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
491         (memcmp, strncmp): Redefine.
492         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
493         ../../libiberty/cp-demangle.c.
494         * libbacktrace/bridge.cc (__asan_internal_memcmp,
495         __asan_internal_strncmp): New functions.
496         * sanitizer_common/Makefile.in: Regenerated.
497         * libbacktrace/Makefile.in: Regenerated.
498         * configure: Regenerated.
499         * configure.ac: Regenerated.
500         * config.h.in: Regenerated.
502         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
503         -isystem $(top_srcdir)/include/system.
504         * sanitizer_common/Makefile.in: Regenerated.
505         * include/system/linux/aio_abi.h: New header.
506         * include/system/linux/mroute.h: New header.
507         * include/system/linux/mroute6.h: New header.
508         * include/system/linux/perf_event.h: New header.
509         * include/system/linux/types.h: New header.
511         PR sanitizer/59136
512         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
513         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
514         and -I/-include flags.
515         * lsan/Makefile.am (liblsan_la_LIBADD): Add
516         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
517         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
518         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
519         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
520         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
521         libbacktrace.
522         * README.gcc: Document that also lsan and ubsan are
523         maintained in compiler-rt upstream.
524         * libbacktrace/Makefile.am: New file.
525         * libbacktrace/backtrace-rename.h: New file.
526         * libbacktrace/backtrace-supported.h.in: New file.
527         * libbacktrace/bridge.cc: New file.
528         * configure.ac: Add tests needed for libbacktrace build
529         within libsanitizer.
530         * sanitizer_common/Makefile.in: Regenerated.
531         * lsan/Makefile.in: Regenerated.
532         * tsan/Makefile.in: Regenerated.
533         * ubsan/Makefile.in: Regenerated.
534         * libbacktrace/Makefile.in: Generated.
535         * config.h.in: Regenerated.
536         * configure: Regenerated.
537         * Makefile.in: Regenerated.
538         * interception/Makefile.in: Regenerated.
539         * asan/Makefile.in: Regenerated.
540         * aclocal.m4: Regenerated.
542 2013-12-19  Kostya Serebryany  <kcc@google.com>
544         * sanitizer_common/sanitizer_platform_limits_posix.cc:
545         workaround for missing definition of EOWNERDEAD, backport
546         from upstream r196779.
548 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
550         * sanitizer_common/sanitizer_platform_limits_posix.h
551         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
552         (__sanitizer_clock_t): Use long long for x32.
554 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
556         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
557         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
558         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
560 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
562         * configure.ac (link_sanitizer_common): Add -lm.
563         * configure: Regenerated.
565 2013-12-05  Kostya Serebryany  <kcc@google.com>
567         * All source files: Merge from upstream r196489.
568         * merge.sh: Add *.S to the list of merged files.
570 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
572         PR sanitizer/59368
573         * Makefile.am (gcc_version): Added gcc_version.
574         * Makefile.in: Regenerate.
576 2013-12-05  Kostya Serebryany  <kcc@google.com>
578         * All source files: Merge from upstream r196090.
579         * tsan/Makefile.am (tsan_files): Added new files.
580         * tsan/Makefile.in: Regenerate.
581         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
582         * sanitizer_common/Makefile.in: Regenerate.
583         * lsan/Makefile.am (lsan_files): Added new files.
584         * lsan/Makefile.in: Regenerate.
586 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
587             Yury Gribov  <y.gribov@samsung.com>
589         PR sanitizer/59063
590         * libsanitizer.spec.in: Add spec file to hold link flags for
591         various sanitizer libs.
592         * configure.ac: Check whether clock_* routines come from librt.
593         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
594         configure.ac.
595         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
596         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
597         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
598         * asan/Makefile.in: Regenerate.
599         * interception/Makefile.in: Regenerate.
600         * lsan/Makefile.in: Regenerate.
601         * sanitizer_common/Makefile.in: Regenerate.
602         * tsan/Makefile.in: Regenerate.
603         * ubsan/Makefile.in: Regenerate.
604         * Makefile.in: Regenerate.
605         * configure: Regenerate.
607 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
608             Yury Gribov  <y.gribov@samsung.com>
610         PR sanitizer/59106
611         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
612         don't need it.
613         * ubsan/Makefile.in: Regenerated.
615 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
617         PR sanitizer/59061
618         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
619         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
620         * configure: Regenerated.
621         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
622         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
623         * lsan/Makefile.in: Regenerated.
625 2013-11-22  Mike Stump  <mikestump@comcast.net>
627         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
628         change from upstream to fix build.
630 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
632         PR sanitizer/59106
633         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
634         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
635         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
636         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
637         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
638         * asan/Makefile.in: Regenerate.
639         * interception/Makefile.in: Regenerate.
640         * tsan/Makefile.in: Regenerate.
641         * lsan/Makefile.in: Regenerate.
642         * sanitizer_common/Makefile.in: Regenerate.
644 2013-11-15  Kostya Serebryany  <kcc@google.com>
646         PR sanitizer/58994
647         Backport from upstream revision 194573
648         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
649         back to the original functions in the common libsanitizer
650         interceptors and the __cxa_atexit() interceptor on Darwin.
652 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
654         PR sanitizer/59009
655         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
656         ifdef out more source.
658 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
660         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
661         ifdef out almost the whole source.
662         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
664 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
666         PR sanitizer/59018
667         * sanitizer_common/sanitizer_platform_limits_posix.cc
668         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
669         defined.
671 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
673         PR sanitizer/59018
674         * sanitizer_common/sanitizer_platform_limits_linux.cc
675         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
676         defined.
677         * sanitizer_common/sanitizer_platform_limits_posix.h
678         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
679         defined.
680         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
681         is defined.
682         (__sanitizer___kernel_gid_t): Likewise.
683         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
684         is defined.
686 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
688         PR sanitizer/59018
689         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
690         2 64-bit integers to save and restore fn and arg.  Properly load
691         newtls/child_tidptr into r8/r10.
693 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
695         PR sanitizer/59018
696         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
697         internal_munmap, internal_open, internal_read, internal_write,
698         internal_stat, internal_lstat, internal_fstat, internal_readlink,
699         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
700         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
701         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
703 2013-11-04  Kostya Serebryany  <kcc@google.com>
705         * All source files: Merge from upstream r191666.
706         * merge.sh: Added lsan.
707         * configure.ac (AC_CONFIG_FILES): Added lsan.
708         * Makefile.am (SUBDIRS): Added lsan.
709         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
710         * asan/Makefile.am (asan_files): Added new files.
711         (libasan_la_LIBADD): Added a dependency on lsan.
712         * lsan/Makefile.am: New file.
713         * asan/Makefile.in: Regenerate.
714         * lsan/Makefile.in: Regenerate.
715         * Makefile.in: Regenerate.
716         * configure: Regenerate.
717         * sanitizer_common/Makefile.in: Regenerate.
719 2013-09-20  Alan Modra  <amodra@gmail.com>
721         * configure: Regenerate.
723 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
725         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
726         libinterception.la for Darwin.
727         * ubsan/Makefile.in: Regenerate.
729 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
731         * Makefile.am (SUBDIRS): Add ubsan.
732         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
733         * merge.sh: Merge ubsan.
734         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
735         * sanitizer_common/sanitizer_printf.cc: Likewise.
736         * sanitizer_common/sanitizer_common.h: Likewise.
737         * ubsan: New directory. Import ubsan runtime from llvm.
739 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
741         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
742         Cherry pick upstream r182922.
744 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
746         * configure.tgt: Add ARM pattern.
748 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
750         PR other/43620
751         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
752         * Makefile.in: Regenerated.
753         * asan/Makefile.in: Regenerated.
754         * interception/Makefile.in: Regenerated.
755         * sanitizer_common/Makefile.in: Regenerated.
756         * tsan/Makefile.in: Regenerated.
758 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
760         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
761         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
762         0x4fffffffffULL.
764 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
766         PR sanitizer/56393
767         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
768         libasan_preinit.o.
769         (libasan_preinit.o): Depend on asan_preinit.o.
770         * asan/Makefile.in: Regenerated.
771         * asan/asan_preinit.cc: New file, synced from upstream.
772         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
774 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
776         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
777         dynamic/asan_interceptors_dynamic.cc.
778         * asan/Makefile.in: Regenerated.
779         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
781 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
783         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
784         defined.  Add used attribute.
786 2013-02-21  Kostya Serebryany  <kcc@google.com>
788         * All source files: Merge from upstream r175733.
789         * sanitizer_common/Makefile.am: Added a new file.
790         * sanitizer_common/Makefile.in: Regenerated.
792 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
794         PR bootstrap/56327
795         * interception/interception.h (OFF_T): Merged from upstream
796         r175140.
798 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
800         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
802 2013-02-13  Kostya Serebryany  <kcc@google.com>
804         PR sanitizer/56128
805         * All source files: Merge from upstream r175049.
806         * interception/Makefile.am: added include path.
807         * interception/Makefile.in: Regenerated.
809 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
811         * configure.tgt: Disable build on darwin9 and earlier.
813 2013-01-23  Kostya Serebryany  <kcc@google.com>
815         PR sanitizer/55989
816         * All source files: Merge from upstream r173241.
817         * merge.sh: Support merging .inc files.
819 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
821         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
822         -Wno-c99-extensions.
823         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
824         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
825         * sanitizer_common/Makefile.in: Regenerated.
826         * interception/Makefile.in: Regenerated.
827         * asan/Makefile.in: Regenerated.
829 2013-01-10  Wei Mi  <wmi@google.com>
831         PR sanitizer/55488
832         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
833         * tsan/Makefile.in: Regenerated.
834         * tsan/tsan_rtl.h: Enable HACKY_CALL.
836 2013-01-10  Kostya Serebryany  <kcc@google.com>
838         * All source files: Merge from upstream r171973.
839         * sanitizer_common/Makefile.am: Added new files.
840         * asan/Makefile.am: Likewise.
841         * tsan/Makefile.am: Likewise.
842         * sanitizer_common/Makefile.in: Regenerated.
843         * asan/Makefile.in: Likewise.
844         * tsan/Makefile.in: Likewise.
846 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
848         * asan/Makefile.am (libasan_la_LIBADD): Replace
849         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
850         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
851         * Makefile.in: Regenerated.
852         * configure: Likewise.
853         * asan/Makefile.in: Likewise.
854         * interception/Makefile.in: Likewise.
855         * sanitizer_common/Makefile.in: Likewise.
856         * tsan/Makefile.in: Likewise.
858 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
860         * Makefile.am (AM_MAKEFLAGS): Restored.
861         * interception/Makefile.am: Likewise.
862         * sanitizer_common/Makefile.am: Likewise.
863         * tsan/Makefile.am: Likewise.
864         * Makefile.in: Regenerated.
865         * asan/Makefile.in: Likewise.
866         * interception/Makefile.in: Likewise.
867         * sanitizer_common/Makefile.in: Likewise.
868         * tsan/Makefile.in: Likewise.
870 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
872         * Makefile.am (MAKEOVERRIDES): Restored.
873         * asan/Makefile.am: Likewise.
874         * interception/Makefile.am: Likewise.
875         * sanitizer_common/Makefile.am: Likewise.
876         * tsan/Makefile.am: Likewise.
877         * Makefile.in: Regenerated.
878         * asan/Makefile.in: Likewise.
879         * interception/Makefile.in: Likewise.
880         * sanitizer_common/Makefile.in: Likewise.
881         * tsan/Makefile.in: Likewise.
883 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
885         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
886         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
887         * Makefile.in: Regenerated.
888         * configure: Likewise.
889         * asan/Makefile.in: Likewise.
890         * interception/Makefile.in: Likewise.
891         * sanitizer_common/Makefile.in: Likewise.
892         * tsan/Makefile.in: Likewise.
894 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
896         * Makefile.am (AM_MAKEFLAGS): Removed.
897         (MAKEOVERRIDES): Likewise.
898         * asan/Makefile.am: Likewise.
899         * interception/Makefile.am: Likewise.
900         * sanitizer_common/Makefile.am: Likewise.
901         * tsan/Makefile.am: Likewise.
902         * Makefile.in: Regenerated.
903         * asan/Makefile.in: Likewise.
904         * interception/Makefile.in: Likewise.
905         * sanitizer_common/Makefile.in: Likewise.
906         * tsan/Makefile.in: Likewise.
908 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
910         PR sanitizer/55533
911         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
912         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
913         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
914         (AM_MAKEFLAGS): Remove CC and CXX.
915         * interception/Makefile.am: Likewise.
916         * sanitizer_common/Makefile.am: Likewise.
917         * tsan/Makefile.am: Likewise.
918         * Makefile.in: Regenerated.
919         * aclocal.m4: Likewise.
920         * configure: Likewise.
921         * asan/Makefile.in: Likewise.
922         * interception/Makefile.in: Likewise.
923         * sanitizer_common/Makefile.in: Likewise.
924         * tsan/Makefile.in: Likewise.
926 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
928         * configure.tgt: Enable build on powerpc*-linux.
930 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
932         PR 55599/sanitizer
933         * configure.ac: Set enable_static=no on darwin.
934         * configure: Regenerated.
936 2012-12-06  Kostya Serebryany  <kcc@google.com>
938         * All files: Merge from upstream r169392.
940 2012-12-05  Kostya Serebryany  <kcc@google.com>
942         * All files: Merge from upstream r169371.
944 2012-12-04  Kostya Serebryany  <kcc@google.com>
945             Jack Howarth  <howarth@bromo.med.uc.edu>
947         PR 55521/sanitizer
948         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
949         * Makefile.am: Don't build interception subdir when
950         USING_MAC_INTERPOSE defined.
951         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
952         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
953         Compile asan_interceptors_dynamic.cc but not libinterception
954         when USING_MAC_INTERPOSE defined.
955         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
956         * configure: Regenerated.
957         * Makefile.in: Likewise.
958         * asan/Makefile.in: Likewise.
959         * interception/Makefile.in: Likewise.
960         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
961         * asan/asan_mac.cc: Likewise.
962         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
963         and use MISSING_BLOCKS_SUPPORT.
964         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
965         * interception/mach_override/LICENSE.txt: Remove unused file.
966         * interception/mach_override/mach_override.c: Likewise.
967         * interception/mach_override/mach_override.h: Likewise.
968         * interception/mach_override: Remove unused directory.
970 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
972         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
973         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
974         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
975         files.
976         (AM_MAKEFLAGS): Restore CC and CXX.
977         * interception/Makefile.am: Likewise.
978         * sanitizer_common/Makefile.am: Likewise.
979         * tsan/Makefile.am: Likewise.
980         * Makefile.in: Regenerated.
981         * aclocal.m4: Likewise.
982         * configure: Likewise.
983         * asan/Makefile.in: Likewise.
984         * interception/Makefile.in: Likewise.
985         * sanitizer_common/Makefile.in: Likewise.
986         * tsan/Makefile.in: Likewise.
988 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
990         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
991         * configure.ac (ACX_NONCANONICAL_TARGET): New.
992         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
993         files.
994         (AM_MAKEFLAGS): Remove CC and CXX.
995         * interception/Makefile.am: Likewise.
996         * sanitizer_common/Makefile.am: Likewise.
997         * tsan/Makefile.am: Likewise.
998         * Makefile.in: Regenerated.
999         * aclocal.m4: Likewise.
1000         * configure: Likewise.
1001         * asan/Makefile.in: Likewise.
1002         * interception/Makefile.in: Likewise.
1003         * sanitizer_common/Makefile.in: Likewise.
1004         * tsan/Makefile.in: Likewise.
1006 2012-11-27  Kostya Serebryany  <kcc@google.com>
1008         * All files: Merge from upstream r168699.
1010 2012-11-24  Kostya Serebryany  <kcc@google.com>
1011             Jack Howarth  <howarth@bromo.med.uc.edu>
1013         * interception/mach_override/mach_override.c: Migrate from llvm.
1014         * interception/mach_override/mach_override.h: Likewise.
1015         * interception/mach_override/LICENSE.txt: Likewise.
1016         * configure.tgt: Add darwin to supported targets.
1017         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1018         * interception/Makefile.am: Compile mach_override.c when
1019         USING_MACH_OVERRIDE defined.
1020         * configure: Regenerated.
1021         * interception/Makefile.in: Likewise.
1023 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1025         PR sanitizer/55450
1026         * tsan/Makefile.am (gcc_version): New.
1027         * tsan/Makefile.in: Regenerated.
1029 2012-11-23  Kostya Serebryany  <kcc@google.com>
1031         * merge.sh: Support tsan, support added/removed files.
1032         * tsan/Makefile.am: Remove tsan_printf.cc.
1033         * tsan/Makefile.in: Regenerated.
1034         * other files: Merge from upstream r168514.
1036 2012-11-23  Kostya Serebryany  <kcc@google.com>
1038         * merge.sh: New file.
1040 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1042         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1043         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1044         automake conditional instead of !MULTISUBDIR32.
1045         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1046         for 64-bit multilib.
1047         * configure.ac: Check for void * size, source in configure.tgt,
1048         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1049         * configure: Regenerated.
1050         * Makefile.in: Regenerated.
1051         * tsan/Makefile.in: Regenerated.
1053 2012-11-22  Wei Mi  <wmi@google.com>
1055         * tsan: New directory. Import tsan runtime from llvm.
1056         * configure.ac: Add 64 bits tsan build.
1057         * Makefile.am: Likewise.
1058         * configure: Regenerated.
1059         * Makefile.in: Likewise.
1061 2012-11-21  Kostya Serebryany  <kcc@google.com>
1063         * README.gcc: Extend the README.gcc with mode details.
1065 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1067         * sanitizer_common/sanitizer_linux.cc
1068         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1069         (internal_mmap): Use it.
1070         (internal_filesize): Likewise.
1072 2012-11-16  Tom Tromey  <tromey@redhat.com>
1074         * configure.ac: Invoke AM_MAINTAINER_MODE.
1075         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1076         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1078 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1080         PR other/55333
1081         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1082         for hardware pointer.
1083         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1084         Replace uptr with uhwptr for stack unwind.
1086 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1088         * configure.tgt: Enable build on sparc linux.
1090 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1092         * configure.ac: Properly set MULTISUBDIR.
1093         * asan/Makefile.am (gcc_version): New.
1094         * interception/Makefile.am (gcc_version): Likewise.
1095         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1096         * configure: Regenerated.
1097         * asan/Makefile.in: Likewise.
1098         * interception/Makefile.in: Likewise.
1099         * sanitizer_common/Makefile.in: Likewise.
1101 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1103         PR other/55291
1104         * configure.ac (--enable-version-specific-runtime-libs): New option.
1105         (AC_CANONICAL_SYSTEM): New.
1106         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1107         (toolexecdir): Support multilib.
1108         (toolexeclibdir): Likewise.
1109         (multilib_arg): New.
1110         * Makefile.in: Regenerated.
1111         * aclocal.m4: Likewise.
1112         * configure: Likewise.
1113         * asan/Makefile.in: Likewise.
1114         * interception/Makefile.in: Likewise.
1115         * sanitizer_common/Makefile.in: Likewise.
1117 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1119         PR other/55292
1120         Backport from upstream revision 167883
1121         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1122         __x86_64__ instead of __WORDSIZE.
1123         (internal_filesize): Likwise.
1125 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1127         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1128         * Makefile.in: Regenerated.
1129         * configure: Likewise.
1131 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1133         PR other/55304
1134         * acinclude.m4: New file.
1135         * Makefile.am (ACLOCAL_AMFLAGS): New.
1136         * configure.ac (AC_PREREQ): Set to 2.64.
1137         (AC_CONFIG_AUX_DIR): Set to "..".
1138         * Makefile.in: Regenerated.
1139         * aclocal.m4: Likewise.
1140         * configure: Likewise.
1141         * asan/Makefile.in: Likewise.
1142         * interception/Makefile.in: Likewise.
1143         * sanitizer_common/Makefile.in: Likewise.
1145         * config.guess: Removed.
1146         * config.sub: Likewise.
1147         * depcomp: Likewise.
1148         * install-sh: Likewise.
1149         * ltmain.sh: Likewise.
1150         * missing: Likewise.
1152 2012-11-13  Richard Henderson  <rth@redhat.com>
1154         * configure.tgt: New file.
1156 2012-11-12  David S. Miller  <davem@davemloft.net>
1158         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1160 2012-10-29  Wei Mi  <wmi@google.com>
1162         Initial checkin: migrate asan runtime from llvm.