1 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
4 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
7 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
10 * sanitizer_common/sanitizer_stacktrace.cc
11 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
12 find the link register at an offset of 16 from the base of the
15 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
17 * Makefile.in: Regenerated with automake-1.11.6.
18 * aclocal.m4: Likewise.
19 * asan/Makefile.in: Likewise.
20 * configure: Likewise.
21 * interception/Makefile.in: Likewise.
22 * libbacktrace/Makefile.in: Likewise.
23 * lsan/Makefile.in: Likewise.
24 * sanitizer_common/Makefile.in: Likewise.
25 * tsan/Makefile.in: Likewise.
26 * ubsan/Makefile.in: Likewise.
28 2015-04-13 Yury Gribov <y.gribov@samsung.com>
31 * sanitizer_common/sanitizer_platform.h: Cherry pick
33 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
34 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
35 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
36 * Makefile.in: Regenerate.
37 * asan/Makefile.in: Regenerate.
38 * config.h.in: Regenerate.
39 * configure: Regenerate.
40 * interception/Makefile.in: Regenerate.
41 * libbacktrace/Makefile.in: Regenerate.
42 * lsan/Makefile.in: Regenerate.
43 * sanitizer_common/Makefile.in: Regenerate.
44 * tsan/Makefile.in: Regenerate.
45 * ubsan/Makefile.in: Regenerate.
48 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
51 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
53 * sanitizer_common/sanitizer_platform.h: Likewise.
54 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
56 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
58 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
59 upstream 224508 and 224755.
61 2015-03-09 Jakub Jelinek <jakub@redhat.com>
65 2014-10-14 David S. Miller <davem@davemloft.net>
67 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
68 Define at __kernel_time_t, as needed for sparc.
69 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
70 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
71 (__sanitizer): Define struct___old_kernel_stat_sz,
72 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
73 (__sanitizer_ipc_perm): Adjust for sparc targets.
74 (__sanitizer_shmid_ds): Likewsie.
75 (__sanitizer_sigaction): Likewise.
78 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
80 * configure.tgt: Enable build on powerpc*le-*-linux.
82 2015-02-23 Jakub Jelinek <jakub@redhat.com>
85 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
86 support until it is rewritten upstream.
88 2015-01-26 Matthias Klose <doko@ubuntu.com>
90 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
91 * configure: Regenerate.
93 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
95 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
96 * configure: Regenerate.
97 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
99 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
101 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
102 * configure: Regenerate.
103 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
104 (libtsan_la_DEPENDENCIES): Likewise.
105 * Makefile.in: Regenerate.
106 * asan/Makefile.in: Regenerate.
107 * interception/Makefile.in: Regenerate.
108 * libbacktrace/Makefile.in: Regenerate.
109 * lsan/Makefile.in: Regenerate.
110 * sanitizer_common/Makefile.in: Regenerate.
111 * tsan/Makefile.in: Regenerate.
112 * ubsan/Makefile.in: Regenerate.
114 2015-01-22 Jakub Jelinek <jakub@redhat.com>
116 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
118 2015-01-21 Jakub Jelinek <jakub@redhat.com>
121 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
123 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
124 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
126 2015-01-20 Jakub Jelinek <jakub@redhat.com>
129 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
131 2015-01-19 Jakub Jelinek <jakub@redhat.com>
134 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
137 2015-01-13 Jakub Jelinek <jakub@redhat.com>
139 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
140 upstream r224518 and r224519.
141 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
144 2014-12-16 Jakub Jelinek <jakub@redhat.com>
146 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
147 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
148 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
151 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
154 * configure: Regenerated.
156 2014-11-21 Jakub Jelinek <jakub@redhat.com>
159 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
160 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
162 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
164 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
165 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
166 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
167 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
168 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
169 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
170 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
171 * sanitizer_common/Makefile.in: Regenerate.
172 * asan/Makefile.in: Ditto.
173 * lsan/Makefile.in: Ditto.
174 * interception/Makefile.in: Ditto.
175 * tsan/Makefile.in: Ditto.
176 * libbacktrace/Makefile.in: Ditto.
177 * ubsan/Makefile.in: Ditto.
179 2014-11-13 Kostya Serebryany <kcc@google.com>
181 * All source files: Merge from upstream r221802.
182 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
183 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
184 with 'start' to follow the new interface.
185 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
186 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
187 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
188 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
189 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
191 (AM_CXXFLAGS): Added -std=c++11.
192 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
193 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
194 * asan/Makefile.in: Regenerate.
195 * interception/Makefile.in: Regenerate.
196 * libbacktrace/Makefile.in: Regenerate.
197 * lsan/Makefile.in: Regenerate.
198 * sanitizer_common/Makefile.in: Regenerate.
199 * tsan/Makefile.in: Regenerate.
200 * ubsan/Makefile.in: Regenerate.
202 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
205 * configure: Regenerate.
207 2014-10-16 Martin Liska <mliska@suse.cz>
209 * asan/Makefile.am: IPA ICF pass is disabled.
210 * asan/Makefile.in: Likewise.
212 2014-10-14 David S. Miller <davem@davemloft.net>
214 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
215 Define at __kernel_time_t, as needed for sparc.
216 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
217 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
218 (__sanitizer): Define struct___old_kernel_stat_sz,
219 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
220 (__sanitizer_ipc_perm): Adjust for sparc targets.
221 (__sanitizer_shmid_ds): Likewsie.
222 (__sanitizer_sigaction): Likewsie.
223 (IOC_SIZE): Likewsie.
225 2014-10-14 Jakub Jelinek <jakub@redhat.com>
227 * ubsan/Makefile.am (DEFS): Add -DPIC.
228 * ubsan/Makefile.in: Regenerated.
230 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
232 * configure.tgt: Enable build on aarch64*-linux.
234 2014-09-19 Kostya Serebryany <kcc@google.com>
236 * All source files: Merge from upstream r218156.
237 * asan/Makefile.am (asan_files): Added new files.
238 * asan/Makefile.in: Regenerate.
239 * ubsan/Makefile.am (ubsan_files): Added new files.
240 * ubsan/Makefile.in: Regenerate.
241 * tsan/Makefile.am (tsan_files): Added new files.
242 * tsan/Makefile.in: Regenerate.
243 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
245 * sanitizer_common/Makefile.in: Regenerate.
246 * asan/libtool-version: Bump the libasan SONAME.
248 2014-09-10 Jakub Jelinek <jakub@redhat.com>
250 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
251 upstream r215485, r217389, r217391 and r217400.
253 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
255 * sanitizer_common/sanitizer_common_interceptors.inc:
256 Cherry pick upstream r211008.
258 2014-06-11 Richard Biener <rguenther@suse.de>
260 * asan/asan_linux.cc: Cherry pick upstream r210012.
262 2014-05-30 Jakub Jelinek <jakub@redhat.com>
264 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
266 * sanitizer_common/sanitizer_common.h: Likewise.
267 * asan/asan_mapping.h: Likewise.
268 * asan/asan_linux.cc: Likewise.
269 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
270 * sanitizer_common/sanitizer_allocator.h: Likewise.
272 2014-05-23 Marek Polacek <polacek@redhat.com>
274 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
275 floating-point types.
277 2014-05-22 Kostya Serebryany <kcc@google.com>
279 * All source files: Merge from upstream r209283.
280 * asan/Makefile.am (asan_files): Added new files.
281 * asan/Makefile.in: Regenerate.
282 * tsan/Makefile.am (tsan_files): Added new files.
283 * tsan/Makefile.in: Regenerate.
284 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
286 * sanitizer_common/Makefile.in: Regenerate.
288 2014-05-14 Yury Gribov <y.gribov@samsung.com>
291 * Makefile.am (nodist_saninclude_HEADERS): Install
293 * Makefile.in: Regenerate.
295 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
297 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
298 Add ../../libbacktrace/sort.c.
299 * libbacktrace/Makefile.in: Regenerate.
300 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
302 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
304 * configure.tgt: Unsupported for little endian PowerPC for now.
306 2014-02-04 Jakub Jelinek <jakub@redhat.com>
309 * tsan/tsan_flags.cc (__tsan_default_options): Add
310 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
311 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
314 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
315 sanitizer_atomic.h and unistd.h.
316 (kThreadDescriptorSize): Made static, remove initializer and const,
317 change type to atomic_uintptr_t.
318 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
319 query glibc version, compute kThreadDescriptorSize depending on
320 glibc version minor number.
321 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
322 kThreadDescriptorSize directly.
324 2014-01-23 Yury Gribov <y.gribov@samsung.com>
325 Jakub Jelinek <jakub@redhat.com>
328 * configure.ac: Check for missing syscalls.
329 * Makefile.am: Likewise.
330 * configure: Regenerate.
331 * Makefile.in: Regenerate.
333 2014-01-09 Jakub Jelinek <jakub@redhat.com>
335 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
336 (LibbacktraceSymbolizer::Demangle): New declaration.
337 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
338 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
340 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
341 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
342 (struct CplusV3DemangleData): New type.
343 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
344 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
345 SymbolizeDataCallback): Use CplusV3Demangle.
346 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
347 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
348 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
349 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
350 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
351 cplus_demangle_init_info, cplus_demangle_mangled_name,
352 cplus_demangle_operators, cplus_demangle_print,
353 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
354 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
355 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
357 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
358 (memcmp, strncmp): Redefine.
359 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
360 ../../libiberty/cp-demangle.c.
361 * libbacktrace/bridge.cc (__asan_internal_memcmp,
362 __asan_internal_strncmp): New functions.
363 * sanitizer_common/Makefile.in: Regenerated.
364 * libbacktrace/Makefile.in: Regenerated.
365 * configure: Regenerated.
366 * configure.ac: Regenerated.
367 * config.h.in: Regenerated.
369 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
370 -isystem $(top_srcdir)/include/system.
371 * sanitizer_common/Makefile.in: Regenerated.
372 * include/system/linux/aio_abi.h: New header.
373 * include/system/linux/mroute.h: New header.
374 * include/system/linux/mroute6.h: New header.
375 * include/system/linux/perf_event.h: New header.
376 * include/system/linux/types.h: New header.
379 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
380 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
381 and -I/-include flags.
382 * lsan/Makefile.am (liblsan_la_LIBADD): Add
383 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
384 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
385 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
386 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
387 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
389 * README.gcc: Document that also lsan and ubsan are
390 maintained in compiler-rt upstream.
391 * libbacktrace/Makefile.am: New file.
392 * libbacktrace/backtrace-rename.h: New file.
393 * libbacktrace/backtrace-supported.h.in: New file.
394 * libbacktrace/bridge.cc: New file.
395 * configure.ac: Add tests needed for libbacktrace build
397 * sanitizer_common/Makefile.in: Regenerated.
398 * lsan/Makefile.in: Regenerated.
399 * tsan/Makefile.in: Regenerated.
400 * ubsan/Makefile.in: Regenerated.
401 * libbacktrace/Makefile.in: Generated.
402 * config.h.in: Regenerated.
403 * configure: Regenerated.
404 * Makefile.in: Regenerated.
405 * interception/Makefile.in: Regenerated.
406 * asan/Makefile.in: Regenerated.
407 * aclocal.m4: Regenerated.
409 2013-12-19 Kostya Serebryany <kcc@google.com>
411 * sanitizer_common/sanitizer_platform_limits_posix.cc:
412 workaround for missing definition of EOWNERDEAD, backport
413 from upstream r196779.
415 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
417 * sanitizer_common/sanitizer_platform_limits_posix.h
418 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
419 (__sanitizer_clock_t): Use long long for x32.
421 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
423 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
424 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
425 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
427 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
429 * configure.ac (link_sanitizer_common): Add -lm.
430 * configure: Regenerated.
432 2013-12-05 Kostya Serebryany <kcc@google.com>
434 * All source files: Merge from upstream r196489.
435 * merge.sh: Add *.S to the list of merged files.
437 2013-12-05 Yury Gribov <y.gribov@samsung.com>
440 * Makefile.am (gcc_version): Added gcc_version.
441 * Makefile.in: Regenerate.
443 2013-12-05 Kostya Serebryany <kcc@google.com>
445 * All source files: Merge from upstream r196090.
446 * tsan/Makefile.am (tsan_files): Added new files.
447 * tsan/Makefile.in: Regenerate.
448 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
449 * sanitizer_common/Makefile.in: Regenerate.
450 * lsan/Makefile.am (lsan_files): Added new files.
451 * lsan/Makefile.in: Regenerate.
453 2013-11-29 Jakub Jelinek <jakub@redhat.com>
454 Yury Gribov <y.gribov@samsung.com>
457 * libsanitizer.spec.in: Add spec file to hold link flags for
458 various sanitizer libs.
459 * configure.ac: Check whether clock_* routines come from librt.
460 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
462 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
463 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
464 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
465 * asan/Makefile.in: Regenerate.
466 * interception/Makefile.in: Regenerate.
467 * lsan/Makefile.in: Regenerate.
468 * sanitizer_common/Makefile.in: Regenerate.
469 * tsan/Makefile.in: Regenerate.
470 * ubsan/Makefile.in: Regenerate.
471 * Makefile.in: Regenerate.
472 * configure: Regenerate.
474 2013-11-28 Jakub Jelinek <jakub@redhat.com>
475 Yury Gribov <y.gribov@samsung.com>
478 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
480 * ubsan/Makefile.in: Regenerated.
482 2013-11-22 Jakub Jelinek <jakub@redhat.com>
485 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
486 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
487 * configure: Regenerated.
488 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
489 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
490 * lsan/Makefile.in: Regenerated.
492 2013-11-22 Mike Stump <mikestump@comcast.net>
494 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
495 change from upstream to fix build.
497 2013-11-18 Yury Gribov <y.gribov@samsung.com>
500 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
501 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
502 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
503 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
504 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
505 * asan/Makefile.in: Regenerate.
506 * interception/Makefile.in: Regenerate.
507 * tsan/Makefile.in: Regenerate.
508 * lsan/Makefile.in: Regenerate.
509 * sanitizer_common/Makefile.in: Regenerate.
511 2013-11-15 Kostya Serebryany <kcc@google.com>
514 Backport from upstream revision 194573
515 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
516 back to the original functions in the common libsanitizer
517 interceptors and the __cxa_atexit() interceptor on Darwin.
519 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
522 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
523 ifdef out more source.
525 2013-11-12 Jakub Jelinek <jakub@redhat.com>
527 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
528 ifdef out almost the whole source.
529 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
531 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
534 * sanitizer_common/sanitizer_platform_limits_posix.cc
535 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
538 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
541 * sanitizer_common/sanitizer_platform_limits_linux.cc
542 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
544 * sanitizer_common/sanitizer_platform_limits_posix.h
545 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
547 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
549 (__sanitizer___kernel_gid_t): Likewise.
550 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
553 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
556 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
557 2 64-bit integers to save and restore fn and arg. Properly load
558 newtls/child_tidptr into r8/r10.
560 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
563 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
564 internal_munmap, internal_open, internal_read, internal_write,
565 internal_stat, internal_lstat, internal_fstat, internal_readlink,
566 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
567 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
568 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
570 2013-11-04 Kostya Serebryany <kcc@google.com>
572 * All source files: Merge from upstream r191666.
573 * merge.sh: Added lsan.
574 * configure.ac (AC_CONFIG_FILES): Added lsan.
575 * Makefile.am (SUBDIRS): Added lsan.
576 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
577 * asan/Makefile.am (asan_files): Added new files.
578 (libasan_la_LIBADD): Added a dependency on lsan.
579 * lsan/Makefile.am: New file.
580 * asan/Makefile.in: Regenerate.
581 * lsan/Makefile.in: Regenerate.
582 * Makefile.in: Regenerate.
583 * configure: Regenerate.
584 * sanitizer_common/Makefile.in: Regenerate.
586 2013-09-20 Alan Modra <amodra@gmail.com>
588 * configure: Regenerate.
590 2013-09-01 Iain Sandoe <iain@codesourcery.com>
592 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
593 libinterception.la for Darwin.
594 * ubsan/Makefile.in: Regenerate.
596 2013-08-30 Jakub Jelinek <jakub@redhat.com>
598 * Makefile.am (SUBDIRS): Add ubsan.
599 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
600 * merge.sh: Merge ubsan.
601 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
602 * sanitizer_common/sanitizer_printf.cc: Likewise.
603 * sanitizer_common/sanitizer_common.h: Likewise.
604 * ubsan: New directory. Import ubsan runtime from llvm.
606 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
608 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
609 Cherry pick upstream r182922.
611 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
613 * configure.tgt: Add ARM pattern.
615 2013-03-22 Jakub Jelinek <jakub@redhat.com>
618 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
619 * Makefile.in: Regenerated.
620 * asan/Makefile.in: Regenerated.
621 * interception/Makefile.in: Regenerated.
622 * sanitizer_common/Makefile.in: Regenerated.
623 * tsan/Makefile.in: Regenerated.
625 2013-02-28 Jakub Jelinek <jakub@redhat.com>
627 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
628 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
631 2013-02-22 Jakub Jelinek <jakub@redhat.com>
634 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
636 (libasan_preinit.o): Depend on asan_preinit.o.
637 * asan/Makefile.in: Regenerated.
638 * asan/asan_preinit.cc: New file, synced from upstream.
639 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
641 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
643 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
644 dynamic/asan_interceptors_dynamic.cc.
645 * asan/Makefile.in: Regenerated.
646 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
648 2013-02-21 Jakub Jelinek <jakub@redhat.com>
650 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
651 defined. Add used attribute.
653 2013-02-21 Kostya Serebryany <kcc@google.com>
655 * All source files: Merge from upstream r175733.
656 * sanitizer_common/Makefile.am: Added a new file.
657 * sanitizer_common/Makefile.in: Regenerated.
659 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
662 * interception/interception.h (OFF_T): Merged from upstream
665 2013-02-13 Jakub Jelinek <jakub@redhat.com>
667 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
669 2013-02-13 Kostya Serebryany <kcc@google.com>
672 * All source files: Merge from upstream r175049.
673 * interception/Makefile.am: added include path.
674 * interception/Makefile.in: Regenerated.
676 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
678 * configure.tgt: Disable build on darwin9 and earlier.
680 2013-01-23 Kostya Serebryany <kcc@google.com>
683 * All source files: Merge from upstream r173241.
684 * merge.sh: Support merging .inc files.
686 2013-01-16 Jakub Jelinek <jakub@redhat.com>
688 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
690 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
691 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
692 * sanitizer_common/Makefile.in: Regenerated.
693 * interception/Makefile.in: Regenerated.
694 * asan/Makefile.in: Regenerated.
696 2013-01-10 Wei Mi <wmi@google.com>
699 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
700 * tsan/Makefile.in: Regenerated.
701 * tsan/tsan_rtl.h: Enable HACKY_CALL.
703 2013-01-10 Kostya Serebryany <kcc@google.com>
705 * All source files: Merge from upstream r171973.
706 * sanitizer_common/Makefile.am: Added new files.
707 * asan/Makefile.am: Likewise.
708 * tsan/Makefile.am: Likewise.
709 * sanitizer_common/Makefile.in: Regenerated.
710 * asan/Makefile.in: Likewise.
711 * tsan/Makefile.in: Likewise.
713 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
715 * asan/Makefile.am (libasan_la_LIBADD): Replace
716 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
717 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
718 * Makefile.in: Regenerated.
719 * configure: Likewise.
720 * asan/Makefile.in: Likewise.
721 * interception/Makefile.in: Likewise.
722 * sanitizer_common/Makefile.in: Likewise.
723 * tsan/Makefile.in: Likewise.
725 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
727 * Makefile.am (AM_MAKEFLAGS): Restored.
728 * interception/Makefile.am: Likewise.
729 * sanitizer_common/Makefile.am: Likewise.
730 * tsan/Makefile.am: Likewise.
731 * Makefile.in: Regenerated.
732 * asan/Makefile.in: Likewise.
733 * interception/Makefile.in: Likewise.
734 * sanitizer_common/Makefile.in: Likewise.
735 * tsan/Makefile.in: Likewise.
737 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
739 * Makefile.am (MAKEOVERRIDES): Restored.
740 * asan/Makefile.am: Likewise.
741 * interception/Makefile.am: Likewise.
742 * sanitizer_common/Makefile.am: Likewise.
743 * tsan/Makefile.am: Likewise.
744 * Makefile.in: Regenerated.
745 * asan/Makefile.in: Likewise.
746 * interception/Makefile.in: Likewise.
747 * sanitizer_common/Makefile.in: Likewise.
748 * tsan/Makefile.in: Likewise.
750 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
752 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
753 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
754 * Makefile.in: Regenerated.
755 * configure: Likewise.
756 * asan/Makefile.in: Likewise.
757 * interception/Makefile.in: Likewise.
758 * sanitizer_common/Makefile.in: Likewise.
759 * tsan/Makefile.in: Likewise.
761 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
763 * Makefile.am (AM_MAKEFLAGS): Removed.
764 (MAKEOVERRIDES): Likewise.
765 * asan/Makefile.am: Likewise.
766 * interception/Makefile.am: Likewise.
767 * sanitizer_common/Makefile.am: Likewise.
768 * tsan/Makefile.am: Likewise.
769 * Makefile.in: Regenerated.
770 * asan/Makefile.in: Likewise.
771 * interception/Makefile.in: Likewise.
772 * sanitizer_common/Makefile.in: Likewise.
773 * tsan/Makefile.in: Likewise.
775 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
778 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
779 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
780 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
781 (AM_MAKEFLAGS): Remove CC and CXX.
782 * interception/Makefile.am: Likewise.
783 * sanitizer_common/Makefile.am: Likewise.
784 * tsan/Makefile.am: Likewise.
785 * Makefile.in: Regenerated.
786 * aclocal.m4: Likewise.
787 * configure: Likewise.
788 * asan/Makefile.in: Likewise.
789 * interception/Makefile.in: Likewise.
790 * sanitizer_common/Makefile.in: Likewise.
791 * tsan/Makefile.in: Likewise.
793 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
795 * configure.tgt: Enable build on powerpc*-linux.
797 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
800 * configure.ac: Set enable_static=no on darwin.
801 * configure: Regenerated.
803 2012-12-06 Kostya Serebryany <kcc@google.com>
805 * All files: Merge from upstream r169392.
807 2012-12-05 Kostya Serebryany <kcc@google.com>
809 * All files: Merge from upstream r169371.
811 2012-12-04 Kostya Serebryany <kcc@google.com>
812 Jack Howarth <howarth@bromo.med.uc.edu>
815 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
816 * Makefile.am: Don't build interception subdir when
817 USING_MAC_INTERPOSE defined.
818 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
819 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
820 Compile asan_interceptors_dynamic.cc but not libinterception
821 when USING_MAC_INTERPOSE defined.
822 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
823 * configure: Regenerated.
824 * Makefile.in: Likewise.
825 * asan/Makefile.in: Likewise.
826 * interception/Makefile.in: Likewise.
827 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
828 * asan/asan_mac.cc: Likewise.
829 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
830 and use MISSING_BLOCKS_SUPPORT.
831 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
832 * interception/mach_override/LICENSE.txt: Remove unused file.
833 * interception/mach_override/mach_override.c: Likewise.
834 * interception/mach_override/mach_override.h: Likewise.
835 * interception/mach_override: Remove unused directory.
837 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
839 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
840 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
841 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
843 (AM_MAKEFLAGS): Restore CC and CXX.
844 * interception/Makefile.am: Likewise.
845 * sanitizer_common/Makefile.am: Likewise.
846 * tsan/Makefile.am: Likewise.
847 * Makefile.in: Regenerated.
848 * aclocal.m4: Likewise.
849 * configure: Likewise.
850 * asan/Makefile.in: Likewise.
851 * interception/Makefile.in: Likewise.
852 * sanitizer_common/Makefile.in: Likewise.
853 * tsan/Makefile.in: Likewise.
855 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
857 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
858 * configure.ac (ACX_NONCANONICAL_TARGET): New.
859 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
861 (AM_MAKEFLAGS): Remove CC and CXX.
862 * interception/Makefile.am: Likewise.
863 * sanitizer_common/Makefile.am: Likewise.
864 * tsan/Makefile.am: Likewise.
865 * Makefile.in: Regenerated.
866 * aclocal.m4: Likewise.
867 * configure: Likewise.
868 * asan/Makefile.in: Likewise.
869 * interception/Makefile.in: Likewise.
870 * sanitizer_common/Makefile.in: Likewise.
871 * tsan/Makefile.in: Likewise.
873 2012-11-27 Kostya Serebryany <kcc@google.com>
875 * All files: Merge from upstream r168699.
877 2012-11-24 Kostya Serebryany <kcc@google.com>
878 Jack Howarth <howarth@bromo.med.uc.edu>
880 * interception/mach_override/mach_override.c: Migrate from llvm.
881 * interception/mach_override/mach_override.h: Likewise.
882 * interception/mach_override/LICENSE.txt: Likewise.
883 * configure.tgt: Add darwin to supported targets.
884 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
885 * interception/Makefile.am: Compile mach_override.c when
886 USING_MACH_OVERRIDE defined.
887 * configure: Regenerated.
888 * interception/Makefile.in: Likewise.
890 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
893 * tsan/Makefile.am (gcc_version): New.
894 * tsan/Makefile.in: Regenerated.
896 2012-11-23 Kostya Serebryany <kcc@google.com>
898 * merge.sh: Support tsan, support added/removed files.
899 * tsan/Makefile.am: Remove tsan_printf.cc.
900 * tsan/Makefile.in: Regenerated.
901 * other files: Merge from upstream r168514.
903 2012-11-23 Kostya Serebryany <kcc@google.com>
905 * merge.sh: New file.
907 2012-11-23 Jakub Jelinek <jakub@redhat.com>
909 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
910 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
911 automake conditional instead of !MULTISUBDIR32.
912 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
914 * configure.ac: Check for void * size, source in configure.tgt,
915 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
916 * configure: Regenerated.
917 * Makefile.in: Regenerated.
918 * tsan/Makefile.in: Regenerated.
920 2012-11-22 Wei Mi <wmi@google.com>
922 * tsan: New directory. Import tsan runtime from llvm.
923 * configure.ac: Add 64 bits tsan build.
924 * Makefile.am: Likewise.
925 * configure: Regenerated.
926 * Makefile.in: Likewise.
928 2012-11-21 Kostya Serebryany <kcc@google.com>
930 * README.gcc: Extend the README.gcc with mode details.
932 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
934 * sanitizer_common/sanitizer_linux.cc
935 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
936 (internal_mmap): Use it.
937 (internal_filesize): Likewise.
939 2012-11-16 Tom Tromey <tromey@redhat.com>
941 * configure.ac: Invoke AM_MAINTAINER_MODE.
942 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
943 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
945 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
948 * include/sanitizer/common_interface_defs.h (uhwptr): New type
949 for hardware pointer.
950 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
951 Replace uptr with uhwptr for stack unwind.
953 2012-11-16 Dodji Seketeli <dodji@redhat.com>
955 * configure.tgt: Enable build on sparc linux.
957 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
959 * configure.ac: Properly set MULTISUBDIR.
960 * asan/Makefile.am (gcc_version): New.
961 * interception/Makefile.am (gcc_version): Likewise.
962 * sanitizer_common/Makefile.am (gcc_version): Likewise.
963 * configure: Regenerated.
964 * asan/Makefile.in: Likewise.
965 * interception/Makefile.in: Likewise.
966 * sanitizer_common/Makefile.in: Likewise.
968 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
971 * configure.ac (--enable-version-specific-runtime-libs): New option.
972 (AC_CANONICAL_SYSTEM): New.
973 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
974 (toolexecdir): Support multilib.
975 (toolexeclibdir): Likewise.
977 * Makefile.in: Regenerated.
978 * aclocal.m4: Likewise.
979 * configure: Likewise.
980 * asan/Makefile.in: Likewise.
981 * interception/Makefile.in: Likewise.
982 * sanitizer_common/Makefile.in: Likewise.
984 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
987 Backport from upstream revision 167883
988 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
989 __x86_64__ instead of __WORDSIZE.
990 (internal_filesize): Likwise.
992 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
994 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
995 * Makefile.in: Regenerated.
996 * configure: Likewise.
998 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1001 * acinclude.m4: New file.
1002 * Makefile.am (ACLOCAL_AMFLAGS): New.
1003 * configure.ac (AC_PREREQ): Set to 2.64.
1004 (AC_CONFIG_AUX_DIR): Set to "..".
1005 * Makefile.in: Regenerated.
1006 * aclocal.m4: Likewise.
1007 * configure: Likewise.
1008 * asan/Makefile.in: Likewise.
1009 * interception/Makefile.in: Likewise.
1010 * sanitizer_common/Makefile.in: Likewise.
1012 * config.guess: Removed.
1013 * config.sub: Likewise.
1014 * depcomp: Likewise.
1015 * install-sh: Likewise.
1016 * ltmain.sh: Likewise.
1017 * missing: Likewise.
1019 2012-11-13 Richard Henderson <rth@redhat.com>
1021 * configure.tgt: New file.
1023 2012-11-12 David S. Miller <davem@davemloft.net>
1025 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1027 2012-10-29 Wei Mi <wmi@google.com>
1029 Initial checkin: migrate asan runtime from llvm.