1 2015-06-26 Release Manager
5 2015-01-27 Matthias Klose <doko@ubuntu.com>
7 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
8 * configure: Regenerate.
10 2014-10-30 Release Manager
14 2014-10-16 Yury Gribov <y.gribov@samsung.com>
16 Backport from mainline
17 2014-05-14 Yury Gribov <y.gribov@samsung.com>
21 * Makefile.am (nodist_saninclude_HEADERS): Install
23 * Makefile.in: Regenerate.
25 2014-10-14 David S. Miller <davem@davemloft.net>
27 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
28 Define at __kernel_time_t, as needed for sparc.
29 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
30 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
31 (__sanitizer): Define struct___old_kernel_stat_sz,
32 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
33 (__sanitizer_ipc_perm): Adjust for sparc targets.
34 (__sanitizer_shmid_ds): Likewsie.
35 (__sanitizer_sigaction): Likewsie.
38 2014-07-16 Release Manager
42 2014-04-22 Release Manager
46 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
48 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
49 Add ../../libbacktrace/sort.c.
50 * libbacktrace/Makefile.in: Regenerate.
51 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
53 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
55 * configure.tgt: Unsupported for little endian PowerPC for now.
57 2014-02-04 Jakub Jelinek <jakub@redhat.com>
60 * tsan/tsan_flags.cc (__tsan_default_options): Add
61 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
62 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
65 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
66 sanitizer_atomic.h and unistd.h.
67 (kThreadDescriptorSize): Made static, remove initializer and const,
68 change type to atomic_uintptr_t.
69 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
70 query glibc version, compute kThreadDescriptorSize depending on
71 glibc version minor number.
72 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
73 kThreadDescriptorSize directly.
75 2014-01-23 Yury Gribov <y.gribov@samsung.com>
76 Jakub Jelinek <jakub@redhat.com>
79 * configure.ac: Check for missing syscalls.
80 * Makefile.am: Likewise.
81 * configure: Regenerate.
82 * Makefile.in: Regenerate.
84 2014-01-09 Jakub Jelinek <jakub@redhat.com>
86 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
87 (LibbacktraceSymbolizer::Demangle): New declaration.
88 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
89 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
91 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
92 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
93 (struct CplusV3DemangleData): New type.
94 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
95 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
96 SymbolizeDataCallback): Use CplusV3Demangle.
97 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
98 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
99 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
100 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
101 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
102 cplus_demangle_init_info, cplus_demangle_mangled_name,
103 cplus_demangle_operators, cplus_demangle_print,
104 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
105 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
106 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
108 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
109 (memcmp, strncmp): Redefine.
110 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
111 ../../libiberty/cp-demangle.c.
112 * libbacktrace/bridge.cc (__asan_internal_memcmp,
113 __asan_internal_strncmp): New functions.
114 * sanitizer_common/Makefile.in: Regenerated.
115 * libbacktrace/Makefile.in: Regenerated.
116 * configure: Regenerated.
117 * configure.ac: Regenerated.
118 * config.h.in: Regenerated.
120 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
121 -isystem $(top_srcdir)/include/system.
122 * sanitizer_common/Makefile.in: Regenerated.
123 * include/system/linux/aio_abi.h: New header.
124 * include/system/linux/mroute.h: New header.
125 * include/system/linux/mroute6.h: New header.
126 * include/system/linux/perf_event.h: New header.
127 * include/system/linux/types.h: New header.
130 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
131 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
132 and -I/-include flags.
133 * lsan/Makefile.am (liblsan_la_LIBADD): Add
134 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
135 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
136 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
137 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
138 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
140 * README.gcc: Document that also lsan and ubsan are
141 maintained in compiler-rt upstream.
142 * libbacktrace/Makefile.am: New file.
143 * libbacktrace/backtrace-rename.h: New file.
144 * libbacktrace/backtrace-supported.h.in: New file.
145 * libbacktrace/bridge.cc: New file.
146 * configure.ac: Add tests needed for libbacktrace build
148 * sanitizer_common/Makefile.in: Regenerated.
149 * lsan/Makefile.in: Regenerated.
150 * tsan/Makefile.in: Regenerated.
151 * ubsan/Makefile.in: Regenerated.
152 * libbacktrace/Makefile.in: Generated.
153 * config.h.in: Regenerated.
154 * configure: Regenerated.
155 * Makefile.in: Regenerated.
156 * interception/Makefile.in: Regenerated.
157 * asan/Makefile.in: Regenerated.
158 * aclocal.m4: Regenerated.
160 2013-12-19 Kostya Serebryany <kcc@google.com>
162 * sanitizer_common/sanitizer_platform_limits_posix.cc:
163 workaround for missing definition of EOWNERDEAD, backport
164 from upstream r196779.
166 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
168 * sanitizer_common/sanitizer_platform_limits_posix.h
169 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
170 (__sanitizer_clock_t): Use long long for x32.
172 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
174 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
175 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
176 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
178 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
180 * configure.ac (link_sanitizer_common): Add -lm.
181 * configure: Regenerated.
183 2013-12-05 Kostya Serebryany <kcc@google.com>
185 * All source files: Merge from upstream r196489.
186 * merge.sh: Add *.S to the list of merged files.
188 2013-12-05 Yury Gribov <y.gribov@samsung.com>
191 * Makefile.am (gcc_version): Added gcc_version.
192 * Makefile.in: Regenerate.
194 2013-12-05 Kostya Serebryany <kcc@google.com>
196 * All source files: Merge from upstream r196090.
197 * tsan/Makefile.am (tsan_files): Added new files.
198 * tsan/Makefile.in: Regenerate.
199 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
200 * sanitizer_common/Makefile.in: Regenerate.
201 * lsan/Makefile.am (lsan_files): Added new files.
202 * lsan/Makefile.in: Regenerate.
204 2013-11-29 Jakub Jelinek <jakub@redhat.com>
205 Yury Gribov <y.gribov@samsung.com>
208 * libsanitizer.spec.in: Add spec file to hold link flags for
209 various sanitizer libs.
210 * configure.ac: Check whether clock_* routines come from librt.
211 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
213 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
214 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
215 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
216 * asan/Makefile.in: Regenerate.
217 * interception/Makefile.in: Regenerate.
218 * lsan/Makefile.in: Regenerate.
219 * sanitizer_common/Makefile.in: Regenerate.
220 * tsan/Makefile.in: Regenerate.
221 * ubsan/Makefile.in: Regenerate.
222 * Makefile.in: Regenerate.
223 * configure: Regenerate.
225 2013-11-28 Jakub Jelinek <jakub@redhat.com>
226 Yury Gribov <y.gribov@samsung.com>
229 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
231 * ubsan/Makefile.in: Regenerated.
233 2013-11-22 Jakub Jelinek <jakub@redhat.com>
236 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
237 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
238 * configure: Regenerated.
239 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
240 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
241 * lsan/Makefile.in: Regenerated.
243 2013-11-22 Mike Stump <mikestump@comcast.net>
245 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
246 change from upstream to fix build.
248 2013-11-18 Yury Gribov <y.gribov@samsung.com>
251 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
252 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
253 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
254 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
255 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
256 * asan/Makefile.in: Regenerate.
257 * interception/Makefile.in: Regenerate.
258 * tsan/Makefile.in: Regenerate.
259 * lsan/Makefile.in: Regenerate.
260 * sanitizer_common/Makefile.in: Regenerate.
262 2013-11-15 Kostya Serebryany <kcc@google.com>
265 Backport from upstream revision 194573
266 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
267 back to the original functions in the common libsanitizer
268 interceptors and the __cxa_atexit() interceptor on Darwin.
270 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
273 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
274 ifdef out more source.
276 2013-11-12 Jakub Jelinek <jakub@redhat.com>
278 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
279 ifdef out almost the whole source.
280 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
282 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
285 * sanitizer_common/sanitizer_platform_limits_posix.cc
286 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
289 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
292 * sanitizer_common/sanitizer_platform_limits_linux.cc
293 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
295 * sanitizer_common/sanitizer_platform_limits_posix.h
296 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
298 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
300 (__sanitizer___kernel_gid_t): Likewise.
301 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
304 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
307 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
308 2 64-bit integers to save and restore fn and arg. Properly load
309 newtls/child_tidptr into r8/r10.
311 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
314 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
315 internal_munmap, internal_open, internal_read, internal_write,
316 internal_stat, internal_lstat, internal_fstat, internal_readlink,
317 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
318 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
319 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
321 2013-11-04 Kostya Serebryany <kcc@google.com>
323 * All source files: Merge from upstream r191666.
324 * merge.sh: Added lsan.
325 * configure.ac (AC_CONFIG_FILES): Added lsan.
326 * Makefile.am (SUBDIRS): Added lsan.
327 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
328 * asan/Makefile.am (asan_files): Added new files.
329 (libasan_la_LIBADD): Added a dependency on lsan.
330 * lsan/Makefile.am: New file.
331 * asan/Makefile.in: Regenerate.
332 * lsan/Makefile.in: Regenerate.
333 * Makefile.in: Regenerate.
334 * configure: Regenerate.
335 * sanitizer_common/Makefile.in: Regenerate.
337 2013-09-20 Alan Modra <amodra@gmail.com>
339 * configure: Regenerate.
341 2013-09-01 Iain Sandoe <iain@codesourcery.com>
343 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
344 libinterception.la for Darwin.
345 * ubsan/Makefile.in: Regenerate.
347 2013-08-30 Jakub Jelinek <jakub@redhat.com>
349 * Makefile.am (SUBDIRS): Add ubsan.
350 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
351 * merge.sh: Merge ubsan.
352 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
353 * sanitizer_common/sanitizer_printf.cc: Likewise.
354 * sanitizer_common/sanitizer_common.h: Likewise.
355 * ubsan: New directory. Import ubsan runtime from llvm.
357 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
359 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
360 Cherry pick upstream r182922.
362 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
364 * configure.tgt: Add ARM pattern.
366 2013-03-22 Jakub Jelinek <jakub@redhat.com>
369 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
370 * Makefile.in: Regenerated.
371 * asan/Makefile.in: Regenerated.
372 * interception/Makefile.in: Regenerated.
373 * sanitizer_common/Makefile.in: Regenerated.
374 * tsan/Makefile.in: Regenerated.
376 2013-02-28 Jakub Jelinek <jakub@redhat.com>
378 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
379 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
382 2013-02-22 Jakub Jelinek <jakub@redhat.com>
385 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
387 (libasan_preinit.o): Depend on asan_preinit.o.
388 * asan/Makefile.in: Regenerated.
389 * asan/asan_preinit.cc: New file, synced from upstream.
390 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
392 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
394 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
395 dynamic/asan_interceptors_dynamic.cc.
396 * asan/Makefile.in: Regenerated.
397 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
399 2013-02-21 Jakub Jelinek <jakub@redhat.com>
401 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
402 defined. Add used attribute.
404 2013-02-21 Kostya Serebryany <kcc@google.com>
406 * All source files: Merge from upstream r175733.
407 * sanitizer_common/Makefile.am: Added a new file.
408 * sanitizer_common/Makefile.in: Regenerated.
410 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
413 * interception/interception.h (OFF_T): Merged from upstream
416 2013-02-13 Jakub Jelinek <jakub@redhat.com>
418 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
420 2013-02-13 Kostya Serebryany <kcc@google.com>
423 * All source files: Merge from upstream r175049.
424 * interception/Makefile.am: added include path.
425 * interception/Makefile.in: Regenerated.
427 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
429 * configure.tgt: Disable build on darwin9 and earlier.
431 2013-01-23 Kostya Serebryany <kcc@google.com>
434 * All source files: Merge from upstream r173241.
435 * merge.sh: Support merging .inc files.
437 2013-01-16 Jakub Jelinek <jakub@redhat.com>
439 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
441 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
442 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
443 * sanitizer_common/Makefile.in: Regenerated.
444 * interception/Makefile.in: Regenerated.
445 * asan/Makefile.in: Regenerated.
447 2013-01-10 Wei Mi <wmi@google.com>
450 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
451 * tsan/Makefile.in: Regenerated.
452 * tsan/tsan_rtl.h: Enable HACKY_CALL.
454 2013-01-10 Kostya Serebryany <kcc@google.com>
456 * All source files: Merge from upstream r171973.
457 * sanitizer_common/Makefile.am: Added new files.
458 * asan/Makefile.am: Likewise.
459 * tsan/Makefile.am: Likewise.
460 * sanitizer_common/Makefile.in: Regenerated.
461 * asan/Makefile.in: Likewise.
462 * tsan/Makefile.in: Likewise.
464 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
466 * asan/Makefile.am (libasan_la_LIBADD): Replace
467 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
468 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
469 * Makefile.in: Regenerated.
470 * configure: Likewise.
471 * asan/Makefile.in: Likewise.
472 * interception/Makefile.in: Likewise.
473 * sanitizer_common/Makefile.in: Likewise.
474 * tsan/Makefile.in: Likewise.
476 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
478 * Makefile.am (AM_MAKEFLAGS): Restored.
479 * interception/Makefile.am: Likewise.
480 * sanitizer_common/Makefile.am: Likewise.
481 * tsan/Makefile.am: Likewise.
482 * Makefile.in: Regenerated.
483 * asan/Makefile.in: Likewise.
484 * interception/Makefile.in: Likewise.
485 * sanitizer_common/Makefile.in: Likewise.
486 * tsan/Makefile.in: Likewise.
488 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
490 * Makefile.am (MAKEOVERRIDES): Restored.
491 * asan/Makefile.am: Likewise.
492 * interception/Makefile.am: Likewise.
493 * sanitizer_common/Makefile.am: Likewise.
494 * tsan/Makefile.am: Likewise.
495 * Makefile.in: Regenerated.
496 * asan/Makefile.in: Likewise.
497 * interception/Makefile.in: Likewise.
498 * sanitizer_common/Makefile.in: Likewise.
499 * tsan/Makefile.in: Likewise.
501 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
503 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
504 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
505 * Makefile.in: Regenerated.
506 * configure: Likewise.
507 * asan/Makefile.in: Likewise.
508 * interception/Makefile.in: Likewise.
509 * sanitizer_common/Makefile.in: Likewise.
510 * tsan/Makefile.in: Likewise.
512 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
514 * Makefile.am (AM_MAKEFLAGS): Removed.
515 (MAKEOVERRIDES): Likewise.
516 * asan/Makefile.am: Likewise.
517 * interception/Makefile.am: Likewise.
518 * sanitizer_common/Makefile.am: Likewise.
519 * tsan/Makefile.am: Likewise.
520 * Makefile.in: Regenerated.
521 * asan/Makefile.in: Likewise.
522 * interception/Makefile.in: Likewise.
523 * sanitizer_common/Makefile.in: Likewise.
524 * tsan/Makefile.in: Likewise.
526 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
529 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
530 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
531 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
532 (AM_MAKEFLAGS): Remove CC and CXX.
533 * interception/Makefile.am: Likewise.
534 * sanitizer_common/Makefile.am: Likewise.
535 * tsan/Makefile.am: Likewise.
536 * Makefile.in: Regenerated.
537 * aclocal.m4: Likewise.
538 * configure: Likewise.
539 * asan/Makefile.in: Likewise.
540 * interception/Makefile.in: Likewise.
541 * sanitizer_common/Makefile.in: Likewise.
542 * tsan/Makefile.in: Likewise.
544 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
546 * configure.tgt: Enable build on powerpc*-linux.
548 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
551 * configure.ac: Set enable_static=no on darwin.
552 * configure: Regenerated.
554 2012-12-06 Kostya Serebryany <kcc@google.com>
556 * All files: Merge from upstream r169392.
558 2012-12-05 Kostya Serebryany <kcc@google.com>
560 * All files: Merge from upstream r169371.
562 2012-12-04 Kostya Serebryany <kcc@google.com>
563 Jack Howarth <howarth@bromo.med.uc.edu>
566 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
567 * Makefile.am: Don't build interception subdir when
568 USING_MAC_INTERPOSE defined.
569 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
570 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
571 Compile asan_interceptors_dynamic.cc but not libinterception
572 when USING_MAC_INTERPOSE defined.
573 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
574 * configure: Regenerated.
575 * Makefile.in: Likewise.
576 * asan/Makefile.in: Likewise.
577 * interception/Makefile.in: Likewise.
578 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
579 * asan/asan_mac.cc: Likewise.
580 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
581 and use MISSING_BLOCKS_SUPPORT.
582 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
583 * interception/mach_override/LICENSE.txt: Remove unused file.
584 * interception/mach_override/mach_override.c: Likewise.
585 * interception/mach_override/mach_override.h: Likewise.
586 * interception/mach_override: Remove unused directory.
588 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
590 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
591 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
592 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
594 (AM_MAKEFLAGS): Restore CC and CXX.
595 * interception/Makefile.am: Likewise.
596 * sanitizer_common/Makefile.am: Likewise.
597 * tsan/Makefile.am: Likewise.
598 * Makefile.in: Regenerated.
599 * aclocal.m4: Likewise.
600 * configure: Likewise.
601 * asan/Makefile.in: Likewise.
602 * interception/Makefile.in: Likewise.
603 * sanitizer_common/Makefile.in: Likewise.
604 * tsan/Makefile.in: Likewise.
606 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
608 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
609 * configure.ac (ACX_NONCANONICAL_TARGET): New.
610 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
612 (AM_MAKEFLAGS): Remove CC and CXX.
613 * interception/Makefile.am: Likewise.
614 * sanitizer_common/Makefile.am: Likewise.
615 * tsan/Makefile.am: Likewise.
616 * Makefile.in: Regenerated.
617 * aclocal.m4: Likewise.
618 * configure: Likewise.
619 * asan/Makefile.in: Likewise.
620 * interception/Makefile.in: Likewise.
621 * sanitizer_common/Makefile.in: Likewise.
622 * tsan/Makefile.in: Likewise.
624 2012-11-27 Kostya Serebryany <kcc@google.com>
626 * All files: Merge from upstream r168699.
628 2012-11-24 Kostya Serebryany <kcc@google.com>
629 Jack Howarth <howarth@bromo.med.uc.edu>
631 * interception/mach_override/mach_override.c: Migrate from llvm.
632 * interception/mach_override/mach_override.h: Likewise.
633 * interception/mach_override/LICENSE.txt: Likewise.
634 * configure.tgt: Add darwin to supported targets.
635 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
636 * interception/Makefile.am: Compile mach_override.c when
637 USING_MACH_OVERRIDE defined.
638 * configure: Regenerated.
639 * interception/Makefile.in: Likewise.
641 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
644 * tsan/Makefile.am (gcc_version): New.
645 * tsan/Makefile.in: Regenerated.
647 2012-11-23 Kostya Serebryany <kcc@google.com>
649 * merge.sh: Support tsan, support added/removed files.
650 * tsan/Makefile.am: Remove tsan_printf.cc.
651 * tsan/Makefile.in: Regenerated.
652 * other files: Merge from upstream r168514.
654 2012-11-23 Kostya Serebryany <kcc@google.com>
656 * merge.sh: New file.
658 2012-11-23 Jakub Jelinek <jakub@redhat.com>
660 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
661 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
662 automake conditional instead of !MULTISUBDIR32.
663 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
665 * configure.ac: Check for void * size, source in configure.tgt,
666 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
667 * configure: Regenerated.
668 * Makefile.in: Regenerated.
669 * tsan/Makefile.in: Regenerated.
671 2012-11-22 Wei Mi <wmi@google.com>
673 * tsan: New directory. Import tsan runtime from llvm.
674 * configure.ac: Add 64 bits tsan build.
675 * Makefile.am: Likewise.
676 * configure: Regenerated.
677 * Makefile.in: Likewise.
679 2012-11-21 Kostya Serebryany <kcc@google.com>
681 * README.gcc: Extend the README.gcc with mode details.
683 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
685 * sanitizer_common/sanitizer_linux.cc
686 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
687 (internal_mmap): Use it.
688 (internal_filesize): Likewise.
690 2012-11-16 Tom Tromey <tromey@redhat.com>
692 * configure.ac: Invoke AM_MAINTAINER_MODE.
693 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
694 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
696 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
699 * include/sanitizer/common_interface_defs.h (uhwptr): New type
700 for hardware pointer.
701 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
702 Replace uptr with uhwptr for stack unwind.
704 2012-11-16 Dodji Seketeli <dodji@redhat.com>
706 * configure.tgt: Enable build on sparc linux.
708 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
710 * configure.ac: Properly set MULTISUBDIR.
711 * asan/Makefile.am (gcc_version): New.
712 * interception/Makefile.am (gcc_version): Likewise.
713 * sanitizer_common/Makefile.am (gcc_version): Likewise.
714 * configure: Regenerated.
715 * asan/Makefile.in: Likewise.
716 * interception/Makefile.in: Likewise.
717 * sanitizer_common/Makefile.in: Likewise.
719 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
722 * configure.ac (--enable-version-specific-runtime-libs): New option.
723 (AC_CANONICAL_SYSTEM): New.
724 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
725 (toolexecdir): Support multilib.
726 (toolexeclibdir): Likewise.
728 * Makefile.in: Regenerated.
729 * aclocal.m4: Likewise.
730 * configure: Likewise.
731 * asan/Makefile.in: Likewise.
732 * interception/Makefile.in: Likewise.
733 * sanitizer_common/Makefile.in: Likewise.
735 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
738 Backport from upstream revision 167883
739 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
740 __x86_64__ instead of __WORDSIZE.
741 (internal_filesize): Likwise.
743 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
745 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
746 * Makefile.in: Regenerated.
747 * configure: Likewise.
749 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
752 * acinclude.m4: New file.
753 * Makefile.am (ACLOCAL_AMFLAGS): New.
754 * configure.ac (AC_PREREQ): Set to 2.64.
755 (AC_CONFIG_AUX_DIR): Set to "..".
756 * Makefile.in: Regenerated.
757 * aclocal.m4: Likewise.
758 * configure: Likewise.
759 * asan/Makefile.in: Likewise.
760 * interception/Makefile.in: Likewise.
761 * sanitizer_common/Makefile.in: Likewise.
763 * config.guess: Removed.
764 * config.sub: Likewise.
766 * install-sh: Likewise.
767 * ltmain.sh: Likewise.
770 2012-11-13 Richard Henderson <rth@redhat.com>
772 * configure.tgt: New file.
774 2012-11-12 David S. Miller <davem@davemloft.net>
776 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
778 2012-10-29 Wei Mi <wmi@google.com>
780 Initial checkin: migrate asan runtime from llvm.