1 2022-09-04 Iain Sandoe <iain@sandoe.co.uk>
3 * LOCAL_PATCHES: Update.
5 2022-08-31 Xi Ruoyao <xry111@xry111.site>
7 * configure.tgt: Allow loongarch64-*-linux*.
9 2022-08-30 Martin Liska <mliska@suse.cz>
11 * LOCAL_PATCHES: Update.
13 2022-08-30 Martin Liska <mliska@suse.cz>
15 * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
16 * sanitizer_common/Makefile.in: Regenerate.
18 2022-07-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
21 * sanitizer_common/sanitizer_linux_libcdep.cpp,
22 sanitizer_common/sanitizer_solaris.h:: Cherry-pick
23 llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
25 2022-05-05 Martin Liska <mliska@suse.cz>
27 * LOCAL_PATCHES: Update.
29 2022-05-04 Martin Liska <mliska@suse.cz>
31 * tsan/Makefile.am: Update Makefile.am files.
32 * hwasan/Makefile.am: Likewise.
33 * sanitizer_common/Makefile.am: Likewise.
34 * Makefile.in: Re-generate.
35 * asan/Makefile.in: Likewise.
36 * hwasan/Makefile.in: Likewise.
37 * interception/Makefile.in: Likewise.
38 * libbacktrace/Makefile.in: Likewise.
39 * lsan/Makefile.in: Likewise.
40 * sanitizer_common/Makefile.in: Likewise.
41 * tsan/Makefile.in: Likewise.
42 * ubsan/Makefile.in: Likewise.
44 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
46 * configure.tgt: Enable build on mips*64*-*-linux*.
48 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
50 * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
51 include sanitizer_atomic_clang_mips.h for O32.
53 2022-02-15 Jakub Jelinek <jakub@redhat.com>
55 * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
56 llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
58 2022-02-03 David Seifert <soap@gentoo.org>
59 Jakub Jelinek <jakub@redhat.com>
61 * configure.ac: Support --disable-werror.
62 * aclocal.m4: Include also ../config/warnings.m4.
63 * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
64 * configure: Regenerate.
65 * Makefile.in: Regenerate.
66 * asan/Makefile.in: Regenerate.
67 * hwasan/Makefile.in: Regenerate.
68 * interception/Makefile.in: Regenerate.
69 * libbacktrace/Makefile.in: Regenerate.
70 * lsan/Makefile.in: Regenerate.
71 * sanitizer_common/Makefile.in: Regenerate.
72 * tsan/Makefile.in: Regenerate.
73 * ubsan/Makefile.in: Regenerate.
75 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
77 * LOCAL_PATCHES: Add commit 70b043845d7.
79 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
82 * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
84 (__tsan_report_race_thunk): Likewise.
86 2021-11-28 Andrew Pinski <apinski@marvell.com>
89 * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
90 * Makefile.in: Regenerate.
91 * asan/Makefile.in: Likewise.
92 * hwasan/Makefile.in: Likewise.
93 * interception/Makefile.in: Likewise.
94 * libbacktrace/Makefile.in: Likewise.
95 * lsan/Makefile.in: Likewise.
96 * sanitizer_common/Makefile.in: Likewise.
97 * tsan/Makefile.in: Likewise.
98 * ubsan/Makefile.in: Likewise.
100 2021-11-18 Jakub Jelinek <jakub@redhat.com>
103 * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
104 of sanitizer_platform_limits_freebsd.cpp.
105 * sanitizer_common/Makefile.in: Regenerated.
107 2021-11-13 H.J. Lu <hjl.tools@gmail.com>
109 * LOCAL_PATCHES: Update to the corresponding revision.
111 2021-11-04 Martin Liska <mliska@suse.cz>
113 * LOCAL_PATCHES: Update git revision.
115 2021-10-08 H.J. Lu <hjl.tools@gmail.com>
118 * asan/Makefile.am (AM_CCASFLAGS): New. Set to $(EXTRA_ASFLAGS).
119 * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
120 * interception/Makefile.am (AM_CCASFLAGS): Likewise.
121 * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
122 * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
123 * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
124 * asan/Makefile.in: Regenerate.
125 * hwasan/Makefile.in: Likewise.
126 * interception/Makefile.in: Likewise.
127 * lsan/Makefile.in: Likewise.
128 * tsan/Makefile.in: Likewise.
129 * ubsan/Makefile.in: Likewise.
131 2021-10-06 H.J. Lu <hjl.tools@gmail.com>
133 * LOCAL_PATCHES: Update to the corresponding revision.
135 2021-10-01 H.J. Lu <hjl.tools@gmail.com>
137 * LOCAL_PATCHES: Update to the corresponding revision.
139 2021-08-11 Jakub Jelinek <jakub@redhat.com>
141 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
142 llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
144 2021-08-03 Mosè Giordano <mose@gnu.org>
147 * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
149 2021-07-28 Ilya Leoshkevich <iii@linux.ibm.com>
151 * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
154 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
156 * asan/libtool-version: Bump version.
157 * tsan/libtool-version: Likewise.
159 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
161 * LOCAL_PATCHES: Update to the corresponding revision.
163 2021-05-21 Tamar Christina <tamar.christina@arm.com>
166 * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
167 llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
168 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
169 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
171 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
173 * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
175 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
177 * sanitizer_common/sanitizer_mac.cpp : Check for the
178 availability of __builtin_os_log_format before trying to
179 include a header depending on it.
180 (OS_LOG_DEFAULT): New.
181 (os_log_error): Define to a fall-back using an older API.
183 2021-05-13 Martin Liska <mliska@suse.cz>
185 * LOCAL_PATCHES: Update to the corresponding revision.
187 2021-04-17 Jakub Jelinek <jakub@redhat.com>
190 * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
191 llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
192 and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
194 2021-03-08 Martin Liska <mliska@suse.cz>
197 * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
199 (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
200 * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
201 * sanitizer_common/sanitizer_common_interceptors.inc
202 (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
203 (INIT_REGEX): Likewise.
204 * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
207 2021-01-26 Martin Liska <mliska@suse.cz>
210 * lsan/Makefile.am: Add missing lsan_posix.cpp file.
211 * lsan/Makefile.in: Likewise.
213 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
215 * configure: Re-generate.
217 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
220 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
222 * configure: Regenerate.
224 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
226 * configure: Regenerate.
228 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
230 * LOCAL_PATCHES: Add one commit.
232 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
234 * Makefile.am: Condition Build hwasan directory.
235 * Makefile.in: Regenerate.
236 * configure: Regenerate.
237 * configure.ac: Set HWASAN_SUPPORTED based on target
239 * configure.tgt: Likewise.
241 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
243 * Makefile.am: Build libhwasan.
244 * Makefile.in: Build libhwasan.
245 * asan/Makefile.in: Build libhwasan.
246 * configure: Build libhwasan.
247 * configure.ac: Build libhwasan.
248 * hwasan/Makefile.am: New file.
249 * hwasan/Makefile.in: New file.
250 * hwasan/libtool-version: New file.
251 * interception/Makefile.in: Build libhwasan.
252 * libbacktrace/Makefile.in: Build libhwasan.
253 * libsanitizer.spec.in: Build libhwasan.
254 * lsan/Makefile.in: Build libhwasan.
255 * sanitizer_common/Makefile.in: Build libhwasan.
256 * tsan/Makefile.in: Build libhwasan.
257 * ubsan/Makefile.in: Build libhwasan.
259 2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
261 * configure.tgt: Allow x86_64 Darwin2x.
263 2020-11-13 Martin Liska <mliska@suse.cz>
265 * LOCAL_PATCHES: Update to the latest commit.
267 2020-10-19 Martin Liska <mliska@suse.cz>
269 * LOCAL_PATCHES: Add one commit.
271 2020-10-18 Iain Sandoe <iain@sandoe.co.uk>
273 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
274 macros are defined where the macOS SDK does not contain
276 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
279 2020-10-16 Martin Liska <mliska@suse.cz>
281 * LOCAL_PATCHES: Update revision.
283 2020-09-21 Ian Lance Taylor <iant@golang.org>
285 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
287 (backtrace_syminfo_to_full_callback): Define.
288 (backtrace_syminfo_to_full_error_callback): Define.
290 2020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
292 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
293 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
295 2020-06-09 Martin Liska <mliska@suse.cz>
297 * asan/Makefile.am: Replace gnu++11 with gnu++14.
298 * interception/Makefile.am: Likewise.
299 * libbacktrace/Makefile.am: Likewise.
300 * lsan/Makefile.am: Likewise.
301 * sanitizer_common/Makefile.am: Likewise.
302 * tsan/Makefile.am: Likewise.
303 * ubsan/Makefile.am: Likewise.
304 * asan/Makefile.in: Regenerate.
305 * interception/Makefile.in: Likewise.
306 * libbacktrace/Makefile.in: Likewise.
307 * lsan/Makefile.in: Likewise.
308 * sanitizer_common/Makefile.in: Likewise.
309 * tsan/Makefile.in: Likewise.
310 * ubsan/Makefile.in: Likewise.
312 2020-06-02 Martin Liska <mliska@suse.cz>
314 * LOCAL_PATCHES: Update hash of local patches.
316 2020-06-02 Martin Liska <mliska@suse.cz>
318 * MERGE: Merge from master.
320 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
323 * configure: Regenerated.
325 2020-05-29 Martin Liska <mliska@suse.cz>
327 * HOWTO_MERGE: Do not mention not existing argument.
328 * README.gcc: Update LLVM repository location.
330 2020-05-26 Martin Liska <mliska@suse.cz>
332 * LOCAL_PATCHES: Use git hash instead of SVN id.
333 * merge.sh: Use git instead of VCS. Update paths
334 relative to upstream git repository.
336 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
339 * configure: Regenerated.
341 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
343 * configure: Regenerated.
345 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
347 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
349 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
351 * sanitizer_common/Makefile.am: Add
352 sanitizer_platform_limits_freebsd.cpp.
353 * sanitizer_common/Makefile.in: Regenerate.
355 2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
358 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
359 default only for Darwin versions greater than 12 (macOS 10.8).
361 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
363 * configure.ac: Handle `--with-toolexeclibdir='.
364 * Makefile.in: Regenerate.
365 * aclocal.m4: Regenerate.
366 * configure: Regenerate.
367 * asan/Makefile.in: Regenerate.
368 * interception/Makefile.in: Regenerate.
369 * libbacktrace/Makefile.in: Regenerate.
370 * lsan/Makefile.in: Regenerate.
371 * sanitizer_common/Makefile.in: Regenerate.
372 * tsan/Makefile.in: Regenerate.
373 * ubsan/Makefile.in: Regenerate.
375 2019-11-26 Jakub Jelinek <jakub@redhat.com>
378 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
379 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
380 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
382 2019-11-20 Martin Liska <mliska@suse.cz>
384 * libtool-version: Remove.
385 * lsan/libtool-version: Upate comment to not mention libmudflap.
386 * tsan/libtool-version: Likewise.
387 * ubsan/libtool-version: Likewise.
389 2019-11-13 Andreas Schwab <schwab@suse.de>
391 * configure.tgt (riscv64-*-linux*): Enable build.
393 2019-11-07 Martin Liska <mliska@suse.cz>
395 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
397 2019-11-07 Martin Liska <mliska@suse.cz>
399 * merge.sh: Update to use llvm-project git repository.
400 * all source files: Merge from upstream
401 82588e05cc32bb30807e480abd4e689b0dee132a.
403 2019-11-05 Martin Liska <mliska@suse.cz>
405 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
406 summary for all sanitizers, but we want to have UBSAN without it.
408 2019-11-05 Martin Liska <mliska@suse.cz>
410 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
412 (CheckODRViolationViaPoisoning): Likewise.
413 (RegisterGlobal): Likewise.
414 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
416 * asan/asan_mapping.h: Likewise.
417 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
418 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
419 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
420 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
421 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
422 * tsan/tsan_rtl_ppc64.S: Likewise.
423 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
424 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
425 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
426 (struct CFICheckFailData): Likewise.
427 (RECOVERABLE): Likewise.
428 * ubsan/ubsan_platform.h: Likewise.
430 2019-11-05 Martin Liska <mliska@suse.cz>
432 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
433 tsan_interceptors_posix.
434 * tsan/Makefile.in: Regenerate.
436 2019-11-05 Martin Liska <mliska@suse.cz>
438 * all source files: Merge from upstream r375507.
440 2019-10-22 Tamar Christina <tamar.christina@arm.com>
443 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
444 Cherry-pick compiler-rt revision r375220.
446 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
448 * configure: Regenerate.
450 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
451 Mickaël Guêné <mickael.guene@st.com>
453 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
454 unsupported in this configuration.
456 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
458 * LOCAL_PATCHES: Add r274585.
460 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
462 * asan/asan_interceptors.h: Reapply r272406.
464 2019-08-15 Martin Liska <mliska@suse.cz>
466 * LOCAL_PATCHES: Add r274540
468 2019-08-15 Martin Liska <mliska@suse.cz>
470 * tsan/tsan_rtl_ppc64.S: Reapply.
472 2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
475 * Makefile.in: Regenerated.
476 * aclocal.m4: Likewise.
477 * asan/Makefile.in: Likewise.
478 * configure: Likewise.
479 * interception/Makefile.in: Likewise.
480 * libbacktrace/Makefile.in: Likewise.
481 * lsan/Makefile.in: Likewise.
482 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
483 * sanitizer_common/Makefile.in: Regenerated.
484 * tsan/Makefile.in: Likewise.
485 * ubsan/Makefile.in: Likewise.
487 2019-08-14 Martin Liska <mliska@suse.cz>
489 * LOCAL_PATCHES: Refresh based on what was committed.
491 2019-08-14 Martin Liska <mliska@suse.cz>
493 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
495 (CheckODRViolationViaPoisoning): Likewise.
496 (RegisterGlobal): Likewise.
497 * asan/asan_mapping.h: Likewise.
498 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
499 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
500 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
501 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
502 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
503 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
504 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
505 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
506 (struct CFICheckFailData): Likewise.
507 (RECOVERABLE): Likewise.
508 * ubsan/ubsan_platform.h: Likewise.
510 2019-08-14 Martin Liska <mliska@suse.cz>
514 * All source files: Merge from upstream 368656.
516 2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
518 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
519 compiler-rt revision 363778.
521 2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
523 PR libsanitizer/87880
524 * asan/asan_interceptors.h:
525 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
526 * asan/Makefile.am (DEFS): Add
527 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
528 * asan/Makefile.in: Regenerated.
529 * asan/libtool-version: Bump version.
531 2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
534 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
536 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
538 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
540 * configure: Regenerate.
542 2019-04-08 Martin Liska <mliska@suse.cz>
544 * LOCAL_PATCHES: Add revision.
546 2019-04-08 Martin Liska <mliska@suse.cz>
549 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
550 Reapply patch from r259664.
551 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
554 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
557 Merge from LLVM revision 355980
558 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
559 (kAllocatorSize): Likewise.
560 (DefaultSizeClassMap): Likewise.
561 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
562 (SHADOW_OFFSET): Define for SPARC.
563 Include asan_mapping_sparc64.h for SPARC 64-bit.
564 * asan/asan_mapping_sparc64.h: New file.
566 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
569 Merge from LLVM revision 355979
570 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
571 copy Global objects for SPARC with GCC.
573 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
576 Merge from LLVM revision 355978
577 * sanitizer_common/sanitizer_allocator_primary32.h
578 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
579 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
580 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
581 (ComputeRegionId): Likewise.
582 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
583 appropriate value for SPARC 64-bit.
584 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
586 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
588 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
591 Merge from LLVM revision 355965
592 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
594 (GetPcSpBp): Likewise.
595 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
597 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
598 Define to 1 for SPARC.
599 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
600 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
601 Adjust the PC address for SPARC with GCC.
603 2019-03-06 Martin Liska <mliska@suse.cz>
606 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
607 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
608 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
611 2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
614 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
615 Cherry-pick compiler-rt r354451.
617 2019-01-23 Jonny Grant <jg@jguk.org>
620 * libsanitizer/README.gcc: Update to current https URLs.
622 2018-12-27 Martin Liska <mliska@suse.cz>
625 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
627 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
629 2018-11-09 Martin Liska <mliska@suse.cz>
631 * LOCAL_PATCHES: Include one local patch.
633 2018-11-09 Martin Liska <mliska@suse.cz>
636 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
637 1 when CPU_COUNT macro is not defined.
639 2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
641 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
642 Disable ASLR for powerpc64 when using sanitizers.
644 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
647 * configure.tgt (sparc*-*-solaris2.11*): Enable.
648 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
650 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
653 * sanitizer_common/sanitizer_internal_defs.h,
654 sanitizer_common/sanitizer_platform_limits_solaris.h,
655 sanitizer_common/sanitizer_procmaps_solaris.cc,
656 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
658 * sanitizer_common/sanitizer_stacktrace.h,
659 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
660 compiler-rt revision 346155.
662 2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
664 * LOCAL_PATCHES: Add r258525.
665 * sanitizer_common/sanitizer_stacktrace.cc
666 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
667 for PowerPC SYSV ABI.
669 2018-11-05 Martin Liska <mliska@suse.cz>
672 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
675 2018-10-31 Joseph Myers <joseph@codesourcery.com>
678 * Makefile.am: Include multilib.am.
679 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
680 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
681 interception/Makefile.in, libbacktrace/Makefile.in,
682 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
683 ubsan/Makefile.in: Regenerate.
685 2018-10-31 Martin Liska <mliska@suse.cz>
687 * LOCAL_PATCHES: Update to installed revisions.
689 2018-10-31 Martin Liska <mliska@suse.cz>
691 * ubsan/ubsan_platform.h: Add ifndef as we define it with
692 -DCAN_SANITIZE_UB CFLAGS.
694 2018-10-31 Martin Liska <mliska@suse.cz>
696 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
698 2018-10-31 Martin Liska <mliska@suse.cz>
700 * LOCAL_PATCHES: Update patch list.
701 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
702 patches from GCC's trunk.
703 (CheckODRViolationViaPoisoning): Likewise.
704 (RegisterGlobal): Likewise.
705 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
706 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
707 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
708 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
709 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
710 (struct CFICheckFailData): Likewise.
711 (RECOVERABLE): Likewise.
713 2018-10-31 Martin Liska <mliska@suse.cz>
715 * config.h.in: Regenerate.
716 * configure: Likewise.
717 * sanitizer_common/Makefile.am: Include new files, remove old
719 * sanitizer_common/Makefile.in: Regenerate.
720 * ubsan/Makefile.am: Include new files, remove old
722 * ubsan/Makefile.in: Likewise.
723 * asan/Makefile.am: Include new files.
724 * asan/Makefile.in: Regenerate.
726 2018-10-31 Martin Liska <mliska@suse.cz>
728 * All source files: Merge from upstream 345033.
730 2018-10-31 Martin Liska <mliska@suse.cz>
732 * HOWTO_MERGE: Enhance documentation.
733 * merge.sh: Add support for git as well.
735 2018-08-02 Martin Liska <mliska@suse.cz>
738 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
739 Cherry-pick compiler-rt revision 338606.
741 2018-08-01 Marek Polacek <polacek@redhat.com>
744 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
745 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
748 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
751 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
752 compiler-rt revision 337603.
753 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
756 2018-07-05 Jakub Jelinek <jakub@redhat.com>
759 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
762 * Makefile.am: Reorder libs.
763 * Makefile.in: Regenerate.
764 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
765 libsanitizer_ubsan.la.
766 * asan/Makefile.in: Regenerate.
767 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
768 * ubsan/Makefile.in: Regenerate.
770 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
773 * Makefile.am: Reorder libs.
774 * Makefile.in: Regenerate.
775 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
776 libsanitizer_ubsan.la.
777 * asan/Makefile.in: Regenerate.
778 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
779 * ubsan/Makefile.in: Regenerate.
781 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
784 * configure.ac: Check for lstat and readlink.
785 * configure, config.h.in: Rebuild.
787 2018-05-31 Matthias Klose <doko@ubuntu.com>
790 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
791 SIZEOF_STRUCT_USTAT for 32bit sparc.
793 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
796 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
797 include <sys/ustat.h> for Linux.
798 (SIZEOF_STRUCT_USTAT): New.
799 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
801 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
803 * configure.tgt <mips*-*-linux*>: Enable build, excluding
806 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
807 take the shortcut to #include <sys/stat.h> for MIPS instead of
808 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
809 or wrong to get the kernel struct stat.
810 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
811 Correct the value for 32-bit non-android struct_kernel_stat_sz.
813 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
814 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
816 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
818 * configure: Regenerated.
820 2018-04-19 Jakub Jelinek <jakub@redhat.com>
822 * configure: Regenerated.
824 2018-04-18 David Malcolm <dmalcolm@redhat.com>
827 * configure: Regenerate.
829 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
832 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
833 from 0xa0000000000ULL to ~(uptr)0.
835 2018-03-19 Jakub Jelinek <jakub@redhat.com>
838 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
839 Define if not defined.
840 (DL_INTERNAL_FUNCTION): Don't define.
841 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
842 determine at runtime whether to use regparm(3), stdcall calling
843 convention for older glibcs or normal calling convention for
844 newer glibcs for call to _dl_get_tls_static_info.
846 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
848 * sanitizer_common/sanitizer_stacktrace.cc
849 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
850 for PowerPC SYSV ABI.
852 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
855 * configure: Regenerate.
857 2018-02-05 Martin Liska <mliska@suse.cz>
859 * asan/asan_flags.inc: Cherry-pick upstream r323995.
860 * asan/asan_report.cc (CheckForInvalidPointerPair):
861 Cherry-pick upstream r323995.
863 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
866 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
869 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
874 2017-12-05 Martin Liska <mliska@suse.cz>
875 Jakub Jelinek <jakub@redhat.com>
877 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
878 * asan/asan_descriptions.h: Likewise.
879 * asan/asan_report.cc: Likewise.
880 * asan/asan_thread.cc: Likewise.
881 * asan/asan_thread.h: Likewise.
883 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
885 * acinclude.m4: Add enable.m4 and cet.m4.
886 * Makefile.in: Regenerate.
887 * asan/Makefile.am: Update AM_CXXFLAGS.
888 * asan/Makefile.in: Regenerate.
889 * configure: Likewise.
890 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
891 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
892 * interception/Makefile.am: Update AM_CXXFLAGS.
893 * interception/Makefile.in: Regenerate.
894 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
895 * libbacktrace/Makefile.in: Regenerate.
896 * lsan/Makefile.am: Update AM_CXXFLAGS.
897 * lsan/Makefile.in: Regenerate.
898 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
900 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
901 Add _CET_ENDBR macro.
902 * sanitizer_common/Makefile.in: Regenerate.
903 * tsan/Makefile.am: Update AM_CXXFLAGS.
904 * tsan/Makefile.in: Regenerate.
905 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
906 * ubsan/Makefile.am: Update AM_CXXFLAGS.
907 * ubsan/Makefile.in: Regenerate.
909 2017-11-08 Jakub Jelinek <jakub@redhat.com>
912 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
913 and ubsan_signals_standalone.cc.
914 * ubsan/Makefile.in: Regenerated.
916 2017-11-05 Tom de Vries <tom@codesourcery.com>
919 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
921 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
923 2017-10-20 Jakub Jelinek <jakub@redhat.com>
926 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
927 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
929 (lsan_files): Remove lsan_preinit.cc.
930 (liblsan_preinit.o): New rule.
931 * lsan/Makefile.in: Regenerated.
933 2017-10-19 Jakub Jelinek <jakub@redhat.com>
935 * All source files: Merge from upstream 315899.
936 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
937 include/sanitizer/tsan_interface.h.
938 * asan/libtool-version: Bump the libasan SONAME.
939 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
940 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
941 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
942 sancov_flags.cc, sanitizer_allocator_checks.cc,
943 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
944 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
945 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
946 and sanitizer_coverage_mapping_libcdep.cc.
947 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
948 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
949 (ubsan_files): Add ubsan_init_standalone.cc and
950 ubsan_signals_standalone.cc.
951 * ubsan/libtool-version: Bump the libubsan SONAME.
952 * asan/Makefile.in: Regenerate.
953 * lsan/Makefile.in: Regenerate.
954 * sanitizer_common/Makefile.in: Regenerate.
955 * tsan/Makefile.in: Regenerate.
956 * ubsan/Makefile.in: Regenerate.
958 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
961 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
962 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
964 2017-10-02 Jakub Jelinek <jakub@redhat.com>
966 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
969 2017-08-07 Jakub Jelinek <jakub@redhat.com>
971 * include/system/sys/ptrace.h: New file.
973 2017-07-28 Jakub Jelinek <jakub@redhat.com>
976 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
977 * ubsan/ubsan_checks.inc: Likewise.
978 * ubsan/ubsan_handlers.h: Likewise.
980 2017-07-14 Jakub Jelinek <jakub@redhat.com>
983 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
984 * sanitizer_common/sanitizer_linux.cc: Likewise.
985 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
986 * tsan/tsan_platform_linux.cc: Likewise.
988 2017-04-06 Martin Liska <mliska@suse.cz>
991 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
992 Cherry-pick upstream r299036.
994 2017-03-22 Jakub Jelinek <jakub@redhat.com>
997 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
999 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
1002 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1005 2017-02-11 Jakub Jelinek <jakub@redhat.com>
1008 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1010 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1012 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1014 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1017 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
1020 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1021 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1023 2017-01-31 Jakub Jelinek <jakub@redhat.com>
1025 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1027 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1029 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1032 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1033 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1035 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1036 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1037 * tsan/tsan_ppc_regs.h: Likewise.
1038 * tsan/tsan_rtl_aarch64.S: Likewise.
1039 * tsan/tsan_rtl_mips64.S: Likewise.
1040 * tsan/tsan_rtl_ppc64.S: Likewise.
1042 2017-01-21 Jakub Jelinek <jakub@redhat.com>
1045 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1046 instead of cat to get version from BASE-VER file.
1047 * asan/Makefile.am (gcc_version): Likewise.
1048 * ubsan/Makefile.am (gcc_version): Likewise.
1049 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1050 * lsan/Makefile.am (gcc_version): Likewise.
1051 * tsan/Makefile.am (gcc_version): Likewise.
1052 * interception/Makefile.in: Regenerated.
1053 * asan/Makefile.in: Regenerated.
1054 * ubsan/Makefile.in: Regenerated.
1055 * sanitizer_common/Makefile.in: Regenerated.
1056 * lsan/Makefile.in: Regenerated.
1057 * tsan/Makefile.in: Regenerated.
1059 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1062 * configure.ac: Add GCC_BASE_VER.
1063 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1064 get version from BASE-VER file.
1065 * libbacktrace/Makefile.in: Regenerated.
1066 * interception/Makefile.in: Regenerated.
1067 * asan/Makefile.in: Regenerated.
1068 * ubsan/Makefile.in: Regenerated.
1069 * configure: Regenerated.
1070 * sanitizer_common/Makefile.in: Regenerated.
1071 * lsan/Makefile.in: Regenerated.
1072 * Makefile.in: Regenerated.
1073 * tsan/Makefile.in: Regenerated.
1075 2017-01-10 James Clarke <jrtc27@jrtc27.com>
1078 * sanitizer_common/sanitizer_platform_limits_posix.h
1079 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1081 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1083 * LOCAL_PATCHES: Add revision.
1085 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1088 * sanitizer_common/sanitizer_platform_limits_posix.h
1089 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1092 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1094 * LOCAL_PATCHES: Remove r242480.
1096 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1098 * LOCAL_PATCHES: Add revision.
1100 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
1103 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1104 compiler supports blocks extension.
1106 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1108 * LOCAL_PATCHES: Add revision.
1110 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1113 * tsan/tsan_rtl.cc: Add missing attribute.
1115 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1117 * LOCAL_PATCHES: New file.
1119 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1122 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1123 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
1124 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1125 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1127 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1128 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1129 (__ubsan_handle_cfi_bad_type): Export function.
1130 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1131 * HOWTO_MERGE: Update documentation.
1133 2016-11-15 Matthias Klose <doko@ubuntu.com>
1135 * configure: Regenerate.
1137 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1139 * asan/asan_globals.cc (RegisterGlobal): Do not call
1140 CheckODRViolationViaPoisoning.
1141 (CheckODRViolationViaPoisoning): Remove.
1143 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1145 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1146 compiled code with GCC when extracting the caller PC for ARM if no
1147 valid frame pointer is available.
1149 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1153 2014-10-14 David S. Miller <davem@davemloft.net>
1155 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1156 Define at __kernel_time_t, as needed for sparc.
1157 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1158 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1159 (__sanitizer): Define struct___old_kernel_stat_sz,
1160 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1161 (__sanitizer_ipc_perm): Adjust for sparc targets.
1162 (__sanitizer_shmid_ds): Likewsie.
1163 (__sanitizer_sigaction): Likewise.
1164 (IOC_SIZE): Likewsie.
1166 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1168 * All source files: Merge from upstream 285547.
1169 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1171 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1172 * asan/Makefile.am (asan_files): Add new files.
1173 * asan/Makefile.in: Regenerate.
1174 * ubsan/Makefile.in: Likewise.
1175 * lsan/Makefile.in: Likewise.
1176 * tsan/Makefile.am (tsan_files): Add new files.
1177 * tsan/Makefile.in: Regenerate.
1178 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1179 (EXTRA_libsanitizer_common_la_SOURCES): Define.
1180 (libsanitizer_common_la_LIBADD): Likewise.
1181 (libsanitizer_common_la_DEPENDENCIES): Likewise.
1182 * sanitizer_common/Makefile.in: Regenerate.
1183 * interception/Makefile.in: Likewise.
1184 * libbacktace/Makefile.in: Likewise.
1185 * Makefile.in: Likewise.
1186 * configure: Likewise.
1187 * merge.sh: Handle builtins/assembly.h merging.
1188 * builtins/assembly.h: New file.
1189 * asan/libtool-version: Bump the libasan SONAME.
1191 2016-09-21 Jakub Jelinek <jakub@redhat.com>
1194 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1196 2016-09-05 Jakub Jelinek <jakub@redhat.com>
1199 * asan/asan_globals.cc: Cherry-pick upstream r280657.
1201 2016-08-12 Jakub Jelinek <jakub@redhat.com>
1204 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1205 * tsan/tsan_rtl_aarch64.S: Likewise.
1207 2016-07-23 Alan Modra <amodra@gmail.com>
1209 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
1210 * configure.ac: Don't substitute OBSTACK_DEFS.
1211 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1212 * tsan/Makefile.am: Likewise.
1213 * configure: Regenerate.
1214 * Makefile.in: Regenerate.
1215 * asan/Makefile.in: Regenerate.
1216 * interception/Makefile.in: Regenerate.
1217 * libbacktrace/Makefile.in: Regenerate.
1218 * lsan/Makefile.in: Regenerate.
1219 * sanitizer_common/Makefile.in: Regenerate.
1220 * tsan/Makefile.in: Regenerate.
1221 * ubsan/Makefile.in: Regenerate.
1223 2016-05-17 Jakub Jelinek <jakub@redhat.com>
1226 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1229 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
1232 * asan/asan_mac.cc: Cherry pick upstream r266868.
1234 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1237 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1238 InitializeInterceptors): Cherry pick upstream r258119.
1240 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
1242 * configure.ac: Replace the hard-coded -ldl requirement for
1243 link_sanitizer_common with a configure time check for -ldl.
1244 * configure: Regenerate.
1246 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1248 * include/system/linux/asm/ptrace.h: Move to ...
1249 * include/system/asm/ptrace.h: ... this.
1251 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1253 * include/system/linux/asm/ptrace.h: New header.
1255 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1257 * All source files: Merge from upstream r253555.
1258 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1259 dependences for TSan for aarch64-*-linux* targets.
1260 * tsan/Makefile.am: Add new source files.
1261 * configure: Regenerate.
1262 * tsan/Makefile.in: Likewise.
1264 2015-11-09 Alan Modra <amodra@gmail.com>
1266 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1267 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1269 * configure.ac: Substitute OBSTACK_DEFS.
1270 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1271 * tsan/Makefile.am: Likewise.
1272 * configure: Regenerate.
1273 * Makefile.in: Regenerate.
1274 * asan/Makefile.in: Regenerate.
1275 * interception/Makefile.in: Regenerate.
1276 * libbacktrace/Makefile.in: Regenerate.
1277 * lsan/Makefile.in: Regenerate.
1278 * sanitizer_common/Makefile.in: Regenerate.
1279 * tsan/Makefile.in: Regenerate.
1280 * ubsan/Makefile.in: Regenerate.
1282 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1285 * configure.ac (link_sanitizer_common): Link against librt only if it
1286 contains shm_open, required by sanitizers.
1287 (CXX_ABI_NEEDED): Remove variable.
1288 * configure: Regenerate.
1289 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1290 * ubsan/Makefile.in: Regenerate.
1292 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1294 * HOWTO_MERGE: New file.
1296 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1298 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1299 compiled code with GCC when extracting the caller PC for ARM if no
1300 valid frame pointer is available.
1302 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1306 2015-02-20 Jakub Jelinek <jakub@redhat.com>
1308 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1309 support until it is rewritten upstream.
1311 * c-c++-common/asan/pr63888.c: New test.
1313 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1317 2014-10-14 David S. Miller <davem@davemloft.net>
1319 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1320 Define at __kernel_time_t, as needed for sparc.
1321 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1322 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1323 (__sanitizer): Define struct___old_kernel_stat_sz,
1324 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1325 (__sanitizer_ipc_perm): Adjust for sparc targets.
1326 (__sanitizer_shmid_ds): Likewsie.
1327 (__sanitizer_sigaction): Likewise.
1328 (IOC_SIZE): Likewsie.
1330 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1332 * All source files: Merge from upstream r250806.
1333 * configure.ac (link_sanitizer_common): Add -lrt flag.
1334 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1335 Set USE_CXX_ABI_FLAG=true for darwin.
1336 * asan/Makefile.am (asan_files): Add new files.
1337 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1338 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1339 * asan/Makefile.in: Regenerate.
1340 * ubsan/Makefile.am (ubsan_files): Add new files.
1341 (DEFS): Add DCAN_SANITIZE_UB=1.
1342 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1343 * ubsan/Makefile.in: Regenerate.
1344 * tsan/Makefile.am (tsan_files): Add new files.
1345 (DEFS): Add DCAN_SANITIZE_UB=0.
1346 * tsan/Makefile.in: Regenerate.
1347 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1348 * sanitizer_common/Makefile.in: Regenerate.
1349 * asan/libtool-version: Bump the libasan SONAME.
1351 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1354 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1356 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1359 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1362 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1365 * sanitizer_common/sanitizer_stacktrace.cc
1366 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1367 find the link register at an offset of 16 from the base of the
1368 caller's stack frame.
1370 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1372 * Makefile.in: Regenerated with automake-1.11.6.
1373 * aclocal.m4: Likewise.
1374 * asan/Makefile.in: Likewise.
1375 * configure: Likewise.
1376 * interception/Makefile.in: Likewise.
1377 * libbacktrace/Makefile.in: Likewise.
1378 * lsan/Makefile.in: Likewise.
1379 * sanitizer_common/Makefile.in: Likewise.
1380 * tsan/Makefile.in: Likewise.
1381 * ubsan/Makefile.in: Likewise.
1383 2015-04-13 Yury Gribov <y.gribov@samsung.com>
1386 * sanitizer_common/sanitizer_platform.h: Cherry pick
1388 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1389 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1390 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1391 * Makefile.in: Regenerate.
1392 * asan/Makefile.in: Regenerate.
1393 * config.h.in: Regenerate.
1394 * configure: Regenerate.
1395 * interception/Makefile.in: Regenerate.
1396 * libbacktrace/Makefile.in: Regenerate.
1397 * lsan/Makefile.in: Regenerate.
1398 * sanitizer_common/Makefile.in: Regenerate.
1399 * tsan/Makefile.in: Regenerate.
1400 * ubsan/Makefile.in: Regenerate.
1403 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1406 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1408 * sanitizer_common/sanitizer_platform.h: Likewise.
1409 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1411 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1413 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1414 upstream 224508 and 224755.
1416 2015-03-09 Jakub Jelinek <jakub@redhat.com>
1420 2014-10-14 David S. Miller <davem@davemloft.net>
1422 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1423 Define at __kernel_time_t, as needed for sparc.
1424 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1425 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1426 (__sanitizer): Define struct___old_kernel_stat_sz,
1427 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1428 (__sanitizer_ipc_perm): Adjust for sparc targets.
1429 (__sanitizer_shmid_ds): Likewsie.
1430 (__sanitizer_sigaction): Likewise.
1431 (IOC_SIZE): Likewsie.
1433 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1435 * configure.tgt: Enable build on powerpc*le-*-linux.
1437 2015-02-23 Jakub Jelinek <jakub@redhat.com>
1440 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1441 support until it is rewritten upstream.
1443 2015-01-26 Matthias Klose <doko@ubuntu.com>
1445 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1446 * configure: Regenerate.
1448 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1450 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1451 * configure: Regenerate.
1452 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1454 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1456 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1457 * configure: Regenerate.
1458 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1459 (libtsan_la_DEPENDENCIES): Likewise.
1460 * Makefile.in: Regenerate.
1461 * asan/Makefile.in: Regenerate.
1462 * interception/Makefile.in: Regenerate.
1463 * libbacktrace/Makefile.in: Regenerate.
1464 * lsan/Makefile.in: Regenerate.
1465 * sanitizer_common/Makefile.in: Regenerate.
1466 * tsan/Makefile.in: Regenerate.
1467 * ubsan/Makefile.in: Regenerate.
1469 2015-01-22 Jakub Jelinek <jakub@redhat.com>
1471 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1473 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1476 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1478 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1479 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1481 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1484 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1486 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1489 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1492 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1494 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1495 upstream r224518 and r224519.
1496 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1499 2014-12-16 Jakub Jelinek <jakub@redhat.com>
1501 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1502 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1503 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1506 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1509 * configure: Regenerated.
1511 2014-11-21 Jakub Jelinek <jakub@redhat.com>
1514 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1515 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1517 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
1519 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1520 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1521 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1522 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1523 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1524 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1525 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1526 * sanitizer_common/Makefile.in: Regenerate.
1527 * asan/Makefile.in: Ditto.
1528 * lsan/Makefile.in: Ditto.
1529 * interception/Makefile.in: Ditto.
1530 * tsan/Makefile.in: Ditto.
1531 * libbacktrace/Makefile.in: Ditto.
1532 * ubsan/Makefile.in: Ditto.
1534 2014-11-13 Kostya Serebryany <kcc@google.com>
1536 * All source files: Merge from upstream r221802.
1537 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1538 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1539 with 'start' to follow the new interface.
1540 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1541 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1542 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1543 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1544 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1546 (AM_CXXFLAGS): Added -std=c++11.
1547 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1548 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1549 * asan/Makefile.in: Regenerate.
1550 * interception/Makefile.in: Regenerate.
1551 * libbacktrace/Makefile.in: Regenerate.
1552 * lsan/Makefile.in: Regenerate.
1553 * sanitizer_common/Makefile.in: Regenerate.
1554 * tsan/Makefile.in: Regenerate.
1555 * ubsan/Makefile.in: Regenerate.
1557 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1560 * configure: Regenerate.
1562 2014-10-16 Martin Liska <mliska@suse.cz>
1564 * asan/Makefile.am: IPA ICF pass is disabled.
1565 * asan/Makefile.in: Likewise.
1567 2014-10-14 David S. Miller <davem@davemloft.net>
1569 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1570 Define at __kernel_time_t, as needed for sparc.
1571 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1572 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1573 (__sanitizer): Define struct___old_kernel_stat_sz,
1574 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1575 (__sanitizer_ipc_perm): Adjust for sparc targets.
1576 (__sanitizer_shmid_ds): Likewsie.
1577 (__sanitizer_sigaction): Likewsie.
1578 (IOC_SIZE): Likewsie.
1580 2014-10-14 Jakub Jelinek <jakub@redhat.com>
1582 * ubsan/Makefile.am (DEFS): Add -DPIC.
1583 * ubsan/Makefile.in: Regenerated.
1585 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1587 * configure.tgt: Enable build on aarch64*-linux.
1589 2014-09-19 Kostya Serebryany <kcc@google.com>
1591 * All source files: Merge from upstream r218156.
1592 * asan/Makefile.am (asan_files): Added new files.
1593 * asan/Makefile.in: Regenerate.
1594 * ubsan/Makefile.am (ubsan_files): Added new files.
1595 * ubsan/Makefile.in: Regenerate.
1596 * tsan/Makefile.am (tsan_files): Added new files.
1597 * tsan/Makefile.in: Regenerate.
1598 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1600 * sanitizer_common/Makefile.in: Regenerate.
1601 * asan/libtool-version: Bump the libasan SONAME.
1603 2014-09-10 Jakub Jelinek <jakub@redhat.com>
1605 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1606 upstream r215485, r217389, r217391 and r217400.
1608 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1610 * sanitizer_common/sanitizer_common_interceptors.inc:
1611 Cherry pick upstream r211008.
1613 2014-06-11 Richard Biener <rguenther@suse.de>
1615 * asan/asan_linux.cc: Cherry pick upstream r210012.
1617 2014-05-30 Jakub Jelinek <jakub@redhat.com>
1619 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1621 * sanitizer_common/sanitizer_common.h: Likewise.
1622 * asan/asan_mapping.h: Likewise.
1623 * asan/asan_linux.cc: Likewise.
1624 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1625 * sanitizer_common/sanitizer_allocator.h: Likewise.
1627 2014-05-23 Marek Polacek <polacek@redhat.com>
1629 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1630 floating-point types.
1632 2014-05-22 Kostya Serebryany <kcc@google.com>
1634 * All source files: Merge from upstream r209283.
1635 * asan/Makefile.am (asan_files): Added new files.
1636 * asan/Makefile.in: Regenerate.
1637 * tsan/Makefile.am (tsan_files): Added new files.
1638 * tsan/Makefile.in: Regenerate.
1639 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1641 * sanitizer_common/Makefile.in: Regenerate.
1643 2014-05-14 Yury Gribov <y.gribov@samsung.com>
1646 * Makefile.am (nodist_saninclude_HEADERS): Install
1648 * Makefile.in: Regenerate.
1650 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1652 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1653 Add ../../libbacktrace/sort.c.
1654 * libbacktrace/Makefile.in: Regenerate.
1655 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1657 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1659 * configure.tgt: Unsupported for little endian PowerPC for now.
1661 2014-02-04 Jakub Jelinek <jakub@redhat.com>
1664 * tsan/tsan_flags.cc (__tsan_default_options): Add
1665 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1666 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1669 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1670 sanitizer_atomic.h and unistd.h.
1671 (kThreadDescriptorSize): Made static, remove initializer and const,
1672 change type to atomic_uintptr_t.
1673 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1674 query glibc version, compute kThreadDescriptorSize depending on
1675 glibc version minor number.
1676 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1677 kThreadDescriptorSize directly.
1679 2014-01-23 Yury Gribov <y.gribov@samsung.com>
1680 Jakub Jelinek <jakub@redhat.com>
1683 * configure.ac: Check for missing syscalls.
1684 * Makefile.am: Likewise.
1685 * configure: Regenerate.
1686 * Makefile.in: Regenerate.
1688 2014-01-09 Jakub Jelinek <jakub@redhat.com>
1690 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1691 (LibbacktraceSymbolizer::Demangle): New declaration.
1692 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1693 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1695 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1696 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1697 (struct CplusV3DemangleData): New type.
1698 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1699 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1700 SymbolizeDataCallback): Use CplusV3Demangle.
1701 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1702 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1703 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1704 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1705 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1706 cplus_demangle_init_info, cplus_demangle_mangled_name,
1707 cplus_demangle_operators, cplus_demangle_print,
1708 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1709 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1710 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1712 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1713 (memcmp, strncmp): Redefine.
1714 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1715 ../../libiberty/cp-demangle.c.
1716 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1717 __asan_internal_strncmp): New functions.
1718 * sanitizer_common/Makefile.in: Regenerated.
1719 * libbacktrace/Makefile.in: Regenerated.
1720 * configure: Regenerated.
1721 * configure.ac: Regenerated.
1722 * config.h.in: Regenerated.
1724 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1725 -isystem $(top_srcdir)/include/system.
1726 * sanitizer_common/Makefile.in: Regenerated.
1727 * include/system/linux/aio_abi.h: New header.
1728 * include/system/linux/mroute.h: New header.
1729 * include/system/linux/mroute6.h: New header.
1730 * include/system/linux/perf_event.h: New header.
1731 * include/system/linux/types.h: New header.
1734 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1735 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1736 and -I/-include flags.
1737 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1738 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1739 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1740 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1741 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1742 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1744 * README.gcc: Document that also lsan and ubsan are
1745 maintained in compiler-rt upstream.
1746 * libbacktrace/Makefile.am: New file.
1747 * libbacktrace/backtrace-rename.h: New file.
1748 * libbacktrace/backtrace-supported.h.in: New file.
1749 * libbacktrace/bridge.cc: New file.
1750 * configure.ac: Add tests needed for libbacktrace build
1751 within libsanitizer.
1752 * sanitizer_common/Makefile.in: Regenerated.
1753 * lsan/Makefile.in: Regenerated.
1754 * tsan/Makefile.in: Regenerated.
1755 * ubsan/Makefile.in: Regenerated.
1756 * libbacktrace/Makefile.in: Generated.
1757 * config.h.in: Regenerated.
1758 * configure: Regenerated.
1759 * Makefile.in: Regenerated.
1760 * interception/Makefile.in: Regenerated.
1761 * asan/Makefile.in: Regenerated.
1762 * aclocal.m4: Regenerated.
1764 2013-12-19 Kostya Serebryany <kcc@google.com>
1766 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1767 workaround for missing definition of EOWNERDEAD, backport
1768 from upstream r196779.
1770 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1772 * sanitizer_common/sanitizer_platform_limits_posix.h
1773 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1774 (__sanitizer_clock_t): Use long long for x32.
1776 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1778 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1779 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1780 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1782 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1784 * configure.ac (link_sanitizer_common): Add -lm.
1785 * configure: Regenerated.
1787 2013-12-05 Kostya Serebryany <kcc@google.com>
1789 * All source files: Merge from upstream r196489.
1790 * merge.sh: Add *.S to the list of merged files.
1792 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1795 * Makefile.am (gcc_version): Added gcc_version.
1796 * Makefile.in: Regenerate.
1798 2013-12-05 Kostya Serebryany <kcc@google.com>
1800 * All source files: Merge from upstream r196090.
1801 * tsan/Makefile.am (tsan_files): Added new files.
1802 * tsan/Makefile.in: Regenerate.
1803 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1804 * sanitizer_common/Makefile.in: Regenerate.
1805 * lsan/Makefile.am (lsan_files): Added new files.
1806 * lsan/Makefile.in: Regenerate.
1808 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1809 Yury Gribov <y.gribov@samsung.com>
1812 * libsanitizer.spec.in: Add spec file to hold link flags for
1813 various sanitizer libs.
1814 * configure.ac: Check whether clock_* routines come from librt.
1815 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1817 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1818 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1819 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1820 * asan/Makefile.in: Regenerate.
1821 * interception/Makefile.in: Regenerate.
1822 * lsan/Makefile.in: Regenerate.
1823 * sanitizer_common/Makefile.in: Regenerate.
1824 * tsan/Makefile.in: Regenerate.
1825 * ubsan/Makefile.in: Regenerate.
1826 * Makefile.in: Regenerate.
1827 * configure: Regenerate.
1829 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1830 Yury Gribov <y.gribov@samsung.com>
1833 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1835 * ubsan/Makefile.in: Regenerated.
1837 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1840 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1841 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1842 * configure: Regenerated.
1843 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1844 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1845 * lsan/Makefile.in: Regenerated.
1847 2013-11-22 Mike Stump <mikestump@comcast.net>
1849 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1850 change from upstream to fix build.
1852 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1855 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1856 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1857 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1858 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1859 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1860 * asan/Makefile.in: Regenerate.
1861 * interception/Makefile.in: Regenerate.
1862 * tsan/Makefile.in: Regenerate.
1863 * lsan/Makefile.in: Regenerate.
1864 * sanitizer_common/Makefile.in: Regenerate.
1866 2013-11-15 Kostya Serebryany <kcc@google.com>
1869 Backport from upstream revision 194573
1870 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1871 back to the original functions in the common libsanitizer
1872 interceptors and the __cxa_atexit() interceptor on Darwin.
1874 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1877 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1878 ifdef out more source.
1880 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1882 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1883 ifdef out almost the whole source.
1884 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1886 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1889 * sanitizer_common/sanitizer_platform_limits_posix.cc
1890 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1893 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1896 * sanitizer_common/sanitizer_platform_limits_linux.cc
1897 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1899 * sanitizer_common/sanitizer_platform_limits_posix.h
1900 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1902 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1904 (__sanitizer___kernel_gid_t): Likewise.
1905 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1908 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1911 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1912 2 64-bit integers to save and restore fn and arg. Properly load
1913 newtls/child_tidptr into r8/r10.
1915 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1918 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1919 internal_munmap, internal_open, internal_read, internal_write,
1920 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1921 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1922 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1923 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1925 2013-11-04 Kostya Serebryany <kcc@google.com>
1927 * All source files: Merge from upstream r191666.
1928 * merge.sh: Added lsan.
1929 * configure.ac (AC_CONFIG_FILES): Added lsan.
1930 * Makefile.am (SUBDIRS): Added lsan.
1931 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1932 * asan/Makefile.am (asan_files): Added new files.
1933 (libasan_la_LIBADD): Added a dependency on lsan.
1934 * lsan/Makefile.am: New file.
1935 * asan/Makefile.in: Regenerate.
1936 * lsan/Makefile.in: Regenerate.
1937 * Makefile.in: Regenerate.
1938 * configure: Regenerate.
1939 * sanitizer_common/Makefile.in: Regenerate.
1941 2013-09-20 Alan Modra <amodra@gmail.com>
1943 * configure: Regenerate.
1945 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1947 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1948 libinterception.la for Darwin.
1949 * ubsan/Makefile.in: Regenerate.
1951 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1953 * Makefile.am (SUBDIRS): Add ubsan.
1954 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1955 * merge.sh: Merge ubsan.
1956 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1957 * sanitizer_common/sanitizer_printf.cc: Likewise.
1958 * sanitizer_common/sanitizer_common.h: Likewise.
1959 * ubsan: New directory. Import ubsan runtime from llvm.
1961 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1963 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1964 Cherry pick upstream r182922.
1966 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1968 * configure.tgt: Add ARM pattern.
1970 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1973 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1974 * Makefile.in: Regenerated.
1975 * asan/Makefile.in: Regenerated.
1976 * interception/Makefile.in: Regenerated.
1977 * sanitizer_common/Makefile.in: Regenerated.
1978 * tsan/Makefile.in: Regenerated.
1980 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1982 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1983 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1986 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1989 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1991 (libasan_preinit.o): Depend on asan_preinit.o.
1992 * asan/Makefile.in: Regenerated.
1993 * asan/asan_preinit.cc: New file, synced from upstream.
1994 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1996 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1998 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1999 dynamic/asan_interceptors_dynamic.cc.
2000 * asan/Makefile.in: Regenerated.
2001 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2003 2013-02-21 Jakub Jelinek <jakub@redhat.com>
2005 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2006 defined. Add used attribute.
2008 2013-02-21 Kostya Serebryany <kcc@google.com>
2010 * All source files: Merge from upstream r175733.
2011 * sanitizer_common/Makefile.am: Added a new file.
2012 * sanitizer_common/Makefile.in: Regenerated.
2014 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
2017 * interception/interception.h (OFF_T): Merged from upstream
2020 2013-02-13 Jakub Jelinek <jakub@redhat.com>
2022 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2024 2013-02-13 Kostya Serebryany <kcc@google.com>
2027 * All source files: Merge from upstream r175049.
2028 * interception/Makefile.am: added include path.
2029 * interception/Makefile.in: Regenerated.
2031 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
2033 * configure.tgt: Disable build on darwin9 and earlier.
2035 2013-01-23 Kostya Serebryany <kcc@google.com>
2038 * All source files: Merge from upstream r173241.
2039 * merge.sh: Support merging .inc files.
2041 2013-01-16 Jakub Jelinek <jakub@redhat.com>
2043 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2044 -Wno-c99-extensions.
2045 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2046 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2047 * sanitizer_common/Makefile.in: Regenerated.
2048 * interception/Makefile.in: Regenerated.
2049 * asan/Makefile.in: Regenerated.
2051 2013-01-10 Wei Mi <wmi@google.com>
2054 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2055 * tsan/Makefile.in: Regenerated.
2056 * tsan/tsan_rtl.h: Enable HACKY_CALL.
2058 2013-01-10 Kostya Serebryany <kcc@google.com>
2060 * All source files: Merge from upstream r171973.
2061 * sanitizer_common/Makefile.am: Added new files.
2062 * asan/Makefile.am: Likewise.
2063 * tsan/Makefile.am: Likewise.
2064 * sanitizer_common/Makefile.in: Regenerated.
2065 * asan/Makefile.in: Likewise.
2066 * tsan/Makefile.in: Likewise.
2068 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
2070 * asan/Makefile.am (libasan_la_LIBADD): Replace
2071 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2072 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2073 * Makefile.in: Regenerated.
2074 * configure: Likewise.
2075 * asan/Makefile.in: Likewise.
2076 * interception/Makefile.in: Likewise.
2077 * sanitizer_common/Makefile.in: Likewise.
2078 * tsan/Makefile.in: Likewise.
2080 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2082 * Makefile.am (AM_MAKEFLAGS): Restored.
2083 * interception/Makefile.am: Likewise.
2084 * sanitizer_common/Makefile.am: Likewise.
2085 * tsan/Makefile.am: Likewise.
2086 * Makefile.in: Regenerated.
2087 * asan/Makefile.in: Likewise.
2088 * interception/Makefile.in: Likewise.
2089 * sanitizer_common/Makefile.in: Likewise.
2090 * tsan/Makefile.in: Likewise.
2092 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2094 * Makefile.am (MAKEOVERRIDES): Restored.
2095 * asan/Makefile.am: Likewise.
2096 * interception/Makefile.am: Likewise.
2097 * sanitizer_common/Makefile.am: Likewise.
2098 * tsan/Makefile.am: Likewise.
2099 * Makefile.in: Regenerated.
2100 * asan/Makefile.in: Likewise.
2101 * interception/Makefile.in: Likewise.
2102 * sanitizer_common/Makefile.in: Likewise.
2103 * tsan/Makefile.in: Likewise.
2105 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2107 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2108 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2109 * Makefile.in: Regenerated.
2110 * configure: Likewise.
2111 * asan/Makefile.in: Likewise.
2112 * interception/Makefile.in: Likewise.
2113 * sanitizer_common/Makefile.in: Likewise.
2114 * tsan/Makefile.in: Likewise.
2116 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2118 * Makefile.am (AM_MAKEFLAGS): Removed.
2119 (MAKEOVERRIDES): Likewise.
2120 * asan/Makefile.am: Likewise.
2121 * interception/Makefile.am: Likewise.
2122 * sanitizer_common/Makefile.am: Likewise.
2123 * tsan/Makefile.am: Likewise.
2124 * Makefile.in: Regenerated.
2125 * asan/Makefile.in: Likewise.
2126 * interception/Makefile.in: Likewise.
2127 * sanitizer_common/Makefile.in: Likewise.
2128 * tsan/Makefile.in: Likewise.
2130 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
2133 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2134 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2135 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2136 (AM_MAKEFLAGS): Remove CC and CXX.
2137 * interception/Makefile.am: Likewise.
2138 * sanitizer_common/Makefile.am: Likewise.
2139 * tsan/Makefile.am: Likewise.
2140 * Makefile.in: Regenerated.
2141 * aclocal.m4: Likewise.
2142 * configure: Likewise.
2143 * asan/Makefile.in: Likewise.
2144 * interception/Makefile.in: Likewise.
2145 * sanitizer_common/Makefile.in: Likewise.
2146 * tsan/Makefile.in: Likewise.
2148 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
2150 * configure.tgt: Enable build on powerpc*-linux.
2152 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
2155 * configure.ac: Set enable_static=no on darwin.
2156 * configure: Regenerated.
2158 2012-12-06 Kostya Serebryany <kcc@google.com>
2160 * All files: Merge from upstream r169392.
2162 2012-12-05 Kostya Serebryany <kcc@google.com>
2164 * All files: Merge from upstream r169371.
2166 2012-12-04 Kostya Serebryany <kcc@google.com>
2167 Jack Howarth <howarth@bromo.med.uc.edu>
2170 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2171 * Makefile.am: Don't build interception subdir when
2172 USING_MAC_INTERPOSE defined.
2173 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2174 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2175 Compile asan_interceptors_dynamic.cc but not libinterception
2176 when USING_MAC_INTERPOSE defined.
2177 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2178 * configure: Regenerated.
2179 * Makefile.in: Likewise.
2180 * asan/Makefile.in: Likewise.
2181 * interception/Makefile.in: Likewise.
2182 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2183 * asan/asan_mac.cc: Likewise.
2184 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2185 and use MISSING_BLOCKS_SUPPORT.
2186 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2187 * interception/mach_override/LICENSE.txt: Remove unused file.
2188 * interception/mach_override/mach_override.c: Likewise.
2189 * interception/mach_override/mach_override.h: Likewise.
2190 * interception/mach_override: Remove unused directory.
2192 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2194 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2195 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2196 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2198 (AM_MAKEFLAGS): Restore CC and CXX.
2199 * interception/Makefile.am: Likewise.
2200 * sanitizer_common/Makefile.am: Likewise.
2201 * tsan/Makefile.am: Likewise.
2202 * Makefile.in: Regenerated.
2203 * aclocal.m4: Likewise.
2204 * configure: Likewise.
2205 * asan/Makefile.in: Likewise.
2206 * interception/Makefile.in: Likewise.
2207 * sanitizer_common/Makefile.in: Likewise.
2208 * tsan/Makefile.in: Likewise.
2210 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2212 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2213 * configure.ac (ACX_NONCANONICAL_TARGET): New.
2214 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2216 (AM_MAKEFLAGS): Remove CC and CXX.
2217 * interception/Makefile.am: Likewise.
2218 * sanitizer_common/Makefile.am: Likewise.
2219 * tsan/Makefile.am: Likewise.
2220 * Makefile.in: Regenerated.
2221 * aclocal.m4: Likewise.
2222 * configure: Likewise.
2223 * asan/Makefile.in: Likewise.
2224 * interception/Makefile.in: Likewise.
2225 * sanitizer_common/Makefile.in: Likewise.
2226 * tsan/Makefile.in: Likewise.
2228 2012-11-27 Kostya Serebryany <kcc@google.com>
2230 * All files: Merge from upstream r168699.
2232 2012-11-24 Kostya Serebryany <kcc@google.com>
2233 Jack Howarth <howarth@bromo.med.uc.edu>
2235 * interception/mach_override/mach_override.c: Migrate from llvm.
2236 * interception/mach_override/mach_override.h: Likewise.
2237 * interception/mach_override/LICENSE.txt: Likewise.
2238 * configure.tgt: Add darwin to supported targets.
2239 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2240 * interception/Makefile.am: Compile mach_override.c when
2241 USING_MACH_OVERRIDE defined.
2242 * configure: Regenerated.
2243 * interception/Makefile.in: Likewise.
2245 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
2248 * tsan/Makefile.am (gcc_version): New.
2249 * tsan/Makefile.in: Regenerated.
2251 2012-11-23 Kostya Serebryany <kcc@google.com>
2253 * merge.sh: Support tsan, support added/removed files.
2254 * tsan/Makefile.am: Remove tsan_printf.cc.
2255 * tsan/Makefile.in: Regenerated.
2256 * other files: Merge from upstream r168514.
2258 2012-11-23 Kostya Serebryany <kcc@google.com>
2260 * merge.sh: New file.
2262 2012-11-23 Jakub Jelinek <jakub@redhat.com>
2264 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2265 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2266 automake conditional instead of !MULTISUBDIR32.
2267 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2268 for 64-bit multilib.
2269 * configure.ac: Check for void * size, source in configure.tgt,
2270 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2271 * configure: Regenerated.
2272 * Makefile.in: Regenerated.
2273 * tsan/Makefile.in: Regenerated.
2275 2012-11-22 Wei Mi <wmi@google.com>
2277 * tsan: New directory. Import tsan runtime from llvm.
2278 * configure.ac: Add 64 bits tsan build.
2279 * Makefile.am: Likewise.
2280 * configure: Regenerated.
2281 * Makefile.in: Likewise.
2283 2012-11-21 Kostya Serebryany <kcc@google.com>
2285 * README.gcc: Extend the README.gcc with mode details.
2287 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
2289 * sanitizer_common/sanitizer_linux.cc
2290 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2291 (internal_mmap): Use it.
2292 (internal_filesize): Likewise.
2294 2012-11-16 Tom Tromey <tromey@redhat.com>
2296 * configure.ac: Invoke AM_MAINTAINER_MODE.
2297 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2298 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2300 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2303 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2304 for hardware pointer.
2305 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2306 Replace uptr with uhwptr for stack unwind.
2308 2012-11-16 Dodji Seketeli <dodji@redhat.com>
2310 * configure.tgt: Enable build on sparc linux.
2312 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2314 * configure.ac: Properly set MULTISUBDIR.
2315 * asan/Makefile.am (gcc_version): New.
2316 * interception/Makefile.am (gcc_version): Likewise.
2317 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2318 * configure: Regenerated.
2319 * asan/Makefile.in: Likewise.
2320 * interception/Makefile.in: Likewise.
2321 * sanitizer_common/Makefile.in: Likewise.
2323 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2326 * configure.ac (--enable-version-specific-runtime-libs): New option.
2327 (AC_CANONICAL_SYSTEM): New.
2328 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2329 (toolexecdir): Support multilib.
2330 (toolexeclibdir): Likewise.
2331 (multilib_arg): New.
2332 * Makefile.in: Regenerated.
2333 * aclocal.m4: Likewise.
2334 * configure: Likewise.
2335 * asan/Makefile.in: Likewise.
2336 * interception/Makefile.in: Likewise.
2337 * sanitizer_common/Makefile.in: Likewise.
2339 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2342 Backport from upstream revision 167883
2343 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2344 __x86_64__ instead of __WORDSIZE.
2345 (internal_filesize): Likwise.
2347 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2349 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2350 * Makefile.in: Regenerated.
2351 * configure: Likewise.
2353 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2356 * acinclude.m4: New file.
2357 * Makefile.am (ACLOCAL_AMFLAGS): New.
2358 * configure.ac (AC_PREREQ): Set to 2.64.
2359 (AC_CONFIG_AUX_DIR): Set to "..".
2360 * Makefile.in: Regenerated.
2361 * aclocal.m4: Likewise.
2362 * configure: Likewise.
2363 * asan/Makefile.in: Likewise.
2364 * interception/Makefile.in: Likewise.
2365 * sanitizer_common/Makefile.in: Likewise.
2367 * config.guess: Removed.
2368 * config.sub: Likewise.
2369 * depcomp: Likewise.
2370 * install-sh: Likewise.
2371 * ltmain.sh: Likewise.
2372 * missing: Likewise.
2374 2012-11-13 Richard Henderson <rth@redhat.com>
2376 * configure.tgt: New file.
2378 2012-11-12 David S. Miller <davem@davemloft.net>
2380 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2382 2012-10-29 Wei Mi <wmi@google.com>
2384 Initial checkin: migrate asan runtime from llvm.