* config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
[official-gcc.git] / libsanitizer / ChangeLog
blob7b9d84c86ad6ed04ea23fad2b4872a201fbe5056
1 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
3         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
4         upstream r215485, r217389, r217391 and r217400.
6 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
8         * sanitizer_common/sanitizer_common_interceptors.inc:
9         Cherry pick upstream r211008.
11 2014-06-11  Richard Biener  <rguenther@suse.de>
13         * asan/asan_linux.cc: Cherry pick upstream r210012.
15 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
17         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
18         r209879.
19         * sanitizer_common/sanitizer_common.h: Likewise.
20         * asan/asan_mapping.h: Likewise.
21         * asan/asan_linux.cc: Likewise.
22         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
23         * sanitizer_common/sanitizer_allocator.h: Likewise.
25 2014-05-23  Marek Polacek  <polacek@redhat.com>
27         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
28         floating-point types.
30 2014-05-22  Kostya Serebryany  <kcc@google.com>
32         * All source files: Merge from upstream r209283.
33         * asan/Makefile.am (asan_files): Added new files.
34         * asan/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.
41 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
43         PR sanitizer/61100
44         * Makefile.am (nodist_saninclude_HEADERS): Install
45         public headers.
46         * Makefile.in: Regenerate.
48 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
50         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
51         Add ../../libbacktrace/sort.c.
52         * libbacktrace/Makefile.in: Regenerate.
53         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
55 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
57         * configure.tgt: Unsupported for little endian PowerPC for now.
59 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
61         PR sanitizer/60055
62         * tsan/tsan_flags.cc (__tsan_default_options): Add
63         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
64         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
66         PR sanitizer/60038
67         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
68         sanitizer_atomic.h and unistd.h.
69         (kThreadDescriptorSize): Made static, remove initializer and const,
70         change type to atomic_uintptr_t.
71         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
72         query glibc version, compute kThreadDescriptorSize depending on
73         glibc version minor number.
74         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
75         kThreadDescriptorSize directly.
77 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
78             Jakub Jelinek  <jakub@redhat.com>
80         PR sanitizer/57316
81         * configure.ac: Check for missing syscalls.
82         * Makefile.am: Likewise.
83         * configure: Regenerate.
84         * Makefile.in: Regenerate.
86 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
88         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
89         (LibbacktraceSymbolizer::Demangle): New declaration.
90         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
91         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
92         method if possible.
93         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
94         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
95         (struct CplusV3DemangleData): New type.
96         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
97         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
98         SymbolizeDataCallback): Use CplusV3Demangle.
99         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
100         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
101         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
102         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
103         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
104         cplus_demangle_init_info, cplus_demangle_mangled_name,
105         cplus_demangle_operators, cplus_demangle_print,
106         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
107         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
108         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
109         Define.
110         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
111         (memcmp, strncmp): Redefine.
112         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
113         ../../libiberty/cp-demangle.c.
114         * libbacktrace/bridge.cc (__asan_internal_memcmp,
115         __asan_internal_strncmp): New functions.
116         * sanitizer_common/Makefile.in: Regenerated.
117         * libbacktrace/Makefile.in: Regenerated.
118         * configure: Regenerated.
119         * configure.ac: Regenerated.
120         * config.h.in: Regenerated.
122         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
123         -isystem $(top_srcdir)/include/system.
124         * sanitizer_common/Makefile.in: Regenerated.
125         * include/system/linux/aio_abi.h: New header.
126         * include/system/linux/mroute.h: New header.
127         * include/system/linux/mroute6.h: New header.
128         * include/system/linux/perf_event.h: New header.
129         * include/system/linux/types.h: New header.
131         PR sanitizer/59136
132         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
133         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
134         and -I/-include flags.
135         * lsan/Makefile.am (liblsan_la_LIBADD): Add
136         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
137         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
138         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
139         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
140         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
141         libbacktrace.
142         * README.gcc: Document that also lsan and ubsan are
143         maintained in compiler-rt upstream.
144         * libbacktrace/Makefile.am: New file.
145         * libbacktrace/backtrace-rename.h: New file.
146         * libbacktrace/backtrace-supported.h.in: New file.
147         * libbacktrace/bridge.cc: New file.
148         * configure.ac: Add tests needed for libbacktrace build
149         within libsanitizer.
150         * sanitizer_common/Makefile.in: Regenerated.
151         * lsan/Makefile.in: Regenerated.
152         * tsan/Makefile.in: Regenerated.
153         * ubsan/Makefile.in: Regenerated.
154         * libbacktrace/Makefile.in: Generated.
155         * config.h.in: Regenerated.
156         * configure: Regenerated.
157         * Makefile.in: Regenerated.
158         * interception/Makefile.in: Regenerated.
159         * asan/Makefile.in: Regenerated.
160         * aclocal.m4: Regenerated.
162 2013-12-19  Kostya Serebryany  <kcc@google.com>
164         * sanitizer_common/sanitizer_platform_limits_posix.cc:
165         workaround for missing definition of EOWNERDEAD, backport
166         from upstream r196779.
168 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
170         * sanitizer_common/sanitizer_platform_limits_posix.h
171         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
172         (__sanitizer_clock_t): Use long long for x32.
174 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
176         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
177         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
178         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
180 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
182         * configure.ac (link_sanitizer_common): Add -lm.
183         * configure: Regenerated.
185 2013-12-05  Kostya Serebryany  <kcc@google.com>
187         * All source files: Merge from upstream r196489.
188         * merge.sh: Add *.S to the list of merged files.
190 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
192         PR sanitizer/59368
193         * Makefile.am (gcc_version): Added gcc_version.
194         * Makefile.in: Regenerate.
196 2013-12-05  Kostya Serebryany  <kcc@google.com>
198         * All source files: Merge from upstream r196090.
199         * tsan/Makefile.am (tsan_files): Added new files.
200         * tsan/Makefile.in: Regenerate.
201         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
202         * sanitizer_common/Makefile.in: Regenerate.
203         * lsan/Makefile.am (lsan_files): Added new files.
204         * lsan/Makefile.in: Regenerate.
206 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
207             Yury Gribov  <y.gribov@samsung.com>
209         PR sanitizer/59063
210         * libsanitizer.spec.in: Add spec file to hold link flags for
211         various sanitizer libs.
212         * configure.ac: Check whether clock_* routines come from librt.
213         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
214         configure.ac.
215         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
216         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
217         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
218         * asan/Makefile.in: Regenerate.
219         * interception/Makefile.in: Regenerate.
220         * lsan/Makefile.in: Regenerate.
221         * sanitizer_common/Makefile.in: Regenerate.
222         * tsan/Makefile.in: Regenerate.
223         * ubsan/Makefile.in: Regenerate.
224         * Makefile.in: Regenerate.
225         * configure: Regenerate.
227 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
228             Yury Gribov  <y.gribov@samsung.com>
230         PR sanitizer/59106
231         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
232         don't need it.
233         * ubsan/Makefile.in: Regenerated.
235 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
237         PR sanitizer/59061
238         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
239         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
240         * configure: Regenerated.
241         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
242         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
243         * lsan/Makefile.in: Regenerated.
245 2013-11-22  Mike Stump  <mikestump@comcast.net>
247         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
248         change from upstream to fix build.
250 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
252         PR sanitizer/59106
253         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
254         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
255         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
256         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
257         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
258         * asan/Makefile.in: Regenerate.
259         * interception/Makefile.in: Regenerate.
260         * tsan/Makefile.in: Regenerate.
261         * lsan/Makefile.in: Regenerate.
262         * sanitizer_common/Makefile.in: Regenerate.
264 2013-11-15  Kostya Serebryany  <kcc@google.com>
266         PR sanitizer/58994
267         Backport from upstream revision 194573
268         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
269         back to the original functions in the common libsanitizer
270         interceptors and the __cxa_atexit() interceptor on Darwin.
272 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
274         PR sanitizer/59009
275         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
276         ifdef out more source.
278 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
280         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
281         ifdef out almost the whole source.
282         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
284 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
286         PR sanitizer/59018
287         * sanitizer_common/sanitizer_platform_limits_posix.cc
288         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
289         defined.
291 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
293         PR sanitizer/59018
294         * sanitizer_common/sanitizer_platform_limits_linux.cc
295         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
296         defined.
297         * sanitizer_common/sanitizer_platform_limits_posix.h
298         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
299         defined.
300         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
301         is defined.
302         (__sanitizer___kernel_gid_t): Likewise.
303         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
304         is defined.
306 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
308         PR sanitizer/59018
309         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
310         2 64-bit integers to save and restore fn and arg.  Properly load
311         newtls/child_tidptr into r8/r10.
313 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
315         PR sanitizer/59018
316         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
317         internal_munmap, internal_open, internal_read, internal_write,
318         internal_stat, internal_lstat, internal_fstat, internal_readlink,
319         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
320         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
321         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
323 2013-11-04  Kostya Serebryany  <kcc@google.com>
325         * All source files: Merge from upstream r191666.
326         * merge.sh: Added lsan.
327         * configure.ac (AC_CONFIG_FILES): Added lsan.
328         * Makefile.am (SUBDIRS): Added lsan.
329         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
330         * asan/Makefile.am (asan_files): Added new files.
331         (libasan_la_LIBADD): Added a dependency on lsan.
332         * lsan/Makefile.am: New file.
333         * asan/Makefile.in: Regenerate.
334         * lsan/Makefile.in: Regenerate.
335         * Makefile.in: Regenerate.
336         * configure: Regenerate.
337         * sanitizer_common/Makefile.in: Regenerate.
339 2013-09-20  Alan Modra  <amodra@gmail.com>
341         * configure: Regenerate.
343 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
345         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
346         libinterception.la for Darwin.
347         * ubsan/Makefile.in: Regenerate.
349 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
351         * Makefile.am (SUBDIRS): Add ubsan.
352         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
353         * merge.sh: Merge ubsan.
354         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
355         * sanitizer_common/sanitizer_printf.cc: Likewise.
356         * sanitizer_common/sanitizer_common.h: Likewise.
357         * ubsan: New directory. Import ubsan runtime from llvm.
359 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
361         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
362         Cherry pick upstream r182922.
364 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
366         * configure.tgt: Add ARM pattern.
368 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
370         PR other/43620
371         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
372         * Makefile.in: Regenerated.
373         * asan/Makefile.in: Regenerated.
374         * interception/Makefile.in: Regenerated.
375         * sanitizer_common/Makefile.in: Regenerated.
376         * tsan/Makefile.in: Regenerated.
378 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
380         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
381         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
382         0x4fffffffffULL.
384 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
386         PR sanitizer/56393
387         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
388         libasan_preinit.o.
389         (libasan_preinit.o): Depend on asan_preinit.o.
390         * asan/Makefile.in: Regenerated.
391         * asan/asan_preinit.cc: New file, synced from upstream.
392         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
394 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
396         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
397         dynamic/asan_interceptors_dynamic.cc.
398         * asan/Makefile.in: Regenerated.
399         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
401 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
403         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
404         defined.  Add used attribute.
406 2013-02-21  Kostya Serebryany  <kcc@google.com>
408         * All source files: Merge from upstream r175733.
409         * sanitizer_common/Makefile.am: Added a new file.
410         * sanitizer_common/Makefile.in: Regenerated.
412 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
414         PR bootstrap/56327
415         * interception/interception.h (OFF_T): Merged from upstream
416         r175140.
418 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
420         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
422 2013-02-13  Kostya Serebryany  <kcc@google.com>
424         PR sanitizer/56128
425         * All source files: Merge from upstream r175049.
426         * interception/Makefile.am: added include path.
427         * interception/Makefile.in: Regenerated.
429 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
431         * configure.tgt: Disable build on darwin9 and earlier.
433 2013-01-23  Kostya Serebryany  <kcc@google.com>
435         PR sanitizer/55989
436         * All source files: Merge from upstream r173241.
437         * merge.sh: Support merging .inc files.
439 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
441         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
442         -Wno-c99-extensions.
443         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
444         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
445         * sanitizer_common/Makefile.in: Regenerated.
446         * interception/Makefile.in: Regenerated.
447         * asan/Makefile.in: Regenerated.
449 2013-01-10  Wei Mi  <wmi@google.com>
451         PR sanitizer/55488
452         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
453         * tsan/Makefile.in: Regenerated.
454         * tsan/tsan_rtl.h: Enable HACKY_CALL.
456 2013-01-10  Kostya Serebryany  <kcc@google.com>
458         * All source files: Merge from upstream r171973.
459         * sanitizer_common/Makefile.am: Added new files.
460         * asan/Makefile.am: Likewise.
461         * tsan/Makefile.am: Likewise.
462         * sanitizer_common/Makefile.in: Regenerated.
463         * asan/Makefile.in: Likewise.
464         * tsan/Makefile.in: Likewise.
466 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
468         * asan/Makefile.am (libasan_la_LIBADD): Replace
469         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
470         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
471         * Makefile.in: Regenerated.
472         * configure: Likewise.
473         * asan/Makefile.in: Likewise.
474         * interception/Makefile.in: Likewise.
475         * sanitizer_common/Makefile.in: Likewise.
476         * tsan/Makefile.in: Likewise.
478 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
480         * Makefile.am (AM_MAKEFLAGS): Restored.
481         * interception/Makefile.am: Likewise.
482         * sanitizer_common/Makefile.am: Likewise.
483         * tsan/Makefile.am: Likewise.
484         * Makefile.in: Regenerated.
485         * asan/Makefile.in: Likewise.
486         * interception/Makefile.in: Likewise.
487         * sanitizer_common/Makefile.in: Likewise.
488         * tsan/Makefile.in: Likewise.
490 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
492         * Makefile.am (MAKEOVERRIDES): Restored.
493         * asan/Makefile.am: Likewise.
494         * interception/Makefile.am: Likewise.
495         * sanitizer_common/Makefile.am: Likewise.
496         * tsan/Makefile.am: Likewise.
497         * Makefile.in: Regenerated.
498         * asan/Makefile.in: Likewise.
499         * interception/Makefile.in: Likewise.
500         * sanitizer_common/Makefile.in: Likewise.
501         * tsan/Makefile.in: Likewise.
503 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
505         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
506         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
507         * Makefile.in: Regenerated.
508         * configure: Likewise.
509         * asan/Makefile.in: Likewise.
510         * interception/Makefile.in: Likewise.
511         * sanitizer_common/Makefile.in: Likewise.
512         * tsan/Makefile.in: Likewise.
514 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
516         * Makefile.am (AM_MAKEFLAGS): Removed.
517         (MAKEOVERRIDES): Likewise.
518         * asan/Makefile.am: Likewise.
519         * interception/Makefile.am: Likewise.
520         * sanitizer_common/Makefile.am: Likewise.
521         * tsan/Makefile.am: Likewise.
522         * Makefile.in: Regenerated.
523         * asan/Makefile.in: Likewise.
524         * interception/Makefile.in: Likewise.
525         * sanitizer_common/Makefile.in: Likewise.
526         * tsan/Makefile.in: Likewise.
528 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
530         PR sanitizer/55533
531         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
532         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
533         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
534         (AM_MAKEFLAGS): Remove CC and CXX.
535         * interception/Makefile.am: Likewise.
536         * sanitizer_common/Makefile.am: Likewise.
537         * tsan/Makefile.am: Likewise.
538         * Makefile.in: Regenerated.
539         * aclocal.m4: Likewise.
540         * configure: Likewise.
541         * asan/Makefile.in: Likewise.
542         * interception/Makefile.in: Likewise.
543         * sanitizer_common/Makefile.in: Likewise.
544         * tsan/Makefile.in: Likewise.
546 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
548         * configure.tgt: Enable build on powerpc*-linux.
550 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
552         PR 55599/sanitizer
553         * configure.ac: Set enable_static=no on darwin.
554         * configure: Regenerated.
556 2012-12-06  Kostya Serebryany  <kcc@google.com>
558         * All files: Merge from upstream r169392.
560 2012-12-05  Kostya Serebryany  <kcc@google.com>
562         * All files: Merge from upstream r169371.
564 2012-12-04  Kostya Serebryany  <kcc@google.com>
565             Jack Howarth  <howarth@bromo.med.uc.edu>
567         PR 55521/sanitizer
568         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
569         * Makefile.am: Don't build interception subdir when
570         USING_MAC_INTERPOSE defined.
571         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
572         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
573         Compile asan_interceptors_dynamic.cc but not libinterception
574         when USING_MAC_INTERPOSE defined.
575         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
576         * configure: Regenerated.
577         * Makefile.in: Likewise.
578         * asan/Makefile.in: Likewise.
579         * interception/Makefile.in: Likewise.
580         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
581         * asan/asan_mac.cc: Likewise.
582         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
583         and use MISSING_BLOCKS_SUPPORT.
584         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
585         * interception/mach_override/LICENSE.txt: Remove unused file.
586         * interception/mach_override/mach_override.c: Likewise.
587         * interception/mach_override/mach_override.h: Likewise.
588         * interception/mach_override: Remove unused directory.
590 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
592         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
593         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
594         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
595         files.
596         (AM_MAKEFLAGS): Restore CC and CXX.
597         * interception/Makefile.am: Likewise.
598         * sanitizer_common/Makefile.am: Likewise.
599         * tsan/Makefile.am: Likewise.
600         * Makefile.in: Regenerated.
601         * aclocal.m4: Likewise.
602         * configure: Likewise.
603         * asan/Makefile.in: Likewise.
604         * interception/Makefile.in: Likewise.
605         * sanitizer_common/Makefile.in: Likewise.
606         * tsan/Makefile.in: Likewise.
608 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
610         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
611         * configure.ac (ACX_NONCANONICAL_TARGET): New.
612         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
613         files.
614         (AM_MAKEFLAGS): Remove CC and CXX.
615         * interception/Makefile.am: Likewise.
616         * sanitizer_common/Makefile.am: Likewise.
617         * tsan/Makefile.am: Likewise.
618         * Makefile.in: Regenerated.
619         * aclocal.m4: Likewise.
620         * configure: Likewise.
621         * asan/Makefile.in: Likewise.
622         * interception/Makefile.in: Likewise.
623         * sanitizer_common/Makefile.in: Likewise.
624         * tsan/Makefile.in: Likewise.
626 2012-11-27  Kostya Serebryany  <kcc@google.com>
628         * All files: Merge from upstream r168699.
630 2012-11-24  Kostya Serebryany  <kcc@google.com>
631             Jack Howarth  <howarth@bromo.med.uc.edu>
633         * interception/mach_override/mach_override.c: Migrate from llvm.
634         * interception/mach_override/mach_override.h: Likewise.
635         * interception/mach_override/LICENSE.txt: Likewise.
636         * configure.tgt: Add darwin to supported targets.
637         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
638         * interception/Makefile.am: Compile mach_override.c when
639         USING_MACH_OVERRIDE defined.
640         * configure: Regenerated.
641         * interception/Makefile.in: Likewise.
643 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
645         PR sanitizer/55450
646         * tsan/Makefile.am (gcc_version): New.
647         * tsan/Makefile.in: Regenerated.
649 2012-11-23  Kostya Serebryany  <kcc@google.com>
651         * merge.sh: Support tsan, support added/removed files.
652         * tsan/Makefile.am: Remove tsan_printf.cc.
653         * tsan/Makefile.in: Regenerated.
654         * other files: Merge from upstream r168514.
656 2012-11-23  Kostya Serebryany  <kcc@google.com>
658         * merge.sh: New file.
660 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
662         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
663         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
664         automake conditional instead of !MULTISUBDIR32.
665         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
666         for 64-bit multilib.
667         * configure.ac: Check for void * size, source in configure.tgt,
668         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
669         * configure: Regenerated.
670         * Makefile.in: Regenerated.
671         * tsan/Makefile.in: Regenerated.
673 2012-11-22  Wei Mi  <wmi@google.com>
675         * tsan: New directory. Import tsan runtime from llvm.
676         * configure.ac: Add 64 bits tsan build.
677         * Makefile.am: Likewise.
678         * configure: Regenerated.
679         * Makefile.in: Likewise.
681 2012-11-21  Kostya Serebryany  <kcc@google.com>
683         * README.gcc: Extend the README.gcc with mode details.
685 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
687         * sanitizer_common/sanitizer_linux.cc
688         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
689         (internal_mmap): Use it.
690         (internal_filesize): Likewise.
692 2012-11-16  Tom Tromey  <tromey@redhat.com>
694         * configure.ac: Invoke AM_MAINTAINER_MODE.
695         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
696         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
698 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
700         PR other/55333
701         * include/sanitizer/common_interface_defs.h (uhwptr): New type
702         for hardware pointer.
703         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
704         Replace uptr with uhwptr for stack unwind.
706 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
708         * configure.tgt: Enable build on sparc linux.
710 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
712         * configure.ac: Properly set MULTISUBDIR.
713         * asan/Makefile.am (gcc_version): New.
714         * interception/Makefile.am (gcc_version): Likewise.
715         * sanitizer_common/Makefile.am (gcc_version): Likewise.
716         * configure: Regenerated.
717         * asan/Makefile.in: Likewise.
718         * interception/Makefile.in: Likewise.
719         * sanitizer_common/Makefile.in: Likewise.
721 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
723         PR other/55291
724         * configure.ac (--enable-version-specific-runtime-libs): New option.
725         (AC_CANONICAL_SYSTEM): New.
726         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
727         (toolexecdir): Support multilib.
728         (toolexeclibdir): Likewise.
729         (multilib_arg): New.
730         * Makefile.in: Regenerated.
731         * aclocal.m4: Likewise.
732         * configure: Likewise.
733         * asan/Makefile.in: Likewise.
734         * interception/Makefile.in: Likewise.
735         * sanitizer_common/Makefile.in: Likewise.
737 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
739         PR other/55292
740         Backport from upstream revision 167883
741         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
742         __x86_64__ instead of __WORDSIZE.
743         (internal_filesize): Likwise.
745 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
747         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
748         * Makefile.in: Regenerated.
749         * configure: Likewise.
751 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
753         PR other/55304
754         * acinclude.m4: New file.
755         * Makefile.am (ACLOCAL_AMFLAGS): New.
756         * configure.ac (AC_PREREQ): Set to 2.64.
757         (AC_CONFIG_AUX_DIR): Set to "..".
758         * Makefile.in: Regenerated.
759         * aclocal.m4: Likewise.
760         * configure: Likewise.
761         * asan/Makefile.in: Likewise.
762         * interception/Makefile.in: Likewise.
763         * sanitizer_common/Makefile.in: Likewise.
765         * config.guess: Removed.
766         * config.sub: Likewise.
767         * depcomp: Likewise.
768         * install-sh: Likewise.
769         * ltmain.sh: Likewise.
770         * missing: Likewise.
772 2012-11-13  Richard Henderson  <rth@redhat.com>
774         * configure.tgt: New file.
776 2012-11-12  David S. Miller  <davem@davemloft.net>
778         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
780 2012-10-29  Wei Mi  <wmi@google.com>
782         Initial checkin: migrate asan runtime from llvm.