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