1 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
3 * sanitizer_common/sanitizer_common_interceptors.inc:
4 Cherry pick upstream r211008.
6 2014-06-11 Richard Biener <rguenther@suse.de>
8 * asan/asan_linux.cc: Cherry pick upstream r210012.
10 2014-05-30 Jakub Jelinek <jakub@redhat.com>
12 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
14 * sanitizer_common/sanitizer_common.h: Likewise.
15 * asan/asan_mapping.h: Likewise.
16 * asan/asan_linux.cc: Likewise.
17 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
18 * sanitizer_common/sanitizer_allocator.h: Likewise.
20 2014-05-23 Marek Polacek <polacek@redhat.com>
22 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
25 2014-05-22 Kostya Serebryany <kcc@google.com>
27 * All source files: Merge from upstream r209283.
28 * asan/Makefile.am (asan_files): Added new files.
29 * asan/Makefile.in: Regenerate.
30 * tsan/Makefile.am (tsan_files): Added new files.
31 * tsan/Makefile.in: Regenerate.
32 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
34 * sanitizer_common/Makefile.in: Regenerate.
36 2014-05-14 Yury Gribov <y.gribov@samsung.com>
39 * Makefile.am (nodist_saninclude_HEADERS): Install
41 * Makefile.in: Regenerate.
43 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
45 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
46 Add ../../libbacktrace/sort.c.
47 * libbacktrace/Makefile.in: Regenerate.
48 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
50 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
52 * configure.tgt: Unsupported for little endian PowerPC for now.
54 2014-02-04 Jakub Jelinek <jakub@redhat.com>
57 * tsan/tsan_flags.cc (__tsan_default_options): Add
58 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
59 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
62 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
63 sanitizer_atomic.h and unistd.h.
64 (kThreadDescriptorSize): Made static, remove initializer and const,
65 change type to atomic_uintptr_t.
66 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
67 query glibc version, compute kThreadDescriptorSize depending on
68 glibc version minor number.
69 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
70 kThreadDescriptorSize directly.
72 2014-01-23 Yury Gribov <y.gribov@samsung.com>
73 Jakub Jelinek <jakub@redhat.com>
76 * configure.ac: Check for missing syscalls.
77 * Makefile.am: Likewise.
78 * configure: Regenerate.
79 * Makefile.in: Regenerate.
81 2014-01-09 Jakub Jelinek <jakub@redhat.com>
83 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
84 (LibbacktraceSymbolizer::Demangle): New declaration.
85 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
86 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
88 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
89 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
90 (struct CplusV3DemangleData): New type.
91 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
92 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
93 SymbolizeDataCallback): Use CplusV3Demangle.
94 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
95 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
96 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
97 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
98 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
99 cplus_demangle_init_info, cplus_demangle_mangled_name,
100 cplus_demangle_operators, cplus_demangle_print,
101 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
102 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
103 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
105 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
106 (memcmp, strncmp): Redefine.
107 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
108 ../../libiberty/cp-demangle.c.
109 * libbacktrace/bridge.cc (__asan_internal_memcmp,
110 __asan_internal_strncmp): New functions.
111 * sanitizer_common/Makefile.in: Regenerated.
112 * libbacktrace/Makefile.in: Regenerated.
113 * configure: Regenerated.
114 * configure.ac: Regenerated.
115 * config.h.in: Regenerated.
117 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
118 -isystem $(top_srcdir)/include/system.
119 * sanitizer_common/Makefile.in: Regenerated.
120 * include/system/linux/aio_abi.h: New header.
121 * include/system/linux/mroute.h: New header.
122 * include/system/linux/mroute6.h: New header.
123 * include/system/linux/perf_event.h: New header.
124 * include/system/linux/types.h: New header.
127 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
128 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
129 and -I/-include flags.
130 * lsan/Makefile.am (liblsan_la_LIBADD): Add
131 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
132 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
133 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
134 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
135 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
137 * README.gcc: Document that also lsan and ubsan are
138 maintained in compiler-rt upstream.
139 * libbacktrace/Makefile.am: New file.
140 * libbacktrace/backtrace-rename.h: New file.
141 * libbacktrace/backtrace-supported.h.in: New file.
142 * libbacktrace/bridge.cc: New file.
143 * configure.ac: Add tests needed for libbacktrace build
145 * sanitizer_common/Makefile.in: Regenerated.
146 * lsan/Makefile.in: Regenerated.
147 * tsan/Makefile.in: Regenerated.
148 * ubsan/Makefile.in: Regenerated.
149 * libbacktrace/Makefile.in: Generated.
150 * config.h.in: Regenerated.
151 * configure: Regenerated.
152 * Makefile.in: Regenerated.
153 * interception/Makefile.in: Regenerated.
154 * asan/Makefile.in: Regenerated.
155 * aclocal.m4: Regenerated.
157 2013-12-19 Kostya Serebryany <kcc@google.com>
159 * sanitizer_common/sanitizer_platform_limits_posix.cc:
160 workaround for missing definition of EOWNERDEAD, backport
161 from upstream r196779.
163 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
165 * sanitizer_common/sanitizer_platform_limits_posix.h
166 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
167 (__sanitizer_clock_t): Use long long for x32.
169 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
171 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
172 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
173 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
175 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
177 * configure.ac (link_sanitizer_common): Add -lm.
178 * configure: Regenerated.
180 2013-12-05 Kostya Serebryany <kcc@google.com>
182 * All source files: Merge from upstream r196489.
183 * merge.sh: Add *.S to the list of merged files.
185 2013-12-05 Yury Gribov <y.gribov@samsung.com>
188 * Makefile.am (gcc_version): Added gcc_version.
189 * Makefile.in: Regenerate.
191 2013-12-05 Kostya Serebryany <kcc@google.com>
193 * All source files: Merge from upstream r196090.
194 * tsan/Makefile.am (tsan_files): Added new files.
195 * tsan/Makefile.in: Regenerate.
196 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
197 * sanitizer_common/Makefile.in: Regenerate.
198 * lsan/Makefile.am (lsan_files): Added new files.
199 * lsan/Makefile.in: Regenerate.
201 2013-11-29 Jakub Jelinek <jakub@redhat.com>
202 Yury Gribov <y.gribov@samsung.com>
205 * libsanitizer.spec.in: Add spec file to hold link flags for
206 various sanitizer libs.
207 * configure.ac: Check whether clock_* routines come from librt.
208 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
210 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
211 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
212 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
213 * asan/Makefile.in: Regenerate.
214 * interception/Makefile.in: Regenerate.
215 * lsan/Makefile.in: Regenerate.
216 * sanitizer_common/Makefile.in: Regenerate.
217 * tsan/Makefile.in: Regenerate.
218 * ubsan/Makefile.in: Regenerate.
219 * Makefile.in: Regenerate.
220 * configure: Regenerate.
222 2013-11-28 Jakub Jelinek <jakub@redhat.com>
223 Yury Gribov <y.gribov@samsung.com>
226 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
228 * ubsan/Makefile.in: Regenerated.
230 2013-11-22 Jakub Jelinek <jakub@redhat.com>
233 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
234 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
235 * configure: Regenerated.
236 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
237 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
238 * lsan/Makefile.in: Regenerated.
240 2013-11-22 Mike Stump <mikestump@comcast.net>
242 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
243 change from upstream to fix build.
245 2013-11-18 Yury Gribov <y.gribov@samsung.com>
248 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
249 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
250 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
251 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
252 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
253 * asan/Makefile.in: Regenerate.
254 * interception/Makefile.in: Regenerate.
255 * tsan/Makefile.in: Regenerate.
256 * lsan/Makefile.in: Regenerate.
257 * sanitizer_common/Makefile.in: Regenerate.
259 2013-11-15 Kostya Serebryany <kcc@google.com>
262 Backport from upstream revision 194573
263 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
264 back to the original functions in the common libsanitizer
265 interceptors and the __cxa_atexit() interceptor on Darwin.
267 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
270 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
271 ifdef out more source.
273 2013-11-12 Jakub Jelinek <jakub@redhat.com>
275 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
276 ifdef out almost the whole source.
277 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
279 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
282 * sanitizer_common/sanitizer_platform_limits_posix.cc
283 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
286 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
289 * sanitizer_common/sanitizer_platform_limits_linux.cc
290 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
292 * sanitizer_common/sanitizer_platform_limits_posix.h
293 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
295 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
297 (__sanitizer___kernel_gid_t): Likewise.
298 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
301 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
304 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
305 2 64-bit integers to save and restore fn and arg. Properly load
306 newtls/child_tidptr into r8/r10.
308 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
311 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
312 internal_munmap, internal_open, internal_read, internal_write,
313 internal_stat, internal_lstat, internal_fstat, internal_readlink,
314 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
315 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
316 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
318 2013-11-04 Kostya Serebryany <kcc@google.com>
320 * All source files: Merge from upstream r191666.
321 * merge.sh: Added lsan.
322 * configure.ac (AC_CONFIG_FILES): Added lsan.
323 * Makefile.am (SUBDIRS): Added lsan.
324 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
325 * asan/Makefile.am (asan_files): Added new files.
326 (libasan_la_LIBADD): Added a dependency on lsan.
327 * lsan/Makefile.am: New file.
328 * asan/Makefile.in: Regenerate.
329 * lsan/Makefile.in: Regenerate.
330 * Makefile.in: Regenerate.
331 * configure: Regenerate.
332 * sanitizer_common/Makefile.in: Regenerate.
334 2013-09-20 Alan Modra <amodra@gmail.com>
336 * configure: Regenerate.
338 2013-09-01 Iain Sandoe <iain@codesourcery.com>
340 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
341 libinterception.la for Darwin.
342 * ubsan/Makefile.in: Regenerate.
344 2013-08-30 Jakub Jelinek <jakub@redhat.com>
346 * Makefile.am (SUBDIRS): Add ubsan.
347 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
348 * merge.sh: Merge ubsan.
349 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
350 * sanitizer_common/sanitizer_printf.cc: Likewise.
351 * sanitizer_common/sanitizer_common.h: Likewise.
352 * ubsan: New directory. Import ubsan runtime from llvm.
354 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
356 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
357 Cherry pick upstream r182922.
359 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
361 * configure.tgt: Add ARM pattern.
363 2013-03-22 Jakub Jelinek <jakub@redhat.com>
366 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
367 * Makefile.in: Regenerated.
368 * asan/Makefile.in: Regenerated.
369 * interception/Makefile.in: Regenerated.
370 * sanitizer_common/Makefile.in: Regenerated.
371 * tsan/Makefile.in: Regenerated.
373 2013-02-28 Jakub Jelinek <jakub@redhat.com>
375 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
376 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
379 2013-02-22 Jakub Jelinek <jakub@redhat.com>
382 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
384 (libasan_preinit.o): Depend on asan_preinit.o.
385 * asan/Makefile.in: Regenerated.
386 * asan/asan_preinit.cc: New file, synced from upstream.
387 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
389 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
391 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
392 dynamic/asan_interceptors_dynamic.cc.
393 * asan/Makefile.in: Regenerated.
394 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
396 2013-02-21 Jakub Jelinek <jakub@redhat.com>
398 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
399 defined. Add used attribute.
401 2013-02-21 Kostya Serebryany <kcc@google.com>
403 * All source files: Merge from upstream r175733.
404 * sanitizer_common/Makefile.am: Added a new file.
405 * sanitizer_common/Makefile.in: Regenerated.
407 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
410 * interception/interception.h (OFF_T): Merged from upstream
413 2013-02-13 Jakub Jelinek <jakub@redhat.com>
415 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
417 2013-02-13 Kostya Serebryany <kcc@google.com>
420 * All source files: Merge from upstream r175049.
421 * interception/Makefile.am: added include path.
422 * interception/Makefile.in: Regenerated.
424 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
426 * configure.tgt: Disable build on darwin9 and earlier.
428 2013-01-23 Kostya Serebryany <kcc@google.com>
431 * All source files: Merge from upstream r173241.
432 * merge.sh: Support merging .inc files.
434 2013-01-16 Jakub Jelinek <jakub@redhat.com>
436 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
438 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
439 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
440 * sanitizer_common/Makefile.in: Regenerated.
441 * interception/Makefile.in: Regenerated.
442 * asan/Makefile.in: Regenerated.
444 2013-01-10 Wei Mi <wmi@google.com>
447 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
448 * tsan/Makefile.in: Regenerated.
449 * tsan/tsan_rtl.h: Enable HACKY_CALL.
451 2013-01-10 Kostya Serebryany <kcc@google.com>
453 * All source files: Merge from upstream r171973.
454 * sanitizer_common/Makefile.am: Added new files.
455 * asan/Makefile.am: Likewise.
456 * tsan/Makefile.am: Likewise.
457 * sanitizer_common/Makefile.in: Regenerated.
458 * asan/Makefile.in: Likewise.
459 * tsan/Makefile.in: Likewise.
461 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
463 * asan/Makefile.am (libasan_la_LIBADD): Replace
464 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
465 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
466 * Makefile.in: Regenerated.
467 * configure: Likewise.
468 * asan/Makefile.in: Likewise.
469 * interception/Makefile.in: Likewise.
470 * sanitizer_common/Makefile.in: Likewise.
471 * tsan/Makefile.in: Likewise.
473 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
475 * Makefile.am (AM_MAKEFLAGS): Restored.
476 * interception/Makefile.am: Likewise.
477 * sanitizer_common/Makefile.am: Likewise.
478 * tsan/Makefile.am: Likewise.
479 * Makefile.in: Regenerated.
480 * asan/Makefile.in: Likewise.
481 * interception/Makefile.in: Likewise.
482 * sanitizer_common/Makefile.in: Likewise.
483 * tsan/Makefile.in: Likewise.
485 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
487 * Makefile.am (MAKEOVERRIDES): Restored.
488 * asan/Makefile.am: Likewise.
489 * interception/Makefile.am: Likewise.
490 * sanitizer_common/Makefile.am: Likewise.
491 * tsan/Makefile.am: Likewise.
492 * Makefile.in: Regenerated.
493 * asan/Makefile.in: Likewise.
494 * interception/Makefile.in: Likewise.
495 * sanitizer_common/Makefile.in: Likewise.
496 * tsan/Makefile.in: Likewise.
498 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
500 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
501 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
502 * Makefile.in: Regenerated.
503 * configure: Likewise.
504 * asan/Makefile.in: Likewise.
505 * interception/Makefile.in: Likewise.
506 * sanitizer_common/Makefile.in: Likewise.
507 * tsan/Makefile.in: Likewise.
509 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
511 * Makefile.am (AM_MAKEFLAGS): Removed.
512 (MAKEOVERRIDES): Likewise.
513 * asan/Makefile.am: Likewise.
514 * interception/Makefile.am: Likewise.
515 * sanitizer_common/Makefile.am: Likewise.
516 * tsan/Makefile.am: Likewise.
517 * Makefile.in: Regenerated.
518 * asan/Makefile.in: Likewise.
519 * interception/Makefile.in: Likewise.
520 * sanitizer_common/Makefile.in: Likewise.
521 * tsan/Makefile.in: Likewise.
523 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
526 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
527 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
528 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
529 (AM_MAKEFLAGS): Remove CC and CXX.
530 * interception/Makefile.am: Likewise.
531 * sanitizer_common/Makefile.am: Likewise.
532 * tsan/Makefile.am: Likewise.
533 * Makefile.in: Regenerated.
534 * aclocal.m4: Likewise.
535 * configure: Likewise.
536 * asan/Makefile.in: Likewise.
537 * interception/Makefile.in: Likewise.
538 * sanitizer_common/Makefile.in: Likewise.
539 * tsan/Makefile.in: Likewise.
541 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
543 * configure.tgt: Enable build on powerpc*-linux.
545 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
548 * configure.ac: Set enable_static=no on darwin.
549 * configure: Regenerated.
551 2012-12-06 Kostya Serebryany <kcc@google.com>
553 * All files: Merge from upstream r169392.
555 2012-12-05 Kostya Serebryany <kcc@google.com>
557 * All files: Merge from upstream r169371.
559 2012-12-04 Kostya Serebryany <kcc@google.com>
560 Jack Howarth <howarth@bromo.med.uc.edu>
563 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
564 * Makefile.am: Don't build interception subdir when
565 USING_MAC_INTERPOSE defined.
566 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
567 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
568 Compile asan_interceptors_dynamic.cc but not libinterception
569 when USING_MAC_INTERPOSE defined.
570 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
571 * configure: Regenerated.
572 * Makefile.in: Likewise.
573 * asan/Makefile.in: Likewise.
574 * interception/Makefile.in: Likewise.
575 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
576 * asan/asan_mac.cc: Likewise.
577 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
578 and use MISSING_BLOCKS_SUPPORT.
579 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
580 * interception/mach_override/LICENSE.txt: Remove unused file.
581 * interception/mach_override/mach_override.c: Likewise.
582 * interception/mach_override/mach_override.h: Likewise.
583 * interception/mach_override: Remove unused directory.
585 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
587 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
588 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
589 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
591 (AM_MAKEFLAGS): Restore CC and CXX.
592 * interception/Makefile.am: Likewise.
593 * sanitizer_common/Makefile.am: Likewise.
594 * tsan/Makefile.am: Likewise.
595 * Makefile.in: Regenerated.
596 * aclocal.m4: Likewise.
597 * configure: Likewise.
598 * asan/Makefile.in: Likewise.
599 * interception/Makefile.in: Likewise.
600 * sanitizer_common/Makefile.in: Likewise.
601 * tsan/Makefile.in: Likewise.
603 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
605 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
606 * configure.ac (ACX_NONCANONICAL_TARGET): New.
607 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
609 (AM_MAKEFLAGS): Remove CC and CXX.
610 * interception/Makefile.am: Likewise.
611 * sanitizer_common/Makefile.am: Likewise.
612 * tsan/Makefile.am: Likewise.
613 * Makefile.in: Regenerated.
614 * aclocal.m4: Likewise.
615 * configure: Likewise.
616 * asan/Makefile.in: Likewise.
617 * interception/Makefile.in: Likewise.
618 * sanitizer_common/Makefile.in: Likewise.
619 * tsan/Makefile.in: Likewise.
621 2012-11-27 Kostya Serebryany <kcc@google.com>
623 * All files: Merge from upstream r168699.
625 2012-11-24 Kostya Serebryany <kcc@google.com>
626 Jack Howarth <howarth@bromo.med.uc.edu>
628 * interception/mach_override/mach_override.c: Migrate from llvm.
629 * interception/mach_override/mach_override.h: Likewise.
630 * interception/mach_override/LICENSE.txt: Likewise.
631 * configure.tgt: Add darwin to supported targets.
632 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
633 * interception/Makefile.am: Compile mach_override.c when
634 USING_MACH_OVERRIDE defined.
635 * configure: Regenerated.
636 * interception/Makefile.in: Likewise.
638 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
641 * tsan/Makefile.am (gcc_version): New.
642 * tsan/Makefile.in: Regenerated.
644 2012-11-23 Kostya Serebryany <kcc@google.com>
646 * merge.sh: Support tsan, support added/removed files.
647 * tsan/Makefile.am: Remove tsan_printf.cc.
648 * tsan/Makefile.in: Regenerated.
649 * other files: Merge from upstream r168514.
651 2012-11-23 Kostya Serebryany <kcc@google.com>
653 * merge.sh: New file.
655 2012-11-23 Jakub Jelinek <jakub@redhat.com>
657 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
658 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
659 automake conditional instead of !MULTISUBDIR32.
660 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
662 * configure.ac: Check for void * size, source in configure.tgt,
663 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
664 * configure: Regenerated.
665 * Makefile.in: Regenerated.
666 * tsan/Makefile.in: Regenerated.
668 2012-11-22 Wei Mi <wmi@google.com>
670 * tsan: New directory. Import tsan runtime from llvm.
671 * configure.ac: Add 64 bits tsan build.
672 * Makefile.am: Likewise.
673 * configure: Regenerated.
674 * Makefile.in: Likewise.
676 2012-11-21 Kostya Serebryany <kcc@google.com>
678 * README.gcc: Extend the README.gcc with mode details.
680 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
682 * sanitizer_common/sanitizer_linux.cc
683 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
684 (internal_mmap): Use it.
685 (internal_filesize): Likewise.
687 2012-11-16 Tom Tromey <tromey@redhat.com>
689 * configure.ac: Invoke AM_MAINTAINER_MODE.
690 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
691 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
693 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
696 * include/sanitizer/common_interface_defs.h (uhwptr): New type
697 for hardware pointer.
698 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
699 Replace uptr with uhwptr for stack unwind.
701 2012-11-16 Dodji Seketeli <dodji@redhat.com>
703 * configure.tgt: Enable build on sparc linux.
705 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
707 * configure.ac: Properly set MULTISUBDIR.
708 * asan/Makefile.am (gcc_version): New.
709 * interception/Makefile.am (gcc_version): Likewise.
710 * sanitizer_common/Makefile.am (gcc_version): Likewise.
711 * configure: Regenerated.
712 * asan/Makefile.in: Likewise.
713 * interception/Makefile.in: Likewise.
714 * sanitizer_common/Makefile.in: Likewise.
716 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
719 * configure.ac (--enable-version-specific-runtime-libs): New option.
720 (AC_CANONICAL_SYSTEM): New.
721 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
722 (toolexecdir): Support multilib.
723 (toolexeclibdir): Likewise.
725 * Makefile.in: Regenerated.
726 * aclocal.m4: Likewise.
727 * configure: Likewise.
728 * asan/Makefile.in: Likewise.
729 * interception/Makefile.in: Likewise.
730 * sanitizer_common/Makefile.in: Likewise.
732 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
735 Backport from upstream revision 167883
736 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
737 __x86_64__ instead of __WORDSIZE.
738 (internal_filesize): Likwise.
740 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
742 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
743 * Makefile.in: Regenerated.
744 * configure: Likewise.
746 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
749 * acinclude.m4: New file.
750 * Makefile.am (ACLOCAL_AMFLAGS): New.
751 * configure.ac (AC_PREREQ): Set to 2.64.
752 (AC_CONFIG_AUX_DIR): Set to "..".
753 * Makefile.in: Regenerated.
754 * aclocal.m4: Likewise.
755 * configure: Likewise.
756 * asan/Makefile.in: Likewise.
757 * interception/Makefile.in: Likewise.
758 * sanitizer_common/Makefile.in: Likewise.
760 * config.guess: Removed.
761 * config.sub: Likewise.
763 * install-sh: Likewise.
764 * ltmain.sh: Likewise.
767 2012-11-13 Richard Henderson <rth@redhat.com>
769 * configure.tgt: New file.
771 2012-11-12 David S. Miller <davem@davemloft.net>
773 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
775 2012-10-29 Wei Mi <wmi@google.com>
777 Initial checkin: migrate asan runtime from llvm.