1 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3 * Makefile.in: Regenerated with automake-1.11.6.
4 * aclocal.m4: Likewise.
5 * asan/Makefile.in: Likewise.
7 * interception/Makefile.in: Likewise.
8 * libbacktrace/Makefile.in: Likewise.
9 * lsan/Makefile.in: Likewise.
10 * sanitizer_common/Makefile.in: Likewise.
11 * tsan/Makefile.in: Likewise.
12 * ubsan/Makefile.in: Likewise.
14 2015-04-13 Yury Gribov <y.gribov@samsung.com>
17 * sanitizer_common/sanitizer_platform.h: Cherry pick
19 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
20 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
21 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
22 * Makefile.in: Regenerate.
23 * asan/Makefile.in: Regenerate.
24 * config.h.in: Regenerate.
25 * configure: Regenerate.
26 * interception/Makefile.in: Regenerate.
27 * libbacktrace/Makefile.in: Regenerate.
28 * lsan/Makefile.in: Regenerate.
29 * sanitizer_common/Makefile.in: Regenerate.
30 * tsan/Makefile.in: Regenerate.
31 * ubsan/Makefile.in: Regenerate.
34 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
37 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
39 * sanitizer_common/sanitizer_platform.h: Likewise.
40 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
42 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
44 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
45 upstream 224508 and 224755.
47 2015-03-09 Jakub Jelinek <jakub@redhat.com>
51 2014-10-14 David S. Miller <davem@davemloft.net>
53 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
54 Define at __kernel_time_t, as needed for sparc.
55 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
56 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
57 (__sanitizer): Define struct___old_kernel_stat_sz,
58 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
59 (__sanitizer_ipc_perm): Adjust for sparc targets.
60 (__sanitizer_shmid_ds): Likewsie.
61 (__sanitizer_sigaction): Likewise.
64 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
66 * configure.tgt: Enable build on powerpc*le-*-linux.
68 2015-02-23 Jakub Jelinek <jakub@redhat.com>
71 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
72 support until it is rewritten upstream.
74 2015-01-26 Matthias Klose <doko@ubuntu.com>
76 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
77 * configure: Regenerate.
79 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
81 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
82 * configure: Regenerate.
83 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
85 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
87 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
88 * configure: Regenerate.
89 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
90 (libtsan_la_DEPENDENCIES): Likewise.
91 * Makefile.in: Regenerate.
92 * asan/Makefile.in: Regenerate.
93 * interception/Makefile.in: Regenerate.
94 * libbacktrace/Makefile.in: Regenerate.
95 * lsan/Makefile.in: Regenerate.
96 * sanitizer_common/Makefile.in: Regenerate.
97 * tsan/Makefile.in: Regenerate.
98 * ubsan/Makefile.in: Regenerate.
100 2015-01-22 Jakub Jelinek <jakub@redhat.com>
102 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
104 2015-01-21 Jakub Jelinek <jakub@redhat.com>
107 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
109 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
110 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
112 2015-01-20 Jakub Jelinek <jakub@redhat.com>
115 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
117 2015-01-19 Jakub Jelinek <jakub@redhat.com>
120 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
123 2015-01-13 Jakub Jelinek <jakub@redhat.com>
125 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
126 upstream r224518 and r224519.
127 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
130 2014-12-16 Jakub Jelinek <jakub@redhat.com>
132 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
133 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
134 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
137 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
140 * configure: Regenerated.
142 2014-11-21 Jakub Jelinek <jakub@redhat.com>
145 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
146 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
148 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
150 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
151 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
152 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
153 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
154 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
155 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
156 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
157 * sanitizer_common/Makefile.in: Regenerate.
158 * asan/Makefile.in: Ditto.
159 * lsan/Makefile.in: Ditto.
160 * interception/Makefile.in: Ditto.
161 * tsan/Makefile.in: Ditto.
162 * libbacktrace/Makefile.in: Ditto.
163 * ubsan/Makefile.in: Ditto.
165 2014-11-13 Kostya Serebryany <kcc@google.com>
167 * All source files: Merge from upstream r221802.
168 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
169 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
170 with 'start' to follow the new interface.
171 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
172 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
173 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
174 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
175 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
177 (AM_CXXFLAGS): Added -std=c++11.
178 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
179 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
180 * asan/Makefile.in: Regenerate.
181 * interception/Makefile.in: Regenerate.
182 * libbacktrace/Makefile.in: Regenerate.
183 * lsan/Makefile.in: Regenerate.
184 * sanitizer_common/Makefile.in: Regenerate.
185 * tsan/Makefile.in: Regenerate.
186 * ubsan/Makefile.in: Regenerate.
188 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
191 * configure: Regenerate.
193 2014-10-16 Martin Liska <mliska@suse.cz>
195 * asan/Makefile.am: IPA ICF pass is disabled.
196 * asan/Makefile.in: Likewise.
198 2014-10-14 David S. Miller <davem@davemloft.net>
200 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
201 Define at __kernel_time_t, as needed for sparc.
202 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
203 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
204 (__sanitizer): Define struct___old_kernel_stat_sz,
205 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
206 (__sanitizer_ipc_perm): Adjust for sparc targets.
207 (__sanitizer_shmid_ds): Likewsie.
208 (__sanitizer_sigaction): Likewsie.
209 (IOC_SIZE): Likewsie.
211 2014-10-14 Jakub Jelinek <jakub@redhat.com>
213 * ubsan/Makefile.am (DEFS): Add -DPIC.
214 * ubsan/Makefile.in: Regenerated.
216 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
218 * configure.tgt: Enable build on aarch64*-linux.
220 2014-09-19 Kostya Serebryany <kcc@google.com>
222 * All source files: Merge from upstream r218156.
223 * asan/Makefile.am (asan_files): Added new files.
224 * asan/Makefile.in: Regenerate.
225 * ubsan/Makefile.am (ubsan_files): Added new files.
226 * ubsan/Makefile.in: Regenerate.
227 * tsan/Makefile.am (tsan_files): Added new files.
228 * tsan/Makefile.in: Regenerate.
229 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
231 * sanitizer_common/Makefile.in: Regenerate.
232 * asan/libtool-version: Bump the libasan SONAME.
234 2014-09-10 Jakub Jelinek <jakub@redhat.com>
236 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
237 upstream r215485, r217389, r217391 and r217400.
239 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
241 * sanitizer_common/sanitizer_common_interceptors.inc:
242 Cherry pick upstream r211008.
244 2014-06-11 Richard Biener <rguenther@suse.de>
246 * asan/asan_linux.cc: Cherry pick upstream r210012.
248 2014-05-30 Jakub Jelinek <jakub@redhat.com>
250 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
252 * sanitizer_common/sanitizer_common.h: Likewise.
253 * asan/asan_mapping.h: Likewise.
254 * asan/asan_linux.cc: Likewise.
255 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
256 * sanitizer_common/sanitizer_allocator.h: Likewise.
258 2014-05-23 Marek Polacek <polacek@redhat.com>
260 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
261 floating-point types.
263 2014-05-22 Kostya Serebryany <kcc@google.com>
265 * All source files: Merge from upstream r209283.
266 * asan/Makefile.am (asan_files): Added new files.
267 * asan/Makefile.in: Regenerate.
268 * tsan/Makefile.am (tsan_files): Added new files.
269 * tsan/Makefile.in: Regenerate.
270 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
272 * sanitizer_common/Makefile.in: Regenerate.
274 2014-05-14 Yury Gribov <y.gribov@samsung.com>
277 * Makefile.am (nodist_saninclude_HEADERS): Install
279 * Makefile.in: Regenerate.
281 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
283 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
284 Add ../../libbacktrace/sort.c.
285 * libbacktrace/Makefile.in: Regenerate.
286 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
288 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
290 * configure.tgt: Unsupported for little endian PowerPC for now.
292 2014-02-04 Jakub Jelinek <jakub@redhat.com>
295 * tsan/tsan_flags.cc (__tsan_default_options): Add
296 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
297 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
300 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
301 sanitizer_atomic.h and unistd.h.
302 (kThreadDescriptorSize): Made static, remove initializer and const,
303 change type to atomic_uintptr_t.
304 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
305 query glibc version, compute kThreadDescriptorSize depending on
306 glibc version minor number.
307 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
308 kThreadDescriptorSize directly.
310 2014-01-23 Yury Gribov <y.gribov@samsung.com>
311 Jakub Jelinek <jakub@redhat.com>
314 * configure.ac: Check for missing syscalls.
315 * Makefile.am: Likewise.
316 * configure: Regenerate.
317 * Makefile.in: Regenerate.
319 2014-01-09 Jakub Jelinek <jakub@redhat.com>
321 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
322 (LibbacktraceSymbolizer::Demangle): New declaration.
323 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
324 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
326 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
327 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
328 (struct CplusV3DemangleData): New type.
329 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
330 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
331 SymbolizeDataCallback): Use CplusV3Demangle.
332 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
333 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
334 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
335 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
336 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
337 cplus_demangle_init_info, cplus_demangle_mangled_name,
338 cplus_demangle_operators, cplus_demangle_print,
339 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
340 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
341 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
343 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
344 (memcmp, strncmp): Redefine.
345 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
346 ../../libiberty/cp-demangle.c.
347 * libbacktrace/bridge.cc (__asan_internal_memcmp,
348 __asan_internal_strncmp): New functions.
349 * sanitizer_common/Makefile.in: Regenerated.
350 * libbacktrace/Makefile.in: Regenerated.
351 * configure: Regenerated.
352 * configure.ac: Regenerated.
353 * config.h.in: Regenerated.
355 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
356 -isystem $(top_srcdir)/include/system.
357 * sanitizer_common/Makefile.in: Regenerated.
358 * include/system/linux/aio_abi.h: New header.
359 * include/system/linux/mroute.h: New header.
360 * include/system/linux/mroute6.h: New header.
361 * include/system/linux/perf_event.h: New header.
362 * include/system/linux/types.h: New header.
365 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
366 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
367 and -I/-include flags.
368 * lsan/Makefile.am (liblsan_la_LIBADD): Add
369 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
370 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
371 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
372 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
373 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
375 * README.gcc: Document that also lsan and ubsan are
376 maintained in compiler-rt upstream.
377 * libbacktrace/Makefile.am: New file.
378 * libbacktrace/backtrace-rename.h: New file.
379 * libbacktrace/backtrace-supported.h.in: New file.
380 * libbacktrace/bridge.cc: New file.
381 * configure.ac: Add tests needed for libbacktrace build
383 * sanitizer_common/Makefile.in: Regenerated.
384 * lsan/Makefile.in: Regenerated.
385 * tsan/Makefile.in: Regenerated.
386 * ubsan/Makefile.in: Regenerated.
387 * libbacktrace/Makefile.in: Generated.
388 * config.h.in: Regenerated.
389 * configure: Regenerated.
390 * Makefile.in: Regenerated.
391 * interception/Makefile.in: Regenerated.
392 * asan/Makefile.in: Regenerated.
393 * aclocal.m4: Regenerated.
395 2013-12-19 Kostya Serebryany <kcc@google.com>
397 * sanitizer_common/sanitizer_platform_limits_posix.cc:
398 workaround for missing definition of EOWNERDEAD, backport
399 from upstream r196779.
401 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
403 * sanitizer_common/sanitizer_platform_limits_posix.h
404 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
405 (__sanitizer_clock_t): Use long long for x32.
407 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
409 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
410 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
411 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
413 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
415 * configure.ac (link_sanitizer_common): Add -lm.
416 * configure: Regenerated.
418 2013-12-05 Kostya Serebryany <kcc@google.com>
420 * All source files: Merge from upstream r196489.
421 * merge.sh: Add *.S to the list of merged files.
423 2013-12-05 Yury Gribov <y.gribov@samsung.com>
426 * Makefile.am (gcc_version): Added gcc_version.
427 * Makefile.in: Regenerate.
429 2013-12-05 Kostya Serebryany <kcc@google.com>
431 * All source files: Merge from upstream r196090.
432 * tsan/Makefile.am (tsan_files): Added new files.
433 * tsan/Makefile.in: Regenerate.
434 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
435 * sanitizer_common/Makefile.in: Regenerate.
436 * lsan/Makefile.am (lsan_files): Added new files.
437 * lsan/Makefile.in: Regenerate.
439 2013-11-29 Jakub Jelinek <jakub@redhat.com>
440 Yury Gribov <y.gribov@samsung.com>
443 * libsanitizer.spec.in: Add spec file to hold link flags for
444 various sanitizer libs.
445 * configure.ac: Check whether clock_* routines come from librt.
446 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
448 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
449 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
450 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
451 * asan/Makefile.in: Regenerate.
452 * interception/Makefile.in: Regenerate.
453 * lsan/Makefile.in: Regenerate.
454 * sanitizer_common/Makefile.in: Regenerate.
455 * tsan/Makefile.in: Regenerate.
456 * ubsan/Makefile.in: Regenerate.
457 * Makefile.in: Regenerate.
458 * configure: Regenerate.
460 2013-11-28 Jakub Jelinek <jakub@redhat.com>
461 Yury Gribov <y.gribov@samsung.com>
464 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
466 * ubsan/Makefile.in: Regenerated.
468 2013-11-22 Jakub Jelinek <jakub@redhat.com>
471 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
472 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
473 * configure: Regenerated.
474 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
475 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
476 * lsan/Makefile.in: Regenerated.
478 2013-11-22 Mike Stump <mikestump@comcast.net>
480 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
481 change from upstream to fix build.
483 2013-11-18 Yury Gribov <y.gribov@samsung.com>
486 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
487 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
488 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
489 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
490 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
491 * asan/Makefile.in: Regenerate.
492 * interception/Makefile.in: Regenerate.
493 * tsan/Makefile.in: Regenerate.
494 * lsan/Makefile.in: Regenerate.
495 * sanitizer_common/Makefile.in: Regenerate.
497 2013-11-15 Kostya Serebryany <kcc@google.com>
500 Backport from upstream revision 194573
501 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
502 back to the original functions in the common libsanitizer
503 interceptors and the __cxa_atexit() interceptor on Darwin.
505 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
508 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
509 ifdef out more source.
511 2013-11-12 Jakub Jelinek <jakub@redhat.com>
513 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
514 ifdef out almost the whole source.
515 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
517 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
520 * sanitizer_common/sanitizer_platform_limits_posix.cc
521 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
524 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
527 * sanitizer_common/sanitizer_platform_limits_linux.cc
528 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
530 * sanitizer_common/sanitizer_platform_limits_posix.h
531 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
533 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
535 (__sanitizer___kernel_gid_t): Likewise.
536 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
539 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
542 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
543 2 64-bit integers to save and restore fn and arg. Properly load
544 newtls/child_tidptr into r8/r10.
546 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
549 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
550 internal_munmap, internal_open, internal_read, internal_write,
551 internal_stat, internal_lstat, internal_fstat, internal_readlink,
552 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
553 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
554 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
556 2013-11-04 Kostya Serebryany <kcc@google.com>
558 * All source files: Merge from upstream r191666.
559 * merge.sh: Added lsan.
560 * configure.ac (AC_CONFIG_FILES): Added lsan.
561 * Makefile.am (SUBDIRS): Added lsan.
562 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
563 * asan/Makefile.am (asan_files): Added new files.
564 (libasan_la_LIBADD): Added a dependency on lsan.
565 * lsan/Makefile.am: New file.
566 * asan/Makefile.in: Regenerate.
567 * lsan/Makefile.in: Regenerate.
568 * Makefile.in: Regenerate.
569 * configure: Regenerate.
570 * sanitizer_common/Makefile.in: Regenerate.
572 2013-09-20 Alan Modra <amodra@gmail.com>
574 * configure: Regenerate.
576 2013-09-01 Iain Sandoe <iain@codesourcery.com>
578 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
579 libinterception.la for Darwin.
580 * ubsan/Makefile.in: Regenerate.
582 2013-08-30 Jakub Jelinek <jakub@redhat.com>
584 * Makefile.am (SUBDIRS): Add ubsan.
585 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
586 * merge.sh: Merge ubsan.
587 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
588 * sanitizer_common/sanitizer_printf.cc: Likewise.
589 * sanitizer_common/sanitizer_common.h: Likewise.
590 * ubsan: New directory. Import ubsan runtime from llvm.
592 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
594 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
595 Cherry pick upstream r182922.
597 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
599 * configure.tgt: Add ARM pattern.
601 2013-03-22 Jakub Jelinek <jakub@redhat.com>
604 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
605 * Makefile.in: Regenerated.
606 * asan/Makefile.in: Regenerated.
607 * interception/Makefile.in: Regenerated.
608 * sanitizer_common/Makefile.in: Regenerated.
609 * tsan/Makefile.in: Regenerated.
611 2013-02-28 Jakub Jelinek <jakub@redhat.com>
613 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
614 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
617 2013-02-22 Jakub Jelinek <jakub@redhat.com>
620 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
622 (libasan_preinit.o): Depend on asan_preinit.o.
623 * asan/Makefile.in: Regenerated.
624 * asan/asan_preinit.cc: New file, synced from upstream.
625 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
627 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
629 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
630 dynamic/asan_interceptors_dynamic.cc.
631 * asan/Makefile.in: Regenerated.
632 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
634 2013-02-21 Jakub Jelinek <jakub@redhat.com>
636 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
637 defined. Add used attribute.
639 2013-02-21 Kostya Serebryany <kcc@google.com>
641 * All source files: Merge from upstream r175733.
642 * sanitizer_common/Makefile.am: Added a new file.
643 * sanitizer_common/Makefile.in: Regenerated.
645 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
648 * interception/interception.h (OFF_T): Merged from upstream
651 2013-02-13 Jakub Jelinek <jakub@redhat.com>
653 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
655 2013-02-13 Kostya Serebryany <kcc@google.com>
658 * All source files: Merge from upstream r175049.
659 * interception/Makefile.am: added include path.
660 * interception/Makefile.in: Regenerated.
662 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
664 * configure.tgt: Disable build on darwin9 and earlier.
666 2013-01-23 Kostya Serebryany <kcc@google.com>
669 * All source files: Merge from upstream r173241.
670 * merge.sh: Support merging .inc files.
672 2013-01-16 Jakub Jelinek <jakub@redhat.com>
674 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
676 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
677 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
678 * sanitizer_common/Makefile.in: Regenerated.
679 * interception/Makefile.in: Regenerated.
680 * asan/Makefile.in: Regenerated.
682 2013-01-10 Wei Mi <wmi@google.com>
685 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
686 * tsan/Makefile.in: Regenerated.
687 * tsan/tsan_rtl.h: Enable HACKY_CALL.
689 2013-01-10 Kostya Serebryany <kcc@google.com>
691 * All source files: Merge from upstream r171973.
692 * sanitizer_common/Makefile.am: Added new files.
693 * asan/Makefile.am: Likewise.
694 * tsan/Makefile.am: Likewise.
695 * sanitizer_common/Makefile.in: Regenerated.
696 * asan/Makefile.in: Likewise.
697 * tsan/Makefile.in: Likewise.
699 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
701 * asan/Makefile.am (libasan_la_LIBADD): Replace
702 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
703 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
704 * Makefile.in: Regenerated.
705 * configure: Likewise.
706 * asan/Makefile.in: Likewise.
707 * interception/Makefile.in: Likewise.
708 * sanitizer_common/Makefile.in: Likewise.
709 * tsan/Makefile.in: Likewise.
711 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
713 * Makefile.am (AM_MAKEFLAGS): Restored.
714 * interception/Makefile.am: Likewise.
715 * sanitizer_common/Makefile.am: Likewise.
716 * tsan/Makefile.am: Likewise.
717 * Makefile.in: Regenerated.
718 * asan/Makefile.in: Likewise.
719 * interception/Makefile.in: Likewise.
720 * sanitizer_common/Makefile.in: Likewise.
721 * tsan/Makefile.in: Likewise.
723 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
725 * Makefile.am (MAKEOVERRIDES): Restored.
726 * asan/Makefile.am: Likewise.
727 * interception/Makefile.am: Likewise.
728 * sanitizer_common/Makefile.am: Likewise.
729 * tsan/Makefile.am: Likewise.
730 * Makefile.in: Regenerated.
731 * asan/Makefile.in: Likewise.
732 * interception/Makefile.in: Likewise.
733 * sanitizer_common/Makefile.in: Likewise.
734 * tsan/Makefile.in: Likewise.
736 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
738 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
739 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
740 * Makefile.in: Regenerated.
741 * configure: Likewise.
742 * asan/Makefile.in: Likewise.
743 * interception/Makefile.in: Likewise.
744 * sanitizer_common/Makefile.in: Likewise.
745 * tsan/Makefile.in: Likewise.
747 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
749 * Makefile.am (AM_MAKEFLAGS): Removed.
750 (MAKEOVERRIDES): Likewise.
751 * asan/Makefile.am: Likewise.
752 * interception/Makefile.am: Likewise.
753 * sanitizer_common/Makefile.am: Likewise.
754 * tsan/Makefile.am: Likewise.
755 * Makefile.in: Regenerated.
756 * asan/Makefile.in: Likewise.
757 * interception/Makefile.in: Likewise.
758 * sanitizer_common/Makefile.in: Likewise.
759 * tsan/Makefile.in: Likewise.
761 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
764 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
765 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
766 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
767 (AM_MAKEFLAGS): Remove CC and CXX.
768 * interception/Makefile.am: Likewise.
769 * sanitizer_common/Makefile.am: Likewise.
770 * tsan/Makefile.am: Likewise.
771 * Makefile.in: Regenerated.
772 * aclocal.m4: Likewise.
773 * configure: Likewise.
774 * asan/Makefile.in: Likewise.
775 * interception/Makefile.in: Likewise.
776 * sanitizer_common/Makefile.in: Likewise.
777 * tsan/Makefile.in: Likewise.
779 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
781 * configure.tgt: Enable build on powerpc*-linux.
783 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
786 * configure.ac: Set enable_static=no on darwin.
787 * configure: Regenerated.
789 2012-12-06 Kostya Serebryany <kcc@google.com>
791 * All files: Merge from upstream r169392.
793 2012-12-05 Kostya Serebryany <kcc@google.com>
795 * All files: Merge from upstream r169371.
797 2012-12-04 Kostya Serebryany <kcc@google.com>
798 Jack Howarth <howarth@bromo.med.uc.edu>
801 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
802 * Makefile.am: Don't build interception subdir when
803 USING_MAC_INTERPOSE defined.
804 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
805 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
806 Compile asan_interceptors_dynamic.cc but not libinterception
807 when USING_MAC_INTERPOSE defined.
808 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
809 * configure: Regenerated.
810 * Makefile.in: Likewise.
811 * asan/Makefile.in: Likewise.
812 * interception/Makefile.in: Likewise.
813 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
814 * asan/asan_mac.cc: Likewise.
815 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
816 and use MISSING_BLOCKS_SUPPORT.
817 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
818 * interception/mach_override/LICENSE.txt: Remove unused file.
819 * interception/mach_override/mach_override.c: Likewise.
820 * interception/mach_override/mach_override.h: Likewise.
821 * interception/mach_override: Remove unused directory.
823 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
825 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
826 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
827 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
829 (AM_MAKEFLAGS): Restore CC and CXX.
830 * interception/Makefile.am: Likewise.
831 * sanitizer_common/Makefile.am: Likewise.
832 * tsan/Makefile.am: Likewise.
833 * Makefile.in: Regenerated.
834 * aclocal.m4: Likewise.
835 * configure: Likewise.
836 * asan/Makefile.in: Likewise.
837 * interception/Makefile.in: Likewise.
838 * sanitizer_common/Makefile.in: Likewise.
839 * tsan/Makefile.in: Likewise.
841 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
843 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
844 * configure.ac (ACX_NONCANONICAL_TARGET): New.
845 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
847 (AM_MAKEFLAGS): Remove CC and CXX.
848 * interception/Makefile.am: Likewise.
849 * sanitizer_common/Makefile.am: Likewise.
850 * tsan/Makefile.am: Likewise.
851 * Makefile.in: Regenerated.
852 * aclocal.m4: Likewise.
853 * configure: Likewise.
854 * asan/Makefile.in: Likewise.
855 * interception/Makefile.in: Likewise.
856 * sanitizer_common/Makefile.in: Likewise.
857 * tsan/Makefile.in: Likewise.
859 2012-11-27 Kostya Serebryany <kcc@google.com>
861 * All files: Merge from upstream r168699.
863 2012-11-24 Kostya Serebryany <kcc@google.com>
864 Jack Howarth <howarth@bromo.med.uc.edu>
866 * interception/mach_override/mach_override.c: Migrate from llvm.
867 * interception/mach_override/mach_override.h: Likewise.
868 * interception/mach_override/LICENSE.txt: Likewise.
869 * configure.tgt: Add darwin to supported targets.
870 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
871 * interception/Makefile.am: Compile mach_override.c when
872 USING_MACH_OVERRIDE defined.
873 * configure: Regenerated.
874 * interception/Makefile.in: Likewise.
876 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
879 * tsan/Makefile.am (gcc_version): New.
880 * tsan/Makefile.in: Regenerated.
882 2012-11-23 Kostya Serebryany <kcc@google.com>
884 * merge.sh: Support tsan, support added/removed files.
885 * tsan/Makefile.am: Remove tsan_printf.cc.
886 * tsan/Makefile.in: Regenerated.
887 * other files: Merge from upstream r168514.
889 2012-11-23 Kostya Serebryany <kcc@google.com>
891 * merge.sh: New file.
893 2012-11-23 Jakub Jelinek <jakub@redhat.com>
895 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
896 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
897 automake conditional instead of !MULTISUBDIR32.
898 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
900 * configure.ac: Check for void * size, source in configure.tgt,
901 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
902 * configure: Regenerated.
903 * Makefile.in: Regenerated.
904 * tsan/Makefile.in: Regenerated.
906 2012-11-22 Wei Mi <wmi@google.com>
908 * tsan: New directory. Import tsan runtime from llvm.
909 * configure.ac: Add 64 bits tsan build.
910 * Makefile.am: Likewise.
911 * configure: Regenerated.
912 * Makefile.in: Likewise.
914 2012-11-21 Kostya Serebryany <kcc@google.com>
916 * README.gcc: Extend the README.gcc with mode details.
918 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
920 * sanitizer_common/sanitizer_linux.cc
921 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
922 (internal_mmap): Use it.
923 (internal_filesize): Likewise.
925 2012-11-16 Tom Tromey <tromey@redhat.com>
927 * configure.ac: Invoke AM_MAINTAINER_MODE.
928 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
929 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
931 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
934 * include/sanitizer/common_interface_defs.h (uhwptr): New type
935 for hardware pointer.
936 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
937 Replace uptr with uhwptr for stack unwind.
939 2012-11-16 Dodji Seketeli <dodji@redhat.com>
941 * configure.tgt: Enable build on sparc linux.
943 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
945 * configure.ac: Properly set MULTISUBDIR.
946 * asan/Makefile.am (gcc_version): New.
947 * interception/Makefile.am (gcc_version): Likewise.
948 * sanitizer_common/Makefile.am (gcc_version): Likewise.
949 * configure: Regenerated.
950 * asan/Makefile.in: Likewise.
951 * interception/Makefile.in: Likewise.
952 * sanitizer_common/Makefile.in: Likewise.
954 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
957 * configure.ac (--enable-version-specific-runtime-libs): New option.
958 (AC_CANONICAL_SYSTEM): New.
959 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
960 (toolexecdir): Support multilib.
961 (toolexeclibdir): Likewise.
963 * Makefile.in: Regenerated.
964 * aclocal.m4: Likewise.
965 * configure: Likewise.
966 * asan/Makefile.in: Likewise.
967 * interception/Makefile.in: Likewise.
968 * sanitizer_common/Makefile.in: Likewise.
970 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
973 Backport from upstream revision 167883
974 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
975 __x86_64__ instead of __WORDSIZE.
976 (internal_filesize): Likwise.
978 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
980 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
981 * Makefile.in: Regenerated.
982 * configure: Likewise.
984 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
987 * acinclude.m4: New file.
988 * Makefile.am (ACLOCAL_AMFLAGS): New.
989 * configure.ac (AC_PREREQ): Set to 2.64.
990 (AC_CONFIG_AUX_DIR): Set to "..".
991 * Makefile.in: Regenerated.
992 * aclocal.m4: Likewise.
993 * configure: Likewise.
994 * asan/Makefile.in: Likewise.
995 * interception/Makefile.in: Likewise.
996 * sanitizer_common/Makefile.in: Likewise.
998 * config.guess: Removed.
999 * config.sub: Likewise.
1000 * depcomp: Likewise.
1001 * install-sh: Likewise.
1002 * ltmain.sh: Likewise.
1003 * missing: Likewise.
1005 2012-11-13 Richard Henderson <rth@redhat.com>
1007 * configure.tgt: New file.
1009 2012-11-12 David S. Miller <davem@davemloft.net>
1011 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1013 2012-10-29 Wei Mi <wmi@google.com>
1015 Initial checkin: migrate asan runtime from llvm.