1 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3 * configure.tgt: Unsupported for little endian PowerPC for now.
5 2014-02-04 Jakub Jelinek <jakub@redhat.com>
8 * tsan/tsan_flags.cc (__tsan_default_options): Add
9 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
10 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
13 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
14 sanitizer_atomic.h and unistd.h.
15 (kThreadDescriptorSize): Made static, remove initializer and const,
16 change type to atomic_uintptr_t.
17 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
18 query glibc version, compute kThreadDescriptorSize depending on
19 glibc version minor number.
20 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
21 kThreadDescriptorSize directly.
23 2014-01-23 Yury Gribov <y.gribov@samsung.com>
24 Jakub Jelinek <jakub@redhat.com>
27 * configure.ac: Check for missing syscalls.
28 * Makefile.am: Likewise.
29 * configure: Regenerate.
30 * Makefile.in: Regenerate.
32 2014-01-09 Jakub Jelinek <jakub@redhat.com>
34 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
35 (LibbacktraceSymbolizer::Demangle): New declaration.
36 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
37 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
39 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
40 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
41 (struct CplusV3DemangleData): New type.
42 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
43 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
44 SymbolizeDataCallback): Use CplusV3Demangle.
45 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
46 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
47 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
48 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
49 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
50 cplus_demangle_init_info, cplus_demangle_mangled_name,
51 cplus_demangle_operators, cplus_demangle_print,
52 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
53 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
54 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
56 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
57 (memcmp, strncmp): Redefine.
58 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
59 ../../libiberty/cp-demangle.c.
60 * libbacktrace/bridge.cc (__asan_internal_memcmp,
61 __asan_internal_strncmp): New functions.
62 * sanitizer_common/Makefile.in: Regenerated.
63 * libbacktrace/Makefile.in: Regenerated.
64 * configure: Regenerated.
65 * configure.ac: Regenerated.
66 * config.h.in: Regenerated.
68 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
69 -isystem $(top_srcdir)/include/system.
70 * sanitizer_common/Makefile.in: Regenerated.
71 * include/system/linux/aio_abi.h: New header.
72 * include/system/linux/mroute.h: New header.
73 * include/system/linux/mroute6.h: New header.
74 * include/system/linux/perf_event.h: New header.
75 * include/system/linux/types.h: New header.
78 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
79 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
80 and -I/-include flags.
81 * lsan/Makefile.am (liblsan_la_LIBADD): Add
82 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
83 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
84 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
85 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
86 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
88 * README.gcc: Document that also lsan and ubsan are
89 maintained in compiler-rt upstream.
90 * libbacktrace/Makefile.am: New file.
91 * libbacktrace/backtrace-rename.h: New file.
92 * libbacktrace/backtrace-supported.h.in: New file.
93 * libbacktrace/bridge.cc: New file.
94 * configure.ac: Add tests needed for libbacktrace build
96 * sanitizer_common/Makefile.in: Regenerated.
97 * lsan/Makefile.in: Regenerated.
98 * tsan/Makefile.in: Regenerated.
99 * ubsan/Makefile.in: Regenerated.
100 * libbacktrace/Makefile.in: Generated.
101 * config.h.in: Regenerated.
102 * configure: Regenerated.
103 * Makefile.in: Regenerated.
104 * interception/Makefile.in: Regenerated.
105 * asan/Makefile.in: Regenerated.
106 * aclocal.m4: Regenerated.
108 2013-12-19 Kostya Serebryany <kcc@google.com>
110 * sanitizer_common/sanitizer_platform_limits_posix.cc:
111 workaround for missing definition of EOWNERDEAD, backport
112 from upstream r196779.
114 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
116 * sanitizer_common/sanitizer_platform_limits_posix.h
117 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
118 (__sanitizer_clock_t): Use long long for x32.
120 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
122 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
123 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
124 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
126 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
128 * configure.ac (link_sanitizer_common): Add -lm.
129 * configure: Regenerated.
131 2013-12-05 Kostya Serebryany <kcc@google.com>
133 * All source files: Merge from upstream r196489.
134 * merge.sh: Add *.S to the list of merged files.
136 2013-12-05 Yury Gribov <y.gribov@samsung.com>
139 * Makefile.am (gcc_version): Added gcc_version.
140 * Makefile.in: Regenerate.
142 2013-12-05 Kostya Serebryany <kcc@google.com>
144 * All source files: Merge from upstream r196090.
145 * tsan/Makefile.am (tsan_files): Added new files.
146 * tsan/Makefile.in: Regenerate.
147 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
148 * sanitizer_common/Makefile.in: Regenerate.
149 * lsan/Makefile.am (lsan_files): Added new files.
150 * lsan/Makefile.in: Regenerate.
152 2013-11-29 Jakub Jelinek <jakub@redhat.com>
153 Yury Gribov <y.gribov@samsung.com>
156 * libsanitizer.spec.in: Add spec file to hold link flags for
157 various sanitizer libs.
158 * configure.ac: Check whether clock_* routines come from librt.
159 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
161 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
162 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
163 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
164 * asan/Makefile.in: Regenerate.
165 * interception/Makefile.in: Regenerate.
166 * lsan/Makefile.in: Regenerate.
167 * sanitizer_common/Makefile.in: Regenerate.
168 * tsan/Makefile.in: Regenerate.
169 * ubsan/Makefile.in: Regenerate.
170 * Makefile.in: Regenerate.
171 * configure: Regenerate.
173 2013-11-28 Jakub Jelinek <jakub@redhat.com>
174 Yury Gribov <y.gribov@samsung.com>
177 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
179 * ubsan/Makefile.in: Regenerated.
181 2013-11-22 Jakub Jelinek <jakub@redhat.com>
184 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
185 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
186 * configure: Regenerated.
187 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
188 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
189 * lsan/Makefile.in: Regenerated.
191 2013-11-22 Mike Stump <mikestump@comcast.net>
193 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
194 change from upstream to fix build.
196 2013-11-18 Yury Gribov <y.gribov@samsung.com>
199 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
200 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
201 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
202 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
203 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
204 * asan/Makefile.in: Regenerate.
205 * interception/Makefile.in: Regenerate.
206 * tsan/Makefile.in: Regenerate.
207 * lsan/Makefile.in: Regenerate.
208 * sanitizer_common/Makefile.in: Regenerate.
210 2013-11-15 Kostya Serebryany <kcc@google.com>
213 Backport from upstream revision 194573
214 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
215 back to the original functions in the common libsanitizer
216 interceptors and the __cxa_atexit() interceptor on Darwin.
218 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
221 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
222 ifdef out more source.
224 2013-11-12 Jakub Jelinek <jakub@redhat.com>
226 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
227 ifdef out almost the whole source.
228 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
230 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
233 * sanitizer_common/sanitizer_platform_limits_posix.cc
234 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
237 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
240 * sanitizer_common/sanitizer_platform_limits_linux.cc
241 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
243 * sanitizer_common/sanitizer_platform_limits_posix.h
244 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
246 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
248 (__sanitizer___kernel_gid_t): Likewise.
249 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
252 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
255 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
256 2 64-bit integers to save and restore fn and arg. Properly load
257 newtls/child_tidptr into r8/r10.
259 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
262 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
263 internal_munmap, internal_open, internal_read, internal_write,
264 internal_stat, internal_lstat, internal_fstat, internal_readlink,
265 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
266 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
267 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
269 2013-11-04 Kostya Serebryany <kcc@google.com>
271 * All source files: Merge from upstream r191666.
272 * merge.sh: Added lsan.
273 * configure.ac (AC_CONFIG_FILES): Added lsan.
274 * Makefile.am (SUBDIRS): Added lsan.
275 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
276 * asan/Makefile.am (asan_files): Added new files.
277 (libasan_la_LIBADD): Added a dependency on lsan.
278 * lsan/Makefile.am: New file.
279 * asan/Makefile.in: Regenerate.
280 * lsan/Makefile.in: Regenerate.
281 * Makefile.in: Regenerate.
282 * configure: Regenerate.
283 * sanitizer_common/Makefile.in: Regenerate.
285 2013-09-20 Alan Modra <amodra@gmail.com>
287 * configure: Regenerate.
289 2013-09-01 Iain Sandoe <iain@codesourcery.com>
291 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
292 libinterception.la for Darwin.
293 * ubsan/Makefile.in: Regenerate.
295 2013-08-30 Jakub Jelinek <jakub@redhat.com>
297 * Makefile.am (SUBDIRS): Add ubsan.
298 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
299 * merge.sh: Merge ubsan.
300 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
301 * sanitizer_common/sanitizer_printf.cc: Likewise.
302 * sanitizer_common/sanitizer_common.h: Likewise.
303 * ubsan: New directory. Import ubsan runtime from llvm.
305 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
307 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
308 Cherry pick upstream r182922.
310 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
312 * configure.tgt: Add ARM pattern.
314 2013-03-22 Jakub Jelinek <jakub@redhat.com>
317 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
318 * Makefile.in: Regenerated.
319 * asan/Makefile.in: Regenerated.
320 * interception/Makefile.in: Regenerated.
321 * sanitizer_common/Makefile.in: Regenerated.
322 * tsan/Makefile.in: Regenerated.
324 2013-02-28 Jakub Jelinek <jakub@redhat.com>
326 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
327 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
330 2013-02-22 Jakub Jelinek <jakub@redhat.com>
333 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
335 (libasan_preinit.o): Depend on asan_preinit.o.
336 * asan/Makefile.in: Regenerated.
337 * asan/asan_preinit.cc: New file, synced from upstream.
338 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
340 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
342 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
343 dynamic/asan_interceptors_dynamic.cc.
344 * asan/Makefile.in: Regenerated.
345 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
347 2013-02-21 Jakub Jelinek <jakub@redhat.com>
349 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
350 defined. Add used attribute.
352 2013-02-21 Kostya Serebryany <kcc@google.com>
354 * All source files: Merge from upstream r175733.
355 * sanitizer_common/Makefile.am: Added a new file.
356 * sanitizer_common/Makefile.in: Regenerated.
358 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
361 * interception/interception.h (OFF_T): Merged from upstream
364 2013-02-13 Jakub Jelinek <jakub@redhat.com>
366 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
368 2013-02-13 Kostya Serebryany <kcc@google.com>
371 * All source files: Merge from upstream r175049.
372 * interception/Makefile.am: added include path.
373 * interception/Makefile.in: Regenerated.
375 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
377 * configure.tgt: Disable build on darwin9 and earlier.
379 2013-01-23 Kostya Serebryany <kcc@google.com>
382 * All source files: Merge from upstream r173241.
383 * merge.sh: Support merging .inc files.
385 2013-01-16 Jakub Jelinek <jakub@redhat.com>
387 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
389 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
390 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
391 * sanitizer_common/Makefile.in: Regenerated.
392 * interception/Makefile.in: Regenerated.
393 * asan/Makefile.in: Regenerated.
395 2013-01-10 Wei Mi <wmi@google.com>
398 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
399 * tsan/Makefile.in: Regenerated.
400 * tsan/tsan_rtl.h: Enable HACKY_CALL.
402 2013-01-10 Kostya Serebryany <kcc@google.com>
404 * All source files: Merge from upstream r171973.
405 * sanitizer_common/Makefile.am: Added new files.
406 * asan/Makefile.am: Likewise.
407 * tsan/Makefile.am: Likewise.
408 * sanitizer_common/Makefile.in: Regenerated.
409 * asan/Makefile.in: Likewise.
410 * tsan/Makefile.in: Likewise.
412 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
414 * asan/Makefile.am (libasan_la_LIBADD): Replace
415 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
416 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
417 * Makefile.in: Regenerated.
418 * configure: Likewise.
419 * asan/Makefile.in: Likewise.
420 * interception/Makefile.in: Likewise.
421 * sanitizer_common/Makefile.in: Likewise.
422 * tsan/Makefile.in: Likewise.
424 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
426 * Makefile.am (AM_MAKEFLAGS): Restored.
427 * interception/Makefile.am: Likewise.
428 * sanitizer_common/Makefile.am: Likewise.
429 * tsan/Makefile.am: Likewise.
430 * Makefile.in: Regenerated.
431 * asan/Makefile.in: Likewise.
432 * interception/Makefile.in: Likewise.
433 * sanitizer_common/Makefile.in: Likewise.
434 * tsan/Makefile.in: Likewise.
436 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
438 * Makefile.am (MAKEOVERRIDES): Restored.
439 * asan/Makefile.am: Likewise.
440 * interception/Makefile.am: Likewise.
441 * sanitizer_common/Makefile.am: Likewise.
442 * tsan/Makefile.am: Likewise.
443 * Makefile.in: Regenerated.
444 * asan/Makefile.in: Likewise.
445 * interception/Makefile.in: Likewise.
446 * sanitizer_common/Makefile.in: Likewise.
447 * tsan/Makefile.in: Likewise.
449 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
451 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
452 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
453 * Makefile.in: Regenerated.
454 * configure: Likewise.
455 * asan/Makefile.in: Likewise.
456 * interception/Makefile.in: Likewise.
457 * sanitizer_common/Makefile.in: Likewise.
458 * tsan/Makefile.in: Likewise.
460 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
462 * Makefile.am (AM_MAKEFLAGS): Removed.
463 (MAKEOVERRIDES): Likewise.
464 * asan/Makefile.am: Likewise.
465 * interception/Makefile.am: Likewise.
466 * sanitizer_common/Makefile.am: Likewise.
467 * tsan/Makefile.am: Likewise.
468 * Makefile.in: Regenerated.
469 * asan/Makefile.in: Likewise.
470 * interception/Makefile.in: Likewise.
471 * sanitizer_common/Makefile.in: Likewise.
472 * tsan/Makefile.in: Likewise.
474 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
477 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
478 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
479 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
480 (AM_MAKEFLAGS): Remove CC and CXX.
481 * interception/Makefile.am: Likewise.
482 * sanitizer_common/Makefile.am: Likewise.
483 * tsan/Makefile.am: Likewise.
484 * Makefile.in: Regenerated.
485 * aclocal.m4: Likewise.
486 * configure: Likewise.
487 * asan/Makefile.in: Likewise.
488 * interception/Makefile.in: Likewise.
489 * sanitizer_common/Makefile.in: Likewise.
490 * tsan/Makefile.in: Likewise.
492 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
494 * configure.tgt: Enable build on powerpc*-linux.
496 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
499 * configure.ac: Set enable_static=no on darwin.
500 * configure: Regenerated.
502 2012-12-06 Kostya Serebryany <kcc@google.com>
504 * All files: Merge from upstream r169392.
506 2012-12-05 Kostya Serebryany <kcc@google.com>
508 * All files: Merge from upstream r169371.
510 2012-12-04 Kostya Serebryany <kcc@google.com>
511 Jack Howarth <howarth@bromo.med.uc.edu>
514 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
515 * Makefile.am: Don't build interception subdir when
516 USING_MAC_INTERPOSE defined.
517 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
518 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
519 Compile asan_interceptors_dynamic.cc but not libinterception
520 when USING_MAC_INTERPOSE defined.
521 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
522 * configure: Regenerated.
523 * Makefile.in: Likewise.
524 * asan/Makefile.in: Likewise.
525 * interception/Makefile.in: Likewise.
526 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
527 * asan/asan_mac.cc: Likewise.
528 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
529 and use MISSING_BLOCKS_SUPPORT.
530 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
531 * interception/mach_override/LICENSE.txt: Remove unused file.
532 * interception/mach_override/mach_override.c: Likewise.
533 * interception/mach_override/mach_override.h: Likewise.
534 * interception/mach_override: Remove unused directory.
536 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
538 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
539 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
540 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
542 (AM_MAKEFLAGS): Restore CC and CXX.
543 * interception/Makefile.am: Likewise.
544 * sanitizer_common/Makefile.am: Likewise.
545 * tsan/Makefile.am: Likewise.
546 * Makefile.in: Regenerated.
547 * aclocal.m4: Likewise.
548 * configure: Likewise.
549 * asan/Makefile.in: Likewise.
550 * interception/Makefile.in: Likewise.
551 * sanitizer_common/Makefile.in: Likewise.
552 * tsan/Makefile.in: Likewise.
554 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
556 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
557 * configure.ac (ACX_NONCANONICAL_TARGET): New.
558 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
560 (AM_MAKEFLAGS): Remove CC and CXX.
561 * interception/Makefile.am: Likewise.
562 * sanitizer_common/Makefile.am: Likewise.
563 * tsan/Makefile.am: Likewise.
564 * Makefile.in: Regenerated.
565 * aclocal.m4: Likewise.
566 * configure: Likewise.
567 * asan/Makefile.in: Likewise.
568 * interception/Makefile.in: Likewise.
569 * sanitizer_common/Makefile.in: Likewise.
570 * tsan/Makefile.in: Likewise.
572 2012-11-27 Kostya Serebryany <kcc@google.com>
574 * All files: Merge from upstream r168699.
576 2012-11-24 Kostya Serebryany <kcc@google.com>
577 Jack Howarth <howarth@bromo.med.uc.edu>
579 * interception/mach_override/mach_override.c: Migrate from llvm.
580 * interception/mach_override/mach_override.h: Likewise.
581 * interception/mach_override/LICENSE.txt: Likewise.
582 * configure.tgt: Add darwin to supported targets.
583 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
584 * interception/Makefile.am: Compile mach_override.c when
585 USING_MACH_OVERRIDE defined.
586 * configure: Regenerated.
587 * interception/Makefile.in: Likewise.
589 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
592 * tsan/Makefile.am (gcc_version): New.
593 * tsan/Makefile.in: Regenerated.
595 2012-11-23 Kostya Serebryany <kcc@google.com>
597 * merge.sh: Support tsan, support added/removed files.
598 * tsan/Makefile.am: Remove tsan_printf.cc.
599 * tsan/Makefile.in: Regenerated.
600 * other files: Merge from upstream r168514.
602 2012-11-23 Kostya Serebryany <kcc@google.com>
604 * merge.sh: New file.
606 2012-11-23 Jakub Jelinek <jakub@redhat.com>
608 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
609 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
610 automake conditional instead of !MULTISUBDIR32.
611 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
613 * configure.ac: Check for void * size, source in configure.tgt,
614 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
615 * configure: Regenerated.
616 * Makefile.in: Regenerated.
617 * tsan/Makefile.in: Regenerated.
619 2012-11-22 Wei Mi <wmi@google.com>
621 * tsan: New directory. Import tsan runtime from llvm.
622 * configure.ac: Add 64 bits tsan build.
623 * Makefile.am: Likewise.
624 * configure: Regenerated.
625 * Makefile.in: Likewise.
627 2012-11-21 Kostya Serebryany <kcc@google.com>
629 * README.gcc: Extend the README.gcc with mode details.
631 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
633 * sanitizer_common/sanitizer_linux.cc
634 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
635 (internal_mmap): Use it.
636 (internal_filesize): Likewise.
638 2012-11-16 Tom Tromey <tromey@redhat.com>
640 * configure.ac: Invoke AM_MAINTAINER_MODE.
641 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
642 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
644 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
647 * include/sanitizer/common_interface_defs.h (uhwptr): New type
648 for hardware pointer.
649 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
650 Replace uptr with uhwptr for stack unwind.
652 2012-11-16 Dodji Seketeli <dodji@redhat.com>
654 * configure.tgt: Enable build on sparc linux.
656 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
658 * configure.ac: Properly set MULTISUBDIR.
659 * asan/Makefile.am (gcc_version): New.
660 * interception/Makefile.am (gcc_version): Likewise.
661 * sanitizer_common/Makefile.am (gcc_version): Likewise.
662 * configure: Regenerated.
663 * asan/Makefile.in: Likewise.
664 * interception/Makefile.in: Likewise.
665 * sanitizer_common/Makefile.in: Likewise.
667 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
670 * configure.ac (--enable-version-specific-runtime-libs): New option.
671 (AC_CANONICAL_SYSTEM): New.
672 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
673 (toolexecdir): Support multilib.
674 (toolexeclibdir): Likewise.
676 * Makefile.in: Regenerated.
677 * aclocal.m4: Likewise.
678 * configure: Likewise.
679 * asan/Makefile.in: Likewise.
680 * interception/Makefile.in: Likewise.
681 * sanitizer_common/Makefile.in: Likewise.
683 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
686 Backport from upstream revision 167883
687 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
688 __x86_64__ instead of __WORDSIZE.
689 (internal_filesize): Likwise.
691 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
693 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
694 * Makefile.in: Regenerated.
695 * configure: Likewise.
697 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
700 * acinclude.m4: New file.
701 * Makefile.am (ACLOCAL_AMFLAGS): New.
702 * configure.ac (AC_PREREQ): Set to 2.64.
703 (AC_CONFIG_AUX_DIR): Set to "..".
704 * Makefile.in: Regenerated.
705 * aclocal.m4: Likewise.
706 * configure: Likewise.
707 * asan/Makefile.in: Likewise.
708 * interception/Makefile.in: Likewise.
709 * sanitizer_common/Makefile.in: Likewise.
711 * config.guess: Removed.
712 * config.sub: Likewise.
714 * install-sh: Likewise.
715 * ltmain.sh: Likewise.
718 2012-11-13 Richard Henderson <rth@redhat.com>
720 * configure.tgt: New file.
722 2012-11-12 David S. Miller <davem@davemloft.net>
724 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
726 2012-10-29 Wei Mi <wmi@google.com>
728 Initial checkin: migrate asan runtime from llvm.