1 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
4 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
6 * sanitizer_common/sanitizer_platform.h: Likewise.
7 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
9 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
11 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
12 upstream 224508 and 224755.
14 2015-03-09 Jakub Jelinek <jakub@redhat.com>
18 2014-10-14 David S. Miller <davem@davemloft.net>
20 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
21 Define at __kernel_time_t, as needed for sparc.
22 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
23 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
24 (__sanitizer): Define struct___old_kernel_stat_sz,
25 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
26 (__sanitizer_ipc_perm): Adjust for sparc targets.
27 (__sanitizer_shmid_ds): Likewsie.
28 (__sanitizer_sigaction): Likewise.
31 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
33 * configure.tgt: Enable build on powerpc*le-*-linux.
35 2015-02-23 Jakub Jelinek <jakub@redhat.com>
38 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
39 support until it is rewritten upstream.
41 2015-01-26 Matthias Klose <doko@ubuntu.com>
43 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
44 * configure: Regenerate.
46 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
48 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
49 * configure: Regenerate.
50 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
52 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
54 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
55 * configure: Regenerate.
56 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
57 (libtsan_la_DEPENDENCIES): Likewise.
58 * Makefile.in: Regenerate.
59 * asan/Makefile.in: Regenerate.
60 * interception/Makefile.in: Regenerate.
61 * libbacktrace/Makefile.in: Regenerate.
62 * lsan/Makefile.in: Regenerate.
63 * sanitizer_common/Makefile.in: Regenerate.
64 * tsan/Makefile.in: Regenerate.
65 * ubsan/Makefile.in: Regenerate.
67 2015-01-22 Jakub Jelinek <jakub@redhat.com>
69 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
71 2015-01-21 Jakub Jelinek <jakub@redhat.com>
74 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
76 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
77 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
79 2015-01-20 Jakub Jelinek <jakub@redhat.com>
82 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
84 2015-01-19 Jakub Jelinek <jakub@redhat.com>
87 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
90 2015-01-13 Jakub Jelinek <jakub@redhat.com>
92 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
93 upstream r224518 and r224519.
94 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
97 2014-12-16 Jakub Jelinek <jakub@redhat.com>
99 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
100 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
101 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
104 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
107 * configure: Regenerated.
109 2014-11-21 Jakub Jelinek <jakub@redhat.com>
112 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
113 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
115 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
117 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
118 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
119 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
120 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
121 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
122 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
123 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
124 * sanitizer_common/Makefile.in: Regenerate.
125 * asan/Makefile.in: Ditto.
126 * lsan/Makefile.in: Ditto.
127 * interception/Makefile.in: Ditto.
128 * tsan/Makefile.in: Ditto.
129 * libbacktrace/Makefile.in: Ditto.
130 * ubsan/Makefile.in: Ditto.
132 2014-11-13 Kostya Serebryany <kcc@google.com>
134 * All source files: Merge from upstream r221802.
135 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
136 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
137 with 'start' to follow the new interface.
138 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
139 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
140 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
141 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
142 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
144 (AM_CXXFLAGS): Added -std=c++11.
145 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
146 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
147 * asan/Makefile.in: Regenerate.
148 * interception/Makefile.in: Regenerate.
149 * libbacktrace/Makefile.in: Regenerate.
150 * lsan/Makefile.in: Regenerate.
151 * sanitizer_common/Makefile.in: Regenerate.
152 * tsan/Makefile.in: Regenerate.
153 * ubsan/Makefile.in: Regenerate.
155 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
158 * configure: Regenerate.
160 2014-10-16 Martin Liska <mliska@suse.cz>
162 * asan/Makefile.am: IPA ICF pass is disabled.
163 * asan/Makefile.in: Likewise.
165 2014-10-14 David S. Miller <davem@davemloft.net>
167 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
168 Define at __kernel_time_t, as needed for sparc.
169 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
170 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
171 (__sanitizer): Define struct___old_kernel_stat_sz,
172 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
173 (__sanitizer_ipc_perm): Adjust for sparc targets.
174 (__sanitizer_shmid_ds): Likewsie.
175 (__sanitizer_sigaction): Likewsie.
176 (IOC_SIZE): Likewsie.
178 2014-10-14 Jakub Jelinek <jakub@redhat.com>
180 * ubsan/Makefile.am (DEFS): Add -DPIC.
181 * ubsan/Makefile.in: Regenerated.
183 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
185 * configure.tgt: Enable build on aarch64*-linux.
187 2014-09-19 Kostya Serebryany <kcc@google.com>
189 * All source files: Merge from upstream r218156.
190 * asan/Makefile.am (asan_files): Added new files.
191 * asan/Makefile.in: Regenerate.
192 * ubsan/Makefile.am (ubsan_files): Added new files.
193 * ubsan/Makefile.in: Regenerate.
194 * tsan/Makefile.am (tsan_files): Added new files.
195 * tsan/Makefile.in: Regenerate.
196 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
198 * sanitizer_common/Makefile.in: Regenerate.
199 * asan/libtool-version: Bump the libasan SONAME.
201 2014-09-10 Jakub Jelinek <jakub@redhat.com>
203 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
204 upstream r215485, r217389, r217391 and r217400.
206 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
208 * sanitizer_common/sanitizer_common_interceptors.inc:
209 Cherry pick upstream r211008.
211 2014-06-11 Richard Biener <rguenther@suse.de>
213 * asan/asan_linux.cc: Cherry pick upstream r210012.
215 2014-05-30 Jakub Jelinek <jakub@redhat.com>
217 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
219 * sanitizer_common/sanitizer_common.h: Likewise.
220 * asan/asan_mapping.h: Likewise.
221 * asan/asan_linux.cc: Likewise.
222 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
223 * sanitizer_common/sanitizer_allocator.h: Likewise.
225 2014-05-23 Marek Polacek <polacek@redhat.com>
227 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
228 floating-point types.
230 2014-05-22 Kostya Serebryany <kcc@google.com>
232 * All source files: Merge from upstream r209283.
233 * asan/Makefile.am (asan_files): Added new files.
234 * asan/Makefile.in: Regenerate.
235 * tsan/Makefile.am (tsan_files): Added new files.
236 * tsan/Makefile.in: Regenerate.
237 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
239 * sanitizer_common/Makefile.in: Regenerate.
241 2014-05-14 Yury Gribov <y.gribov@samsung.com>
244 * Makefile.am (nodist_saninclude_HEADERS): Install
246 * Makefile.in: Regenerate.
248 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
250 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
251 Add ../../libbacktrace/sort.c.
252 * libbacktrace/Makefile.in: Regenerate.
253 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
255 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
257 * configure.tgt: Unsupported for little endian PowerPC for now.
259 2014-02-04 Jakub Jelinek <jakub@redhat.com>
262 * tsan/tsan_flags.cc (__tsan_default_options): Add
263 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
264 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
267 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
268 sanitizer_atomic.h and unistd.h.
269 (kThreadDescriptorSize): Made static, remove initializer and const,
270 change type to atomic_uintptr_t.
271 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
272 query glibc version, compute kThreadDescriptorSize depending on
273 glibc version minor number.
274 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
275 kThreadDescriptorSize directly.
277 2014-01-23 Yury Gribov <y.gribov@samsung.com>
278 Jakub Jelinek <jakub@redhat.com>
281 * configure.ac: Check for missing syscalls.
282 * Makefile.am: Likewise.
283 * configure: Regenerate.
284 * Makefile.in: Regenerate.
286 2014-01-09 Jakub Jelinek <jakub@redhat.com>
288 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
289 (LibbacktraceSymbolizer::Demangle): New declaration.
290 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
291 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
293 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
294 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
295 (struct CplusV3DemangleData): New type.
296 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
297 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
298 SymbolizeDataCallback): Use CplusV3Demangle.
299 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
300 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
301 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
302 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
303 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
304 cplus_demangle_init_info, cplus_demangle_mangled_name,
305 cplus_demangle_operators, cplus_demangle_print,
306 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
307 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
308 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
310 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
311 (memcmp, strncmp): Redefine.
312 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
313 ../../libiberty/cp-demangle.c.
314 * libbacktrace/bridge.cc (__asan_internal_memcmp,
315 __asan_internal_strncmp): New functions.
316 * sanitizer_common/Makefile.in: Regenerated.
317 * libbacktrace/Makefile.in: Regenerated.
318 * configure: Regenerated.
319 * configure.ac: Regenerated.
320 * config.h.in: Regenerated.
322 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
323 -isystem $(top_srcdir)/include/system.
324 * sanitizer_common/Makefile.in: Regenerated.
325 * include/system/linux/aio_abi.h: New header.
326 * include/system/linux/mroute.h: New header.
327 * include/system/linux/mroute6.h: New header.
328 * include/system/linux/perf_event.h: New header.
329 * include/system/linux/types.h: New header.
332 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
333 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
334 and -I/-include flags.
335 * lsan/Makefile.am (liblsan_la_LIBADD): Add
336 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
337 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
338 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
339 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
340 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
342 * README.gcc: Document that also lsan and ubsan are
343 maintained in compiler-rt upstream.
344 * libbacktrace/Makefile.am: New file.
345 * libbacktrace/backtrace-rename.h: New file.
346 * libbacktrace/backtrace-supported.h.in: New file.
347 * libbacktrace/bridge.cc: New file.
348 * configure.ac: Add tests needed for libbacktrace build
350 * sanitizer_common/Makefile.in: Regenerated.
351 * lsan/Makefile.in: Regenerated.
352 * tsan/Makefile.in: Regenerated.
353 * ubsan/Makefile.in: Regenerated.
354 * libbacktrace/Makefile.in: Generated.
355 * config.h.in: Regenerated.
356 * configure: Regenerated.
357 * Makefile.in: Regenerated.
358 * interception/Makefile.in: Regenerated.
359 * asan/Makefile.in: Regenerated.
360 * aclocal.m4: Regenerated.
362 2013-12-19 Kostya Serebryany <kcc@google.com>
364 * sanitizer_common/sanitizer_platform_limits_posix.cc:
365 workaround for missing definition of EOWNERDEAD, backport
366 from upstream r196779.
368 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
370 * sanitizer_common/sanitizer_platform_limits_posix.h
371 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
372 (__sanitizer_clock_t): Use long long for x32.
374 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
376 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
377 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
378 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
380 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
382 * configure.ac (link_sanitizer_common): Add -lm.
383 * configure: Regenerated.
385 2013-12-05 Kostya Serebryany <kcc@google.com>
387 * All source files: Merge from upstream r196489.
388 * merge.sh: Add *.S to the list of merged files.
390 2013-12-05 Yury Gribov <y.gribov@samsung.com>
393 * Makefile.am (gcc_version): Added gcc_version.
394 * Makefile.in: Regenerate.
396 2013-12-05 Kostya Serebryany <kcc@google.com>
398 * All source files: Merge from upstream r196090.
399 * tsan/Makefile.am (tsan_files): Added new files.
400 * tsan/Makefile.in: Regenerate.
401 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
402 * sanitizer_common/Makefile.in: Regenerate.
403 * lsan/Makefile.am (lsan_files): Added new files.
404 * lsan/Makefile.in: Regenerate.
406 2013-11-29 Jakub Jelinek <jakub@redhat.com>
407 Yury Gribov <y.gribov@samsung.com>
410 * libsanitizer.spec.in: Add spec file to hold link flags for
411 various sanitizer libs.
412 * configure.ac: Check whether clock_* routines come from librt.
413 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
415 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
416 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
417 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
418 * asan/Makefile.in: Regenerate.
419 * interception/Makefile.in: Regenerate.
420 * lsan/Makefile.in: Regenerate.
421 * sanitizer_common/Makefile.in: Regenerate.
422 * tsan/Makefile.in: Regenerate.
423 * ubsan/Makefile.in: Regenerate.
424 * Makefile.in: Regenerate.
425 * configure: Regenerate.
427 2013-11-28 Jakub Jelinek <jakub@redhat.com>
428 Yury Gribov <y.gribov@samsung.com>
431 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
433 * ubsan/Makefile.in: Regenerated.
435 2013-11-22 Jakub Jelinek <jakub@redhat.com>
438 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
439 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
440 * configure: Regenerated.
441 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
442 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
443 * lsan/Makefile.in: Regenerated.
445 2013-11-22 Mike Stump <mikestump@comcast.net>
447 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
448 change from upstream to fix build.
450 2013-11-18 Yury Gribov <y.gribov@samsung.com>
453 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
454 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
455 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
456 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
457 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
458 * asan/Makefile.in: Regenerate.
459 * interception/Makefile.in: Regenerate.
460 * tsan/Makefile.in: Regenerate.
461 * lsan/Makefile.in: Regenerate.
462 * sanitizer_common/Makefile.in: Regenerate.
464 2013-11-15 Kostya Serebryany <kcc@google.com>
467 Backport from upstream revision 194573
468 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
469 back to the original functions in the common libsanitizer
470 interceptors and the __cxa_atexit() interceptor on Darwin.
472 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
475 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
476 ifdef out more source.
478 2013-11-12 Jakub Jelinek <jakub@redhat.com>
480 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
481 ifdef out almost the whole source.
482 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
484 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
487 * sanitizer_common/sanitizer_platform_limits_posix.cc
488 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
491 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
494 * sanitizer_common/sanitizer_platform_limits_linux.cc
495 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
497 * sanitizer_common/sanitizer_platform_limits_posix.h
498 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
500 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
502 (__sanitizer___kernel_gid_t): Likewise.
503 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
506 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
509 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
510 2 64-bit integers to save and restore fn and arg. Properly load
511 newtls/child_tidptr into r8/r10.
513 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
516 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
517 internal_munmap, internal_open, internal_read, internal_write,
518 internal_stat, internal_lstat, internal_fstat, internal_readlink,
519 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
520 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
521 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
523 2013-11-04 Kostya Serebryany <kcc@google.com>
525 * All source files: Merge from upstream r191666.
526 * merge.sh: Added lsan.
527 * configure.ac (AC_CONFIG_FILES): Added lsan.
528 * Makefile.am (SUBDIRS): Added lsan.
529 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
530 * asan/Makefile.am (asan_files): Added new files.
531 (libasan_la_LIBADD): Added a dependency on lsan.
532 * lsan/Makefile.am: New file.
533 * asan/Makefile.in: Regenerate.
534 * lsan/Makefile.in: Regenerate.
535 * Makefile.in: Regenerate.
536 * configure: Regenerate.
537 * sanitizer_common/Makefile.in: Regenerate.
539 2013-09-20 Alan Modra <amodra@gmail.com>
541 * configure: Regenerate.
543 2013-09-01 Iain Sandoe <iain@codesourcery.com>
545 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
546 libinterception.la for Darwin.
547 * ubsan/Makefile.in: Regenerate.
549 2013-08-30 Jakub Jelinek <jakub@redhat.com>
551 * Makefile.am (SUBDIRS): Add ubsan.
552 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
553 * merge.sh: Merge ubsan.
554 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
555 * sanitizer_common/sanitizer_printf.cc: Likewise.
556 * sanitizer_common/sanitizer_common.h: Likewise.
557 * ubsan: New directory. Import ubsan runtime from llvm.
559 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
561 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
562 Cherry pick upstream r182922.
564 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
566 * configure.tgt: Add ARM pattern.
568 2013-03-22 Jakub Jelinek <jakub@redhat.com>
571 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
572 * Makefile.in: Regenerated.
573 * asan/Makefile.in: Regenerated.
574 * interception/Makefile.in: Regenerated.
575 * sanitizer_common/Makefile.in: Regenerated.
576 * tsan/Makefile.in: Regenerated.
578 2013-02-28 Jakub Jelinek <jakub@redhat.com>
580 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
581 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
584 2013-02-22 Jakub Jelinek <jakub@redhat.com>
587 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
589 (libasan_preinit.o): Depend on asan_preinit.o.
590 * asan/Makefile.in: Regenerated.
591 * asan/asan_preinit.cc: New file, synced from upstream.
592 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
594 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
596 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
597 dynamic/asan_interceptors_dynamic.cc.
598 * asan/Makefile.in: Regenerated.
599 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
601 2013-02-21 Jakub Jelinek <jakub@redhat.com>
603 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
604 defined. Add used attribute.
606 2013-02-21 Kostya Serebryany <kcc@google.com>
608 * All source files: Merge from upstream r175733.
609 * sanitizer_common/Makefile.am: Added a new file.
610 * sanitizer_common/Makefile.in: Regenerated.
612 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
615 * interception/interception.h (OFF_T): Merged from upstream
618 2013-02-13 Jakub Jelinek <jakub@redhat.com>
620 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
622 2013-02-13 Kostya Serebryany <kcc@google.com>
625 * All source files: Merge from upstream r175049.
626 * interception/Makefile.am: added include path.
627 * interception/Makefile.in: Regenerated.
629 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
631 * configure.tgt: Disable build on darwin9 and earlier.
633 2013-01-23 Kostya Serebryany <kcc@google.com>
636 * All source files: Merge from upstream r173241.
637 * merge.sh: Support merging .inc files.
639 2013-01-16 Jakub Jelinek <jakub@redhat.com>
641 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
643 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
644 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
645 * sanitizer_common/Makefile.in: Regenerated.
646 * interception/Makefile.in: Regenerated.
647 * asan/Makefile.in: Regenerated.
649 2013-01-10 Wei Mi <wmi@google.com>
652 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
653 * tsan/Makefile.in: Regenerated.
654 * tsan/tsan_rtl.h: Enable HACKY_CALL.
656 2013-01-10 Kostya Serebryany <kcc@google.com>
658 * All source files: Merge from upstream r171973.
659 * sanitizer_common/Makefile.am: Added new files.
660 * asan/Makefile.am: Likewise.
661 * tsan/Makefile.am: Likewise.
662 * sanitizer_common/Makefile.in: Regenerated.
663 * asan/Makefile.in: Likewise.
664 * tsan/Makefile.in: Likewise.
666 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
668 * asan/Makefile.am (libasan_la_LIBADD): Replace
669 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
670 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
671 * Makefile.in: Regenerated.
672 * configure: Likewise.
673 * asan/Makefile.in: Likewise.
674 * interception/Makefile.in: Likewise.
675 * sanitizer_common/Makefile.in: Likewise.
676 * tsan/Makefile.in: Likewise.
678 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
680 * Makefile.am (AM_MAKEFLAGS): Restored.
681 * interception/Makefile.am: Likewise.
682 * sanitizer_common/Makefile.am: Likewise.
683 * tsan/Makefile.am: Likewise.
684 * Makefile.in: Regenerated.
685 * asan/Makefile.in: Likewise.
686 * interception/Makefile.in: Likewise.
687 * sanitizer_common/Makefile.in: Likewise.
688 * tsan/Makefile.in: Likewise.
690 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
692 * Makefile.am (MAKEOVERRIDES): Restored.
693 * asan/Makefile.am: Likewise.
694 * interception/Makefile.am: Likewise.
695 * sanitizer_common/Makefile.am: Likewise.
696 * tsan/Makefile.am: Likewise.
697 * Makefile.in: Regenerated.
698 * asan/Makefile.in: Likewise.
699 * interception/Makefile.in: Likewise.
700 * sanitizer_common/Makefile.in: Likewise.
701 * tsan/Makefile.in: Likewise.
703 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
705 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
706 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
707 * Makefile.in: Regenerated.
708 * configure: Likewise.
709 * asan/Makefile.in: Likewise.
710 * interception/Makefile.in: Likewise.
711 * sanitizer_common/Makefile.in: Likewise.
712 * tsan/Makefile.in: Likewise.
714 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
716 * Makefile.am (AM_MAKEFLAGS): Removed.
717 (MAKEOVERRIDES): Likewise.
718 * asan/Makefile.am: Likewise.
719 * interception/Makefile.am: Likewise.
720 * sanitizer_common/Makefile.am: Likewise.
721 * tsan/Makefile.am: Likewise.
722 * Makefile.in: Regenerated.
723 * asan/Makefile.in: Likewise.
724 * interception/Makefile.in: Likewise.
725 * sanitizer_common/Makefile.in: Likewise.
726 * tsan/Makefile.in: Likewise.
728 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
731 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
732 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
733 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
734 (AM_MAKEFLAGS): Remove CC and CXX.
735 * interception/Makefile.am: Likewise.
736 * sanitizer_common/Makefile.am: Likewise.
737 * tsan/Makefile.am: Likewise.
738 * Makefile.in: Regenerated.
739 * aclocal.m4: Likewise.
740 * configure: Likewise.
741 * asan/Makefile.in: Likewise.
742 * interception/Makefile.in: Likewise.
743 * sanitizer_common/Makefile.in: Likewise.
744 * tsan/Makefile.in: Likewise.
746 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
748 * configure.tgt: Enable build on powerpc*-linux.
750 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
753 * configure.ac: Set enable_static=no on darwin.
754 * configure: Regenerated.
756 2012-12-06 Kostya Serebryany <kcc@google.com>
758 * All files: Merge from upstream r169392.
760 2012-12-05 Kostya Serebryany <kcc@google.com>
762 * All files: Merge from upstream r169371.
764 2012-12-04 Kostya Serebryany <kcc@google.com>
765 Jack Howarth <howarth@bromo.med.uc.edu>
768 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
769 * Makefile.am: Don't build interception subdir when
770 USING_MAC_INTERPOSE defined.
771 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
772 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
773 Compile asan_interceptors_dynamic.cc but not libinterception
774 when USING_MAC_INTERPOSE defined.
775 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
776 * configure: Regenerated.
777 * Makefile.in: Likewise.
778 * asan/Makefile.in: Likewise.
779 * interception/Makefile.in: Likewise.
780 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
781 * asan/asan_mac.cc: Likewise.
782 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
783 and use MISSING_BLOCKS_SUPPORT.
784 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
785 * interception/mach_override/LICENSE.txt: Remove unused file.
786 * interception/mach_override/mach_override.c: Likewise.
787 * interception/mach_override/mach_override.h: Likewise.
788 * interception/mach_override: Remove unused directory.
790 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
792 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
793 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
794 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
796 (AM_MAKEFLAGS): Restore CC and CXX.
797 * interception/Makefile.am: Likewise.
798 * sanitizer_common/Makefile.am: Likewise.
799 * tsan/Makefile.am: Likewise.
800 * Makefile.in: Regenerated.
801 * aclocal.m4: Likewise.
802 * configure: Likewise.
803 * asan/Makefile.in: Likewise.
804 * interception/Makefile.in: Likewise.
805 * sanitizer_common/Makefile.in: Likewise.
806 * tsan/Makefile.in: Likewise.
808 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
810 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
811 * configure.ac (ACX_NONCANONICAL_TARGET): New.
812 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
814 (AM_MAKEFLAGS): Remove CC and CXX.
815 * interception/Makefile.am: Likewise.
816 * sanitizer_common/Makefile.am: Likewise.
817 * tsan/Makefile.am: Likewise.
818 * Makefile.in: Regenerated.
819 * aclocal.m4: Likewise.
820 * configure: Likewise.
821 * asan/Makefile.in: Likewise.
822 * interception/Makefile.in: Likewise.
823 * sanitizer_common/Makefile.in: Likewise.
824 * tsan/Makefile.in: Likewise.
826 2012-11-27 Kostya Serebryany <kcc@google.com>
828 * All files: Merge from upstream r168699.
830 2012-11-24 Kostya Serebryany <kcc@google.com>
831 Jack Howarth <howarth@bromo.med.uc.edu>
833 * interception/mach_override/mach_override.c: Migrate from llvm.
834 * interception/mach_override/mach_override.h: Likewise.
835 * interception/mach_override/LICENSE.txt: Likewise.
836 * configure.tgt: Add darwin to supported targets.
837 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
838 * interception/Makefile.am: Compile mach_override.c when
839 USING_MACH_OVERRIDE defined.
840 * configure: Regenerated.
841 * interception/Makefile.in: Likewise.
843 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
846 * tsan/Makefile.am (gcc_version): New.
847 * tsan/Makefile.in: Regenerated.
849 2012-11-23 Kostya Serebryany <kcc@google.com>
851 * merge.sh: Support tsan, support added/removed files.
852 * tsan/Makefile.am: Remove tsan_printf.cc.
853 * tsan/Makefile.in: Regenerated.
854 * other files: Merge from upstream r168514.
856 2012-11-23 Kostya Serebryany <kcc@google.com>
858 * merge.sh: New file.
860 2012-11-23 Jakub Jelinek <jakub@redhat.com>
862 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
863 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
864 automake conditional instead of !MULTISUBDIR32.
865 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
867 * configure.ac: Check for void * size, source in configure.tgt,
868 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
869 * configure: Regenerated.
870 * Makefile.in: Regenerated.
871 * tsan/Makefile.in: Regenerated.
873 2012-11-22 Wei Mi <wmi@google.com>
875 * tsan: New directory. Import tsan runtime from llvm.
876 * configure.ac: Add 64 bits tsan build.
877 * Makefile.am: Likewise.
878 * configure: Regenerated.
879 * Makefile.in: Likewise.
881 2012-11-21 Kostya Serebryany <kcc@google.com>
883 * README.gcc: Extend the README.gcc with mode details.
885 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
887 * sanitizer_common/sanitizer_linux.cc
888 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
889 (internal_mmap): Use it.
890 (internal_filesize): Likewise.
892 2012-11-16 Tom Tromey <tromey@redhat.com>
894 * configure.ac: Invoke AM_MAINTAINER_MODE.
895 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
896 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
898 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
901 * include/sanitizer/common_interface_defs.h (uhwptr): New type
902 for hardware pointer.
903 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
904 Replace uptr with uhwptr for stack unwind.
906 2012-11-16 Dodji Seketeli <dodji@redhat.com>
908 * configure.tgt: Enable build on sparc linux.
910 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
912 * configure.ac: Properly set MULTISUBDIR.
913 * asan/Makefile.am (gcc_version): New.
914 * interception/Makefile.am (gcc_version): Likewise.
915 * sanitizer_common/Makefile.am (gcc_version): Likewise.
916 * configure: Regenerated.
917 * asan/Makefile.in: Likewise.
918 * interception/Makefile.in: Likewise.
919 * sanitizer_common/Makefile.in: Likewise.
921 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
924 * configure.ac (--enable-version-specific-runtime-libs): New option.
925 (AC_CANONICAL_SYSTEM): New.
926 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
927 (toolexecdir): Support multilib.
928 (toolexeclibdir): Likewise.
930 * Makefile.in: Regenerated.
931 * aclocal.m4: Likewise.
932 * configure: Likewise.
933 * asan/Makefile.in: Likewise.
934 * interception/Makefile.in: Likewise.
935 * sanitizer_common/Makefile.in: Likewise.
937 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
940 Backport from upstream revision 167883
941 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
942 __x86_64__ instead of __WORDSIZE.
943 (internal_filesize): Likwise.
945 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
947 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
948 * Makefile.in: Regenerated.
949 * configure: Likewise.
951 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
954 * acinclude.m4: New file.
955 * Makefile.am (ACLOCAL_AMFLAGS): New.
956 * configure.ac (AC_PREREQ): Set to 2.64.
957 (AC_CONFIG_AUX_DIR): Set to "..".
958 * Makefile.in: Regenerated.
959 * aclocal.m4: Likewise.
960 * configure: Likewise.
961 * asan/Makefile.in: Likewise.
962 * interception/Makefile.in: Likewise.
963 * sanitizer_common/Makefile.in: Likewise.
965 * config.guess: Removed.
966 * config.sub: Likewise.
968 * install-sh: Likewise.
969 * ltmain.sh: Likewise.
972 2012-11-13 Richard Henderson <rth@redhat.com>
974 * configure.tgt: New file.
976 2012-11-12 David S. Miller <davem@davemloft.net>
978 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
980 2012-10-29 Wei Mi <wmi@google.com>
982 Initial checkin: migrate asan runtime from llvm.