1 2014-01-09 Jakub Jelinek <jakub@redhat.com>
3 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
4 (LibbacktraceSymbolizer::Demangle): New declaration.
5 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
6 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
8 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
9 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
10 (struct CplusV3DemangleData): New type.
11 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
12 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
13 SymbolizeDataCallback): Use CplusV3Demangle.
14 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
15 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
16 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
17 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
18 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
19 cplus_demangle_init_info, cplus_demangle_mangled_name,
20 cplus_demangle_operators, cplus_demangle_print,
21 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
22 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
23 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
25 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
26 (memcmp, strncmp): Redefine.
27 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
28 ../../libiberty/cp-demangle.c.
29 * libbacktrace/bridge.cc (__asan_internal_memcmp,
30 __asan_internal_strncmp): New functions.
31 * sanitizer_common/Makefile.in: Regenerated.
32 * libbacktrace/Makefile.in: Regenerated.
33 * configure: Regenerated.
34 * configure.ac: Regenerated.
35 * config.h.in: Regenerated.
37 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
38 -isystem $(top_srcdir)/include/system.
39 * sanitizer_common/Makefile.in: Regenerated.
40 * include/system/linux/aio_abi.h: New header.
41 * include/system/linux/mroute.h: New header.
42 * include/system/linux/mroute6.h: New header.
43 * include/system/linux/perf_event.h: New header.
44 * include/system/linux/types.h: New header.
47 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
48 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
49 and -I/-include flags.
50 * lsan/Makefile.am (liblsan_la_LIBADD): Add
51 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
52 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
53 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
54 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
55 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
57 * README.gcc: Document that also lsan and ubsan are
58 maintained in compiler-rt upstream.
59 * libbacktrace/Makefile.am: New file.
60 * libbacktrace/backtrace-rename.h: New file.
61 * libbacktrace/backtrace-supported.h.in: New file.
62 * libbacktrace/bridge.cc: New file.
63 * configure.ac: Add tests needed for libbacktrace build
65 * sanitizer_common/Makefile.in: Regenerated.
66 * lsan/Makefile.in: Regenerated.
67 * tsan/Makefile.in: Regenerated.
68 * ubsan/Makefile.in: Regenerated.
69 * libbacktrace/Makefile.in: Generated.
70 * config.h.in: Regenerated.
71 * configure: Regenerated.
72 * Makefile.in: Regenerated.
73 * interception/Makefile.in: Regenerated.
74 * asan/Makefile.in: Regenerated.
75 * aclocal.m4: Regenerated.
77 2013-12-19 Kostya Serebryany <kcc@google.com>
79 * sanitizer_common/sanitizer_platform_limits_posix.cc:
80 workaround for missing definition of EOWNERDEAD, backport
81 from upstream r196779.
83 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
85 * sanitizer_common/sanitizer_platform_limits_posix.h
86 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
87 (__sanitizer_clock_t): Use long long for x32.
89 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
91 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
92 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
93 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
95 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
97 * configure.ac (link_sanitizer_common): Add -lm.
98 * configure: Regenerated.
100 2013-12-05 Kostya Serebryany <kcc@google.com>
102 * All source files: Merge from upstream r196489.
103 * merge.sh: Add *.S to the list of merged files.
105 2013-12-05 Yury Gribov <y.gribov@samsung.com>
108 * Makefile.am (gcc_version): Added gcc_version.
109 * Makefile.in: Regenerate.
111 2013-12-05 Kostya Serebryany <kcc@google.com>
113 * All source files: Merge from upstream r196090.
114 * tsan/Makefile.am (tsan_files): Added new files.
115 * tsan/Makefile.in: Regenerate.
116 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
117 * sanitizer_common/Makefile.in: Regenerate.
118 * lsan/Makefile.am (lsan_files): Added new files.
119 * lsan/Makefile.in: Regenerate.
121 2013-11-29 Jakub Jelinek <jakub@redhat.com>
122 Yury Gribov <y.gribov@samsung.com>
125 * libsanitizer.spec.in: Add spec file to hold link flags for
126 various sanitizer libs.
127 * configure.ac: Check whether clock_* routines come from librt.
128 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
130 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
131 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
132 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
133 * asan/Makefile.in: Regenerate.
134 * interception/Makefile.in: Regenerate.
135 * lsan/Makefile.in: Regenerate.
136 * sanitizer_common/Makefile.in: Regenerate.
137 * tsan/Makefile.in: Regenerate.
138 * ubsan/Makefile.in: Regenerate.
139 * Makefile.in: Regenerate.
140 * configure: Regenerate.
142 2013-11-28 Jakub Jelinek <jakub@redhat.com>
143 Yury Gribov <y.gribov@samsung.com>
146 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
148 * ubsan/Makefile.in: Regenerated.
150 2013-11-22 Jakub Jelinek <jakub@redhat.com>
153 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
154 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
155 * configure: Regenerated.
156 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
157 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
158 * lsan/Makefile.in: Regenerated.
160 2013-11-22 Mike Stump <mikestump@comcast.net>
162 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
163 change from upstream to fix build.
165 2013-11-18 Yury Gribov <y.gribov@samsung.com>
168 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
169 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
170 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
171 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
172 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
173 * asan/Makefile.in: Regenerate.
174 * interception/Makefile.in: Regenerate.
175 * tsan/Makefile.in: Regenerate.
176 * lsan/Makefile.in: Regenerate.
177 * sanitizer_common/Makefile.in: Regenerate.
179 2013-11-15 Kostya Serebryany <kcc@google.com>
182 Backport from upstream revision 194573
183 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
184 back to the original functions in the common libsanitizer
185 interceptors and the __cxa_atexit() interceptor on Darwin.
187 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
190 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
191 ifdef out more source.
193 2013-11-12 Jakub Jelinek <jakub@redhat.com>
195 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
196 ifdef out almost the whole source.
197 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
199 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
202 * sanitizer_common/sanitizer_platform_limits_posix.cc
203 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
206 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
209 * sanitizer_common/sanitizer_platform_limits_linux.cc
210 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
212 * sanitizer_common/sanitizer_platform_limits_posix.h
213 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
215 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
217 (__sanitizer___kernel_gid_t): Likewise.
218 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
221 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
224 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
225 2 64-bit integers to save and restore fn and arg. Properly load
226 newtls/child_tidptr into r8/r10.
228 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
231 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
232 internal_munmap, internal_open, internal_read, internal_write,
233 internal_stat, internal_lstat, internal_fstat, internal_readlink,
234 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
235 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
236 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
238 2013-11-04 Kostya Serebryany <kcc@google.com>
240 * All source files: Merge from upstream r191666.
241 * merge.sh: Added lsan.
242 * configure.ac (AC_CONFIG_FILES): Added lsan.
243 * Makefile.am (SUBDIRS): Added lsan.
244 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
245 * asan/Makefile.am (asan_files): Added new files.
246 (libasan_la_LIBADD): Added a dependency on lsan.
247 * lsan/Makefile.am: New file.
248 * asan/Makefile.in: Regenerate.
249 * lsan/Makefile.in: Regenerate.
250 * Makefile.in: Regenerate.
251 * configure: Regenerate.
252 * sanitizer_common/Makefile.in: Regenerate.
254 2013-09-20 Alan Modra <amodra@gmail.com>
256 * configure: Regenerate.
258 2013-09-01 Iain Sandoe <iain@codesourcery.com>
260 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
261 libinterception.la for Darwin.
262 * ubsan/Makefile.in: Regenerate.
264 2013-08-30 Jakub Jelinek <jakub@redhat.com>
266 * Makefile.am (SUBDIRS): Add ubsan.
267 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
268 * merge.sh: Merge ubsan.
269 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
270 * sanitizer_common/sanitizer_printf.cc: Likewise.
271 * sanitizer_common/sanitizer_common.h: Likewise.
272 * ubsan: New directory. Import ubsan runtime from llvm.
274 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
276 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
277 Cherry pick upstream r182922.
279 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
281 * configure.tgt: Add ARM pattern.
283 2013-03-22 Jakub Jelinek <jakub@redhat.com>
286 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
287 * Makefile.in: Regenerated.
288 * asan/Makefile.in: Regenerated.
289 * interception/Makefile.in: Regenerated.
290 * sanitizer_common/Makefile.in: Regenerated.
291 * tsan/Makefile.in: Regenerated.
293 2013-02-28 Jakub Jelinek <jakub@redhat.com>
295 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
296 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
299 2013-02-22 Jakub Jelinek <jakub@redhat.com>
302 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
304 (libasan_preinit.o): Depend on asan_preinit.o.
305 * asan/Makefile.in: Regenerated.
306 * asan/asan_preinit.cc: New file, synced from upstream.
307 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
309 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
311 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
312 dynamic/asan_interceptors_dynamic.cc.
313 * asan/Makefile.in: Regenerated.
314 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
316 2013-02-21 Jakub Jelinek <jakub@redhat.com>
318 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
319 defined. Add used attribute.
321 2013-02-21 Kostya Serebryany <kcc@google.com>
323 * All source files: Merge from upstream r175733.
324 * sanitizer_common/Makefile.am: Added a new file.
325 * sanitizer_common/Makefile.in: Regenerated.
327 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
330 * interception/interception.h (OFF_T): Merged from upstream
333 2013-02-13 Jakub Jelinek <jakub@redhat.com>
335 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
337 2013-02-13 Kostya Serebryany <kcc@google.com>
340 * All source files: Merge from upstream r175049.
341 * interception/Makefile.am: added include path.
342 * interception/Makefile.in: Regenerated.
344 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
346 * configure.tgt: Disable build on darwin9 and earlier.
348 2013-01-23 Kostya Serebryany <kcc@google.com>
351 * All source files: Merge from upstream r173241.
352 * merge.sh: Support merging .inc files.
354 2013-01-16 Jakub Jelinek <jakub@redhat.com>
356 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
358 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
359 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
360 * sanitizer_common/Makefile.in: Regenerated.
361 * interception/Makefile.in: Regenerated.
362 * asan/Makefile.in: Regenerated.
364 2013-01-10 Wei Mi <wmi@google.com>
367 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
368 * tsan/Makefile.in: Regenerated.
369 * tsan/tsan_rtl.h: Enable HACKY_CALL.
371 2013-01-10 Kostya Serebryany <kcc@google.com>
373 * All source files: Merge from upstream r171973.
374 * sanitizer_common/Makefile.am: Added new files.
375 * asan/Makefile.am: Likewise.
376 * tsan/Makefile.am: Likewise.
377 * sanitizer_common/Makefile.in: Regenerated.
378 * asan/Makefile.in: Likewise.
379 * tsan/Makefile.in: Likewise.
381 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
383 * asan/Makefile.am (libasan_la_LIBADD): Replace
384 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
385 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
386 * Makefile.in: Regenerated.
387 * configure: Likewise.
388 * asan/Makefile.in: Likewise.
389 * interception/Makefile.in: Likewise.
390 * sanitizer_common/Makefile.in: Likewise.
391 * tsan/Makefile.in: Likewise.
393 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
395 * Makefile.am (AM_MAKEFLAGS): Restored.
396 * interception/Makefile.am: Likewise.
397 * sanitizer_common/Makefile.am: Likewise.
398 * tsan/Makefile.am: Likewise.
399 * Makefile.in: Regenerated.
400 * asan/Makefile.in: Likewise.
401 * interception/Makefile.in: Likewise.
402 * sanitizer_common/Makefile.in: Likewise.
403 * tsan/Makefile.in: Likewise.
405 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
407 * Makefile.am (MAKEOVERRIDES): Restored.
408 * asan/Makefile.am: Likewise.
409 * interception/Makefile.am: Likewise.
410 * sanitizer_common/Makefile.am: Likewise.
411 * tsan/Makefile.am: Likewise.
412 * Makefile.in: Regenerated.
413 * asan/Makefile.in: Likewise.
414 * interception/Makefile.in: Likewise.
415 * sanitizer_common/Makefile.in: Likewise.
416 * tsan/Makefile.in: Likewise.
418 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
420 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
421 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
422 * Makefile.in: Regenerated.
423 * configure: Likewise.
424 * asan/Makefile.in: Likewise.
425 * interception/Makefile.in: Likewise.
426 * sanitizer_common/Makefile.in: Likewise.
427 * tsan/Makefile.in: Likewise.
429 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
431 * Makefile.am (AM_MAKEFLAGS): Removed.
432 (MAKEOVERRIDES): Likewise.
433 * asan/Makefile.am: Likewise.
434 * interception/Makefile.am: Likewise.
435 * sanitizer_common/Makefile.am: Likewise.
436 * tsan/Makefile.am: Likewise.
437 * Makefile.in: Regenerated.
438 * asan/Makefile.in: Likewise.
439 * interception/Makefile.in: Likewise.
440 * sanitizer_common/Makefile.in: Likewise.
441 * tsan/Makefile.in: Likewise.
443 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
446 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
447 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
448 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
449 (AM_MAKEFLAGS): Remove CC and CXX.
450 * interception/Makefile.am: Likewise.
451 * sanitizer_common/Makefile.am: Likewise.
452 * tsan/Makefile.am: Likewise.
453 * Makefile.in: Regenerated.
454 * aclocal.m4: Likewise.
455 * configure: Likewise.
456 * asan/Makefile.in: Likewise.
457 * interception/Makefile.in: Likewise.
458 * sanitizer_common/Makefile.in: Likewise.
459 * tsan/Makefile.in: Likewise.
461 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
463 * configure.tgt: Enable build on powerpc*-linux.
465 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
468 * configure.ac: Set enable_static=no on darwin.
469 * configure: Regenerated.
471 2012-12-06 Kostya Serebryany <kcc@google.com>
473 * All files: Merge from upstream r169392.
475 2012-12-05 Kostya Serebryany <kcc@google.com>
477 * All files: Merge from upstream r169371.
479 2012-12-04 Kostya Serebryany <kcc@google.com>
480 Jack Howarth <howarth@bromo.med.uc.edu>
483 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
484 * Makefile.am: Don't build interception subdir when
485 USING_MAC_INTERPOSE defined.
486 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
487 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
488 Compile asan_interceptors_dynamic.cc but not libinterception
489 when USING_MAC_INTERPOSE defined.
490 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
491 * configure: Regenerated.
492 * Makefile.in: Likewise.
493 * asan/Makefile.in: Likewise.
494 * interception/Makefile.in: Likewise.
495 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
496 * asan/asan_mac.cc: Likewise.
497 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
498 and use MISSING_BLOCKS_SUPPORT.
499 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
500 * interception/mach_override/LICENSE.txt: Remove unused file.
501 * interception/mach_override/mach_override.c: Likewise.
502 * interception/mach_override/mach_override.h: Likewise.
503 * interception/mach_override: Remove unused directory.
505 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
507 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
508 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
509 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
511 (AM_MAKEFLAGS): Restore CC and CXX.
512 * interception/Makefile.am: Likewise.
513 * sanitizer_common/Makefile.am: Likewise.
514 * tsan/Makefile.am: Likewise.
515 * Makefile.in: Regenerated.
516 * aclocal.m4: Likewise.
517 * configure: Likewise.
518 * asan/Makefile.in: Likewise.
519 * interception/Makefile.in: Likewise.
520 * sanitizer_common/Makefile.in: Likewise.
521 * tsan/Makefile.in: Likewise.
523 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
525 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
526 * configure.ac (ACX_NONCANONICAL_TARGET): New.
527 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
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-11-27 Kostya Serebryany <kcc@google.com>
543 * All files: Merge from upstream r168699.
545 2012-11-24 Kostya Serebryany <kcc@google.com>
546 Jack Howarth <howarth@bromo.med.uc.edu>
548 * interception/mach_override/mach_override.c: Migrate from llvm.
549 * interception/mach_override/mach_override.h: Likewise.
550 * interception/mach_override/LICENSE.txt: Likewise.
551 * configure.tgt: Add darwin to supported targets.
552 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
553 * interception/Makefile.am: Compile mach_override.c when
554 USING_MACH_OVERRIDE defined.
555 * configure: Regenerated.
556 * interception/Makefile.in: Likewise.
558 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
561 * tsan/Makefile.am (gcc_version): New.
562 * tsan/Makefile.in: Regenerated.
564 2012-11-23 Kostya Serebryany <kcc@google.com>
566 * merge.sh: Support tsan, support added/removed files.
567 * tsan/Makefile.am: Remove tsan_printf.cc.
568 * tsan/Makefile.in: Regenerated.
569 * other files: Merge from upstream r168514.
571 2012-11-23 Kostya Serebryany <kcc@google.com>
573 * merge.sh: New file.
575 2012-11-23 Jakub Jelinek <jakub@redhat.com>
577 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
578 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
579 automake conditional instead of !MULTISUBDIR32.
580 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
582 * configure.ac: Check for void * size, source in configure.tgt,
583 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
584 * configure: Regenerated.
585 * Makefile.in: Regenerated.
586 * tsan/Makefile.in: Regenerated.
588 2012-11-22 Wei Mi <wmi@google.com>
590 * tsan: New directory. Import tsan runtime from llvm.
591 * configure.ac: Add 64 bits tsan build.
592 * Makefile.am: Likewise.
593 * configure: Regenerated.
594 * Makefile.in: Likewise.
596 2012-11-21 Kostya Serebryany <kcc@google.com>
598 * README.gcc: Extend the README.gcc with mode details.
600 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
602 * sanitizer_common/sanitizer_linux.cc
603 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
604 (internal_mmap): Use it.
605 (internal_filesize): Likewise.
607 2012-11-16 Tom Tromey <tromey@redhat.com>
609 * configure.ac: Invoke AM_MAINTAINER_MODE.
610 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
611 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
613 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
616 * include/sanitizer/common_interface_defs.h (uhwptr): New type
617 for hardware pointer.
618 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
619 Replace uptr with uhwptr for stack unwind.
621 2012-11-16 Dodji Seketeli <dodji@redhat.com>
623 * configure.tgt: Enable build on sparc linux.
625 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
627 * configure.ac: Properly set MULTISUBDIR.
628 * asan/Makefile.am (gcc_version): New.
629 * interception/Makefile.am (gcc_version): Likewise.
630 * sanitizer_common/Makefile.am (gcc_version): Likewise.
631 * configure: Regenerated.
632 * asan/Makefile.in: Likewise.
633 * interception/Makefile.in: Likewise.
634 * sanitizer_common/Makefile.in: Likewise.
636 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
639 * configure.ac (--enable-version-specific-runtime-libs): New option.
640 (AC_CANONICAL_SYSTEM): New.
641 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
642 (toolexecdir): Support multilib.
643 (toolexeclibdir): Likewise.
645 * Makefile.in: Regenerated.
646 * aclocal.m4: Likewise.
647 * configure: Likewise.
648 * asan/Makefile.in: Likewise.
649 * interception/Makefile.in: Likewise.
650 * sanitizer_common/Makefile.in: Likewise.
652 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
655 Backport from upstream revision 167883
656 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
657 __x86_64__ instead of __WORDSIZE.
658 (internal_filesize): Likwise.
660 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
662 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
663 * Makefile.in: Regenerated.
664 * configure: Likewise.
666 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
669 * acinclude.m4: New file.
670 * Makefile.am (ACLOCAL_AMFLAGS): New.
671 * configure.ac (AC_PREREQ): Set to 2.64.
672 (AC_CONFIG_AUX_DIR): Set to "..".
673 * Makefile.in: Regenerated.
674 * aclocal.m4: Likewise.
675 * configure: Likewise.
676 * asan/Makefile.in: Likewise.
677 * interception/Makefile.in: Likewise.
678 * sanitizer_common/Makefile.in: Likewise.
680 * config.guess: Removed.
681 * config.sub: Likewise.
683 * install-sh: Likewise.
684 * ltmain.sh: Likewise.
687 2012-11-13 Richard Henderson <rth@redhat.com>
689 * configure.tgt: New file.
691 2012-11-12 David S. Miller <davem@davemloft.net>
693 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
695 2012-10-29 Wei Mi <wmi@google.com>
697 Initial checkin: migrate asan runtime from llvm.