Daily bump.
[official-gcc.git] / libsanitizer / ChangeLog
blobac08daf12901db00f193b77b258c147085dd1b68
1 2014-10-16  Martin Liska  <mliska@suse.cz>
3         * asan/Makefile.am: IPA ICF pass is disabled.
4         * asan/Makefile.in: Likewise.
6 2014-10-14  David S. Miller  <davem@davemloft.net>
8         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
9         Define at __kernel_time_t, as needed for sparc.
10         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
11         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
12         (__sanitizer): Define struct___old_kernel_stat_sz,
13         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
14         (__sanitizer_ipc_perm): Adjust for sparc targets.
15         (__sanitizer_shmid_ds): Likewsie.
16         (__sanitizer_sigaction): Likewsie.
17         (IOC_SIZE): Likewsie.
19 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
21         * ubsan/Makefile.am (DEFS): Add -DPIC.
22         * ubsan/Makefile.in: Regenerated.
24 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
26         * configure.tgt: Enable build on aarch64*-linux.
28 2014-09-19  Kostya Serebryany  <kcc@google.com>
30         * All source files: Merge from upstream r218156.
31         * asan/Makefile.am (asan_files): Added new files.
32         * asan/Makefile.in: Regenerate.
33         * ubsan/Makefile.am (ubsan_files): Added new files.
34         * ubsan/Makefile.in: Regenerate.
35         * tsan/Makefile.am (tsan_files): Added new files.
36         * tsan/Makefile.in: Regenerate.
37         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
38           files.
39         * sanitizer_common/Makefile.in: Regenerate.
40         * asan/libtool-version: Bump the libasan SONAME.
42 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
44         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
45         upstream r215485, r217389, r217391 and r217400.
47 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
49         * sanitizer_common/sanitizer_common_interceptors.inc:
50         Cherry pick upstream r211008.
52 2014-06-11  Richard Biener  <rguenther@suse.de>
54         * asan/asan_linux.cc: Cherry pick upstream r210012.
56 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
58         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
59         r209879.
60         * sanitizer_common/sanitizer_common.h: Likewise.
61         * asan/asan_mapping.h: Likewise.
62         * asan/asan_linux.cc: Likewise.
63         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
64         * sanitizer_common/sanitizer_allocator.h: Likewise.
66 2014-05-23  Marek Polacek  <polacek@redhat.com>
68         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
69         floating-point types.
71 2014-05-22  Kostya Serebryany  <kcc@google.com>
73         * All source files: Merge from upstream r209283.
74         * asan/Makefile.am (asan_files): Added new files.
75         * asan/Makefile.in: Regenerate.
76         * tsan/Makefile.am (tsan_files): Added new files.
77         * tsan/Makefile.in: Regenerate.
78         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
79         files.
80         * sanitizer_common/Makefile.in: Regenerate.
82 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
84         PR sanitizer/61100
85         * Makefile.am (nodist_saninclude_HEADERS): Install
86         public headers.
87         * Makefile.in: Regenerate.
89 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
91         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
92         Add ../../libbacktrace/sort.c.
93         * libbacktrace/Makefile.in: Regenerate.
94         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
96 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
98         * configure.tgt: Unsupported for little endian PowerPC for now.
100 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
102         PR sanitizer/60055
103         * tsan/tsan_flags.cc (__tsan_default_options): Add
104         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
105         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
107         PR sanitizer/60038
108         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
109         sanitizer_atomic.h and unistd.h.
110         (kThreadDescriptorSize): Made static, remove initializer and const,
111         change type to atomic_uintptr_t.
112         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
113         query glibc version, compute kThreadDescriptorSize depending on
114         glibc version minor number.
115         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
116         kThreadDescriptorSize directly.
118 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
119             Jakub Jelinek  <jakub@redhat.com>
121         PR sanitizer/57316
122         * configure.ac: Check for missing syscalls.
123         * Makefile.am: Likewise.
124         * configure: Regenerate.
125         * Makefile.in: Regenerate.
127 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
129         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
130         (LibbacktraceSymbolizer::Demangle): New declaration.
131         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
132         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
133         method if possible.
134         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
135         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
136         (struct CplusV3DemangleData): New type.
137         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
138         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
139         SymbolizeDataCallback): Use CplusV3Demangle.
140         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
141         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
142         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
143         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
144         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
145         cplus_demangle_init_info, cplus_demangle_mangled_name,
146         cplus_demangle_operators, cplus_demangle_print,
147         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
148         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
149         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
150         Define.
151         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
152         (memcmp, strncmp): Redefine.
153         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
154         ../../libiberty/cp-demangle.c.
155         * libbacktrace/bridge.cc (__asan_internal_memcmp,
156         __asan_internal_strncmp): New functions.
157         * sanitizer_common/Makefile.in: Regenerated.
158         * libbacktrace/Makefile.in: Regenerated.
159         * configure: Regenerated.
160         * configure.ac: Regenerated.
161         * config.h.in: Regenerated.
163         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
164         -isystem $(top_srcdir)/include/system.
165         * sanitizer_common/Makefile.in: Regenerated.
166         * include/system/linux/aio_abi.h: New header.
167         * include/system/linux/mroute.h: New header.
168         * include/system/linux/mroute6.h: New header.
169         * include/system/linux/perf_event.h: New header.
170         * include/system/linux/types.h: New header.
172         PR sanitizer/59136
173         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
174         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
175         and -I/-include flags.
176         * lsan/Makefile.am (liblsan_la_LIBADD): Add
177         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
178         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
179         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
180         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
181         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
182         libbacktrace.
183         * README.gcc: Document that also lsan and ubsan are
184         maintained in compiler-rt upstream.
185         * libbacktrace/Makefile.am: New file.
186         * libbacktrace/backtrace-rename.h: New file.
187         * libbacktrace/backtrace-supported.h.in: New file.
188         * libbacktrace/bridge.cc: New file.
189         * configure.ac: Add tests needed for libbacktrace build
190         within libsanitizer.
191         * sanitizer_common/Makefile.in: Regenerated.
192         * lsan/Makefile.in: Regenerated.
193         * tsan/Makefile.in: Regenerated.
194         * ubsan/Makefile.in: Regenerated.
195         * libbacktrace/Makefile.in: Generated.
196         * config.h.in: Regenerated.
197         * configure: Regenerated.
198         * Makefile.in: Regenerated.
199         * interception/Makefile.in: Regenerated.
200         * asan/Makefile.in: Regenerated.
201         * aclocal.m4: Regenerated.
203 2013-12-19  Kostya Serebryany  <kcc@google.com>
205         * sanitizer_common/sanitizer_platform_limits_posix.cc:
206         workaround for missing definition of EOWNERDEAD, backport
207         from upstream r196779.
209 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
211         * sanitizer_common/sanitizer_platform_limits_posix.h
212         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
213         (__sanitizer_clock_t): Use long long for x32.
215 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
217         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
218         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
219         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
221 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
223         * configure.ac (link_sanitizer_common): Add -lm.
224         * configure: Regenerated.
226 2013-12-05  Kostya Serebryany  <kcc@google.com>
228         * All source files: Merge from upstream r196489.
229         * merge.sh: Add *.S to the list of merged files.
231 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
233         PR sanitizer/59368
234         * Makefile.am (gcc_version): Added gcc_version.
235         * Makefile.in: Regenerate.
237 2013-12-05  Kostya Serebryany  <kcc@google.com>
239         * All source files: Merge from upstream r196090.
240         * tsan/Makefile.am (tsan_files): Added new files.
241         * tsan/Makefile.in: Regenerate.
242         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
243         * sanitizer_common/Makefile.in: Regenerate.
244         * lsan/Makefile.am (lsan_files): Added new files.
245         * lsan/Makefile.in: Regenerate.
247 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
248             Yury Gribov  <y.gribov@samsung.com>
250         PR sanitizer/59063
251         * libsanitizer.spec.in: Add spec file to hold link flags for
252         various sanitizer libs.
253         * configure.ac: Check whether clock_* routines come from librt.
254         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
255         configure.ac.
256         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
257         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
258         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
259         * asan/Makefile.in: Regenerate.
260         * interception/Makefile.in: Regenerate.
261         * lsan/Makefile.in: Regenerate.
262         * sanitizer_common/Makefile.in: Regenerate.
263         * tsan/Makefile.in: Regenerate.
264         * ubsan/Makefile.in: Regenerate.
265         * Makefile.in: Regenerate.
266         * configure: Regenerate.
268 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
269             Yury Gribov  <y.gribov@samsung.com>
271         PR sanitizer/59106
272         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
273         don't need it.
274         * ubsan/Makefile.in: Regenerated.
276 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
278         PR sanitizer/59061
279         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
280         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
281         * configure: Regenerated.
282         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
283         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
284         * lsan/Makefile.in: Regenerated.
286 2013-11-22  Mike Stump  <mikestump@comcast.net>
288         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
289         change from upstream to fix build.
291 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
293         PR sanitizer/59106
294         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
295         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
296         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
297         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
298         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
299         * asan/Makefile.in: Regenerate.
300         * interception/Makefile.in: Regenerate.
301         * tsan/Makefile.in: Regenerate.
302         * lsan/Makefile.in: Regenerate.
303         * sanitizer_common/Makefile.in: Regenerate.
305 2013-11-15  Kostya Serebryany  <kcc@google.com>
307         PR sanitizer/58994
308         Backport from upstream revision 194573
309         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
310         back to the original functions in the common libsanitizer
311         interceptors and the __cxa_atexit() interceptor on Darwin.
313 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
315         PR sanitizer/59009
316         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
317         ifdef out more source.
319 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
321         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
322         ifdef out almost the whole source.
323         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
325 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
327         PR sanitizer/59018
328         * sanitizer_common/sanitizer_platform_limits_posix.cc
329         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
330         defined.
332 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
334         PR sanitizer/59018
335         * sanitizer_common/sanitizer_platform_limits_linux.cc
336         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
337         defined.
338         * sanitizer_common/sanitizer_platform_limits_posix.h
339         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
340         defined.
341         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
342         is defined.
343         (__sanitizer___kernel_gid_t): Likewise.
344         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
345         is defined.
347 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
349         PR sanitizer/59018
350         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
351         2 64-bit integers to save and restore fn and arg.  Properly load
352         newtls/child_tidptr into r8/r10.
354 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
356         PR sanitizer/59018
357         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
358         internal_munmap, internal_open, internal_read, internal_write,
359         internal_stat, internal_lstat, internal_fstat, internal_readlink,
360         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
361         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
362         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
364 2013-11-04  Kostya Serebryany  <kcc@google.com>
366         * All source files: Merge from upstream r191666.
367         * merge.sh: Added lsan.
368         * configure.ac (AC_CONFIG_FILES): Added lsan.
369         * Makefile.am (SUBDIRS): Added lsan.
370         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
371         * asan/Makefile.am (asan_files): Added new files.
372         (libasan_la_LIBADD): Added a dependency on lsan.
373         * lsan/Makefile.am: New file.
374         * asan/Makefile.in: Regenerate.
375         * lsan/Makefile.in: Regenerate.
376         * Makefile.in: Regenerate.
377         * configure: Regenerate.
378         * sanitizer_common/Makefile.in: Regenerate.
380 2013-09-20  Alan Modra  <amodra@gmail.com>
382         * configure: Regenerate.
384 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
386         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
387         libinterception.la for Darwin.
388         * ubsan/Makefile.in: Regenerate.
390 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
392         * Makefile.am (SUBDIRS): Add ubsan.
393         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
394         * merge.sh: Merge ubsan.
395         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
396         * sanitizer_common/sanitizer_printf.cc: Likewise.
397         * sanitizer_common/sanitizer_common.h: Likewise.
398         * ubsan: New directory. Import ubsan runtime from llvm.
400 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
402         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
403         Cherry pick upstream r182922.
405 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
407         * configure.tgt: Add ARM pattern.
409 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
411         PR other/43620
412         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
413         * Makefile.in: Regenerated.
414         * asan/Makefile.in: Regenerated.
415         * interception/Makefile.in: Regenerated.
416         * sanitizer_common/Makefile.in: Regenerated.
417         * tsan/Makefile.in: Regenerated.
419 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
421         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
422         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
423         0x4fffffffffULL.
425 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
427         PR sanitizer/56393
428         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
429         libasan_preinit.o.
430         (libasan_preinit.o): Depend on asan_preinit.o.
431         * asan/Makefile.in: Regenerated.
432         * asan/asan_preinit.cc: New file, synced from upstream.
433         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
435 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
437         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
438         dynamic/asan_interceptors_dynamic.cc.
439         * asan/Makefile.in: Regenerated.
440         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
442 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
444         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
445         defined.  Add used attribute.
447 2013-02-21  Kostya Serebryany  <kcc@google.com>
449         * All source files: Merge from upstream r175733.
450         * sanitizer_common/Makefile.am: Added a new file.
451         * sanitizer_common/Makefile.in: Regenerated.
453 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
455         PR bootstrap/56327
456         * interception/interception.h (OFF_T): Merged from upstream
457         r175140.
459 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
461         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
463 2013-02-13  Kostya Serebryany  <kcc@google.com>
465         PR sanitizer/56128
466         * All source files: Merge from upstream r175049.
467         * interception/Makefile.am: added include path.
468         * interception/Makefile.in: Regenerated.
470 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
472         * configure.tgt: Disable build on darwin9 and earlier.
474 2013-01-23  Kostya Serebryany  <kcc@google.com>
476         PR sanitizer/55989
477         * All source files: Merge from upstream r173241.
478         * merge.sh: Support merging .inc files.
480 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
482         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
483         -Wno-c99-extensions.
484         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
485         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
486         * sanitizer_common/Makefile.in: Regenerated.
487         * interception/Makefile.in: Regenerated.
488         * asan/Makefile.in: Regenerated.
490 2013-01-10  Wei Mi  <wmi@google.com>
492         PR sanitizer/55488
493         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
494         * tsan/Makefile.in: Regenerated.
495         * tsan/tsan_rtl.h: Enable HACKY_CALL.
497 2013-01-10  Kostya Serebryany  <kcc@google.com>
499         * All source files: Merge from upstream r171973.
500         * sanitizer_common/Makefile.am: Added new files.
501         * asan/Makefile.am: Likewise.
502         * tsan/Makefile.am: Likewise.
503         * sanitizer_common/Makefile.in: Regenerated.
504         * asan/Makefile.in: Likewise.
505         * tsan/Makefile.in: Likewise.
507 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
509         * asan/Makefile.am (libasan_la_LIBADD): Replace
510         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
511         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
512         * Makefile.in: Regenerated.
513         * configure: Likewise.
514         * asan/Makefile.in: Likewise.
515         * interception/Makefile.in: Likewise.
516         * sanitizer_common/Makefile.in: Likewise.
517         * tsan/Makefile.in: Likewise.
519 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
521         * Makefile.am (AM_MAKEFLAGS): Restored.
522         * interception/Makefile.am: Likewise.
523         * sanitizer_common/Makefile.am: Likewise.
524         * tsan/Makefile.am: Likewise.
525         * Makefile.in: Regenerated.
526         * asan/Makefile.in: Likewise.
527         * interception/Makefile.in: Likewise.
528         * sanitizer_common/Makefile.in: Likewise.
529         * tsan/Makefile.in: Likewise.
531 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
533         * Makefile.am (MAKEOVERRIDES): Restored.
534         * asan/Makefile.am: Likewise.
535         * interception/Makefile.am: Likewise.
536         * sanitizer_common/Makefile.am: Likewise.
537         * tsan/Makefile.am: Likewise.
538         * Makefile.in: Regenerated.
539         * asan/Makefile.in: Likewise.
540         * interception/Makefile.in: Likewise.
541         * sanitizer_common/Makefile.in: Likewise.
542         * tsan/Makefile.in: Likewise.
544 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
546         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
547         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
548         * Makefile.in: Regenerated.
549         * configure: Likewise.
550         * asan/Makefile.in: Likewise.
551         * interception/Makefile.in: Likewise.
552         * sanitizer_common/Makefile.in: Likewise.
553         * tsan/Makefile.in: Likewise.
555 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
557         * Makefile.am (AM_MAKEFLAGS): Removed.
558         (MAKEOVERRIDES): Likewise.
559         * asan/Makefile.am: Likewise.
560         * interception/Makefile.am: Likewise.
561         * sanitizer_common/Makefile.am: Likewise.
562         * tsan/Makefile.am: Likewise.
563         * Makefile.in: Regenerated.
564         * asan/Makefile.in: Likewise.
565         * interception/Makefile.in: Likewise.
566         * sanitizer_common/Makefile.in: Likewise.
567         * tsan/Makefile.in: Likewise.
569 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
571         PR sanitizer/55533
572         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
573         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
574         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
575         (AM_MAKEFLAGS): Remove CC and CXX.
576         * interception/Makefile.am: Likewise.
577         * sanitizer_common/Makefile.am: Likewise.
578         * tsan/Makefile.am: Likewise.
579         * Makefile.in: Regenerated.
580         * aclocal.m4: Likewise.
581         * configure: Likewise.
582         * asan/Makefile.in: Likewise.
583         * interception/Makefile.in: Likewise.
584         * sanitizer_common/Makefile.in: Likewise.
585         * tsan/Makefile.in: Likewise.
587 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
589         * configure.tgt: Enable build on powerpc*-linux.
591 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
593         PR 55599/sanitizer
594         * configure.ac: Set enable_static=no on darwin.
595         * configure: Regenerated.
597 2012-12-06  Kostya Serebryany  <kcc@google.com>
599         * All files: Merge from upstream r169392.
601 2012-12-05  Kostya Serebryany  <kcc@google.com>
603         * All files: Merge from upstream r169371.
605 2012-12-04  Kostya Serebryany  <kcc@google.com>
606             Jack Howarth  <howarth@bromo.med.uc.edu>
608         PR 55521/sanitizer
609         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
610         * Makefile.am: Don't build interception subdir when
611         USING_MAC_INTERPOSE defined.
612         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
613         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
614         Compile asan_interceptors_dynamic.cc but not libinterception
615         when USING_MAC_INTERPOSE defined.
616         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
617         * configure: Regenerated.
618         * Makefile.in: Likewise.
619         * asan/Makefile.in: Likewise.
620         * interception/Makefile.in: Likewise.
621         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
622         * asan/asan_mac.cc: Likewise.
623         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
624         and use MISSING_BLOCKS_SUPPORT.
625         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
626         * interception/mach_override/LICENSE.txt: Remove unused file.
627         * interception/mach_override/mach_override.c: Likewise.
628         * interception/mach_override/mach_override.h: Likewise.
629         * interception/mach_override: Remove unused directory.
631 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
633         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
634         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
635         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
636         files.
637         (AM_MAKEFLAGS): Restore CC and CXX.
638         * interception/Makefile.am: Likewise.
639         * sanitizer_common/Makefile.am: Likewise.
640         * tsan/Makefile.am: Likewise.
641         * Makefile.in: Regenerated.
642         * aclocal.m4: Likewise.
643         * configure: Likewise.
644         * asan/Makefile.in: Likewise.
645         * interception/Makefile.in: Likewise.
646         * sanitizer_common/Makefile.in: Likewise.
647         * tsan/Makefile.in: Likewise.
649 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
651         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
652         * configure.ac (ACX_NONCANONICAL_TARGET): New.
653         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
654         files.
655         (AM_MAKEFLAGS): Remove CC and CXX.
656         * interception/Makefile.am: Likewise.
657         * sanitizer_common/Makefile.am: Likewise.
658         * tsan/Makefile.am: Likewise.
659         * Makefile.in: Regenerated.
660         * aclocal.m4: Likewise.
661         * configure: Likewise.
662         * asan/Makefile.in: Likewise.
663         * interception/Makefile.in: Likewise.
664         * sanitizer_common/Makefile.in: Likewise.
665         * tsan/Makefile.in: Likewise.
667 2012-11-27  Kostya Serebryany  <kcc@google.com>
669         * All files: Merge from upstream r168699.
671 2012-11-24  Kostya Serebryany  <kcc@google.com>
672             Jack Howarth  <howarth@bromo.med.uc.edu>
674         * interception/mach_override/mach_override.c: Migrate from llvm.
675         * interception/mach_override/mach_override.h: Likewise.
676         * interception/mach_override/LICENSE.txt: Likewise.
677         * configure.tgt: Add darwin to supported targets.
678         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
679         * interception/Makefile.am: Compile mach_override.c when
680         USING_MACH_OVERRIDE defined.
681         * configure: Regenerated.
682         * interception/Makefile.in: Likewise.
684 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
686         PR sanitizer/55450
687         * tsan/Makefile.am (gcc_version): New.
688         * tsan/Makefile.in: Regenerated.
690 2012-11-23  Kostya Serebryany  <kcc@google.com>
692         * merge.sh: Support tsan, support added/removed files.
693         * tsan/Makefile.am: Remove tsan_printf.cc.
694         * tsan/Makefile.in: Regenerated.
695         * other files: Merge from upstream r168514.
697 2012-11-23  Kostya Serebryany  <kcc@google.com>
699         * merge.sh: New file.
701 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
703         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
704         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
705         automake conditional instead of !MULTISUBDIR32.
706         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
707         for 64-bit multilib.
708         * configure.ac: Check for void * size, source in configure.tgt,
709         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
710         * configure: Regenerated.
711         * Makefile.in: Regenerated.
712         * tsan/Makefile.in: Regenerated.
714 2012-11-22  Wei Mi  <wmi@google.com>
716         * tsan: New directory. Import tsan runtime from llvm.
717         * configure.ac: Add 64 bits tsan build.
718         * Makefile.am: Likewise.
719         * configure: Regenerated.
720         * Makefile.in: Likewise.
722 2012-11-21  Kostya Serebryany  <kcc@google.com>
724         * README.gcc: Extend the README.gcc with mode details.
726 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
728         * sanitizer_common/sanitizer_linux.cc
729         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
730         (internal_mmap): Use it.
731         (internal_filesize): Likewise.
733 2012-11-16  Tom Tromey  <tromey@redhat.com>
735         * configure.ac: Invoke AM_MAINTAINER_MODE.
736         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
737         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
739 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
741         PR other/55333
742         * include/sanitizer/common_interface_defs.h (uhwptr): New type
743         for hardware pointer.
744         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
745         Replace uptr with uhwptr for stack unwind.
747 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
749         * configure.tgt: Enable build on sparc linux.
751 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
753         * configure.ac: Properly set MULTISUBDIR.
754         * asan/Makefile.am (gcc_version): New.
755         * interception/Makefile.am (gcc_version): Likewise.
756         * sanitizer_common/Makefile.am (gcc_version): Likewise.
757         * configure: Regenerated.
758         * asan/Makefile.in: Likewise.
759         * interception/Makefile.in: Likewise.
760         * sanitizer_common/Makefile.in: Likewise.
762 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
764         PR other/55291
765         * configure.ac (--enable-version-specific-runtime-libs): New option.
766         (AC_CANONICAL_SYSTEM): New.
767         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
768         (toolexecdir): Support multilib.
769         (toolexeclibdir): Likewise.
770         (multilib_arg): New.
771         * Makefile.in: Regenerated.
772         * aclocal.m4: Likewise.
773         * configure: Likewise.
774         * asan/Makefile.in: Likewise.
775         * interception/Makefile.in: Likewise.
776         * sanitizer_common/Makefile.in: Likewise.
778 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
780         PR other/55292
781         Backport from upstream revision 167883
782         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
783         __x86_64__ instead of __WORDSIZE.
784         (internal_filesize): Likwise.
786 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
788         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
789         * Makefile.in: Regenerated.
790         * configure: Likewise.
792 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
794         PR other/55304
795         * acinclude.m4: New file.
796         * Makefile.am (ACLOCAL_AMFLAGS): New.
797         * configure.ac (AC_PREREQ): Set to 2.64.
798         (AC_CONFIG_AUX_DIR): Set to "..".
799         * Makefile.in: Regenerated.
800         * aclocal.m4: Likewise.
801         * configure: Likewise.
802         * asan/Makefile.in: Likewise.
803         * interception/Makefile.in: Likewise.
804         * sanitizer_common/Makefile.in: Likewise.
806         * config.guess: Removed.
807         * config.sub: Likewise.
808         * depcomp: Likewise.
809         * install-sh: Likewise.
810         * ltmain.sh: Likewise.
811         * missing: Likewise.
813 2012-11-13  Richard Henderson  <rth@redhat.com>
815         * configure.tgt: New file.
817 2012-11-12  David S. Miller  <davem@davemloft.net>
819         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
821 2012-10-29  Wei Mi  <wmi@google.com>
823         Initial checkin: migrate asan runtime from llvm.