1 2020-06-02 Martin Liska <mliska@suse.cz>
3 * LOCAL_PATCHES: Update hash of local patches.
5 2020-06-02 Martin Liska <mliska@suse.cz>
7 * MERGE: Merge from master.
9 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
12 * configure: Regenerated.
14 2020-05-29 Martin Liska <mliska@suse.cz>
16 * HOWTO_MERGE: Do not mention not existing argument.
17 * README.gcc: Update LLVM repository location.
19 2020-05-26 Martin Liska <mliska@suse.cz>
21 * LOCAL_PATCHES: Use git hash instead of SVN id.
22 * merge.sh: Use git instead of VCS. Update paths
23 relative to upstream git repository.
25 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
28 * configure: Regenerated.
30 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
32 * configure: Regenerated.
34 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
36 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
38 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
40 * sanitizer_common/Makefile.am: Add
41 sanitizer_platform_limits_freebsd.cpp.
42 * sanitizer_common/Makefile.in: Regenerate.
44 2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
47 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
48 default only for Darwin versions greater than 12 (macOS 10.8).
50 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
52 * configure.ac: Handle `--with-toolexeclibdir='.
53 * Makefile.in: Regenerate.
54 * aclocal.m4: Regenerate.
55 * configure: Regenerate.
56 * asan/Makefile.in: Regenerate.
57 * interception/Makefile.in: Regenerate.
58 * libbacktrace/Makefile.in: Regenerate.
59 * lsan/Makefile.in: Regenerate.
60 * sanitizer_common/Makefile.in: Regenerate.
61 * tsan/Makefile.in: Regenerate.
62 * ubsan/Makefile.in: Regenerate.
64 2019-11-26 Jakub Jelinek <jakub@redhat.com>
67 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
68 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
69 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
71 2019-11-20 Martin Liska <mliska@suse.cz>
73 * libtool-version: Remove.
74 * lsan/libtool-version: Upate comment to not mention libmudflap.
75 * tsan/libtool-version: Likewise.
76 * ubsan/libtool-version: Likewise.
78 2019-11-13 Andreas Schwab <schwab@suse.de>
80 * configure.tgt (riscv64-*-linux*): Enable build.
82 2019-11-07 Martin Liska <mliska@suse.cz>
84 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
86 2019-11-07 Martin Liska <mliska@suse.cz>
88 * merge.sh: Update to use llvm-project git repository.
89 * all source files: Merge from upstream
90 82588e05cc32bb30807e480abd4e689b0dee132a.
92 2019-11-05 Martin Liska <mliska@suse.cz>
94 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
95 summary for all sanitizers, but we want to have UBSAN without it.
97 2019-11-05 Martin Liska <mliska@suse.cz>
99 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
101 (CheckODRViolationViaPoisoning): Likewise.
102 (RegisterGlobal): Likewise.
103 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
105 * asan/asan_mapping.h: Likewise.
106 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
107 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
108 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
109 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
110 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
111 * tsan/tsan_rtl_ppc64.S: Likewise.
112 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
113 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
114 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
115 (struct CFICheckFailData): Likewise.
116 (RECOVERABLE): Likewise.
117 * ubsan/ubsan_platform.h: Likewise.
119 2019-11-05 Martin Liska <mliska@suse.cz>
121 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
122 tsan_interceptors_posix.
123 * tsan/Makefile.in: Regenerate.
125 2019-11-05 Martin Liska <mliska@suse.cz>
127 * all source files: Merge from upstream r375507.
129 2019-10-22 Tamar Christina <tamar.christina@arm.com>
132 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
133 Cherry-pick compiler-rt revision r375220.
135 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
137 * configure: Regenerate.
139 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
140 Mickaël Guêné <mickael.guene@st.com>
142 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
143 unsupported in this configuration.
145 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
147 * LOCAL_PATCHES: Add r274585.
149 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
151 * asan/asan_interceptors.h: Reapply r272406.
153 2019-08-15 Martin Liska <mliska@suse.cz>
155 * LOCAL_PATCHES: Add r274540
157 2019-08-15 Martin Liska <mliska@suse.cz>
159 * tsan/tsan_rtl_ppc64.S: Reapply.
161 2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
164 * Makefile.in: Regenerated.
165 * aclocal.m4: Likewise.
166 * asan/Makefile.in: Likewise.
167 * configure: Likewise.
168 * interception/Makefile.in: Likewise.
169 * libbacktrace/Makefile.in: Likewise.
170 * lsan/Makefile.in: Likewise.
171 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
172 * sanitizer_common/Makefile.in: Regenerated.
173 * tsan/Makefile.in: Likewise.
174 * ubsan/Makefile.in: Likewise.
176 2019-08-14 Martin Liska <mliska@suse.cz>
178 * LOCAL_PATCHES: Refresh based on what was committed.
180 2019-08-14 Martin Liska <mliska@suse.cz>
182 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
184 (CheckODRViolationViaPoisoning): Likewise.
185 (RegisterGlobal): Likewise.
186 * asan/asan_mapping.h: Likewise.
187 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
188 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
189 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
190 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
191 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
192 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
193 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
194 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
195 (struct CFICheckFailData): Likewise.
196 (RECOVERABLE): Likewise.
197 * ubsan/ubsan_platform.h: Likewise.
199 2019-08-14 Martin Liska <mliska@suse.cz>
203 * All source files: Merge from upstream 368656.
205 2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
207 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
208 compiler-rt revision 363778.
210 2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
212 PR libsanitizer/87880
213 * asan/asan_interceptors.h:
214 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
215 * asan/Makefile.am (DEFS): Add
216 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
217 * asan/Makefile.in: Regenerated.
218 * asan/libtool-version: Bump version.
220 2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
223 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
225 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
227 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
229 * configure: Regenerate.
231 2019-04-08 Martin Liska <mliska@suse.cz>
233 * LOCAL_PATCHES: Add revision.
235 2019-04-08 Martin Liska <mliska@suse.cz>
238 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
239 Reapply patch from r259664.
240 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
243 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
246 Merge from LLVM revision 355980
247 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
248 (kAllocatorSize): Likewise.
249 (DefaultSizeClassMap): Likewise.
250 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
251 (SHADOW_OFFSET): Define for SPARC.
252 Include asan_mapping_sparc64.h for SPARC 64-bit.
253 * asan/asan_mapping_sparc64.h: New file.
255 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
258 Merge from LLVM revision 355979
259 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
260 copy Global objects for SPARC with GCC.
262 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
265 Merge from LLVM revision 355978
266 * sanitizer_common/sanitizer_allocator_primary32.h
267 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
268 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
269 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
270 (ComputeRegionId): Likewise.
271 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
272 appropriate value for SPARC 64-bit.
273 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
275 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
277 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
280 Merge from LLVM revision 355965
281 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
283 (GetPcSpBp): Likewise.
284 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
286 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
287 Define to 1 for SPARC.
288 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
289 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
290 Adjust the PC address for SPARC with GCC.
292 2019-03-06 Martin Liska <mliska@suse.cz>
295 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
296 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
297 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
300 2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
303 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
304 Cherry-pick compiler-rt r354451.
306 2019-01-23 Jonny Grant <jg@jguk.org>
309 * libsanitizer/README.gcc: Update to current https URLs.
311 2018-12-27 Martin Liska <mliska@suse.cz>
314 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
316 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
318 2018-11-09 Martin Liska <mliska@suse.cz>
320 * LOCAL_PATCHES: Include one local patch.
322 2018-11-09 Martin Liska <mliska@suse.cz>
325 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
326 1 when CPU_COUNT macro is not defined.
328 2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
330 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
331 Disable ASLR for powerpc64 when using sanitizers.
333 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
336 * configure.tgt (sparc*-*-solaris2.11*): Enable.
337 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
339 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
342 * sanitizer_common/sanitizer_internal_defs.h,
343 sanitizer_common/sanitizer_platform_limits_solaris.h,
344 sanitizer_common/sanitizer_procmaps_solaris.cc,
345 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
347 * sanitizer_common/sanitizer_stacktrace.h,
348 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
349 compiler-rt revision 346155.
351 2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
353 * LOCAL_PATCHES: Add r258525.
354 * sanitizer_common/sanitizer_stacktrace.cc
355 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
356 for PowerPC SYSV ABI.
358 2018-11-05 Martin Liska <mliska@suse.cz>
361 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
364 2018-10-31 Joseph Myers <joseph@codesourcery.com>
367 * Makefile.am: Include multilib.am.
368 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
369 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
370 interception/Makefile.in, libbacktrace/Makefile.in,
371 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
372 ubsan/Makefile.in: Regenerate.
374 2018-10-31 Martin Liska <mliska@suse.cz>
376 * LOCAL_PATCHES: Update to installed revisions.
378 2018-10-31 Martin Liska <mliska@suse.cz>
380 * ubsan/ubsan_platform.h: Add ifndef as we define it with
381 -DCAN_SANITIZE_UB CFLAGS.
383 2018-10-31 Martin Liska <mliska@suse.cz>
385 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
387 2018-10-31 Martin Liska <mliska@suse.cz>
389 * LOCAL_PATCHES: Update patch list.
390 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
391 patches from GCC's trunk.
392 (CheckODRViolationViaPoisoning): Likewise.
393 (RegisterGlobal): Likewise.
394 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
395 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
396 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
397 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
398 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
399 (struct CFICheckFailData): Likewise.
400 (RECOVERABLE): Likewise.
402 2018-10-31 Martin Liska <mliska@suse.cz>
404 * config.h.in: Regenerate.
405 * configure: Likewise.
406 * sanitizer_common/Makefile.am: Include new files, remove old
408 * sanitizer_common/Makefile.in: Regenerate.
409 * ubsan/Makefile.am: Include new files, remove old
411 * ubsan/Makefile.in: Likewise.
412 * asan/Makefile.am: Include new files.
413 * asan/Makefile.in: Regenerate.
415 2018-10-31 Martin Liska <mliska@suse.cz>
417 * All source files: Merge from upstream 345033.
419 2018-10-31 Martin Liska <mliska@suse.cz>
421 * HOWTO_MERGE: Enhance documentation.
422 * merge.sh: Add support for git as well.
424 2018-08-02 Martin Liska <mliska@suse.cz>
427 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
428 Cherry-pick compiler-rt revision 338606.
430 2018-08-01 Marek Polacek <polacek@redhat.com>
433 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
434 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
437 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
440 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
441 compiler-rt revision 337603.
442 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
445 2018-07-05 Jakub Jelinek <jakub@redhat.com>
448 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
451 * Makefile.am: Reorder libs.
452 * Makefile.in: Regenerate.
453 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
454 libsanitizer_ubsan.la.
455 * asan/Makefile.in: Regenerate.
456 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
457 * ubsan/Makefile.in: Regenerate.
459 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
462 * Makefile.am: Reorder libs.
463 * Makefile.in: Regenerate.
464 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
465 libsanitizer_ubsan.la.
466 * asan/Makefile.in: Regenerate.
467 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
468 * ubsan/Makefile.in: Regenerate.
470 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
473 * configure.ac: Check for lstat and readlink.
474 * configure, config.h.in: Rebuild.
476 2018-05-31 Matthias Klose <doko@ubuntu.com>
479 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
480 SIZEOF_STRUCT_USTAT for 32bit sparc.
482 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
485 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
486 include <sys/ustat.h> for Linux.
487 (SIZEOF_STRUCT_USTAT): New.
488 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
490 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
492 * configure.tgt <mips*-*-linux*>: Enable build, excluding
495 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
496 take the shortcut to #include <sys/stat.h> for MIPS instead of
497 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
498 or wrong to get the kernel struct stat.
499 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
500 Correct the value for 32-bit non-android struct_kernel_stat_sz.
502 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
503 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
505 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
507 * configure: Regenerated.
509 2018-04-19 Jakub Jelinek <jakub@redhat.com>
511 * configure: Regenerated.
513 2018-04-18 David Malcolm <dmalcolm@redhat.com>
516 * configure: Regenerate.
518 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
521 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
522 from 0xa0000000000ULL to ~(uptr)0.
524 2018-03-19 Jakub Jelinek <jakub@redhat.com>
527 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
528 Define if not defined.
529 (DL_INTERNAL_FUNCTION): Don't define.
530 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
531 determine at runtime whether to use regparm(3), stdcall calling
532 convention for older glibcs or normal calling convention for
533 newer glibcs for call to _dl_get_tls_static_info.
535 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
537 * sanitizer_common/sanitizer_stacktrace.cc
538 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
539 for PowerPC SYSV ABI.
541 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
544 * configure: Regenerate.
546 2018-02-05 Martin Liska <mliska@suse.cz>
548 * asan/asan_flags.inc: Cherry-pick upstream r323995.
549 * asan/asan_report.cc (CheckForInvalidPointerPair):
550 Cherry-pick upstream r323995.
552 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
555 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
558 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
561 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
563 2017-12-05 Martin Liska <mliska@suse.cz>
564 Jakub Jelinek <jakub@redhat.com>
566 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
567 * asan/asan_descriptions.h: Likewise.
568 * asan/asan_report.cc: Likewise.
569 * asan/asan_thread.cc: Likewise.
570 * asan/asan_thread.h: Likewise.
572 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
574 * acinclude.m4: Add enable.m4 and cet.m4.
575 * Makefile.in: Regenerate.
576 * asan/Makefile.am: Update AM_CXXFLAGS.
577 * asan/Makefile.in: Regenerate.
578 * configure: Likewise.
579 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
580 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
581 * interception/Makefile.am: Update AM_CXXFLAGS.
582 * interception/Makefile.in: Regenerate.
583 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
584 * libbacktrace/Makefile.in: Regenerate.
585 * lsan/Makefile.am: Update AM_CXXFLAGS.
586 * lsan/Makefile.in: Regenerate.
587 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
589 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
590 Add _CET_ENDBR macro.
591 * sanitizer_common/Makefile.in: Regenerate.
592 * tsan/Makefile.am: Update AM_CXXFLAGS.
593 * tsan/Makefile.in: Regenerate.
594 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
595 * ubsan/Makefile.am: Update AM_CXXFLAGS.
596 * ubsan/Makefile.in: Regenerate.
598 2017-11-08 Jakub Jelinek <jakub@redhat.com>
601 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
602 and ubsan_signals_standalone.cc.
603 * ubsan/Makefile.in: Regenerated.
605 2017-11-05 Tom de Vries <tom@codesourcery.com>
608 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
610 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
612 2017-10-20 Jakub Jelinek <jakub@redhat.com>
615 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
616 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
618 (lsan_files): Remove lsan_preinit.cc.
619 (liblsan_preinit.o): New rule.
620 * lsan/Makefile.in: Regenerated.
622 2017-10-19 Jakub Jelinek <jakub@redhat.com>
624 * All source files: Merge from upstream 315899.
625 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
626 include/sanitizer/tsan_interface.h.
627 * asan/libtool-version: Bump the libasan SONAME.
628 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
629 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
630 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
631 sancov_flags.cc, sanitizer_allocator_checks.cc,
632 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
633 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
634 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
635 and sanitizer_coverage_mapping_libcdep.cc.
636 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
637 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
638 (ubsan_files): Add ubsan_init_standalone.cc and
639 ubsan_signals_standalone.cc.
640 * ubsan/libtool-version: Bump the libubsan SONAME.
641 * asan/Makefile.in: Regenerate.
642 * lsan/Makefile.in: Regenerate.
643 * sanitizer_common/Makefile.in: Regenerate.
644 * tsan/Makefile.in: Regenerate.
645 * ubsan/Makefile.in: Regenerate.
647 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
650 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
651 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
653 2017-10-02 Jakub Jelinek <jakub@redhat.com>
655 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
658 2017-08-07 Jakub Jelinek <jakub@redhat.com>
660 * include/system/sys/ptrace.h: New file.
662 2017-07-28 Jakub Jelinek <jakub@redhat.com>
665 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
666 * ubsan/ubsan_checks.inc: Likewise.
667 * ubsan/ubsan_handlers.h: Likewise.
669 2017-07-14 Jakub Jelinek <jakub@redhat.com>
672 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
673 * sanitizer_common/sanitizer_linux.cc: Likewise.
674 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
675 * tsan/tsan_platform_linux.cc: Likewise.
677 2017-04-06 Martin Liska <mliska@suse.cz>
680 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
681 Cherry-pick upstream r299036.
683 2017-03-22 Jakub Jelinek <jakub@redhat.com>
686 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
688 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
691 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
694 2017-02-11 Jakub Jelinek <jakub@redhat.com>
697 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
699 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
701 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
703 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
706 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
709 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
710 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
712 2017-01-31 Jakub Jelinek <jakub@redhat.com>
714 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
716 2017-01-24 Jakub Jelinek <jakub@redhat.com>
718 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
721 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
722 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
724 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
725 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
726 * tsan/tsan_ppc_regs.h: Likewise.
727 * tsan/tsan_rtl_aarch64.S: Likewise.
728 * tsan/tsan_rtl_mips64.S: Likewise.
729 * tsan/tsan_rtl_ppc64.S: Likewise.
731 2017-01-21 Jakub Jelinek <jakub@redhat.com>
734 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
735 instead of cat to get version from BASE-VER file.
736 * asan/Makefile.am (gcc_version): Likewise.
737 * ubsan/Makefile.am (gcc_version): Likewise.
738 * sanitizer_common/Makefile.am (gcc_version): Likewise.
739 * lsan/Makefile.am (gcc_version): Likewise.
740 * tsan/Makefile.am (gcc_version): Likewise.
741 * interception/Makefile.in: Regenerated.
742 * asan/Makefile.in: Regenerated.
743 * ubsan/Makefile.in: Regenerated.
744 * sanitizer_common/Makefile.in: Regenerated.
745 * lsan/Makefile.in: Regenerated.
746 * tsan/Makefile.in: Regenerated.
748 2017-01-17 Jakub Jelinek <jakub@redhat.com>
751 * configure.ac: Add GCC_BASE_VER.
752 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
753 get version from BASE-VER file.
754 * libbacktrace/Makefile.in: Regenerated.
755 * interception/Makefile.in: Regenerated.
756 * asan/Makefile.in: Regenerated.
757 * ubsan/Makefile.in: Regenerated.
758 * configure: Regenerated.
759 * sanitizer_common/Makefile.in: Regenerated.
760 * lsan/Makefile.in: Regenerated.
761 * Makefile.in: Regenerated.
762 * tsan/Makefile.in: Regenerated.
764 2017-01-10 James Clarke <jrtc27@jrtc27.com>
767 * sanitizer_common/sanitizer_platform_limits_posix.h
768 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
770 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
772 * LOCAL_PATCHES: Add revision.
774 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
777 * sanitizer_common/sanitizer_platform_limits_posix.h
778 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
781 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
783 * LOCAL_PATCHES: Remove r242480.
785 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
787 * LOCAL_PATCHES: Add revision.
789 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
792 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
793 compiler supports blocks extension.
795 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
797 * LOCAL_PATCHES: Add revision.
799 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
802 * tsan/tsan_rtl.cc: Add missing attribute.
804 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
806 * LOCAL_PATCHES: New file.
808 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
811 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
812 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
813 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
814 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
816 (__ubsan_handle_cfi_bad_type_abort): Likewise.
817 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
818 (__ubsan_handle_cfi_bad_type): Export function.
819 (__ubsan_handle_cfi_bad_type_abort): Likewise.
820 * HOWTO_MERGE: Update documentation.
822 2016-11-15 Matthias Klose <doko@ubuntu.com>
824 * configure: Regenerate.
826 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
828 * asan/asan_globals.cc (RegisterGlobal): Do not call
829 CheckODRViolationViaPoisoning.
830 (CheckODRViolationViaPoisoning): Remove.
832 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
834 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
835 compiled code with GCC when extracting the caller PC for ARM if no
836 valid frame pointer is available.
838 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
842 2014-10-14 David S. Miller <davem@davemloft.net>
844 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
845 Define at __kernel_time_t, as needed for sparc.
846 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
847 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
848 (__sanitizer): Define struct___old_kernel_stat_sz,
849 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
850 (__sanitizer_ipc_perm): Adjust for sparc targets.
851 (__sanitizer_shmid_ds): Likewsie.
852 (__sanitizer_sigaction): Likewise.
853 (IOC_SIZE): Likewsie.
855 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
857 * All source files: Merge from upstream 285547.
858 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
860 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
861 * asan/Makefile.am (asan_files): Add new files.
862 * asan/Makefile.in: Regenerate.
863 * ubsan/Makefile.in: Likewise.
864 * lsan/Makefile.in: Likewise.
865 * tsan/Makefile.am (tsan_files): Add new files.
866 * tsan/Makefile.in: Regenerate.
867 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
868 (EXTRA_libsanitizer_common_la_SOURCES): Define.
869 (libsanitizer_common_la_LIBADD): Likewise.
870 (libsanitizer_common_la_DEPENDENCIES): Likewise.
871 * sanitizer_common/Makefile.in: Regenerate.
872 * interception/Makefile.in: Likewise.
873 * libbacktace/Makefile.in: Likewise.
874 * Makefile.in: Likewise.
875 * configure: Likewise.
876 * merge.sh: Handle builtins/assembly.h merging.
877 * builtins/assembly.h: New file.
878 * asan/libtool-version: Bump the libasan SONAME.
880 2016-09-21 Jakub Jelinek <jakub@redhat.com>
883 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
885 2016-09-05 Jakub Jelinek <jakub@redhat.com>
888 * asan/asan_globals.cc: Cherry-pick upstream r280657.
890 2016-08-12 Jakub Jelinek <jakub@redhat.com>
893 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
894 * tsan/tsan_rtl_aarch64.S: Likewise.
896 2016-07-23 Alan Modra <amodra@gmail.com>
898 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
899 * configure.ac: Don't substitute OBSTACK_DEFS.
900 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
901 * tsan/Makefile.am: Likewise.
902 * configure: Regenerate.
903 * Makefile.in: Regenerate.
904 * asan/Makefile.in: Regenerate.
905 * interception/Makefile.in: Regenerate.
906 * libbacktrace/Makefile.in: Regenerate.
907 * lsan/Makefile.in: Regenerate.
908 * sanitizer_common/Makefile.in: Regenerate.
909 * tsan/Makefile.in: Regenerate.
910 * ubsan/Makefile.in: Regenerate.
912 2016-05-17 Jakub Jelinek <jakub@redhat.com>
915 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
918 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
921 * asan/asan_mac.cc: Cherry pick upstream r266868.
923 2016-01-19 Jakub Jelinek <jakub@redhat.com>
926 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
927 InitializeInterceptors): Cherry pick upstream r258119.
929 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
931 * configure.ac: Replace the hard-coded -ldl requirement for
932 link_sanitizer_common with a configure time check for -ldl.
933 * configure: Regenerate.
935 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
937 * include/system/linux/asm/ptrace.h: Move to ...
938 * include/system/asm/ptrace.h: ... this.
940 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
942 * include/system/linux/asm/ptrace.h: New header.
944 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
946 * All source files: Merge from upstream r253555.
947 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
948 dependences for TSan for aarch64-*-linux* targets.
949 * tsan/Makefile.am: Add new source files.
950 * configure: Regenerate.
951 * tsan/Makefile.in: Likewise.
953 2015-11-09 Alan Modra <amodra@gmail.com>
955 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
956 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
958 * configure.ac: Substitute OBSTACK_DEFS.
959 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
960 * tsan/Makefile.am: Likewise.
961 * configure: Regenerate.
962 * Makefile.in: Regenerate.
963 * asan/Makefile.in: Regenerate.
964 * interception/Makefile.in: Regenerate.
965 * libbacktrace/Makefile.in: Regenerate.
966 * lsan/Makefile.in: Regenerate.
967 * sanitizer_common/Makefile.in: Regenerate.
968 * tsan/Makefile.in: Regenerate.
969 * ubsan/Makefile.in: Regenerate.
971 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
974 * configure.ac (link_sanitizer_common): Link against librt only if it
975 contains shm_open, required by sanitizers.
976 (CXX_ABI_NEEDED): Remove variable.
977 * configure: Regenerate.
978 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
979 * ubsan/Makefile.in: Regenerate.
981 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
983 * HOWTO_MERGE: New file.
985 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
987 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
988 compiled code with GCC when extracting the caller PC for ARM if no
989 valid frame pointer is available.
991 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
995 2015-02-20 Jakub Jelinek <jakub@redhat.com>
997 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
998 support until it is rewritten upstream.
1000 * c-c++-common/asan/pr63888.c: New test.
1002 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1006 2014-10-14 David S. Miller <davem@davemloft.net>
1008 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1009 Define at __kernel_time_t, as needed for sparc.
1010 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1011 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1012 (__sanitizer): Define struct___old_kernel_stat_sz,
1013 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1014 (__sanitizer_ipc_perm): Adjust for sparc targets.
1015 (__sanitizer_shmid_ds): Likewsie.
1016 (__sanitizer_sigaction): Likewise.
1017 (IOC_SIZE): Likewsie.
1019 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1021 * All source files: Merge from upstream r250806.
1022 * configure.ac (link_sanitizer_common): Add -lrt flag.
1023 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1024 Set USE_CXX_ABI_FLAG=true for darwin.
1025 * asan/Makefile.am (asan_files): Add new files.
1026 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1027 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1028 * asan/Makefile.in: Regenerate.
1029 * ubsan/Makefile.am (ubsan_files): Add new files.
1030 (DEFS): Add DCAN_SANITIZE_UB=1.
1031 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1032 * ubsan/Makefile.in: Regenerate.
1033 * tsan/Makefile.am (tsan_files): Add new files.
1034 (DEFS): Add DCAN_SANITIZE_UB=0.
1035 * tsan/Makefile.in: Regenerate.
1036 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1037 * sanitizer_common/Makefile.in: Regenerate.
1038 * asan/libtool-version: Bump the libasan SONAME.
1040 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1043 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1045 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1048 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1051 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1054 * sanitizer_common/sanitizer_stacktrace.cc
1055 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1056 find the link register at an offset of 16 from the base of the
1057 caller's stack frame.
1059 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1061 * Makefile.in: Regenerated with automake-1.11.6.
1062 * aclocal.m4: Likewise.
1063 * asan/Makefile.in: Likewise.
1064 * configure: Likewise.
1065 * interception/Makefile.in: Likewise.
1066 * libbacktrace/Makefile.in: Likewise.
1067 * lsan/Makefile.in: Likewise.
1068 * sanitizer_common/Makefile.in: Likewise.
1069 * tsan/Makefile.in: Likewise.
1070 * ubsan/Makefile.in: Likewise.
1072 2015-04-13 Yury Gribov <y.gribov@samsung.com>
1075 * sanitizer_common/sanitizer_platform.h: Cherry pick
1077 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1078 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1079 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1080 * Makefile.in: Regenerate.
1081 * asan/Makefile.in: Regenerate.
1082 * config.h.in: Regenerate.
1083 * configure: Regenerate.
1084 * interception/Makefile.in: Regenerate.
1085 * libbacktrace/Makefile.in: Regenerate.
1086 * lsan/Makefile.in: Regenerate.
1087 * sanitizer_common/Makefile.in: Regenerate.
1088 * tsan/Makefile.in: Regenerate.
1089 * ubsan/Makefile.in: Regenerate.
1092 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1095 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1097 * sanitizer_common/sanitizer_platform.h: Likewise.
1098 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1100 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1102 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1103 upstream 224508 and 224755.
1105 2015-03-09 Jakub Jelinek <jakub@redhat.com>
1109 2014-10-14 David S. Miller <davem@davemloft.net>
1111 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1112 Define at __kernel_time_t, as needed for sparc.
1113 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1114 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1115 (__sanitizer): Define struct___old_kernel_stat_sz,
1116 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1117 (__sanitizer_ipc_perm): Adjust for sparc targets.
1118 (__sanitizer_shmid_ds): Likewsie.
1119 (__sanitizer_sigaction): Likewise.
1120 (IOC_SIZE): Likewsie.
1122 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1124 * configure.tgt: Enable build on powerpc*le-*-linux.
1126 2015-02-23 Jakub Jelinek <jakub@redhat.com>
1129 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1130 support until it is rewritten upstream.
1132 2015-01-26 Matthias Klose <doko@ubuntu.com>
1134 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1135 * configure: Regenerate.
1137 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1139 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1140 * configure: Regenerate.
1141 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1143 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1145 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1146 * configure: Regenerate.
1147 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1148 (libtsan_la_DEPENDENCIES): Likewise.
1149 * Makefile.in: Regenerate.
1150 * asan/Makefile.in: Regenerate.
1151 * interception/Makefile.in: Regenerate.
1152 * libbacktrace/Makefile.in: Regenerate.
1153 * lsan/Makefile.in: Regenerate.
1154 * sanitizer_common/Makefile.in: Regenerate.
1155 * tsan/Makefile.in: Regenerate.
1156 * ubsan/Makefile.in: Regenerate.
1158 2015-01-22 Jakub Jelinek <jakub@redhat.com>
1160 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1162 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1165 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1167 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1168 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1170 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1173 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1175 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1178 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1181 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1183 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1184 upstream r224518 and r224519.
1185 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1188 2014-12-16 Jakub Jelinek <jakub@redhat.com>
1190 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1191 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1192 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1195 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1198 * configure: Regenerated.
1200 2014-11-21 Jakub Jelinek <jakub@redhat.com>
1203 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1204 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1206 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
1208 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1209 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1210 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1211 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1212 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1213 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1214 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1215 * sanitizer_common/Makefile.in: Regenerate.
1216 * asan/Makefile.in: Ditto.
1217 * lsan/Makefile.in: Ditto.
1218 * interception/Makefile.in: Ditto.
1219 * tsan/Makefile.in: Ditto.
1220 * libbacktrace/Makefile.in: Ditto.
1221 * ubsan/Makefile.in: Ditto.
1223 2014-11-13 Kostya Serebryany <kcc@google.com>
1225 * All source files: Merge from upstream r221802.
1226 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1227 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1228 with 'start' to follow the new interface.
1229 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1230 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1231 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1232 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1233 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1235 (AM_CXXFLAGS): Added -std=c++11.
1236 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1237 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1238 * asan/Makefile.in: Regenerate.
1239 * interception/Makefile.in: Regenerate.
1240 * libbacktrace/Makefile.in: Regenerate.
1241 * lsan/Makefile.in: Regenerate.
1242 * sanitizer_common/Makefile.in: Regenerate.
1243 * tsan/Makefile.in: Regenerate.
1244 * ubsan/Makefile.in: Regenerate.
1246 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1249 * configure: Regenerate.
1251 2014-10-16 Martin Liska <mliska@suse.cz>
1253 * asan/Makefile.am: IPA ICF pass is disabled.
1254 * asan/Makefile.in: Likewise.
1256 2014-10-14 David S. Miller <davem@davemloft.net>
1258 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1259 Define at __kernel_time_t, as needed for sparc.
1260 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1261 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1262 (__sanitizer): Define struct___old_kernel_stat_sz,
1263 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1264 (__sanitizer_ipc_perm): Adjust for sparc targets.
1265 (__sanitizer_shmid_ds): Likewsie.
1266 (__sanitizer_sigaction): Likewsie.
1267 (IOC_SIZE): Likewsie.
1269 2014-10-14 Jakub Jelinek <jakub@redhat.com>
1271 * ubsan/Makefile.am (DEFS): Add -DPIC.
1272 * ubsan/Makefile.in: Regenerated.
1274 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1276 * configure.tgt: Enable build on aarch64*-linux.
1278 2014-09-19 Kostya Serebryany <kcc@google.com>
1280 * All source files: Merge from upstream r218156.
1281 * asan/Makefile.am (asan_files): Added new files.
1282 * asan/Makefile.in: Regenerate.
1283 * ubsan/Makefile.am (ubsan_files): Added new files.
1284 * ubsan/Makefile.in: Regenerate.
1285 * tsan/Makefile.am (tsan_files): Added new files.
1286 * tsan/Makefile.in: Regenerate.
1287 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1289 * sanitizer_common/Makefile.in: Regenerate.
1290 * asan/libtool-version: Bump the libasan SONAME.
1292 2014-09-10 Jakub Jelinek <jakub@redhat.com>
1294 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1295 upstream r215485, r217389, r217391 and r217400.
1297 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1299 * sanitizer_common/sanitizer_common_interceptors.inc:
1300 Cherry pick upstream r211008.
1302 2014-06-11 Richard Biener <rguenther@suse.de>
1304 * asan/asan_linux.cc: Cherry pick upstream r210012.
1306 2014-05-30 Jakub Jelinek <jakub@redhat.com>
1308 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1310 * sanitizer_common/sanitizer_common.h: Likewise.
1311 * asan/asan_mapping.h: Likewise.
1312 * asan/asan_linux.cc: Likewise.
1313 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1314 * sanitizer_common/sanitizer_allocator.h: Likewise.
1316 2014-05-23 Marek Polacek <polacek@redhat.com>
1318 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1319 floating-point types.
1321 2014-05-22 Kostya Serebryany <kcc@google.com>
1323 * All source files: Merge from upstream r209283.
1324 * asan/Makefile.am (asan_files): Added new files.
1325 * asan/Makefile.in: Regenerate.
1326 * tsan/Makefile.am (tsan_files): Added new files.
1327 * tsan/Makefile.in: Regenerate.
1328 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1330 * sanitizer_common/Makefile.in: Regenerate.
1332 2014-05-14 Yury Gribov <y.gribov@samsung.com>
1335 * Makefile.am (nodist_saninclude_HEADERS): Install
1337 * Makefile.in: Regenerate.
1339 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1341 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1342 Add ../../libbacktrace/sort.c.
1343 * libbacktrace/Makefile.in: Regenerate.
1344 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1346 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1348 * configure.tgt: Unsupported for little endian PowerPC for now.
1350 2014-02-04 Jakub Jelinek <jakub@redhat.com>
1353 * tsan/tsan_flags.cc (__tsan_default_options): Add
1354 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1355 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1358 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1359 sanitizer_atomic.h and unistd.h.
1360 (kThreadDescriptorSize): Made static, remove initializer and const,
1361 change type to atomic_uintptr_t.
1362 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1363 query glibc version, compute kThreadDescriptorSize depending on
1364 glibc version minor number.
1365 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1366 kThreadDescriptorSize directly.
1368 2014-01-23 Yury Gribov <y.gribov@samsung.com>
1369 Jakub Jelinek <jakub@redhat.com>
1372 * configure.ac: Check for missing syscalls.
1373 * Makefile.am: Likewise.
1374 * configure: Regenerate.
1375 * Makefile.in: Regenerate.
1377 2014-01-09 Jakub Jelinek <jakub@redhat.com>
1379 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1380 (LibbacktraceSymbolizer::Demangle): New declaration.
1381 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1382 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1384 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1385 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1386 (struct CplusV3DemangleData): New type.
1387 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1388 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1389 SymbolizeDataCallback): Use CplusV3Demangle.
1390 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1391 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1392 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1393 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1394 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1395 cplus_demangle_init_info, cplus_demangle_mangled_name,
1396 cplus_demangle_operators, cplus_demangle_print,
1397 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1398 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1399 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1401 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1402 (memcmp, strncmp): Redefine.
1403 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1404 ../../libiberty/cp-demangle.c.
1405 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1406 __asan_internal_strncmp): New functions.
1407 * sanitizer_common/Makefile.in: Regenerated.
1408 * libbacktrace/Makefile.in: Regenerated.
1409 * configure: Regenerated.
1410 * configure.ac: Regenerated.
1411 * config.h.in: Regenerated.
1413 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1414 -isystem $(top_srcdir)/include/system.
1415 * sanitizer_common/Makefile.in: Regenerated.
1416 * include/system/linux/aio_abi.h: New header.
1417 * include/system/linux/mroute.h: New header.
1418 * include/system/linux/mroute6.h: New header.
1419 * include/system/linux/perf_event.h: New header.
1420 * include/system/linux/types.h: New header.
1423 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1424 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1425 and -I/-include flags.
1426 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1427 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1428 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1429 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1430 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1431 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1433 * README.gcc: Document that also lsan and ubsan are
1434 maintained in compiler-rt upstream.
1435 * libbacktrace/Makefile.am: New file.
1436 * libbacktrace/backtrace-rename.h: New file.
1437 * libbacktrace/backtrace-supported.h.in: New file.
1438 * libbacktrace/bridge.cc: New file.
1439 * configure.ac: Add tests needed for libbacktrace build
1440 within libsanitizer.
1441 * sanitizer_common/Makefile.in: Regenerated.
1442 * lsan/Makefile.in: Regenerated.
1443 * tsan/Makefile.in: Regenerated.
1444 * ubsan/Makefile.in: Regenerated.
1445 * libbacktrace/Makefile.in: Generated.
1446 * config.h.in: Regenerated.
1447 * configure: Regenerated.
1448 * Makefile.in: Regenerated.
1449 * interception/Makefile.in: Regenerated.
1450 * asan/Makefile.in: Regenerated.
1451 * aclocal.m4: Regenerated.
1453 2013-12-19 Kostya Serebryany <kcc@google.com>
1455 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1456 workaround for missing definition of EOWNERDEAD, backport
1457 from upstream r196779.
1459 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1461 * sanitizer_common/sanitizer_platform_limits_posix.h
1462 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1463 (__sanitizer_clock_t): Use long long for x32.
1465 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1467 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1468 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1469 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1471 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1473 * configure.ac (link_sanitizer_common): Add -lm.
1474 * configure: Regenerated.
1476 2013-12-05 Kostya Serebryany <kcc@google.com>
1478 * All source files: Merge from upstream r196489.
1479 * merge.sh: Add *.S to the list of merged files.
1481 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1484 * Makefile.am (gcc_version): Added gcc_version.
1485 * Makefile.in: Regenerate.
1487 2013-12-05 Kostya Serebryany <kcc@google.com>
1489 * All source files: Merge from upstream r196090.
1490 * tsan/Makefile.am (tsan_files): Added new files.
1491 * tsan/Makefile.in: Regenerate.
1492 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1493 * sanitizer_common/Makefile.in: Regenerate.
1494 * lsan/Makefile.am (lsan_files): Added new files.
1495 * lsan/Makefile.in: Regenerate.
1497 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1498 Yury Gribov <y.gribov@samsung.com>
1501 * libsanitizer.spec.in: Add spec file to hold link flags for
1502 various sanitizer libs.
1503 * configure.ac: Check whether clock_* routines come from librt.
1504 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1506 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1507 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1508 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1509 * asan/Makefile.in: Regenerate.
1510 * interception/Makefile.in: Regenerate.
1511 * lsan/Makefile.in: Regenerate.
1512 * sanitizer_common/Makefile.in: Regenerate.
1513 * tsan/Makefile.in: Regenerate.
1514 * ubsan/Makefile.in: Regenerate.
1515 * Makefile.in: Regenerate.
1516 * configure: Regenerate.
1518 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1519 Yury Gribov <y.gribov@samsung.com>
1522 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1524 * ubsan/Makefile.in: Regenerated.
1526 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1529 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1530 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1531 * configure: Regenerated.
1532 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1533 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1534 * lsan/Makefile.in: Regenerated.
1536 2013-11-22 Mike Stump <mikestump@comcast.net>
1538 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1539 change from upstream to fix build.
1541 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1544 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1545 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1546 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1547 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1548 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1549 * asan/Makefile.in: Regenerate.
1550 * interception/Makefile.in: Regenerate.
1551 * tsan/Makefile.in: Regenerate.
1552 * lsan/Makefile.in: Regenerate.
1553 * sanitizer_common/Makefile.in: Regenerate.
1555 2013-11-15 Kostya Serebryany <kcc@google.com>
1558 Backport from upstream revision 194573
1559 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1560 back to the original functions in the common libsanitizer
1561 interceptors and the __cxa_atexit() interceptor on Darwin.
1563 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1566 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1567 ifdef out more source.
1569 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1571 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1572 ifdef out almost the whole source.
1573 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1575 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1578 * sanitizer_common/sanitizer_platform_limits_posix.cc
1579 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1582 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1585 * sanitizer_common/sanitizer_platform_limits_linux.cc
1586 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1588 * sanitizer_common/sanitizer_platform_limits_posix.h
1589 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1591 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1593 (__sanitizer___kernel_gid_t): Likewise.
1594 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1597 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1600 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1601 2 64-bit integers to save and restore fn and arg. Properly load
1602 newtls/child_tidptr into r8/r10.
1604 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1607 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1608 internal_munmap, internal_open, internal_read, internal_write,
1609 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1610 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1611 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1612 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1614 2013-11-04 Kostya Serebryany <kcc@google.com>
1616 * All source files: Merge from upstream r191666.
1617 * merge.sh: Added lsan.
1618 * configure.ac (AC_CONFIG_FILES): Added lsan.
1619 * Makefile.am (SUBDIRS): Added lsan.
1620 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1621 * asan/Makefile.am (asan_files): Added new files.
1622 (libasan_la_LIBADD): Added a dependency on lsan.
1623 * lsan/Makefile.am: New file.
1624 * asan/Makefile.in: Regenerate.
1625 * lsan/Makefile.in: Regenerate.
1626 * Makefile.in: Regenerate.
1627 * configure: Regenerate.
1628 * sanitizer_common/Makefile.in: Regenerate.
1630 2013-09-20 Alan Modra <amodra@gmail.com>
1632 * configure: Regenerate.
1634 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1636 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1637 libinterception.la for Darwin.
1638 * ubsan/Makefile.in: Regenerate.
1640 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1642 * Makefile.am (SUBDIRS): Add ubsan.
1643 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1644 * merge.sh: Merge ubsan.
1645 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1646 * sanitizer_common/sanitizer_printf.cc: Likewise.
1647 * sanitizer_common/sanitizer_common.h: Likewise.
1648 * ubsan: New directory. Import ubsan runtime from llvm.
1650 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1652 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1653 Cherry pick upstream r182922.
1655 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1657 * configure.tgt: Add ARM pattern.
1659 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1662 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1663 * Makefile.in: Regenerated.
1664 * asan/Makefile.in: Regenerated.
1665 * interception/Makefile.in: Regenerated.
1666 * sanitizer_common/Makefile.in: Regenerated.
1667 * tsan/Makefile.in: Regenerated.
1669 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1671 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1672 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1675 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1678 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1680 (libasan_preinit.o): Depend on asan_preinit.o.
1681 * asan/Makefile.in: Regenerated.
1682 * asan/asan_preinit.cc: New file, synced from upstream.
1683 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1685 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1687 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1688 dynamic/asan_interceptors_dynamic.cc.
1689 * asan/Makefile.in: Regenerated.
1690 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1692 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1694 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1695 defined. Add used attribute.
1697 2013-02-21 Kostya Serebryany <kcc@google.com>
1699 * All source files: Merge from upstream r175733.
1700 * sanitizer_common/Makefile.am: Added a new file.
1701 * sanitizer_common/Makefile.in: Regenerated.
1703 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1706 * interception/interception.h (OFF_T): Merged from upstream
1709 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1711 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1713 2013-02-13 Kostya Serebryany <kcc@google.com>
1716 * All source files: Merge from upstream r175049.
1717 * interception/Makefile.am: added include path.
1718 * interception/Makefile.in: Regenerated.
1720 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1722 * configure.tgt: Disable build on darwin9 and earlier.
1724 2013-01-23 Kostya Serebryany <kcc@google.com>
1727 * All source files: Merge from upstream r173241.
1728 * merge.sh: Support merging .inc files.
1730 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1732 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1733 -Wno-c99-extensions.
1734 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1735 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1736 * sanitizer_common/Makefile.in: Regenerated.
1737 * interception/Makefile.in: Regenerated.
1738 * asan/Makefile.in: Regenerated.
1740 2013-01-10 Wei Mi <wmi@google.com>
1743 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1744 * tsan/Makefile.in: Regenerated.
1745 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1747 2013-01-10 Kostya Serebryany <kcc@google.com>
1749 * All source files: Merge from upstream r171973.
1750 * sanitizer_common/Makefile.am: Added new files.
1751 * asan/Makefile.am: Likewise.
1752 * tsan/Makefile.am: Likewise.
1753 * sanitizer_common/Makefile.in: Regenerated.
1754 * asan/Makefile.in: Likewise.
1755 * tsan/Makefile.in: Likewise.
1757 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1759 * asan/Makefile.am (libasan_la_LIBADD): Replace
1760 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1761 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1762 * Makefile.in: Regenerated.
1763 * configure: Likewise.
1764 * asan/Makefile.in: Likewise.
1765 * interception/Makefile.in: Likewise.
1766 * sanitizer_common/Makefile.in: Likewise.
1767 * tsan/Makefile.in: Likewise.
1769 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1771 * Makefile.am (AM_MAKEFLAGS): Restored.
1772 * interception/Makefile.am: Likewise.
1773 * sanitizer_common/Makefile.am: Likewise.
1774 * tsan/Makefile.am: Likewise.
1775 * Makefile.in: Regenerated.
1776 * asan/Makefile.in: Likewise.
1777 * interception/Makefile.in: Likewise.
1778 * sanitizer_common/Makefile.in: Likewise.
1779 * tsan/Makefile.in: Likewise.
1781 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1783 * Makefile.am (MAKEOVERRIDES): Restored.
1784 * asan/Makefile.am: Likewise.
1785 * interception/Makefile.am: Likewise.
1786 * sanitizer_common/Makefile.am: Likewise.
1787 * tsan/Makefile.am: Likewise.
1788 * Makefile.in: Regenerated.
1789 * asan/Makefile.in: Likewise.
1790 * interception/Makefile.in: Likewise.
1791 * sanitizer_common/Makefile.in: Likewise.
1792 * tsan/Makefile.in: Likewise.
1794 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1796 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1797 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1798 * Makefile.in: Regenerated.
1799 * configure: Likewise.
1800 * asan/Makefile.in: Likewise.
1801 * interception/Makefile.in: Likewise.
1802 * sanitizer_common/Makefile.in: Likewise.
1803 * tsan/Makefile.in: Likewise.
1805 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1807 * Makefile.am (AM_MAKEFLAGS): Removed.
1808 (MAKEOVERRIDES): Likewise.
1809 * asan/Makefile.am: Likewise.
1810 * interception/Makefile.am: Likewise.
1811 * sanitizer_common/Makefile.am: Likewise.
1812 * tsan/Makefile.am: Likewise.
1813 * Makefile.in: Regenerated.
1814 * asan/Makefile.in: Likewise.
1815 * interception/Makefile.in: Likewise.
1816 * sanitizer_common/Makefile.in: Likewise.
1817 * tsan/Makefile.in: Likewise.
1819 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1822 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1823 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1824 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1825 (AM_MAKEFLAGS): Remove CC and CXX.
1826 * interception/Makefile.am: Likewise.
1827 * sanitizer_common/Makefile.am: Likewise.
1828 * tsan/Makefile.am: Likewise.
1829 * Makefile.in: Regenerated.
1830 * aclocal.m4: Likewise.
1831 * configure: Likewise.
1832 * asan/Makefile.in: Likewise.
1833 * interception/Makefile.in: Likewise.
1834 * sanitizer_common/Makefile.in: Likewise.
1835 * tsan/Makefile.in: Likewise.
1837 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1839 * configure.tgt: Enable build on powerpc*-linux.
1841 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1844 * configure.ac: Set enable_static=no on darwin.
1845 * configure: Regenerated.
1847 2012-12-06 Kostya Serebryany <kcc@google.com>
1849 * All files: Merge from upstream r169392.
1851 2012-12-05 Kostya Serebryany <kcc@google.com>
1853 * All files: Merge from upstream r169371.
1855 2012-12-04 Kostya Serebryany <kcc@google.com>
1856 Jack Howarth <howarth@bromo.med.uc.edu>
1859 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1860 * Makefile.am: Don't build interception subdir when
1861 USING_MAC_INTERPOSE defined.
1862 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1863 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1864 Compile asan_interceptors_dynamic.cc but not libinterception
1865 when USING_MAC_INTERPOSE defined.
1866 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1867 * configure: Regenerated.
1868 * Makefile.in: Likewise.
1869 * asan/Makefile.in: Likewise.
1870 * interception/Makefile.in: Likewise.
1871 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1872 * asan/asan_mac.cc: Likewise.
1873 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1874 and use MISSING_BLOCKS_SUPPORT.
1875 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1876 * interception/mach_override/LICENSE.txt: Remove unused file.
1877 * interception/mach_override/mach_override.c: Likewise.
1878 * interception/mach_override/mach_override.h: Likewise.
1879 * interception/mach_override: Remove unused directory.
1881 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1883 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1884 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1885 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1887 (AM_MAKEFLAGS): Restore CC and CXX.
1888 * interception/Makefile.am: Likewise.
1889 * sanitizer_common/Makefile.am: Likewise.
1890 * tsan/Makefile.am: Likewise.
1891 * Makefile.in: Regenerated.
1892 * aclocal.m4: Likewise.
1893 * configure: Likewise.
1894 * asan/Makefile.in: Likewise.
1895 * interception/Makefile.in: Likewise.
1896 * sanitizer_common/Makefile.in: Likewise.
1897 * tsan/Makefile.in: Likewise.
1899 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1901 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1902 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1903 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1905 (AM_MAKEFLAGS): Remove CC and CXX.
1906 * interception/Makefile.am: Likewise.
1907 * sanitizer_common/Makefile.am: Likewise.
1908 * tsan/Makefile.am: Likewise.
1909 * Makefile.in: Regenerated.
1910 * aclocal.m4: Likewise.
1911 * configure: Likewise.
1912 * asan/Makefile.in: Likewise.
1913 * interception/Makefile.in: Likewise.
1914 * sanitizer_common/Makefile.in: Likewise.
1915 * tsan/Makefile.in: Likewise.
1917 2012-11-27 Kostya Serebryany <kcc@google.com>
1919 * All files: Merge from upstream r168699.
1921 2012-11-24 Kostya Serebryany <kcc@google.com>
1922 Jack Howarth <howarth@bromo.med.uc.edu>
1924 * interception/mach_override/mach_override.c: Migrate from llvm.
1925 * interception/mach_override/mach_override.h: Likewise.
1926 * interception/mach_override/LICENSE.txt: Likewise.
1927 * configure.tgt: Add darwin to supported targets.
1928 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1929 * interception/Makefile.am: Compile mach_override.c when
1930 USING_MACH_OVERRIDE defined.
1931 * configure: Regenerated.
1932 * interception/Makefile.in: Likewise.
1934 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1937 * tsan/Makefile.am (gcc_version): New.
1938 * tsan/Makefile.in: Regenerated.
1940 2012-11-23 Kostya Serebryany <kcc@google.com>
1942 * merge.sh: Support tsan, support added/removed files.
1943 * tsan/Makefile.am: Remove tsan_printf.cc.
1944 * tsan/Makefile.in: Regenerated.
1945 * other files: Merge from upstream r168514.
1947 2012-11-23 Kostya Serebryany <kcc@google.com>
1949 * merge.sh: New file.
1951 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1953 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1954 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1955 automake conditional instead of !MULTISUBDIR32.
1956 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1957 for 64-bit multilib.
1958 * configure.ac: Check for void * size, source in configure.tgt,
1959 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1960 * configure: Regenerated.
1961 * Makefile.in: Regenerated.
1962 * tsan/Makefile.in: Regenerated.
1964 2012-11-22 Wei Mi <wmi@google.com>
1966 * tsan: New directory. Import tsan runtime from llvm.
1967 * configure.ac: Add 64 bits tsan build.
1968 * Makefile.am: Likewise.
1969 * configure: Regenerated.
1970 * Makefile.in: Likewise.
1972 2012-11-21 Kostya Serebryany <kcc@google.com>
1974 * README.gcc: Extend the README.gcc with mode details.
1976 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1978 * sanitizer_common/sanitizer_linux.cc
1979 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1980 (internal_mmap): Use it.
1981 (internal_filesize): Likewise.
1983 2012-11-16 Tom Tromey <tromey@redhat.com>
1985 * configure.ac: Invoke AM_MAINTAINER_MODE.
1986 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1987 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1989 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1992 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1993 for hardware pointer.
1994 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1995 Replace uptr with uhwptr for stack unwind.
1997 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1999 * configure.tgt: Enable build on sparc linux.
2001 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2003 * configure.ac: Properly set MULTISUBDIR.
2004 * asan/Makefile.am (gcc_version): New.
2005 * interception/Makefile.am (gcc_version): Likewise.
2006 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2007 * configure: Regenerated.
2008 * asan/Makefile.in: Likewise.
2009 * interception/Makefile.in: Likewise.
2010 * sanitizer_common/Makefile.in: Likewise.
2012 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2015 * configure.ac (--enable-version-specific-runtime-libs): New option.
2016 (AC_CANONICAL_SYSTEM): New.
2017 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2018 (toolexecdir): Support multilib.
2019 (toolexeclibdir): Likewise.
2020 (multilib_arg): New.
2021 * Makefile.in: Regenerated.
2022 * aclocal.m4: Likewise.
2023 * configure: Likewise.
2024 * asan/Makefile.in: Likewise.
2025 * interception/Makefile.in: Likewise.
2026 * sanitizer_common/Makefile.in: Likewise.
2028 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2031 Backport from upstream revision 167883
2032 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2033 __x86_64__ instead of __WORDSIZE.
2034 (internal_filesize): Likwise.
2036 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2038 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2039 * Makefile.in: Regenerated.
2040 * configure: Likewise.
2042 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2045 * acinclude.m4: New file.
2046 * Makefile.am (ACLOCAL_AMFLAGS): New.
2047 * configure.ac (AC_PREREQ): Set to 2.64.
2048 (AC_CONFIG_AUX_DIR): Set to "..".
2049 * Makefile.in: Regenerated.
2050 * aclocal.m4: Likewise.
2051 * configure: Likewise.
2052 * asan/Makefile.in: Likewise.
2053 * interception/Makefile.in: Likewise.
2054 * sanitizer_common/Makefile.in: Likewise.
2056 * config.guess: Removed.
2057 * config.sub: Likewise.
2058 * depcomp: Likewise.
2059 * install-sh: Likewise.
2060 * ltmain.sh: Likewise.
2061 * missing: Likewise.
2063 2012-11-13 Richard Henderson <rth@redhat.com>
2065 * configure.tgt: New file.
2067 2012-11-12 David S. Miller <davem@davemloft.net>
2069 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2071 2012-10-29 Wei Mi <wmi@google.com>
2073 Initial checkin: migrate asan runtime from llvm.