1 2015-01-13 Jakub Jelinek <jakub@redhat.com>
3 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
4 upstream r224518 and r224519.
5 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
8 2014-12-16 Jakub Jelinek <jakub@redhat.com>
10 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
11 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
12 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
15 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
18 * configure: Regenerated.
20 2014-11-21 Jakub Jelinek <jakub@redhat.com>
23 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
24 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
26 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
28 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
29 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
30 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
31 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
32 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
33 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
34 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
35 * sanitizer_common/Makefile.in: Regenerate.
36 * asan/Makefile.in: Ditto.
37 * lsan/Makefile.in: Ditto.
38 * interception/Makefile.in: Ditto.
39 * tsan/Makefile.in: Ditto.
40 * libbacktrace/Makefile.in: Ditto.
41 * ubsan/Makefile.in: Ditto.
43 2014-11-13 Kostya Serebryany <kcc@google.com>
45 * All source files: Merge from upstream r221802.
46 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
47 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
48 with 'start' to follow the new interface.
49 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
50 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
51 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
52 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
53 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
55 (AM_CXXFLAGS): Added -std=c++11.
56 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
57 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
58 * asan/Makefile.in: Regenerate.
59 * interception/Makefile.in: Regenerate.
60 * libbacktrace/Makefile.in: Regenerate.
61 * lsan/Makefile.in: Regenerate.
62 * sanitizer_common/Makefile.in: Regenerate.
63 * tsan/Makefile.in: Regenerate.
64 * ubsan/Makefile.in: Regenerate.
66 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
69 * configure: Regenerate.
71 2014-10-16 Martin Liska <mliska@suse.cz>
73 * asan/Makefile.am: IPA ICF pass is disabled.
74 * asan/Makefile.in: Likewise.
76 2014-10-14 David S. Miller <davem@davemloft.net>
78 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
79 Define at __kernel_time_t, as needed for sparc.
80 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
81 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
82 (__sanitizer): Define struct___old_kernel_stat_sz,
83 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
84 (__sanitizer_ipc_perm): Adjust for sparc targets.
85 (__sanitizer_shmid_ds): Likewsie.
86 (__sanitizer_sigaction): Likewsie.
89 2014-10-14 Jakub Jelinek <jakub@redhat.com>
91 * ubsan/Makefile.am (DEFS): Add -DPIC.
92 * ubsan/Makefile.in: Regenerated.
94 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
96 * configure.tgt: Enable build on aarch64*-linux.
98 2014-09-19 Kostya Serebryany <kcc@google.com>
100 * All source files: Merge from upstream r218156.
101 * asan/Makefile.am (asan_files): Added new files.
102 * asan/Makefile.in: Regenerate.
103 * ubsan/Makefile.am (ubsan_files): Added new files.
104 * ubsan/Makefile.in: Regenerate.
105 * tsan/Makefile.am (tsan_files): Added new files.
106 * tsan/Makefile.in: Regenerate.
107 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
109 * sanitizer_common/Makefile.in: Regenerate.
110 * asan/libtool-version: Bump the libasan SONAME.
112 2014-09-10 Jakub Jelinek <jakub@redhat.com>
114 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
115 upstream r215485, r217389, r217391 and r217400.
117 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
119 * sanitizer_common/sanitizer_common_interceptors.inc:
120 Cherry pick upstream r211008.
122 2014-06-11 Richard Biener <rguenther@suse.de>
124 * asan/asan_linux.cc: Cherry pick upstream r210012.
126 2014-05-30 Jakub Jelinek <jakub@redhat.com>
128 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
130 * sanitizer_common/sanitizer_common.h: Likewise.
131 * asan/asan_mapping.h: Likewise.
132 * asan/asan_linux.cc: Likewise.
133 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
134 * sanitizer_common/sanitizer_allocator.h: Likewise.
136 2014-05-23 Marek Polacek <polacek@redhat.com>
138 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
139 floating-point types.
141 2014-05-22 Kostya Serebryany <kcc@google.com>
143 * All source files: Merge from upstream r209283.
144 * asan/Makefile.am (asan_files): Added new files.
145 * asan/Makefile.in: Regenerate.
146 * tsan/Makefile.am (tsan_files): Added new files.
147 * tsan/Makefile.in: Regenerate.
148 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
150 * sanitizer_common/Makefile.in: Regenerate.
152 2014-05-14 Yury Gribov <y.gribov@samsung.com>
155 * Makefile.am (nodist_saninclude_HEADERS): Install
157 * Makefile.in: Regenerate.
159 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
161 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
162 Add ../../libbacktrace/sort.c.
163 * libbacktrace/Makefile.in: Regenerate.
164 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
166 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
168 * configure.tgt: Unsupported for little endian PowerPC for now.
170 2014-02-04 Jakub Jelinek <jakub@redhat.com>
173 * tsan/tsan_flags.cc (__tsan_default_options): Add
174 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
175 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
178 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
179 sanitizer_atomic.h and unistd.h.
180 (kThreadDescriptorSize): Made static, remove initializer and const,
181 change type to atomic_uintptr_t.
182 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
183 query glibc version, compute kThreadDescriptorSize depending on
184 glibc version minor number.
185 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
186 kThreadDescriptorSize directly.
188 2014-01-23 Yury Gribov <y.gribov@samsung.com>
189 Jakub Jelinek <jakub@redhat.com>
192 * configure.ac: Check for missing syscalls.
193 * Makefile.am: Likewise.
194 * configure: Regenerate.
195 * Makefile.in: Regenerate.
197 2014-01-09 Jakub Jelinek <jakub@redhat.com>
199 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
200 (LibbacktraceSymbolizer::Demangle): New declaration.
201 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
202 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
204 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
205 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
206 (struct CplusV3DemangleData): New type.
207 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
208 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
209 SymbolizeDataCallback): Use CplusV3Demangle.
210 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
211 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
212 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
213 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
214 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
215 cplus_demangle_init_info, cplus_demangle_mangled_name,
216 cplus_demangle_operators, cplus_demangle_print,
217 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
218 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
219 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
221 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
222 (memcmp, strncmp): Redefine.
223 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
224 ../../libiberty/cp-demangle.c.
225 * libbacktrace/bridge.cc (__asan_internal_memcmp,
226 __asan_internal_strncmp): New functions.
227 * sanitizer_common/Makefile.in: Regenerated.
228 * libbacktrace/Makefile.in: Regenerated.
229 * configure: Regenerated.
230 * configure.ac: Regenerated.
231 * config.h.in: Regenerated.
233 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
234 -isystem $(top_srcdir)/include/system.
235 * sanitizer_common/Makefile.in: Regenerated.
236 * include/system/linux/aio_abi.h: New header.
237 * include/system/linux/mroute.h: New header.
238 * include/system/linux/mroute6.h: New header.
239 * include/system/linux/perf_event.h: New header.
240 * include/system/linux/types.h: New header.
243 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
244 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
245 and -I/-include flags.
246 * lsan/Makefile.am (liblsan_la_LIBADD): Add
247 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
248 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
249 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
250 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
251 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
253 * README.gcc: Document that also lsan and ubsan are
254 maintained in compiler-rt upstream.
255 * libbacktrace/Makefile.am: New file.
256 * libbacktrace/backtrace-rename.h: New file.
257 * libbacktrace/backtrace-supported.h.in: New file.
258 * libbacktrace/bridge.cc: New file.
259 * configure.ac: Add tests needed for libbacktrace build
261 * sanitizer_common/Makefile.in: Regenerated.
262 * lsan/Makefile.in: Regenerated.
263 * tsan/Makefile.in: Regenerated.
264 * ubsan/Makefile.in: Regenerated.
265 * libbacktrace/Makefile.in: Generated.
266 * config.h.in: Regenerated.
267 * configure: Regenerated.
268 * Makefile.in: Regenerated.
269 * interception/Makefile.in: Regenerated.
270 * asan/Makefile.in: Regenerated.
271 * aclocal.m4: Regenerated.
273 2013-12-19 Kostya Serebryany <kcc@google.com>
275 * sanitizer_common/sanitizer_platform_limits_posix.cc:
276 workaround for missing definition of EOWNERDEAD, backport
277 from upstream r196779.
279 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
281 * sanitizer_common/sanitizer_platform_limits_posix.h
282 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
283 (__sanitizer_clock_t): Use long long for x32.
285 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
287 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
288 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
289 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
291 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
293 * configure.ac (link_sanitizer_common): Add -lm.
294 * configure: Regenerated.
296 2013-12-05 Kostya Serebryany <kcc@google.com>
298 * All source files: Merge from upstream r196489.
299 * merge.sh: Add *.S to the list of merged files.
301 2013-12-05 Yury Gribov <y.gribov@samsung.com>
304 * Makefile.am (gcc_version): Added gcc_version.
305 * Makefile.in: Regenerate.
307 2013-12-05 Kostya Serebryany <kcc@google.com>
309 * All source files: Merge from upstream r196090.
310 * tsan/Makefile.am (tsan_files): Added new files.
311 * tsan/Makefile.in: Regenerate.
312 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
313 * sanitizer_common/Makefile.in: Regenerate.
314 * lsan/Makefile.am (lsan_files): Added new files.
315 * lsan/Makefile.in: Regenerate.
317 2013-11-29 Jakub Jelinek <jakub@redhat.com>
318 Yury Gribov <y.gribov@samsung.com>
321 * libsanitizer.spec.in: Add spec file to hold link flags for
322 various sanitizer libs.
323 * configure.ac: Check whether clock_* routines come from librt.
324 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
326 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
327 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
328 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
329 * asan/Makefile.in: Regenerate.
330 * interception/Makefile.in: Regenerate.
331 * lsan/Makefile.in: Regenerate.
332 * sanitizer_common/Makefile.in: Regenerate.
333 * tsan/Makefile.in: Regenerate.
334 * ubsan/Makefile.in: Regenerate.
335 * Makefile.in: Regenerate.
336 * configure: Regenerate.
338 2013-11-28 Jakub Jelinek <jakub@redhat.com>
339 Yury Gribov <y.gribov@samsung.com>
342 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
344 * ubsan/Makefile.in: Regenerated.
346 2013-11-22 Jakub Jelinek <jakub@redhat.com>
349 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
350 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
351 * configure: Regenerated.
352 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
353 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
354 * lsan/Makefile.in: Regenerated.
356 2013-11-22 Mike Stump <mikestump@comcast.net>
358 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
359 change from upstream to fix build.
361 2013-11-18 Yury Gribov <y.gribov@samsung.com>
364 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
365 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
366 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
367 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
368 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
369 * asan/Makefile.in: Regenerate.
370 * interception/Makefile.in: Regenerate.
371 * tsan/Makefile.in: Regenerate.
372 * lsan/Makefile.in: Regenerate.
373 * sanitizer_common/Makefile.in: Regenerate.
375 2013-11-15 Kostya Serebryany <kcc@google.com>
378 Backport from upstream revision 194573
379 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
380 back to the original functions in the common libsanitizer
381 interceptors and the __cxa_atexit() interceptor on Darwin.
383 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
386 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
387 ifdef out more source.
389 2013-11-12 Jakub Jelinek <jakub@redhat.com>
391 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
392 ifdef out almost the whole source.
393 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
395 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
398 * sanitizer_common/sanitizer_platform_limits_posix.cc
399 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
402 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
405 * sanitizer_common/sanitizer_platform_limits_linux.cc
406 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
408 * sanitizer_common/sanitizer_platform_limits_posix.h
409 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
411 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
413 (__sanitizer___kernel_gid_t): Likewise.
414 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
417 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
420 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
421 2 64-bit integers to save and restore fn and arg. Properly load
422 newtls/child_tidptr into r8/r10.
424 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
427 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
428 internal_munmap, internal_open, internal_read, internal_write,
429 internal_stat, internal_lstat, internal_fstat, internal_readlink,
430 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
431 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
432 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
434 2013-11-04 Kostya Serebryany <kcc@google.com>
436 * All source files: Merge from upstream r191666.
437 * merge.sh: Added lsan.
438 * configure.ac (AC_CONFIG_FILES): Added lsan.
439 * Makefile.am (SUBDIRS): Added lsan.
440 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
441 * asan/Makefile.am (asan_files): Added new files.
442 (libasan_la_LIBADD): Added a dependency on lsan.
443 * lsan/Makefile.am: New file.
444 * asan/Makefile.in: Regenerate.
445 * lsan/Makefile.in: Regenerate.
446 * Makefile.in: Regenerate.
447 * configure: Regenerate.
448 * sanitizer_common/Makefile.in: Regenerate.
450 2013-09-20 Alan Modra <amodra@gmail.com>
452 * configure: Regenerate.
454 2013-09-01 Iain Sandoe <iain@codesourcery.com>
456 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
457 libinterception.la for Darwin.
458 * ubsan/Makefile.in: Regenerate.
460 2013-08-30 Jakub Jelinek <jakub@redhat.com>
462 * Makefile.am (SUBDIRS): Add ubsan.
463 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
464 * merge.sh: Merge ubsan.
465 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
466 * sanitizer_common/sanitizer_printf.cc: Likewise.
467 * sanitizer_common/sanitizer_common.h: Likewise.
468 * ubsan: New directory. Import ubsan runtime from llvm.
470 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
472 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
473 Cherry pick upstream r182922.
475 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
477 * configure.tgt: Add ARM pattern.
479 2013-03-22 Jakub Jelinek <jakub@redhat.com>
482 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
483 * Makefile.in: Regenerated.
484 * asan/Makefile.in: Regenerated.
485 * interception/Makefile.in: Regenerated.
486 * sanitizer_common/Makefile.in: Regenerated.
487 * tsan/Makefile.in: Regenerated.
489 2013-02-28 Jakub Jelinek <jakub@redhat.com>
491 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
492 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
495 2013-02-22 Jakub Jelinek <jakub@redhat.com>
498 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
500 (libasan_preinit.o): Depend on asan_preinit.o.
501 * asan/Makefile.in: Regenerated.
502 * asan/asan_preinit.cc: New file, synced from upstream.
503 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
505 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
507 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
508 dynamic/asan_interceptors_dynamic.cc.
509 * asan/Makefile.in: Regenerated.
510 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
512 2013-02-21 Jakub Jelinek <jakub@redhat.com>
514 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
515 defined. Add used attribute.
517 2013-02-21 Kostya Serebryany <kcc@google.com>
519 * All source files: Merge from upstream r175733.
520 * sanitizer_common/Makefile.am: Added a new file.
521 * sanitizer_common/Makefile.in: Regenerated.
523 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
526 * interception/interception.h (OFF_T): Merged from upstream
529 2013-02-13 Jakub Jelinek <jakub@redhat.com>
531 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
533 2013-02-13 Kostya Serebryany <kcc@google.com>
536 * All source files: Merge from upstream r175049.
537 * interception/Makefile.am: added include path.
538 * interception/Makefile.in: Regenerated.
540 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
542 * configure.tgt: Disable build on darwin9 and earlier.
544 2013-01-23 Kostya Serebryany <kcc@google.com>
547 * All source files: Merge from upstream r173241.
548 * merge.sh: Support merging .inc files.
550 2013-01-16 Jakub Jelinek <jakub@redhat.com>
552 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
554 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
555 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
556 * sanitizer_common/Makefile.in: Regenerated.
557 * interception/Makefile.in: Regenerated.
558 * asan/Makefile.in: Regenerated.
560 2013-01-10 Wei Mi <wmi@google.com>
563 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
564 * tsan/Makefile.in: Regenerated.
565 * tsan/tsan_rtl.h: Enable HACKY_CALL.
567 2013-01-10 Kostya Serebryany <kcc@google.com>
569 * All source files: Merge from upstream r171973.
570 * sanitizer_common/Makefile.am: Added new files.
571 * asan/Makefile.am: Likewise.
572 * tsan/Makefile.am: Likewise.
573 * sanitizer_common/Makefile.in: Regenerated.
574 * asan/Makefile.in: Likewise.
575 * tsan/Makefile.in: Likewise.
577 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
579 * asan/Makefile.am (libasan_la_LIBADD): Replace
580 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
581 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
582 * Makefile.in: Regenerated.
583 * configure: Likewise.
584 * asan/Makefile.in: Likewise.
585 * interception/Makefile.in: Likewise.
586 * sanitizer_common/Makefile.in: Likewise.
587 * tsan/Makefile.in: Likewise.
589 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
591 * Makefile.am (AM_MAKEFLAGS): Restored.
592 * interception/Makefile.am: Likewise.
593 * sanitizer_common/Makefile.am: Likewise.
594 * tsan/Makefile.am: Likewise.
595 * Makefile.in: Regenerated.
596 * asan/Makefile.in: Likewise.
597 * interception/Makefile.in: Likewise.
598 * sanitizer_common/Makefile.in: Likewise.
599 * tsan/Makefile.in: Likewise.
601 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
603 * Makefile.am (MAKEOVERRIDES): Restored.
604 * asan/Makefile.am: Likewise.
605 * interception/Makefile.am: Likewise.
606 * sanitizer_common/Makefile.am: Likewise.
607 * tsan/Makefile.am: Likewise.
608 * Makefile.in: Regenerated.
609 * asan/Makefile.in: Likewise.
610 * interception/Makefile.in: Likewise.
611 * sanitizer_common/Makefile.in: Likewise.
612 * tsan/Makefile.in: Likewise.
614 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
616 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
617 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
618 * Makefile.in: Regenerated.
619 * configure: Likewise.
620 * asan/Makefile.in: Likewise.
621 * interception/Makefile.in: Likewise.
622 * sanitizer_common/Makefile.in: Likewise.
623 * tsan/Makefile.in: Likewise.
625 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
627 * Makefile.am (AM_MAKEFLAGS): Removed.
628 (MAKEOVERRIDES): Likewise.
629 * asan/Makefile.am: Likewise.
630 * interception/Makefile.am: Likewise.
631 * sanitizer_common/Makefile.am: Likewise.
632 * tsan/Makefile.am: Likewise.
633 * Makefile.in: Regenerated.
634 * asan/Makefile.in: Likewise.
635 * interception/Makefile.in: Likewise.
636 * sanitizer_common/Makefile.in: Likewise.
637 * tsan/Makefile.in: Likewise.
639 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
642 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
643 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
644 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
645 (AM_MAKEFLAGS): Remove CC and CXX.
646 * interception/Makefile.am: Likewise.
647 * sanitizer_common/Makefile.am: Likewise.
648 * tsan/Makefile.am: Likewise.
649 * Makefile.in: Regenerated.
650 * aclocal.m4: Likewise.
651 * configure: Likewise.
652 * asan/Makefile.in: Likewise.
653 * interception/Makefile.in: Likewise.
654 * sanitizer_common/Makefile.in: Likewise.
655 * tsan/Makefile.in: Likewise.
657 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
659 * configure.tgt: Enable build on powerpc*-linux.
661 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
664 * configure.ac: Set enable_static=no on darwin.
665 * configure: Regenerated.
667 2012-12-06 Kostya Serebryany <kcc@google.com>
669 * All files: Merge from upstream r169392.
671 2012-12-05 Kostya Serebryany <kcc@google.com>
673 * All files: Merge from upstream r169371.
675 2012-12-04 Kostya Serebryany <kcc@google.com>
676 Jack Howarth <howarth@bromo.med.uc.edu>
679 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
680 * Makefile.am: Don't build interception subdir when
681 USING_MAC_INTERPOSE defined.
682 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
683 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
684 Compile asan_interceptors_dynamic.cc but not libinterception
685 when USING_MAC_INTERPOSE defined.
686 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
687 * configure: Regenerated.
688 * Makefile.in: Likewise.
689 * asan/Makefile.in: Likewise.
690 * interception/Makefile.in: Likewise.
691 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
692 * asan/asan_mac.cc: Likewise.
693 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
694 and use MISSING_BLOCKS_SUPPORT.
695 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
696 * interception/mach_override/LICENSE.txt: Remove unused file.
697 * interception/mach_override/mach_override.c: Likewise.
698 * interception/mach_override/mach_override.h: Likewise.
699 * interception/mach_override: Remove unused directory.
701 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
703 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
704 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
705 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
707 (AM_MAKEFLAGS): Restore CC and CXX.
708 * interception/Makefile.am: Likewise.
709 * sanitizer_common/Makefile.am: Likewise.
710 * tsan/Makefile.am: Likewise.
711 * Makefile.in: Regenerated.
712 * aclocal.m4: Likewise.
713 * configure: Likewise.
714 * asan/Makefile.in: Likewise.
715 * interception/Makefile.in: Likewise.
716 * sanitizer_common/Makefile.in: Likewise.
717 * tsan/Makefile.in: Likewise.
719 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
721 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
722 * configure.ac (ACX_NONCANONICAL_TARGET): New.
723 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
725 (AM_MAKEFLAGS): Remove CC and CXX.
726 * interception/Makefile.am: Likewise.
727 * sanitizer_common/Makefile.am: Likewise.
728 * tsan/Makefile.am: Likewise.
729 * Makefile.in: Regenerated.
730 * aclocal.m4: Likewise.
731 * configure: Likewise.
732 * asan/Makefile.in: Likewise.
733 * interception/Makefile.in: Likewise.
734 * sanitizer_common/Makefile.in: Likewise.
735 * tsan/Makefile.in: Likewise.
737 2012-11-27 Kostya Serebryany <kcc@google.com>
739 * All files: Merge from upstream r168699.
741 2012-11-24 Kostya Serebryany <kcc@google.com>
742 Jack Howarth <howarth@bromo.med.uc.edu>
744 * interception/mach_override/mach_override.c: Migrate from llvm.
745 * interception/mach_override/mach_override.h: Likewise.
746 * interception/mach_override/LICENSE.txt: Likewise.
747 * configure.tgt: Add darwin to supported targets.
748 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
749 * interception/Makefile.am: Compile mach_override.c when
750 USING_MACH_OVERRIDE defined.
751 * configure: Regenerated.
752 * interception/Makefile.in: Likewise.
754 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
757 * tsan/Makefile.am (gcc_version): New.
758 * tsan/Makefile.in: Regenerated.
760 2012-11-23 Kostya Serebryany <kcc@google.com>
762 * merge.sh: Support tsan, support added/removed files.
763 * tsan/Makefile.am: Remove tsan_printf.cc.
764 * tsan/Makefile.in: Regenerated.
765 * other files: Merge from upstream r168514.
767 2012-11-23 Kostya Serebryany <kcc@google.com>
769 * merge.sh: New file.
771 2012-11-23 Jakub Jelinek <jakub@redhat.com>
773 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
774 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
775 automake conditional instead of !MULTISUBDIR32.
776 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
778 * configure.ac: Check for void * size, source in configure.tgt,
779 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
780 * configure: Regenerated.
781 * Makefile.in: Regenerated.
782 * tsan/Makefile.in: Regenerated.
784 2012-11-22 Wei Mi <wmi@google.com>
786 * tsan: New directory. Import tsan runtime from llvm.
787 * configure.ac: Add 64 bits tsan build.
788 * Makefile.am: Likewise.
789 * configure: Regenerated.
790 * Makefile.in: Likewise.
792 2012-11-21 Kostya Serebryany <kcc@google.com>
794 * README.gcc: Extend the README.gcc with mode details.
796 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
798 * sanitizer_common/sanitizer_linux.cc
799 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
800 (internal_mmap): Use it.
801 (internal_filesize): Likewise.
803 2012-11-16 Tom Tromey <tromey@redhat.com>
805 * configure.ac: Invoke AM_MAINTAINER_MODE.
806 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
807 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
809 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
812 * include/sanitizer/common_interface_defs.h (uhwptr): New type
813 for hardware pointer.
814 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
815 Replace uptr with uhwptr for stack unwind.
817 2012-11-16 Dodji Seketeli <dodji@redhat.com>
819 * configure.tgt: Enable build on sparc linux.
821 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
823 * configure.ac: Properly set MULTISUBDIR.
824 * asan/Makefile.am (gcc_version): New.
825 * interception/Makefile.am (gcc_version): Likewise.
826 * sanitizer_common/Makefile.am (gcc_version): Likewise.
827 * configure: Regenerated.
828 * asan/Makefile.in: Likewise.
829 * interception/Makefile.in: Likewise.
830 * sanitizer_common/Makefile.in: Likewise.
832 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
835 * configure.ac (--enable-version-specific-runtime-libs): New option.
836 (AC_CANONICAL_SYSTEM): New.
837 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
838 (toolexecdir): Support multilib.
839 (toolexeclibdir): Likewise.
841 * Makefile.in: Regenerated.
842 * aclocal.m4: Likewise.
843 * configure: Likewise.
844 * asan/Makefile.in: Likewise.
845 * interception/Makefile.in: Likewise.
846 * sanitizer_common/Makefile.in: Likewise.
848 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
851 Backport from upstream revision 167883
852 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
853 __x86_64__ instead of __WORDSIZE.
854 (internal_filesize): Likwise.
856 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
858 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
859 * Makefile.in: Regenerated.
860 * configure: Likewise.
862 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
865 * acinclude.m4: New file.
866 * Makefile.am (ACLOCAL_AMFLAGS): New.
867 * configure.ac (AC_PREREQ): Set to 2.64.
868 (AC_CONFIG_AUX_DIR): Set to "..".
869 * Makefile.in: Regenerated.
870 * aclocal.m4: Likewise.
871 * configure: Likewise.
872 * asan/Makefile.in: Likewise.
873 * interception/Makefile.in: Likewise.
874 * sanitizer_common/Makefile.in: Likewise.
876 * config.guess: Removed.
877 * config.sub: Likewise.
879 * install-sh: Likewise.
880 * ltmain.sh: Likewise.
883 2012-11-13 Richard Henderson <rth@redhat.com>
885 * configure.tgt: New file.
887 2012-11-12 David S. Miller <davem@davemloft.net>
889 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
891 2012-10-29 Wei Mi <wmi@google.com>
893 Initial checkin: migrate asan runtime from llvm.