sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a union of u64 and double.
[official-gcc.git] / libsanitizer / ChangeLog
blobc6cdc09badcf36bd7359a29df00367567ac6bb9d
1 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
3         PR sanitizer/68824
4         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
5         InitializeInterceptors): Cherry pick upstream r258119.
7 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
9         * configure.ac: Replace the hard-coded -ldl requirement for
10         link_sanitizer_common with a configure time check for -ldl.
11         * configure: Regenerate.
13 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15         * include/system/linux/asm/ptrace.h: Move to ...
16         * include/system/asm/ptrace.h: ... this.
18 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20         * include/system/linux/asm/ptrace.h: New header.
22 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24         * All source files: Merge from upstream r253555.
25         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
26         dependences for TSan for aarch64-*-linux* targets.
27         * tsan/Makefile.am: Add new source files.
28         * configure: Regenerate.
29         * tsan/Makefile.in: Likewise.
31 2015-11-09  Alan Modra  <amodra@gmail.com>
33         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
34         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
35         interceptors.
36         * configure.ac: Substitute OBSTACK_DEFS.
37         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
38         * tsan/Makefile.am: Likewise.
39         * configure: Regenerate.
40         * Makefile.in: Regenerate.
41         * asan/Makefile.in: Regenerate.
42         * interception/Makefile.in: Regenerate.
43         * libbacktrace/Makefile.in: Regenerate.
44         * lsan/Makefile.in: Regenerate.
45         * sanitizer_common/Makefile.in: Regenerate.
46         * tsan/Makefile.in: Regenerate.
47         * ubsan/Makefile.in: Regenerate.
49 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
51         PR bootstrap/68041
52         * configure.ac (link_sanitizer_common): Link against librt only if it
53         contains shm_open, required by sanitizers.
54         (CXX_ABI_NEEDED): Remove variable.
55         * configure: Regenerate.
56         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
57         * ubsan/Makefile.in: Regenerate.
59 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
61         * HOWTO_MERGE: New file.
63 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
65         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
66         compiled code with GCC when extracting the caller PC for ARM if no
67         valid frame pointer is available.
69 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
71         PR bootstrap/63888
72         Reapply:
73         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
75         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
76         support until it is rewritten upstream.
78         * c-c++-common/asan/pr63888.c: New test.
80 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
82         PR sanitizer/63958
83         Reapply:
84         2014-10-14  David S. Miller  <davem@davemloft.net>
86         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
87         Define at __kernel_time_t, as needed for sparc.
88         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
89         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
90         (__sanitizer): Define struct___old_kernel_stat_sz,
91         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
92         (__sanitizer_ipc_perm): Adjust for sparc targets.
93         (__sanitizer_shmid_ds): Likewsie.
94         (__sanitizer_sigaction): Likewise.
95         (IOC_SIZE): Likewsie.
97 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
99         * All source files: Merge from upstream r250806.
100         * configure.ac (link_sanitizer_common): Add -lrt flag.
101         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
102         Set USE_CXX_ABI_FLAG=true for darwin.
103         * asan/Makefile.am (asan_files): Add new files.
104         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
105         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
106         * asan/Makefile.in: Regenerate.
107         * ubsan/Makefile.am (ubsan_files): Add new files.
108         (DEFS): Add DCAN_SANITIZE_UB=1.
109         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
110         * ubsan/Makefile.in: Regenerate.
111         * tsan/Makefile.am (tsan_files): Add new files.
112         (DEFS): Add DCAN_SANITIZE_UB=0.
113         * tsan/Makefile.in: Regenerate.
114         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
115         * sanitizer_common/Makefile.in: Regenerate.
116         * asan/libtool-version: Bump the libasan SONAME.
118 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
120         PR sanitizer/67258
121         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
123 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
125         PR sanitizer/63927
126         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
127         for PowerPC.
129 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
131         PR sanitizer/63927
132         * sanitizer_common/sanitizer_stacktrace.cc
133         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
134         find the link register at an offset of 16 from the base of the
135         caller's stack frame.
137 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
139         * Makefile.in: Regenerated with automake-1.11.6.
140         * aclocal.m4: Likewise.
141         * asan/Makefile.in: Likewise.
142         * configure: Likewise.
143         * interception/Makefile.in: Likewise.
144         * libbacktrace/Makefile.in: Likewise.
145         * lsan/Makefile.in: Likewise.
146         * sanitizer_common/Makefile.in: Likewise.
147         * tsan/Makefile.in: Likewise.
148         * ubsan/Makefile.in: Likewise.
150 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
152         PR sanitizer/64839
153         * sanitizer_common/sanitizer_platform.h: Cherry pick
154         upstream r234470.
155         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
156         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
157         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
158         * Makefile.in: Regenerate.
159         * asan/Makefile.in: Regenerate.
160         * config.h.in: Regenerate.
161         * configure: Regenerate.
162         * interception/Makefile.in: Regenerate.
163         * libbacktrace/Makefile.in: Regenerate.
164         * lsan/Makefile.in: Regenerate.
165         * sanitizer_common/Makefile.in: Regenerate.
166         * tsan/Makefile.in: Regenerate.
167         * ubsan/Makefile.in: Regenerate.
170 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
172         PR sanitizer/59009
173         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
174         upstream r230324.
175         * sanitizer_common/sanitizer_platform.h: Likewise.
176         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
178 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
180         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
181         upstream 224508 and 224755.
183 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
185         PR sanitizer/63958
186         Reapply:
187         2014-10-14  David S. Miller  <davem@davemloft.net>
189         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
190         Define at __kernel_time_t, as needed for sparc.
191         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
192         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
193         (__sanitizer): Define struct___old_kernel_stat_sz,
194         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
195         (__sanitizer_ipc_perm): Adjust for sparc targets.
196         (__sanitizer_shmid_ds): Likewsie.
197         (__sanitizer_sigaction): Likewise.
198         (IOC_SIZE): Likewsie.
200 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
202         * configure.tgt: Enable build on powerpc*le-*-linux.
204 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
206         PR bootstrap/63888
207         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
208         support until it is rewritten upstream.
210 2015-01-26  Matthias Klose  <doko@ubuntu.com>
212         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
213         * configure: Regenerate.
215 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
217         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
218         * configure: Regenerate.
219         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
221 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
223         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
224         * configure: Regenerate.
225         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
226         (libtsan_la_DEPENDENCIES): Likewise.
227         * Makefile.in: Regenerate.
228         * asan/Makefile.in: Regenerate.
229         * interception/Makefile.in: Regenerate.
230         * libbacktrace/Makefile.in: Regenerate.
231         * lsan/Makefile.in: Regenerate.
232         * sanitizer_common/Makefile.in: Regenerate.
233         * tsan/Makefile.in: Regenerate.
234         * ubsan/Makefile.in: Regenerate.
236 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
238         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
240 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
242         PR sanitizer/64435
243         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
244         upstream r226637.
245         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
246         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
248 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
250         PR sanitizer/64632
251         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
253 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
255         PR sanitizer/64435
256         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
257         upstream r223925.
259 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
261         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
262         upstream r224518 and r224519.
263         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
264         r224834.
266 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
268         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
269         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
270         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
271         upstream r224308.
273 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
275         PR bootstrap/63784
276         * configure: Regenerated.
278 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
280         PR target/61137
281         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
282         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
284 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
286         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
287         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
288         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
289         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
290         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
291         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
292         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
293         * sanitizer_common/Makefile.in: Regenerate.
294         * asan/Makefile.in: Ditto.
295         * lsan/Makefile.in: Ditto.
296         * interception/Makefile.in: Ditto.
297         * tsan/Makefile.in: Ditto.
298         * libbacktrace/Makefile.in: Ditto.
299         * ubsan/Makefile.in: Ditto.
301 2014-11-13  Kostya Serebryany  <kcc@google.com>
303         * All source files: Merge from upstream r221802.
304         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
305         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
306         with 'start' to follow the new interface.
307         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
308         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
309         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
310         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
311         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
312         files.
313         (AM_CXXFLAGS): Added -std=c++11.
314         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
315         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
316         * asan/Makefile.in: Regenerate.
317         * interception/Makefile.in: Regenerate.
318         * libbacktrace/Makefile.in: Regenerate.
319         * lsan/Makefile.in: Regenerate.
320         * sanitizer_common/Makefile.in: Regenerate.
321         * tsan/Makefile.in: Regenerate.
322         * ubsan/Makefile.in: Regenerate.
324 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
326         PR target/63610
327         * configure: Regenerate.
329 2014-10-16  Martin Liska  <mliska@suse.cz>
331         * asan/Makefile.am: IPA ICF pass is disabled.
332         * asan/Makefile.in: Likewise.
334 2014-10-14  David S. Miller  <davem@davemloft.net>
336         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
337         Define at __kernel_time_t, as needed for sparc.
338         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
339         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
340         (__sanitizer): Define struct___old_kernel_stat_sz,
341         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
342         (__sanitizer_ipc_perm): Adjust for sparc targets.
343         (__sanitizer_shmid_ds): Likewsie.
344         (__sanitizer_sigaction): Likewsie.
345         (IOC_SIZE): Likewsie.
347 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
349         * ubsan/Makefile.am (DEFS): Add -DPIC.
350         * ubsan/Makefile.in: Regenerated.
352 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
354         * configure.tgt: Enable build on aarch64*-linux.
356 2014-09-19  Kostya Serebryany  <kcc@google.com>
358         * All source files: Merge from upstream r218156.
359         * asan/Makefile.am (asan_files): Added new files.
360         * asan/Makefile.in: Regenerate.
361         * ubsan/Makefile.am (ubsan_files): Added new files.
362         * ubsan/Makefile.in: Regenerate.
363         * tsan/Makefile.am (tsan_files): Added new files.
364         * tsan/Makefile.in: Regenerate.
365         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
366           files.
367         * sanitizer_common/Makefile.in: Regenerate.
368         * asan/libtool-version: Bump the libasan SONAME.
370 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
372         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
373         upstream r215485, r217389, r217391 and r217400.
375 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
377         * sanitizer_common/sanitizer_common_interceptors.inc:
378         Cherry pick upstream r211008.
380 2014-06-11  Richard Biener  <rguenther@suse.de>
382         * asan/asan_linux.cc: Cherry pick upstream r210012.
384 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
386         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
387         r209879.
388         * sanitizer_common/sanitizer_common.h: Likewise.
389         * asan/asan_mapping.h: Likewise.
390         * asan/asan_linux.cc: Likewise.
391         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
392         * sanitizer_common/sanitizer_allocator.h: Likewise.
394 2014-05-23  Marek Polacek  <polacek@redhat.com>
396         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
397         floating-point types.
399 2014-05-22  Kostya Serebryany  <kcc@google.com>
401         * All source files: Merge from upstream r209283.
402         * asan/Makefile.am (asan_files): Added new files.
403         * asan/Makefile.in: Regenerate.
404         * tsan/Makefile.am (tsan_files): Added new files.
405         * tsan/Makefile.in: Regenerate.
406         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
407         files.
408         * sanitizer_common/Makefile.in: Regenerate.
410 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
412         PR sanitizer/61100
413         * Makefile.am (nodist_saninclude_HEADERS): Install
414         public headers.
415         * Makefile.in: Regenerate.
417 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
419         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
420         Add ../../libbacktrace/sort.c.
421         * libbacktrace/Makefile.in: Regenerate.
422         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
424 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
426         * configure.tgt: Unsupported for little endian PowerPC for now.
428 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
430         PR sanitizer/60055
431         * tsan/tsan_flags.cc (__tsan_default_options): Add
432         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
433         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
435         PR sanitizer/60038
436         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
437         sanitizer_atomic.h and unistd.h.
438         (kThreadDescriptorSize): Made static, remove initializer and const,
439         change type to atomic_uintptr_t.
440         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
441         query glibc version, compute kThreadDescriptorSize depending on
442         glibc version minor number.
443         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
444         kThreadDescriptorSize directly.
446 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
447             Jakub Jelinek  <jakub@redhat.com>
449         PR sanitizer/57316
450         * configure.ac: Check for missing syscalls.
451         * Makefile.am: Likewise.
452         * configure: Regenerate.
453         * Makefile.in: Regenerate.
455 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
457         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
458         (LibbacktraceSymbolizer::Demangle): New declaration.
459         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
460         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
461         method if possible.
462         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
463         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
464         (struct CplusV3DemangleData): New type.
465         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
466         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
467         SymbolizeDataCallback): Use CplusV3Demangle.
468         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
469         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
470         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
471         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
472         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
473         cplus_demangle_init_info, cplus_demangle_mangled_name,
474         cplus_demangle_operators, cplus_demangle_print,
475         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
476         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
477         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
478         Define.
479         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
480         (memcmp, strncmp): Redefine.
481         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
482         ../../libiberty/cp-demangle.c.
483         * libbacktrace/bridge.cc (__asan_internal_memcmp,
484         __asan_internal_strncmp): New functions.
485         * sanitizer_common/Makefile.in: Regenerated.
486         * libbacktrace/Makefile.in: Regenerated.
487         * configure: Regenerated.
488         * configure.ac: Regenerated.
489         * config.h.in: Regenerated.
491         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
492         -isystem $(top_srcdir)/include/system.
493         * sanitizer_common/Makefile.in: Regenerated.
494         * include/system/linux/aio_abi.h: New header.
495         * include/system/linux/mroute.h: New header.
496         * include/system/linux/mroute6.h: New header.
497         * include/system/linux/perf_event.h: New header.
498         * include/system/linux/types.h: New header.
500         PR sanitizer/59136
501         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
502         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
503         and -I/-include flags.
504         * lsan/Makefile.am (liblsan_la_LIBADD): Add
505         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
506         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
507         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
508         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
509         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
510         libbacktrace.
511         * README.gcc: Document that also lsan and ubsan are
512         maintained in compiler-rt upstream.
513         * libbacktrace/Makefile.am: New file.
514         * libbacktrace/backtrace-rename.h: New file.
515         * libbacktrace/backtrace-supported.h.in: New file.
516         * libbacktrace/bridge.cc: New file.
517         * configure.ac: Add tests needed for libbacktrace build
518         within libsanitizer.
519         * sanitizer_common/Makefile.in: Regenerated.
520         * lsan/Makefile.in: Regenerated.
521         * tsan/Makefile.in: Regenerated.
522         * ubsan/Makefile.in: Regenerated.
523         * libbacktrace/Makefile.in: Generated.
524         * config.h.in: Regenerated.
525         * configure: Regenerated.
526         * Makefile.in: Regenerated.
527         * interception/Makefile.in: Regenerated.
528         * asan/Makefile.in: Regenerated.
529         * aclocal.m4: Regenerated.
531 2013-12-19  Kostya Serebryany  <kcc@google.com>
533         * sanitizer_common/sanitizer_platform_limits_posix.cc:
534         workaround for missing definition of EOWNERDEAD, backport
535         from upstream r196779.
537 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
539         * sanitizer_common/sanitizer_platform_limits_posix.h
540         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
541         (__sanitizer_clock_t): Use long long for x32.
543 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
545         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
546         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
547         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
549 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
551         * configure.ac (link_sanitizer_common): Add -lm.
552         * configure: Regenerated.
554 2013-12-05  Kostya Serebryany  <kcc@google.com>
556         * All source files: Merge from upstream r196489.
557         * merge.sh: Add *.S to the list of merged files.
559 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
561         PR sanitizer/59368
562         * Makefile.am (gcc_version): Added gcc_version.
563         * Makefile.in: Regenerate.
565 2013-12-05  Kostya Serebryany  <kcc@google.com>
567         * All source files: Merge from upstream r196090.
568         * tsan/Makefile.am (tsan_files): Added new files.
569         * tsan/Makefile.in: Regenerate.
570         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
571         * sanitizer_common/Makefile.in: Regenerate.
572         * lsan/Makefile.am (lsan_files): Added new files.
573         * lsan/Makefile.in: Regenerate.
575 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
576             Yury Gribov  <y.gribov@samsung.com>
578         PR sanitizer/59063
579         * libsanitizer.spec.in: Add spec file to hold link flags for
580         various sanitizer libs.
581         * configure.ac: Check whether clock_* routines come from librt.
582         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
583         configure.ac.
584         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
585         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
586         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
587         * asan/Makefile.in: Regenerate.
588         * interception/Makefile.in: Regenerate.
589         * lsan/Makefile.in: Regenerate.
590         * sanitizer_common/Makefile.in: Regenerate.
591         * tsan/Makefile.in: Regenerate.
592         * ubsan/Makefile.in: Regenerate.
593         * Makefile.in: Regenerate.
594         * configure: Regenerate.
596 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
597             Yury Gribov  <y.gribov@samsung.com>
599         PR sanitizer/59106
600         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
601         don't need it.
602         * ubsan/Makefile.in: Regenerated.
604 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
606         PR sanitizer/59061
607         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
608         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
609         * configure: Regenerated.
610         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
611         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
612         * lsan/Makefile.in: Regenerated.
614 2013-11-22  Mike Stump  <mikestump@comcast.net>
616         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
617         change from upstream to fix build.
619 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
621         PR sanitizer/59106
622         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
623         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
624         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
625         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
626         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
627         * asan/Makefile.in: Regenerate.
628         * interception/Makefile.in: Regenerate.
629         * tsan/Makefile.in: Regenerate.
630         * lsan/Makefile.in: Regenerate.
631         * sanitizer_common/Makefile.in: Regenerate.
633 2013-11-15  Kostya Serebryany  <kcc@google.com>
635         PR sanitizer/58994
636         Backport from upstream revision 194573
637         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
638         back to the original functions in the common libsanitizer
639         interceptors and the __cxa_atexit() interceptor on Darwin.
641 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
643         PR sanitizer/59009
644         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
645         ifdef out more source.
647 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
649         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
650         ifdef out almost the whole source.
651         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
653 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
655         PR sanitizer/59018
656         * sanitizer_common/sanitizer_platform_limits_posix.cc
657         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
658         defined.
660 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
662         PR sanitizer/59018
663         * sanitizer_common/sanitizer_platform_limits_linux.cc
664         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
665         defined.
666         * sanitizer_common/sanitizer_platform_limits_posix.h
667         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
668         defined.
669         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
670         is defined.
671         (__sanitizer___kernel_gid_t): Likewise.
672         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
673         is defined.
675 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
677         PR sanitizer/59018
678         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
679         2 64-bit integers to save and restore fn and arg.  Properly load
680         newtls/child_tidptr into r8/r10.
682 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
684         PR sanitizer/59018
685         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
686         internal_munmap, internal_open, internal_read, internal_write,
687         internal_stat, internal_lstat, internal_fstat, internal_readlink,
688         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
689         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
690         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
692 2013-11-04  Kostya Serebryany  <kcc@google.com>
694         * All source files: Merge from upstream r191666.
695         * merge.sh: Added lsan.
696         * configure.ac (AC_CONFIG_FILES): Added lsan.
697         * Makefile.am (SUBDIRS): Added lsan.
698         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
699         * asan/Makefile.am (asan_files): Added new files.
700         (libasan_la_LIBADD): Added a dependency on lsan.
701         * lsan/Makefile.am: New file.
702         * asan/Makefile.in: Regenerate.
703         * lsan/Makefile.in: Regenerate.
704         * Makefile.in: Regenerate.
705         * configure: Regenerate.
706         * sanitizer_common/Makefile.in: Regenerate.
708 2013-09-20  Alan Modra  <amodra@gmail.com>
710         * configure: Regenerate.
712 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
714         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
715         libinterception.la for Darwin.
716         * ubsan/Makefile.in: Regenerate.
718 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
720         * Makefile.am (SUBDIRS): Add ubsan.
721         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
722         * merge.sh: Merge ubsan.
723         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
724         * sanitizer_common/sanitizer_printf.cc: Likewise.
725         * sanitizer_common/sanitizer_common.h: Likewise.
726         * ubsan: New directory. Import ubsan runtime from llvm.
728 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
730         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
731         Cherry pick upstream r182922.
733 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
735         * configure.tgt: Add ARM pattern.
737 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
739         PR other/43620
740         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
741         * Makefile.in: Regenerated.
742         * asan/Makefile.in: Regenerated.
743         * interception/Makefile.in: Regenerated.
744         * sanitizer_common/Makefile.in: Regenerated.
745         * tsan/Makefile.in: Regenerated.
747 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
749         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
750         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
751         0x4fffffffffULL.
753 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
755         PR sanitizer/56393
756         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
757         libasan_preinit.o.
758         (libasan_preinit.o): Depend on asan_preinit.o.
759         * asan/Makefile.in: Regenerated.
760         * asan/asan_preinit.cc: New file, synced from upstream.
761         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
763 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
765         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
766         dynamic/asan_interceptors_dynamic.cc.
767         * asan/Makefile.in: Regenerated.
768         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
770 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
772         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
773         defined.  Add used attribute.
775 2013-02-21  Kostya Serebryany  <kcc@google.com>
777         * All source files: Merge from upstream r175733.
778         * sanitizer_common/Makefile.am: Added a new file.
779         * sanitizer_common/Makefile.in: Regenerated.
781 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
783         PR bootstrap/56327
784         * interception/interception.h (OFF_T): Merged from upstream
785         r175140.
787 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
789         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
791 2013-02-13  Kostya Serebryany  <kcc@google.com>
793         PR sanitizer/56128
794         * All source files: Merge from upstream r175049.
795         * interception/Makefile.am: added include path.
796         * interception/Makefile.in: Regenerated.
798 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
800         * configure.tgt: Disable build on darwin9 and earlier.
802 2013-01-23  Kostya Serebryany  <kcc@google.com>
804         PR sanitizer/55989
805         * All source files: Merge from upstream r173241.
806         * merge.sh: Support merging .inc files.
808 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
810         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
811         -Wno-c99-extensions.
812         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
813         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
814         * sanitizer_common/Makefile.in: Regenerated.
815         * interception/Makefile.in: Regenerated.
816         * asan/Makefile.in: Regenerated.
818 2013-01-10  Wei Mi  <wmi@google.com>
820         PR sanitizer/55488
821         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
822         * tsan/Makefile.in: Regenerated.
823         * tsan/tsan_rtl.h: Enable HACKY_CALL.
825 2013-01-10  Kostya Serebryany  <kcc@google.com>
827         * All source files: Merge from upstream r171973.
828         * sanitizer_common/Makefile.am: Added new files.
829         * asan/Makefile.am: Likewise.
830         * tsan/Makefile.am: Likewise.
831         * sanitizer_common/Makefile.in: Regenerated.
832         * asan/Makefile.in: Likewise.
833         * tsan/Makefile.in: Likewise.
835 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
837         * asan/Makefile.am (libasan_la_LIBADD): Replace
838         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
839         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
840         * Makefile.in: Regenerated.
841         * configure: Likewise.
842         * asan/Makefile.in: Likewise.
843         * interception/Makefile.in: Likewise.
844         * sanitizer_common/Makefile.in: Likewise.
845         * tsan/Makefile.in: Likewise.
847 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
849         * Makefile.am (AM_MAKEFLAGS): Restored.
850         * interception/Makefile.am: Likewise.
851         * sanitizer_common/Makefile.am: Likewise.
852         * tsan/Makefile.am: Likewise.
853         * Makefile.in: Regenerated.
854         * asan/Makefile.in: Likewise.
855         * interception/Makefile.in: Likewise.
856         * sanitizer_common/Makefile.in: Likewise.
857         * tsan/Makefile.in: Likewise.
859 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
861         * Makefile.am (MAKEOVERRIDES): Restored.
862         * asan/Makefile.am: Likewise.
863         * interception/Makefile.am: Likewise.
864         * sanitizer_common/Makefile.am: Likewise.
865         * tsan/Makefile.am: Likewise.
866         * Makefile.in: Regenerated.
867         * asan/Makefile.in: Likewise.
868         * interception/Makefile.in: Likewise.
869         * sanitizer_common/Makefile.in: Likewise.
870         * tsan/Makefile.in: Likewise.
872 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
874         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
875         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
876         * Makefile.in: Regenerated.
877         * configure: Likewise.
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         * Makefile.am (AM_MAKEFLAGS): Removed.
886         (MAKEOVERRIDES): Likewise.
887         * asan/Makefile.am: Likewise.
888         * interception/Makefile.am: Likewise.
889         * sanitizer_common/Makefile.am: Likewise.
890         * tsan/Makefile.am: Likewise.
891         * Makefile.in: Regenerated.
892         * asan/Makefile.in: Likewise.
893         * interception/Makefile.in: Likewise.
894         * sanitizer_common/Makefile.in: Likewise.
895         * tsan/Makefile.in: Likewise.
897 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
899         PR sanitizer/55533
900         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
901         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
902         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
903         (AM_MAKEFLAGS): Remove CC and CXX.
904         * interception/Makefile.am: Likewise.
905         * sanitizer_common/Makefile.am: Likewise.
906         * tsan/Makefile.am: Likewise.
907         * Makefile.in: Regenerated.
908         * aclocal.m4: Likewise.
909         * configure: Likewise.
910         * asan/Makefile.in: Likewise.
911         * interception/Makefile.in: Likewise.
912         * sanitizer_common/Makefile.in: Likewise.
913         * tsan/Makefile.in: Likewise.
915 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
917         * configure.tgt: Enable build on powerpc*-linux.
919 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
921         PR 55599/sanitizer
922         * configure.ac: Set enable_static=no on darwin.
923         * configure: Regenerated.
925 2012-12-06  Kostya Serebryany  <kcc@google.com>
927         * All files: Merge from upstream r169392.
929 2012-12-05  Kostya Serebryany  <kcc@google.com>
931         * All files: Merge from upstream r169371.
933 2012-12-04  Kostya Serebryany  <kcc@google.com>
934             Jack Howarth  <howarth@bromo.med.uc.edu>
936         PR 55521/sanitizer
937         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
938         * Makefile.am: Don't build interception subdir when
939         USING_MAC_INTERPOSE defined.
940         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
941         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
942         Compile asan_interceptors_dynamic.cc but not libinterception
943         when USING_MAC_INTERPOSE defined.
944         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
945         * configure: Regenerated.
946         * Makefile.in: Likewise.
947         * asan/Makefile.in: Likewise.
948         * interception/Makefile.in: Likewise.
949         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
950         * asan/asan_mac.cc: Likewise.
951         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
952         and use MISSING_BLOCKS_SUPPORT.
953         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
954         * interception/mach_override/LICENSE.txt: Remove unused file.
955         * interception/mach_override/mach_override.c: Likewise.
956         * interception/mach_override/mach_override.h: Likewise.
957         * interception/mach_override: Remove unused directory.
959 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
961         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
962         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
963         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
964         files.
965         (AM_MAKEFLAGS): Restore CC and CXX.
966         * interception/Makefile.am: Likewise.
967         * sanitizer_common/Makefile.am: Likewise.
968         * tsan/Makefile.am: Likewise.
969         * Makefile.in: Regenerated.
970         * aclocal.m4: Likewise.
971         * configure: Likewise.
972         * asan/Makefile.in: Likewise.
973         * interception/Makefile.in: Likewise.
974         * sanitizer_common/Makefile.in: Likewise.
975         * tsan/Makefile.in: Likewise.
977 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
979         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
980         * configure.ac (ACX_NONCANONICAL_TARGET): New.
981         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
982         files.
983         (AM_MAKEFLAGS): Remove CC and CXX.
984         * interception/Makefile.am: Likewise.
985         * sanitizer_common/Makefile.am: Likewise.
986         * tsan/Makefile.am: Likewise.
987         * Makefile.in: Regenerated.
988         * aclocal.m4: Likewise.
989         * configure: Likewise.
990         * asan/Makefile.in: Likewise.
991         * interception/Makefile.in: Likewise.
992         * sanitizer_common/Makefile.in: Likewise.
993         * tsan/Makefile.in: Likewise.
995 2012-11-27  Kostya Serebryany  <kcc@google.com>
997         * All files: Merge from upstream r168699.
999 2012-11-24  Kostya Serebryany  <kcc@google.com>
1000             Jack Howarth  <howarth@bromo.med.uc.edu>
1002         * interception/mach_override/mach_override.c: Migrate from llvm.
1003         * interception/mach_override/mach_override.h: Likewise.
1004         * interception/mach_override/LICENSE.txt: Likewise.
1005         * configure.tgt: Add darwin to supported targets.
1006         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1007         * interception/Makefile.am: Compile mach_override.c when
1008         USING_MACH_OVERRIDE defined.
1009         * configure: Regenerated.
1010         * interception/Makefile.in: Likewise.
1012 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1014         PR sanitizer/55450
1015         * tsan/Makefile.am (gcc_version): New.
1016         * tsan/Makefile.in: Regenerated.
1018 2012-11-23  Kostya Serebryany  <kcc@google.com>
1020         * merge.sh: Support tsan, support added/removed files.
1021         * tsan/Makefile.am: Remove tsan_printf.cc.
1022         * tsan/Makefile.in: Regenerated.
1023         * other files: Merge from upstream r168514.
1025 2012-11-23  Kostya Serebryany  <kcc@google.com>
1027         * merge.sh: New file.
1029 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1031         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1032         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1033         automake conditional instead of !MULTISUBDIR32.
1034         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1035         for 64-bit multilib.
1036         * configure.ac: Check for void * size, source in configure.tgt,
1037         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1038         * configure: Regenerated.
1039         * Makefile.in: Regenerated.
1040         * tsan/Makefile.in: Regenerated.
1042 2012-11-22  Wei Mi  <wmi@google.com>
1044         * tsan: New directory. Import tsan runtime from llvm.
1045         * configure.ac: Add 64 bits tsan build.
1046         * Makefile.am: Likewise.
1047         * configure: Regenerated.
1048         * Makefile.in: Likewise.
1050 2012-11-21  Kostya Serebryany  <kcc@google.com>
1052         * README.gcc: Extend the README.gcc with mode details.
1054 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1056         * sanitizer_common/sanitizer_linux.cc
1057         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1058         (internal_mmap): Use it.
1059         (internal_filesize): Likewise.
1061 2012-11-16  Tom Tromey  <tromey@redhat.com>
1063         * configure.ac: Invoke AM_MAINTAINER_MODE.
1064         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1065         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1067 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1069         PR other/55333
1070         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1071         for hardware pointer.
1072         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1073         Replace uptr with uhwptr for stack unwind.
1075 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1077         * configure.tgt: Enable build on sparc linux.
1079 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1081         * configure.ac: Properly set MULTISUBDIR.
1082         * asan/Makefile.am (gcc_version): New.
1083         * interception/Makefile.am (gcc_version): Likewise.
1084         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1085         * configure: Regenerated.
1086         * asan/Makefile.in: Likewise.
1087         * interception/Makefile.in: Likewise.
1088         * sanitizer_common/Makefile.in: Likewise.
1090 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1092         PR other/55291
1093         * configure.ac (--enable-version-specific-runtime-libs): New option.
1094         (AC_CANONICAL_SYSTEM): New.
1095         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1096         (toolexecdir): Support multilib.
1097         (toolexeclibdir): Likewise.
1098         (multilib_arg): New.
1099         * Makefile.in: Regenerated.
1100         * aclocal.m4: Likewise.
1101         * configure: Likewise.
1102         * asan/Makefile.in: Likewise.
1103         * interception/Makefile.in: Likewise.
1104         * sanitizer_common/Makefile.in: Likewise.
1106 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1108         PR other/55292
1109         Backport from upstream revision 167883
1110         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1111         __x86_64__ instead of __WORDSIZE.
1112         (internal_filesize): Likwise.
1114 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1116         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1117         * Makefile.in: Regenerated.
1118         * configure: Likewise.
1120 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1122         PR other/55304
1123         * acinclude.m4: New file.
1124         * Makefile.am (ACLOCAL_AMFLAGS): New.
1125         * configure.ac (AC_PREREQ): Set to 2.64.
1126         (AC_CONFIG_AUX_DIR): Set to "..".
1127         * Makefile.in: Regenerated.
1128         * aclocal.m4: Likewise.
1129         * configure: Likewise.
1130         * asan/Makefile.in: Likewise.
1131         * interception/Makefile.in: Likewise.
1132         * sanitizer_common/Makefile.in: Likewise.
1134         * config.guess: Removed.
1135         * config.sub: Likewise.
1136         * depcomp: Likewise.
1137         * install-sh: Likewise.
1138         * ltmain.sh: Likewise.
1139         * missing: Likewise.
1141 2012-11-13  Richard Henderson  <rth@redhat.com>
1143         * configure.tgt: New file.
1145 2012-11-12  David S. Miller  <davem@davemloft.net>
1147         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1149 2012-10-29  Wei Mi  <wmi@google.com>
1151         Initial checkin: migrate asan runtime from llvm.