2015-02-06 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / libsanitizer / ChangeLog
blob083fd775aac83629e965fb7527f3c2d87f81912b
1 2015-01-26  Matthias Klose  <doko@ubuntu.com>
3         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
4         * configure: Regenerate.
6 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
9         * configure: Regenerate.
10         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
12 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
15         * configure: Regenerate.
16         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
17         (libtsan_la_DEPENDENCIES): Likewise.
18         * Makefile.in: Regenerate.
19         * asan/Makefile.in: Regenerate.
20         * interception/Makefile.in: Regenerate.
21         * libbacktrace/Makefile.in: Regenerate.
22         * lsan/Makefile.in: Regenerate.
23         * sanitizer_common/Makefile.in: Regenerate.
24         * tsan/Makefile.in: Regenerate.
25         * ubsan/Makefile.in: Regenerate.
27 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
29         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
31 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
33         PR sanitizer/64435
34         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
35         upstream r226637.
36         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
37         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
39 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
41         PR sanitizer/64632
42         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
44 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
46         PR sanitizer/64435
47         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
48         upstream r223925.
50 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
52         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
53         upstream r224518 and r224519.
54         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
55         r224834.
57 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
59         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
60         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
61         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
62         upstream r224308.
64 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66         PR bootstrap/63784
67         * configure: Regenerated.
69 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
71         PR target/61137
72         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
73         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
75 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
77         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
78         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
79         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
80         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
81         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
82         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
83         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
84         * sanitizer_common/Makefile.in: Regenerate.
85         * asan/Makefile.in: Ditto.
86         * lsan/Makefile.in: Ditto.
87         * interception/Makefile.in: Ditto.
88         * tsan/Makefile.in: Ditto.
89         * libbacktrace/Makefile.in: Ditto.
90         * ubsan/Makefile.in: Ditto.
92 2014-11-13  Kostya Serebryany  <kcc@google.com>
94         * All source files: Merge from upstream r221802.
95         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
96         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
97         with 'start' to follow the new interface.
98         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
99         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
100         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
101         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
102         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
103         files.
104         (AM_CXXFLAGS): Added -std=c++11.
105         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
106         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
107         * asan/Makefile.in: Regenerate.
108         * interception/Makefile.in: Regenerate.
109         * libbacktrace/Makefile.in: Regenerate.
110         * lsan/Makefile.in: Regenerate.
111         * sanitizer_common/Makefile.in: Regenerate.
112         * tsan/Makefile.in: Regenerate.
113         * ubsan/Makefile.in: Regenerate.
115 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
117         PR target/63610
118         * configure: Regenerate.
120 2014-10-16  Martin Liska  <mliska@suse.cz>
122         * asan/Makefile.am: IPA ICF pass is disabled.
123         * asan/Makefile.in: Likewise.
125 2014-10-14  David S. Miller  <davem@davemloft.net>
127         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
128         Define at __kernel_time_t, as needed for sparc.
129         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
130         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
131         (__sanitizer): Define struct___old_kernel_stat_sz,
132         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
133         (__sanitizer_ipc_perm): Adjust for sparc targets.
134         (__sanitizer_shmid_ds): Likewsie.
135         (__sanitizer_sigaction): Likewsie.
136         (IOC_SIZE): Likewsie.
138 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
140         * ubsan/Makefile.am (DEFS): Add -DPIC.
141         * ubsan/Makefile.in: Regenerated.
143 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
145         * configure.tgt: Enable build on aarch64*-linux.
147 2014-09-19  Kostya Serebryany  <kcc@google.com>
149         * All source files: Merge from upstream r218156.
150         * asan/Makefile.am (asan_files): Added new files.
151         * asan/Makefile.in: Regenerate.
152         * ubsan/Makefile.am (ubsan_files): Added new files.
153         * ubsan/Makefile.in: Regenerate.
154         * tsan/Makefile.am (tsan_files): Added new files.
155         * tsan/Makefile.in: Regenerate.
156         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
157           files.
158         * sanitizer_common/Makefile.in: Regenerate.
159         * asan/libtool-version: Bump the libasan SONAME.
161 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
163         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
164         upstream r215485, r217389, r217391 and r217400.
166 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
168         * sanitizer_common/sanitizer_common_interceptors.inc:
169         Cherry pick upstream r211008.
171 2014-06-11  Richard Biener  <rguenther@suse.de>
173         * asan/asan_linux.cc: Cherry pick upstream r210012.
175 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
177         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
178         r209879.
179         * sanitizer_common/sanitizer_common.h: Likewise.
180         * asan/asan_mapping.h: Likewise.
181         * asan/asan_linux.cc: Likewise.
182         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
183         * sanitizer_common/sanitizer_allocator.h: Likewise.
185 2014-05-23  Marek Polacek  <polacek@redhat.com>
187         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
188         floating-point types.
190 2014-05-22  Kostya Serebryany  <kcc@google.com>
192         * All source files: Merge from upstream r209283.
193         * asan/Makefile.am (asan_files): Added new files.
194         * asan/Makefile.in: Regenerate.
195         * tsan/Makefile.am (tsan_files): Added new files.
196         * tsan/Makefile.in: Regenerate.
197         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
198         files.
199         * sanitizer_common/Makefile.in: Regenerate.
201 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
203         PR sanitizer/61100
204         * Makefile.am (nodist_saninclude_HEADERS): Install
205         public headers.
206         * Makefile.in: Regenerate.
208 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
210         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
211         Add ../../libbacktrace/sort.c.
212         * libbacktrace/Makefile.in: Regenerate.
213         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
215 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
217         * configure.tgt: Unsupported for little endian PowerPC for now.
219 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
221         PR sanitizer/60055
222         * tsan/tsan_flags.cc (__tsan_default_options): Add
223         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
224         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
226         PR sanitizer/60038
227         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
228         sanitizer_atomic.h and unistd.h.
229         (kThreadDescriptorSize): Made static, remove initializer and const,
230         change type to atomic_uintptr_t.
231         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
232         query glibc version, compute kThreadDescriptorSize depending on
233         glibc version minor number.
234         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
235         kThreadDescriptorSize directly.
237 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
238             Jakub Jelinek  <jakub@redhat.com>
240         PR sanitizer/57316
241         * configure.ac: Check for missing syscalls.
242         * Makefile.am: Likewise.
243         * configure: Regenerate.
244         * Makefile.in: Regenerate.
246 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
248         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
249         (LibbacktraceSymbolizer::Demangle): New declaration.
250         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
251         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
252         method if possible.
253         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
254         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
255         (struct CplusV3DemangleData): New type.
256         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
257         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
258         SymbolizeDataCallback): Use CplusV3Demangle.
259         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
260         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
261         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
262         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
263         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
264         cplus_demangle_init_info, cplus_demangle_mangled_name,
265         cplus_demangle_operators, cplus_demangle_print,
266         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
267         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
268         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
269         Define.
270         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
271         (memcmp, strncmp): Redefine.
272         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
273         ../../libiberty/cp-demangle.c.
274         * libbacktrace/bridge.cc (__asan_internal_memcmp,
275         __asan_internal_strncmp): New functions.
276         * sanitizer_common/Makefile.in: Regenerated.
277         * libbacktrace/Makefile.in: Regenerated.
278         * configure: Regenerated.
279         * configure.ac: Regenerated.
280         * config.h.in: Regenerated.
282         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
283         -isystem $(top_srcdir)/include/system.
284         * sanitizer_common/Makefile.in: Regenerated.
285         * include/system/linux/aio_abi.h: New header.
286         * include/system/linux/mroute.h: New header.
287         * include/system/linux/mroute6.h: New header.
288         * include/system/linux/perf_event.h: New header.
289         * include/system/linux/types.h: New header.
291         PR sanitizer/59136
292         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
293         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
294         and -I/-include flags.
295         * lsan/Makefile.am (liblsan_la_LIBADD): Add
296         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
297         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
298         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
299         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
300         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
301         libbacktrace.
302         * README.gcc: Document that also lsan and ubsan are
303         maintained in compiler-rt upstream.
304         * libbacktrace/Makefile.am: New file.
305         * libbacktrace/backtrace-rename.h: New file.
306         * libbacktrace/backtrace-supported.h.in: New file.
307         * libbacktrace/bridge.cc: New file.
308         * configure.ac: Add tests needed for libbacktrace build
309         within libsanitizer.
310         * sanitizer_common/Makefile.in: Regenerated.
311         * lsan/Makefile.in: Regenerated.
312         * tsan/Makefile.in: Regenerated.
313         * ubsan/Makefile.in: Regenerated.
314         * libbacktrace/Makefile.in: Generated.
315         * config.h.in: Regenerated.
316         * configure: Regenerated.
317         * Makefile.in: Regenerated.
318         * interception/Makefile.in: Regenerated.
319         * asan/Makefile.in: Regenerated.
320         * aclocal.m4: Regenerated.
322 2013-12-19  Kostya Serebryany  <kcc@google.com>
324         * sanitizer_common/sanitizer_platform_limits_posix.cc:
325         workaround for missing definition of EOWNERDEAD, backport
326         from upstream r196779.
328 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
330         * sanitizer_common/sanitizer_platform_limits_posix.h
331         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
332         (__sanitizer_clock_t): Use long long for x32.
334 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
336         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
337         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
338         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
340 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
342         * configure.ac (link_sanitizer_common): Add -lm.
343         * configure: Regenerated.
345 2013-12-05  Kostya Serebryany  <kcc@google.com>
347         * All source files: Merge from upstream r196489.
348         * merge.sh: Add *.S to the list of merged files.
350 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
352         PR sanitizer/59368
353         * Makefile.am (gcc_version): Added gcc_version.
354         * Makefile.in: Regenerate.
356 2013-12-05  Kostya Serebryany  <kcc@google.com>
358         * All source files: Merge from upstream r196090.
359         * tsan/Makefile.am (tsan_files): Added new files.
360         * tsan/Makefile.in: Regenerate.
361         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
362         * sanitizer_common/Makefile.in: Regenerate.
363         * lsan/Makefile.am (lsan_files): Added new files.
364         * lsan/Makefile.in: Regenerate.
366 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
367             Yury Gribov  <y.gribov@samsung.com>
369         PR sanitizer/59063
370         * libsanitizer.spec.in: Add spec file to hold link flags for
371         various sanitizer libs.
372         * configure.ac: Check whether clock_* routines come from librt.
373         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
374         configure.ac.
375         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
376         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
377         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
378         * asan/Makefile.in: Regenerate.
379         * interception/Makefile.in: Regenerate.
380         * lsan/Makefile.in: Regenerate.
381         * sanitizer_common/Makefile.in: Regenerate.
382         * tsan/Makefile.in: Regenerate.
383         * ubsan/Makefile.in: Regenerate.
384         * Makefile.in: Regenerate.
385         * configure: Regenerate.
387 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
388             Yury Gribov  <y.gribov@samsung.com>
390         PR sanitizer/59106
391         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
392         don't need it.
393         * ubsan/Makefile.in: Regenerated.
395 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
397         PR sanitizer/59061
398         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
399         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
400         * configure: Regenerated.
401         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
402         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
403         * lsan/Makefile.in: Regenerated.
405 2013-11-22  Mike Stump  <mikestump@comcast.net>
407         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
408         change from upstream to fix build.
410 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
412         PR sanitizer/59106
413         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
414         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
415         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
416         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
417         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
418         * asan/Makefile.in: Regenerate.
419         * interception/Makefile.in: Regenerate.
420         * tsan/Makefile.in: Regenerate.
421         * lsan/Makefile.in: Regenerate.
422         * sanitizer_common/Makefile.in: Regenerate.
424 2013-11-15  Kostya Serebryany  <kcc@google.com>
426         PR sanitizer/58994
427         Backport from upstream revision 194573
428         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
429         back to the original functions in the common libsanitizer
430         interceptors and the __cxa_atexit() interceptor on Darwin.
432 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
434         PR sanitizer/59009
435         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
436         ifdef out more source.
438 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
440         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
441         ifdef out almost the whole source.
442         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
444 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
446         PR sanitizer/59018
447         * sanitizer_common/sanitizer_platform_limits_posix.cc
448         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
449         defined.
451 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
453         PR sanitizer/59018
454         * sanitizer_common/sanitizer_platform_limits_linux.cc
455         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
456         defined.
457         * sanitizer_common/sanitizer_platform_limits_posix.h
458         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
459         defined.
460         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
461         is defined.
462         (__sanitizer___kernel_gid_t): Likewise.
463         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
464         is defined.
466 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
468         PR sanitizer/59018
469         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
470         2 64-bit integers to save and restore fn and arg.  Properly load
471         newtls/child_tidptr into r8/r10.
473 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
475         PR sanitizer/59018
476         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
477         internal_munmap, internal_open, internal_read, internal_write,
478         internal_stat, internal_lstat, internal_fstat, internal_readlink,
479         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
480         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
481         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
483 2013-11-04  Kostya Serebryany  <kcc@google.com>
485         * All source files: Merge from upstream r191666.
486         * merge.sh: Added lsan.
487         * configure.ac (AC_CONFIG_FILES): Added lsan.
488         * Makefile.am (SUBDIRS): Added lsan.
489         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
490         * asan/Makefile.am (asan_files): Added new files.
491         (libasan_la_LIBADD): Added a dependency on lsan.
492         * lsan/Makefile.am: New file.
493         * asan/Makefile.in: Regenerate.
494         * lsan/Makefile.in: Regenerate.
495         * Makefile.in: Regenerate.
496         * configure: Regenerate.
497         * sanitizer_common/Makefile.in: Regenerate.
499 2013-09-20  Alan Modra  <amodra@gmail.com>
501         * configure: Regenerate.
503 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
505         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
506         libinterception.la for Darwin.
507         * ubsan/Makefile.in: Regenerate.
509 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
511         * Makefile.am (SUBDIRS): Add ubsan.
512         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
513         * merge.sh: Merge ubsan.
514         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
515         * sanitizer_common/sanitizer_printf.cc: Likewise.
516         * sanitizer_common/sanitizer_common.h: Likewise.
517         * ubsan: New directory. Import ubsan runtime from llvm.
519 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
521         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
522         Cherry pick upstream r182922.
524 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
526         * configure.tgt: Add ARM pattern.
528 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
530         PR other/43620
531         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
532         * Makefile.in: Regenerated.
533         * asan/Makefile.in: Regenerated.
534         * interception/Makefile.in: Regenerated.
535         * sanitizer_common/Makefile.in: Regenerated.
536         * tsan/Makefile.in: Regenerated.
538 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
540         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
541         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
542         0x4fffffffffULL.
544 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
546         PR sanitizer/56393
547         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
548         libasan_preinit.o.
549         (libasan_preinit.o): Depend on asan_preinit.o.
550         * asan/Makefile.in: Regenerated.
551         * asan/asan_preinit.cc: New file, synced from upstream.
552         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
554 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
556         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
557         dynamic/asan_interceptors_dynamic.cc.
558         * asan/Makefile.in: Regenerated.
559         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
561 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
563         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
564         defined.  Add used attribute.
566 2013-02-21  Kostya Serebryany  <kcc@google.com>
568         * All source files: Merge from upstream r175733.
569         * sanitizer_common/Makefile.am: Added a new file.
570         * sanitizer_common/Makefile.in: Regenerated.
572 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
574         PR bootstrap/56327
575         * interception/interception.h (OFF_T): Merged from upstream
576         r175140.
578 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
580         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
582 2013-02-13  Kostya Serebryany  <kcc@google.com>
584         PR sanitizer/56128
585         * All source files: Merge from upstream r175049.
586         * interception/Makefile.am: added include path.
587         * interception/Makefile.in: Regenerated.
589 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
591         * configure.tgt: Disable build on darwin9 and earlier.
593 2013-01-23  Kostya Serebryany  <kcc@google.com>
595         PR sanitizer/55989
596         * All source files: Merge from upstream r173241.
597         * merge.sh: Support merging .inc files.
599 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
601         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
602         -Wno-c99-extensions.
603         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
604         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
605         * sanitizer_common/Makefile.in: Regenerated.
606         * interception/Makefile.in: Regenerated.
607         * asan/Makefile.in: Regenerated.
609 2013-01-10  Wei Mi  <wmi@google.com>
611         PR sanitizer/55488
612         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
613         * tsan/Makefile.in: Regenerated.
614         * tsan/tsan_rtl.h: Enable HACKY_CALL.
616 2013-01-10  Kostya Serebryany  <kcc@google.com>
618         * All source files: Merge from upstream r171973.
619         * sanitizer_common/Makefile.am: Added new files.
620         * asan/Makefile.am: Likewise.
621         * tsan/Makefile.am: Likewise.
622         * sanitizer_common/Makefile.in: Regenerated.
623         * asan/Makefile.in: Likewise.
624         * tsan/Makefile.in: Likewise.
626 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
628         * asan/Makefile.am (libasan_la_LIBADD): Replace
629         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
630         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
631         * Makefile.in: Regenerated.
632         * configure: Likewise.
633         * asan/Makefile.in: Likewise.
634         * interception/Makefile.in: Likewise.
635         * sanitizer_common/Makefile.in: Likewise.
636         * tsan/Makefile.in: Likewise.
638 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
640         * Makefile.am (AM_MAKEFLAGS): Restored.
641         * interception/Makefile.am: Likewise.
642         * sanitizer_common/Makefile.am: Likewise.
643         * tsan/Makefile.am: Likewise.
644         * Makefile.in: Regenerated.
645         * asan/Makefile.in: Likewise.
646         * interception/Makefile.in: Likewise.
647         * sanitizer_common/Makefile.in: Likewise.
648         * tsan/Makefile.in: Likewise.
650 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
652         * Makefile.am (MAKEOVERRIDES): Restored.
653         * asan/Makefile.am: Likewise.
654         * interception/Makefile.am: Likewise.
655         * sanitizer_common/Makefile.am: Likewise.
656         * tsan/Makefile.am: Likewise.
657         * Makefile.in: Regenerated.
658         * asan/Makefile.in: Likewise.
659         * interception/Makefile.in: Likewise.
660         * sanitizer_common/Makefile.in: Likewise.
661         * tsan/Makefile.in: Likewise.
663 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
665         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
666         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
667         * Makefile.in: Regenerated.
668         * configure: Likewise.
669         * asan/Makefile.in: Likewise.
670         * interception/Makefile.in: Likewise.
671         * sanitizer_common/Makefile.in: Likewise.
672         * tsan/Makefile.in: Likewise.
674 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
676         * Makefile.am (AM_MAKEFLAGS): Removed.
677         (MAKEOVERRIDES): Likewise.
678         * asan/Makefile.am: Likewise.
679         * interception/Makefile.am: Likewise.
680         * sanitizer_common/Makefile.am: Likewise.
681         * tsan/Makefile.am: Likewise.
682         * Makefile.in: Regenerated.
683         * asan/Makefile.in: Likewise.
684         * interception/Makefile.in: Likewise.
685         * sanitizer_common/Makefile.in: Likewise.
686         * tsan/Makefile.in: Likewise.
688 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
690         PR sanitizer/55533
691         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
692         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
693         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
694         (AM_MAKEFLAGS): Remove CC and CXX.
695         * interception/Makefile.am: Likewise.
696         * sanitizer_common/Makefile.am: Likewise.
697         * tsan/Makefile.am: Likewise.
698         * Makefile.in: Regenerated.
699         * aclocal.m4: Likewise.
700         * configure: Likewise.
701         * asan/Makefile.in: Likewise.
702         * interception/Makefile.in: Likewise.
703         * sanitizer_common/Makefile.in: Likewise.
704         * tsan/Makefile.in: Likewise.
706 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
708         * configure.tgt: Enable build on powerpc*-linux.
710 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
712         PR 55599/sanitizer
713         * configure.ac: Set enable_static=no on darwin.
714         * configure: Regenerated.
716 2012-12-06  Kostya Serebryany  <kcc@google.com>
718         * All files: Merge from upstream r169392.
720 2012-12-05  Kostya Serebryany  <kcc@google.com>
722         * All files: Merge from upstream r169371.
724 2012-12-04  Kostya Serebryany  <kcc@google.com>
725             Jack Howarth  <howarth@bromo.med.uc.edu>
727         PR 55521/sanitizer
728         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
729         * Makefile.am: Don't build interception subdir when
730         USING_MAC_INTERPOSE defined.
731         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
732         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
733         Compile asan_interceptors_dynamic.cc but not libinterception
734         when USING_MAC_INTERPOSE defined.
735         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
736         * configure: Regenerated.
737         * Makefile.in: Likewise.
738         * asan/Makefile.in: Likewise.
739         * interception/Makefile.in: Likewise.
740         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
741         * asan/asan_mac.cc: Likewise.
742         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
743         and use MISSING_BLOCKS_SUPPORT.
744         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
745         * interception/mach_override/LICENSE.txt: Remove unused file.
746         * interception/mach_override/mach_override.c: Likewise.
747         * interception/mach_override/mach_override.h: Likewise.
748         * interception/mach_override: Remove unused directory.
750 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
752         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
753         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
754         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
755         files.
756         (AM_MAKEFLAGS): Restore CC and CXX.
757         * interception/Makefile.am: Likewise.
758         * sanitizer_common/Makefile.am: Likewise.
759         * tsan/Makefile.am: Likewise.
760         * Makefile.in: Regenerated.
761         * aclocal.m4: Likewise.
762         * configure: Likewise.
763         * asan/Makefile.in: Likewise.
764         * interception/Makefile.in: Likewise.
765         * sanitizer_common/Makefile.in: Likewise.
766         * tsan/Makefile.in: Likewise.
768 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
770         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
771         * configure.ac (ACX_NONCANONICAL_TARGET): New.
772         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
773         files.
774         (AM_MAKEFLAGS): Remove CC and CXX.
775         * interception/Makefile.am: Likewise.
776         * sanitizer_common/Makefile.am: Likewise.
777         * tsan/Makefile.am: Likewise.
778         * Makefile.in: Regenerated.
779         * aclocal.m4: Likewise.
780         * configure: Likewise.
781         * asan/Makefile.in: Likewise.
782         * interception/Makefile.in: Likewise.
783         * sanitizer_common/Makefile.in: Likewise.
784         * tsan/Makefile.in: Likewise.
786 2012-11-27  Kostya Serebryany  <kcc@google.com>
788         * All files: Merge from upstream r168699.
790 2012-11-24  Kostya Serebryany  <kcc@google.com>
791             Jack Howarth  <howarth@bromo.med.uc.edu>
793         * interception/mach_override/mach_override.c: Migrate from llvm.
794         * interception/mach_override/mach_override.h: Likewise.
795         * interception/mach_override/LICENSE.txt: Likewise.
796         * configure.tgt: Add darwin to supported targets.
797         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
798         * interception/Makefile.am: Compile mach_override.c when
799         USING_MACH_OVERRIDE defined.
800         * configure: Regenerated.
801         * interception/Makefile.in: Likewise.
803 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
805         PR sanitizer/55450
806         * tsan/Makefile.am (gcc_version): New.
807         * tsan/Makefile.in: Regenerated.
809 2012-11-23  Kostya Serebryany  <kcc@google.com>
811         * merge.sh: Support tsan, support added/removed files.
812         * tsan/Makefile.am: Remove tsan_printf.cc.
813         * tsan/Makefile.in: Regenerated.
814         * other files: Merge from upstream r168514.
816 2012-11-23  Kostya Serebryany  <kcc@google.com>
818         * merge.sh: New file.
820 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
822         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
823         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
824         automake conditional instead of !MULTISUBDIR32.
825         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
826         for 64-bit multilib.
827         * configure.ac: Check for void * size, source in configure.tgt,
828         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
829         * configure: Regenerated.
830         * Makefile.in: Regenerated.
831         * tsan/Makefile.in: Regenerated.
833 2012-11-22  Wei Mi  <wmi@google.com>
835         * tsan: New directory. Import tsan runtime from llvm.
836         * configure.ac: Add 64 bits tsan build.
837         * Makefile.am: Likewise.
838         * configure: Regenerated.
839         * Makefile.in: Likewise.
841 2012-11-21  Kostya Serebryany  <kcc@google.com>
843         * README.gcc: Extend the README.gcc with mode details.
845 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
847         * sanitizer_common/sanitizer_linux.cc
848         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
849         (internal_mmap): Use it.
850         (internal_filesize): Likewise.
852 2012-11-16  Tom Tromey  <tromey@redhat.com>
854         * configure.ac: Invoke AM_MAINTAINER_MODE.
855         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
856         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
858 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
860         PR other/55333
861         * include/sanitizer/common_interface_defs.h (uhwptr): New type
862         for hardware pointer.
863         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
864         Replace uptr with uhwptr for stack unwind.
866 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
868         * configure.tgt: Enable build on sparc linux.
870 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
872         * configure.ac: Properly set MULTISUBDIR.
873         * asan/Makefile.am (gcc_version): New.
874         * interception/Makefile.am (gcc_version): Likewise.
875         * sanitizer_common/Makefile.am (gcc_version): Likewise.
876         * configure: Regenerated.
877         * asan/Makefile.in: Likewise.
878         * interception/Makefile.in: Likewise.
879         * sanitizer_common/Makefile.in: Likewise.
881 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
883         PR other/55291
884         * configure.ac (--enable-version-specific-runtime-libs): New option.
885         (AC_CANONICAL_SYSTEM): New.
886         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
887         (toolexecdir): Support multilib.
888         (toolexeclibdir): Likewise.
889         (multilib_arg): New.
890         * Makefile.in: Regenerated.
891         * aclocal.m4: Likewise.
892         * configure: Likewise.
893         * asan/Makefile.in: Likewise.
894         * interception/Makefile.in: Likewise.
895         * sanitizer_common/Makefile.in: Likewise.
897 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
899         PR other/55292
900         Backport from upstream revision 167883
901         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
902         __x86_64__ instead of __WORDSIZE.
903         (internal_filesize): Likwise.
905 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
907         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
908         * Makefile.in: Regenerated.
909         * configure: Likewise.
911 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
913         PR other/55304
914         * acinclude.m4: New file.
915         * Makefile.am (ACLOCAL_AMFLAGS): New.
916         * configure.ac (AC_PREREQ): Set to 2.64.
917         (AC_CONFIG_AUX_DIR): Set to "..".
918         * Makefile.in: Regenerated.
919         * aclocal.m4: Likewise.
920         * configure: Likewise.
921         * asan/Makefile.in: Likewise.
922         * interception/Makefile.in: Likewise.
923         * sanitizer_common/Makefile.in: Likewise.
925         * config.guess: Removed.
926         * config.sub: Likewise.
927         * depcomp: Likewise.
928         * install-sh: Likewise.
929         * ltmain.sh: Likewise.
930         * missing: Likewise.
932 2012-11-13  Richard Henderson  <rth@redhat.com>
934         * configure.tgt: New file.
936 2012-11-12  David S. Miller  <davem@davemloft.net>
938         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
940 2012-10-29  Wei Mi  <wmi@google.com>
942         Initial checkin: migrate asan runtime from llvm.