1 2014-12-16 Jakub Jelinek <jakub@redhat.com>
3 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
4 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
5 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
8 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
11 * configure: Regenerated.
13 2014-11-21 Jakub Jelinek <jakub@redhat.com>
16 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
17 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
19 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
21 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
22 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
23 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
24 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
25 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
26 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
27 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
28 * sanitizer_common/Makefile.in: Regenerate.
29 * asan/Makefile.in: Ditto.
30 * lsan/Makefile.in: Ditto.
31 * interception/Makefile.in: Ditto.
32 * tsan/Makefile.in: Ditto.
33 * libbacktrace/Makefile.in: Ditto.
34 * ubsan/Makefile.in: Ditto.
36 2014-11-13 Kostya Serebryany <kcc@google.com>
38 * All source files: Merge from upstream r221802.
39 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
40 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
41 with 'start' to follow the new interface.
42 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
43 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
44 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
45 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
46 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
48 (AM_CXXFLAGS): Added -std=c++11.
49 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
50 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
51 * asan/Makefile.in: Regenerate.
52 * interception/Makefile.in: Regenerate.
53 * libbacktrace/Makefile.in: Regenerate.
54 * lsan/Makefile.in: Regenerate.
55 * sanitizer_common/Makefile.in: Regenerate.
56 * tsan/Makefile.in: Regenerate.
57 * ubsan/Makefile.in: Regenerate.
59 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
62 * configure: Regenerate.
64 2014-10-16 Martin Liska <mliska@suse.cz>
66 * asan/Makefile.am: IPA ICF pass is disabled.
67 * asan/Makefile.in: Likewise.
69 2014-10-14 David S. Miller <davem@davemloft.net>
71 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
72 Define at __kernel_time_t, as needed for sparc.
73 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
74 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
75 (__sanitizer): Define struct___old_kernel_stat_sz,
76 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
77 (__sanitizer_ipc_perm): Adjust for sparc targets.
78 (__sanitizer_shmid_ds): Likewsie.
79 (__sanitizer_sigaction): Likewsie.
82 2014-10-14 Jakub Jelinek <jakub@redhat.com>
84 * ubsan/Makefile.am (DEFS): Add -DPIC.
85 * ubsan/Makefile.in: Regenerated.
87 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
89 * configure.tgt: Enable build on aarch64*-linux.
91 2014-09-19 Kostya Serebryany <kcc@google.com>
93 * All source files: Merge from upstream r218156.
94 * asan/Makefile.am (asan_files): Added new files.
95 * asan/Makefile.in: Regenerate.
96 * ubsan/Makefile.am (ubsan_files): Added new files.
97 * ubsan/Makefile.in: Regenerate.
98 * tsan/Makefile.am (tsan_files): Added new files.
99 * tsan/Makefile.in: Regenerate.
100 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
102 * sanitizer_common/Makefile.in: Regenerate.
103 * asan/libtool-version: Bump the libasan SONAME.
105 2014-09-10 Jakub Jelinek <jakub@redhat.com>
107 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
108 upstream r215485, r217389, r217391 and r217400.
110 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
112 * sanitizer_common/sanitizer_common_interceptors.inc:
113 Cherry pick upstream r211008.
115 2014-06-11 Richard Biener <rguenther@suse.de>
117 * asan/asan_linux.cc: Cherry pick upstream r210012.
119 2014-05-30 Jakub Jelinek <jakub@redhat.com>
121 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
123 * sanitizer_common/sanitizer_common.h: Likewise.
124 * asan/asan_mapping.h: Likewise.
125 * asan/asan_linux.cc: Likewise.
126 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
127 * sanitizer_common/sanitizer_allocator.h: Likewise.
129 2014-05-23 Marek Polacek <polacek@redhat.com>
131 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
132 floating-point types.
134 2014-05-22 Kostya Serebryany <kcc@google.com>
136 * All source files: Merge from upstream r209283.
137 * asan/Makefile.am (asan_files): Added new files.
138 * asan/Makefile.in: Regenerate.
139 * tsan/Makefile.am (tsan_files): Added new files.
140 * tsan/Makefile.in: Regenerate.
141 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
143 * sanitizer_common/Makefile.in: Regenerate.
145 2014-05-14 Yury Gribov <y.gribov@samsung.com>
148 * Makefile.am (nodist_saninclude_HEADERS): Install
150 * Makefile.in: Regenerate.
152 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
154 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
155 Add ../../libbacktrace/sort.c.
156 * libbacktrace/Makefile.in: Regenerate.
157 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
159 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
161 * configure.tgt: Unsupported for little endian PowerPC for now.
163 2014-02-04 Jakub Jelinek <jakub@redhat.com>
166 * tsan/tsan_flags.cc (__tsan_default_options): Add
167 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
168 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
171 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
172 sanitizer_atomic.h and unistd.h.
173 (kThreadDescriptorSize): Made static, remove initializer and const,
174 change type to atomic_uintptr_t.
175 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
176 query glibc version, compute kThreadDescriptorSize depending on
177 glibc version minor number.
178 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
179 kThreadDescriptorSize directly.
181 2014-01-23 Yury Gribov <y.gribov@samsung.com>
182 Jakub Jelinek <jakub@redhat.com>
185 * configure.ac: Check for missing syscalls.
186 * Makefile.am: Likewise.
187 * configure: Regenerate.
188 * Makefile.in: Regenerate.
190 2014-01-09 Jakub Jelinek <jakub@redhat.com>
192 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
193 (LibbacktraceSymbolizer::Demangle): New declaration.
194 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
195 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
197 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
198 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
199 (struct CplusV3DemangleData): New type.
200 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
201 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
202 SymbolizeDataCallback): Use CplusV3Demangle.
203 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
204 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
205 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
206 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
207 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
208 cplus_demangle_init_info, cplus_demangle_mangled_name,
209 cplus_demangle_operators, cplus_demangle_print,
210 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
211 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
212 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
214 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
215 (memcmp, strncmp): Redefine.
216 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
217 ../../libiberty/cp-demangle.c.
218 * libbacktrace/bridge.cc (__asan_internal_memcmp,
219 __asan_internal_strncmp): New functions.
220 * sanitizer_common/Makefile.in: Regenerated.
221 * libbacktrace/Makefile.in: Regenerated.
222 * configure: Regenerated.
223 * configure.ac: Regenerated.
224 * config.h.in: Regenerated.
226 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
227 -isystem $(top_srcdir)/include/system.
228 * sanitizer_common/Makefile.in: Regenerated.
229 * include/system/linux/aio_abi.h: New header.
230 * include/system/linux/mroute.h: New header.
231 * include/system/linux/mroute6.h: New header.
232 * include/system/linux/perf_event.h: New header.
233 * include/system/linux/types.h: New header.
236 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
237 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
238 and -I/-include flags.
239 * lsan/Makefile.am (liblsan_la_LIBADD): Add
240 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
241 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
242 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
243 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
244 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
246 * README.gcc: Document that also lsan and ubsan are
247 maintained in compiler-rt upstream.
248 * libbacktrace/Makefile.am: New file.
249 * libbacktrace/backtrace-rename.h: New file.
250 * libbacktrace/backtrace-supported.h.in: New file.
251 * libbacktrace/bridge.cc: New file.
252 * configure.ac: Add tests needed for libbacktrace build
254 * sanitizer_common/Makefile.in: Regenerated.
255 * lsan/Makefile.in: Regenerated.
256 * tsan/Makefile.in: Regenerated.
257 * ubsan/Makefile.in: Regenerated.
258 * libbacktrace/Makefile.in: Generated.
259 * config.h.in: Regenerated.
260 * configure: Regenerated.
261 * Makefile.in: Regenerated.
262 * interception/Makefile.in: Regenerated.
263 * asan/Makefile.in: Regenerated.
264 * aclocal.m4: Regenerated.
266 2013-12-19 Kostya Serebryany <kcc@google.com>
268 * sanitizer_common/sanitizer_platform_limits_posix.cc:
269 workaround for missing definition of EOWNERDEAD, backport
270 from upstream r196779.
272 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
274 * sanitizer_common/sanitizer_platform_limits_posix.h
275 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
276 (__sanitizer_clock_t): Use long long for x32.
278 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
280 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
281 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
282 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
284 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
286 * configure.ac (link_sanitizer_common): Add -lm.
287 * configure: Regenerated.
289 2013-12-05 Kostya Serebryany <kcc@google.com>
291 * All source files: Merge from upstream r196489.
292 * merge.sh: Add *.S to the list of merged files.
294 2013-12-05 Yury Gribov <y.gribov@samsung.com>
297 * Makefile.am (gcc_version): Added gcc_version.
298 * Makefile.in: Regenerate.
300 2013-12-05 Kostya Serebryany <kcc@google.com>
302 * All source files: Merge from upstream r196090.
303 * tsan/Makefile.am (tsan_files): Added new files.
304 * tsan/Makefile.in: Regenerate.
305 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
306 * sanitizer_common/Makefile.in: Regenerate.
307 * lsan/Makefile.am (lsan_files): Added new files.
308 * lsan/Makefile.in: Regenerate.
310 2013-11-29 Jakub Jelinek <jakub@redhat.com>
311 Yury Gribov <y.gribov@samsung.com>
314 * libsanitizer.spec.in: Add spec file to hold link flags for
315 various sanitizer libs.
316 * configure.ac: Check whether clock_* routines come from librt.
317 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
319 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
320 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
321 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
322 * asan/Makefile.in: Regenerate.
323 * interception/Makefile.in: Regenerate.
324 * lsan/Makefile.in: Regenerate.
325 * sanitizer_common/Makefile.in: Regenerate.
326 * tsan/Makefile.in: Regenerate.
327 * ubsan/Makefile.in: Regenerate.
328 * Makefile.in: Regenerate.
329 * configure: Regenerate.
331 2013-11-28 Jakub Jelinek <jakub@redhat.com>
332 Yury Gribov <y.gribov@samsung.com>
335 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
337 * ubsan/Makefile.in: Regenerated.
339 2013-11-22 Jakub Jelinek <jakub@redhat.com>
342 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
343 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
344 * configure: Regenerated.
345 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
346 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
347 * lsan/Makefile.in: Regenerated.
349 2013-11-22 Mike Stump <mikestump@comcast.net>
351 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
352 change from upstream to fix build.
354 2013-11-18 Yury Gribov <y.gribov@samsung.com>
357 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
358 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
359 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
360 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
361 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
362 * asan/Makefile.in: Regenerate.
363 * interception/Makefile.in: Regenerate.
364 * tsan/Makefile.in: Regenerate.
365 * lsan/Makefile.in: Regenerate.
366 * sanitizer_common/Makefile.in: Regenerate.
368 2013-11-15 Kostya Serebryany <kcc@google.com>
371 Backport from upstream revision 194573
372 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
373 back to the original functions in the common libsanitizer
374 interceptors and the __cxa_atexit() interceptor on Darwin.
376 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
379 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
380 ifdef out more source.
382 2013-11-12 Jakub Jelinek <jakub@redhat.com>
384 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
385 ifdef out almost the whole source.
386 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
388 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
391 * sanitizer_common/sanitizer_platform_limits_posix.cc
392 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
395 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
398 * sanitizer_common/sanitizer_platform_limits_linux.cc
399 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
401 * sanitizer_common/sanitizer_platform_limits_posix.h
402 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
404 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
406 (__sanitizer___kernel_gid_t): Likewise.
407 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
410 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
413 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
414 2 64-bit integers to save and restore fn and arg. Properly load
415 newtls/child_tidptr into r8/r10.
417 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
420 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
421 internal_munmap, internal_open, internal_read, internal_write,
422 internal_stat, internal_lstat, internal_fstat, internal_readlink,
423 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
424 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
425 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
427 2013-11-04 Kostya Serebryany <kcc@google.com>
429 * All source files: Merge from upstream r191666.
430 * merge.sh: Added lsan.
431 * configure.ac (AC_CONFIG_FILES): Added lsan.
432 * Makefile.am (SUBDIRS): Added lsan.
433 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
434 * asan/Makefile.am (asan_files): Added new files.
435 (libasan_la_LIBADD): Added a dependency on lsan.
436 * lsan/Makefile.am: New file.
437 * asan/Makefile.in: Regenerate.
438 * lsan/Makefile.in: Regenerate.
439 * Makefile.in: Regenerate.
440 * configure: Regenerate.
441 * sanitizer_common/Makefile.in: Regenerate.
443 2013-09-20 Alan Modra <amodra@gmail.com>
445 * configure: Regenerate.
447 2013-09-01 Iain Sandoe <iain@codesourcery.com>
449 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
450 libinterception.la for Darwin.
451 * ubsan/Makefile.in: Regenerate.
453 2013-08-30 Jakub Jelinek <jakub@redhat.com>
455 * Makefile.am (SUBDIRS): Add ubsan.
456 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
457 * merge.sh: Merge ubsan.
458 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
459 * sanitizer_common/sanitizer_printf.cc: Likewise.
460 * sanitizer_common/sanitizer_common.h: Likewise.
461 * ubsan: New directory. Import ubsan runtime from llvm.
463 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
465 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
466 Cherry pick upstream r182922.
468 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
470 * configure.tgt: Add ARM pattern.
472 2013-03-22 Jakub Jelinek <jakub@redhat.com>
475 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
476 * Makefile.in: Regenerated.
477 * asan/Makefile.in: Regenerated.
478 * interception/Makefile.in: Regenerated.
479 * sanitizer_common/Makefile.in: Regenerated.
480 * tsan/Makefile.in: Regenerated.
482 2013-02-28 Jakub Jelinek <jakub@redhat.com>
484 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
485 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
488 2013-02-22 Jakub Jelinek <jakub@redhat.com>
491 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
493 (libasan_preinit.o): Depend on asan_preinit.o.
494 * asan/Makefile.in: Regenerated.
495 * asan/asan_preinit.cc: New file, synced from upstream.
496 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
498 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
500 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
501 dynamic/asan_interceptors_dynamic.cc.
502 * asan/Makefile.in: Regenerated.
503 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
505 2013-02-21 Jakub Jelinek <jakub@redhat.com>
507 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
508 defined. Add used attribute.
510 2013-02-21 Kostya Serebryany <kcc@google.com>
512 * All source files: Merge from upstream r175733.
513 * sanitizer_common/Makefile.am: Added a new file.
514 * sanitizer_common/Makefile.in: Regenerated.
516 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
519 * interception/interception.h (OFF_T): Merged from upstream
522 2013-02-13 Jakub Jelinek <jakub@redhat.com>
524 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
526 2013-02-13 Kostya Serebryany <kcc@google.com>
529 * All source files: Merge from upstream r175049.
530 * interception/Makefile.am: added include path.
531 * interception/Makefile.in: Regenerated.
533 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
535 * configure.tgt: Disable build on darwin9 and earlier.
537 2013-01-23 Kostya Serebryany <kcc@google.com>
540 * All source files: Merge from upstream r173241.
541 * merge.sh: Support merging .inc files.
543 2013-01-16 Jakub Jelinek <jakub@redhat.com>
545 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
547 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
548 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
549 * sanitizer_common/Makefile.in: Regenerated.
550 * interception/Makefile.in: Regenerated.
551 * asan/Makefile.in: Regenerated.
553 2013-01-10 Wei Mi <wmi@google.com>
556 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
557 * tsan/Makefile.in: Regenerated.
558 * tsan/tsan_rtl.h: Enable HACKY_CALL.
560 2013-01-10 Kostya Serebryany <kcc@google.com>
562 * All source files: Merge from upstream r171973.
563 * sanitizer_common/Makefile.am: Added new files.
564 * asan/Makefile.am: Likewise.
565 * tsan/Makefile.am: Likewise.
566 * sanitizer_common/Makefile.in: Regenerated.
567 * asan/Makefile.in: Likewise.
568 * tsan/Makefile.in: Likewise.
570 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
572 * asan/Makefile.am (libasan_la_LIBADD): Replace
573 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
574 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
575 * Makefile.in: Regenerated.
576 * configure: Likewise.
577 * asan/Makefile.in: Likewise.
578 * interception/Makefile.in: Likewise.
579 * sanitizer_common/Makefile.in: Likewise.
580 * tsan/Makefile.in: Likewise.
582 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
584 * Makefile.am (AM_MAKEFLAGS): Restored.
585 * interception/Makefile.am: Likewise.
586 * sanitizer_common/Makefile.am: Likewise.
587 * tsan/Makefile.am: Likewise.
588 * Makefile.in: Regenerated.
589 * asan/Makefile.in: Likewise.
590 * interception/Makefile.in: Likewise.
591 * sanitizer_common/Makefile.in: Likewise.
592 * tsan/Makefile.in: Likewise.
594 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
596 * Makefile.am (MAKEOVERRIDES): Restored.
597 * asan/Makefile.am: Likewise.
598 * interception/Makefile.am: Likewise.
599 * sanitizer_common/Makefile.am: Likewise.
600 * tsan/Makefile.am: Likewise.
601 * Makefile.in: Regenerated.
602 * asan/Makefile.in: Likewise.
603 * interception/Makefile.in: Likewise.
604 * sanitizer_common/Makefile.in: Likewise.
605 * tsan/Makefile.in: Likewise.
607 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
609 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
610 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
611 * Makefile.in: Regenerated.
612 * configure: Likewise.
613 * asan/Makefile.in: Likewise.
614 * interception/Makefile.in: Likewise.
615 * sanitizer_common/Makefile.in: Likewise.
616 * tsan/Makefile.in: Likewise.
618 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
620 * Makefile.am (AM_MAKEFLAGS): Removed.
621 (MAKEOVERRIDES): Likewise.
622 * asan/Makefile.am: Likewise.
623 * interception/Makefile.am: Likewise.
624 * sanitizer_common/Makefile.am: Likewise.
625 * tsan/Makefile.am: Likewise.
626 * Makefile.in: Regenerated.
627 * asan/Makefile.in: Likewise.
628 * interception/Makefile.in: Likewise.
629 * sanitizer_common/Makefile.in: Likewise.
630 * tsan/Makefile.in: Likewise.
632 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
635 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
636 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
637 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
638 (AM_MAKEFLAGS): Remove CC and CXX.
639 * interception/Makefile.am: Likewise.
640 * sanitizer_common/Makefile.am: Likewise.
641 * tsan/Makefile.am: Likewise.
642 * Makefile.in: Regenerated.
643 * aclocal.m4: Likewise.
644 * configure: Likewise.
645 * asan/Makefile.in: Likewise.
646 * interception/Makefile.in: Likewise.
647 * sanitizer_common/Makefile.in: Likewise.
648 * tsan/Makefile.in: Likewise.
650 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
652 * configure.tgt: Enable build on powerpc*-linux.
654 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
657 * configure.ac: Set enable_static=no on darwin.
658 * configure: Regenerated.
660 2012-12-06 Kostya Serebryany <kcc@google.com>
662 * All files: Merge from upstream r169392.
664 2012-12-05 Kostya Serebryany <kcc@google.com>
666 * All files: Merge from upstream r169371.
668 2012-12-04 Kostya Serebryany <kcc@google.com>
669 Jack Howarth <howarth@bromo.med.uc.edu>
672 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
673 * Makefile.am: Don't build interception subdir when
674 USING_MAC_INTERPOSE defined.
675 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
676 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
677 Compile asan_interceptors_dynamic.cc but not libinterception
678 when USING_MAC_INTERPOSE defined.
679 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
680 * configure: Regenerated.
681 * Makefile.in: Likewise.
682 * asan/Makefile.in: Likewise.
683 * interception/Makefile.in: Likewise.
684 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
685 * asan/asan_mac.cc: Likewise.
686 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
687 and use MISSING_BLOCKS_SUPPORT.
688 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
689 * interception/mach_override/LICENSE.txt: Remove unused file.
690 * interception/mach_override/mach_override.c: Likewise.
691 * interception/mach_override/mach_override.h: Likewise.
692 * interception/mach_override: Remove unused directory.
694 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
696 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
697 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
698 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
700 (AM_MAKEFLAGS): Restore CC and CXX.
701 * interception/Makefile.am: Likewise.
702 * sanitizer_common/Makefile.am: Likewise.
703 * tsan/Makefile.am: Likewise.
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.
710 * tsan/Makefile.in: Likewise.
712 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
714 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
715 * configure.ac (ACX_NONCANONICAL_TARGET): New.
716 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
718 (AM_MAKEFLAGS): Remove CC and CXX.
719 * interception/Makefile.am: Likewise.
720 * sanitizer_common/Makefile.am: Likewise.
721 * tsan/Makefile.am: Likewise.
722 * Makefile.in: Regenerated.
723 * aclocal.m4: Likewise.
724 * configure: Likewise.
725 * asan/Makefile.in: Likewise.
726 * interception/Makefile.in: Likewise.
727 * sanitizer_common/Makefile.in: Likewise.
728 * tsan/Makefile.in: Likewise.
730 2012-11-27 Kostya Serebryany <kcc@google.com>
732 * All files: Merge from upstream r168699.
734 2012-11-24 Kostya Serebryany <kcc@google.com>
735 Jack Howarth <howarth@bromo.med.uc.edu>
737 * interception/mach_override/mach_override.c: Migrate from llvm.
738 * interception/mach_override/mach_override.h: Likewise.
739 * interception/mach_override/LICENSE.txt: Likewise.
740 * configure.tgt: Add darwin to supported targets.
741 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
742 * interception/Makefile.am: Compile mach_override.c when
743 USING_MACH_OVERRIDE defined.
744 * configure: Regenerated.
745 * interception/Makefile.in: Likewise.
747 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
750 * tsan/Makefile.am (gcc_version): New.
751 * tsan/Makefile.in: Regenerated.
753 2012-11-23 Kostya Serebryany <kcc@google.com>
755 * merge.sh: Support tsan, support added/removed files.
756 * tsan/Makefile.am: Remove tsan_printf.cc.
757 * tsan/Makefile.in: Regenerated.
758 * other files: Merge from upstream r168514.
760 2012-11-23 Kostya Serebryany <kcc@google.com>
762 * merge.sh: New file.
764 2012-11-23 Jakub Jelinek <jakub@redhat.com>
766 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
767 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
768 automake conditional instead of !MULTISUBDIR32.
769 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
771 * configure.ac: Check for void * size, source in configure.tgt,
772 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
773 * configure: Regenerated.
774 * Makefile.in: Regenerated.
775 * tsan/Makefile.in: Regenerated.
777 2012-11-22 Wei Mi <wmi@google.com>
779 * tsan: New directory. Import tsan runtime from llvm.
780 * configure.ac: Add 64 bits tsan build.
781 * Makefile.am: Likewise.
782 * configure: Regenerated.
783 * Makefile.in: Likewise.
785 2012-11-21 Kostya Serebryany <kcc@google.com>
787 * README.gcc: Extend the README.gcc with mode details.
789 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
791 * sanitizer_common/sanitizer_linux.cc
792 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
793 (internal_mmap): Use it.
794 (internal_filesize): Likewise.
796 2012-11-16 Tom Tromey <tromey@redhat.com>
798 * configure.ac: Invoke AM_MAINTAINER_MODE.
799 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
800 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
802 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
805 * include/sanitizer/common_interface_defs.h (uhwptr): New type
806 for hardware pointer.
807 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
808 Replace uptr with uhwptr for stack unwind.
810 2012-11-16 Dodji Seketeli <dodji@redhat.com>
812 * configure.tgt: Enable build on sparc linux.
814 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
816 * configure.ac: Properly set MULTISUBDIR.
817 * asan/Makefile.am (gcc_version): New.
818 * interception/Makefile.am (gcc_version): Likewise.
819 * sanitizer_common/Makefile.am (gcc_version): Likewise.
820 * configure: Regenerated.
821 * asan/Makefile.in: Likewise.
822 * interception/Makefile.in: Likewise.
823 * sanitizer_common/Makefile.in: Likewise.
825 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
828 * configure.ac (--enable-version-specific-runtime-libs): New option.
829 (AC_CANONICAL_SYSTEM): New.
830 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
831 (toolexecdir): Support multilib.
832 (toolexeclibdir): Likewise.
834 * Makefile.in: Regenerated.
835 * aclocal.m4: Likewise.
836 * configure: Likewise.
837 * asan/Makefile.in: Likewise.
838 * interception/Makefile.in: Likewise.
839 * sanitizer_common/Makefile.in: Likewise.
841 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
844 Backport from upstream revision 167883
845 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
846 __x86_64__ instead of __WORDSIZE.
847 (internal_filesize): Likwise.
849 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
851 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
852 * Makefile.in: Regenerated.
853 * configure: Likewise.
855 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
858 * acinclude.m4: New file.
859 * Makefile.am (ACLOCAL_AMFLAGS): New.
860 * configure.ac (AC_PREREQ): Set to 2.64.
861 (AC_CONFIG_AUX_DIR): Set to "..".
862 * Makefile.in: Regenerated.
863 * aclocal.m4: Likewise.
864 * configure: Likewise.
865 * asan/Makefile.in: Likewise.
866 * interception/Makefile.in: Likewise.
867 * sanitizer_common/Makefile.in: Likewise.
869 * config.guess: Removed.
870 * config.sub: Likewise.
872 * install-sh: Likewise.
873 * ltmain.sh: Likewise.
876 2012-11-13 Richard Henderson <rth@redhat.com>
878 * configure.tgt: New file.
880 2012-11-12 David S. Miller <davem@davemloft.net>
882 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
884 2012-10-29 Wei Mi <wmi@google.com>
886 Initial checkin: migrate asan runtime from llvm.