1 2023-01-31 H.J. Lu <hjl.tools@gmail.com>
4 * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
5 to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
6 (__interceptor_sigsetjmp): Add a local alias,
7 .Linterceptor_sigsetjmp.
9 2023-01-31 Martin Liska <mliska@suse.cz>
11 * configure: Regenerate.
13 2023-01-31 YunQiang Su <yunqiang.su@cipunited.com>
15 * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
17 * configure: Regenerate.
19 2023-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
21 * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
22 llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
24 2022-12-19 Jakub Jelinek <jakub@redhat.com>
26 * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
28 (hwasan_files): Remove hwasan_preinit.cpp.
29 (libhwasan_preinit.o): Copy from hwasan_preinit.o.
30 * hwasan/Makefile.in: Regenerated.
32 2022-12-13 Jakub Jelinek <jakub@redhat.com>
35 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
37 2022-12-09 liuhongt <hongtao.liu@intel.com>
39 * configure.tgt: Enable hwasan for x86-64.
41 2022-12-04 Iain Sandoe <iain@sandoe.co.uk>
43 * configure.tgt: Restrict build to Darwin 16 or newer.
45 2022-11-15 Martin Liska <mliska@suse.cz>
47 * LOCAL_PATCHES: Update local patches.
49 2022-11-15 Martin Liska <mliska@suse.cz>
51 * merge.sh: Use git clone --depth 1.
53 2022-10-19 Martin Liska <mliska@suse.cz>
55 * configure: Regenerate.
57 2022-10-18 Florian Weimer <fweimer@redhat.com>
59 * configure.ac (sanitizer_supported): Include <unistd.h> for
61 * configure: Regenerate.
63 2022-10-12 Martin Liska <mliska@suse.cz>
65 * configure: Regenerate.
67 2022-10-11 Olivier Hainque <hainque@adacore.com>
68 Olivier Hainque <hainque@adacore.com>
70 * configure: Regenerate.
72 2022-10-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
75 * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
76 llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
78 2022-09-04 Iain Sandoe <iain@sandoe.co.uk>
80 * LOCAL_PATCHES: Update.
82 2022-08-31 Xi Ruoyao <xry111@xry111.site>
84 * configure.tgt: Allow loongarch64-*-linux*.
86 2022-08-30 Martin Liska <mliska@suse.cz>
88 * LOCAL_PATCHES: Update.
90 2022-08-30 Martin Liska <mliska@suse.cz>
92 * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
93 * sanitizer_common/Makefile.in: Regenerate.
95 2022-07-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
98 * sanitizer_common/sanitizer_linux_libcdep.cpp,
99 sanitizer_common/sanitizer_solaris.h:: Cherry-pick
100 llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
102 2022-05-05 Martin Liska <mliska@suse.cz>
104 * LOCAL_PATCHES: Update.
106 2022-05-04 Martin Liska <mliska@suse.cz>
108 * tsan/Makefile.am: Update Makefile.am files.
109 * hwasan/Makefile.am: Likewise.
110 * sanitizer_common/Makefile.am: Likewise.
111 * Makefile.in: Re-generate.
112 * asan/Makefile.in: Likewise.
113 * hwasan/Makefile.in: Likewise.
114 * interception/Makefile.in: Likewise.
115 * libbacktrace/Makefile.in: Likewise.
116 * lsan/Makefile.in: Likewise.
117 * sanitizer_common/Makefile.in: Likewise.
118 * tsan/Makefile.in: Likewise.
119 * ubsan/Makefile.in: Likewise.
121 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
123 * configure.tgt: Enable build on mips*64*-*-linux*.
125 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
127 * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
128 include sanitizer_atomic_clang_mips.h for O32.
130 2022-02-15 Jakub Jelinek <jakub@redhat.com>
132 * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
133 llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
135 2022-02-03 David Seifert <soap@gentoo.org>
136 Jakub Jelinek <jakub@redhat.com>
138 * configure.ac: Support --disable-werror.
139 * aclocal.m4: Include also ../config/warnings.m4.
140 * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
141 * configure: Regenerate.
142 * Makefile.in: Regenerate.
143 * asan/Makefile.in: Regenerate.
144 * hwasan/Makefile.in: Regenerate.
145 * interception/Makefile.in: Regenerate.
146 * libbacktrace/Makefile.in: Regenerate.
147 * lsan/Makefile.in: Regenerate.
148 * sanitizer_common/Makefile.in: Regenerate.
149 * tsan/Makefile.in: Regenerate.
150 * ubsan/Makefile.in: Regenerate.
152 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
154 * LOCAL_PATCHES: Add commit 70b043845d7.
156 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
159 * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
161 (__tsan_report_race_thunk): Likewise.
163 2021-11-28 Andrew Pinski <apinski@marvell.com>
166 * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
167 * Makefile.in: Regenerate.
168 * asan/Makefile.in: Likewise.
169 * hwasan/Makefile.in: Likewise.
170 * interception/Makefile.in: Likewise.
171 * libbacktrace/Makefile.in: Likewise.
172 * lsan/Makefile.in: Likewise.
173 * sanitizer_common/Makefile.in: Likewise.
174 * tsan/Makefile.in: Likewise.
175 * ubsan/Makefile.in: Likewise.
177 2021-11-18 Jakub Jelinek <jakub@redhat.com>
180 * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
181 of sanitizer_platform_limits_freebsd.cpp.
182 * sanitizer_common/Makefile.in: Regenerated.
184 2021-11-13 H.J. Lu <hjl.tools@gmail.com>
186 * LOCAL_PATCHES: Update to the corresponding revision.
188 2021-11-04 Martin Liska <mliska@suse.cz>
190 * LOCAL_PATCHES: Update git revision.
192 2021-10-08 H.J. Lu <hjl.tools@gmail.com>
195 * asan/Makefile.am (AM_CCASFLAGS): New. Set to $(EXTRA_ASFLAGS).
196 * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
197 * interception/Makefile.am (AM_CCASFLAGS): Likewise.
198 * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
199 * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
200 * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
201 * asan/Makefile.in: Regenerate.
202 * hwasan/Makefile.in: Likewise.
203 * interception/Makefile.in: Likewise.
204 * lsan/Makefile.in: Likewise.
205 * tsan/Makefile.in: Likewise.
206 * ubsan/Makefile.in: Likewise.
208 2021-10-06 H.J. Lu <hjl.tools@gmail.com>
210 * LOCAL_PATCHES: Update to the corresponding revision.
212 2021-10-01 H.J. Lu <hjl.tools@gmail.com>
214 * LOCAL_PATCHES: Update to the corresponding revision.
216 2021-08-11 Jakub Jelinek <jakub@redhat.com>
218 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
219 llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
221 2021-08-03 Mosè Giordano <mose@gnu.org>
224 * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
226 2021-07-28 Ilya Leoshkevich <iii@linux.ibm.com>
228 * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
231 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
233 * asan/libtool-version: Bump version.
234 * tsan/libtool-version: Likewise.
236 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
238 * LOCAL_PATCHES: Update to the corresponding revision.
240 2021-05-21 Tamar Christina <tamar.christina@arm.com>
243 * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
244 llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
245 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
246 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
248 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
250 * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
252 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
254 * sanitizer_common/sanitizer_mac.cpp : Check for the
255 availability of __builtin_os_log_format before trying to
256 include a header depending on it.
257 (OS_LOG_DEFAULT): New.
258 (os_log_error): Define to a fall-back using an older API.
260 2021-05-13 Martin Liska <mliska@suse.cz>
262 * LOCAL_PATCHES: Update to the corresponding revision.
264 2021-04-17 Jakub Jelinek <jakub@redhat.com>
267 * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
268 llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
269 and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
271 2021-03-08 Martin Liska <mliska@suse.cz>
274 * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
276 (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
277 * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
278 * sanitizer_common/sanitizer_common_interceptors.inc
279 (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
280 (INIT_REGEX): Likewise.
281 * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
284 2021-01-26 Martin Liska <mliska@suse.cz>
287 * lsan/Makefile.am: Add missing lsan_posix.cpp file.
288 * lsan/Makefile.in: Likewise.
290 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
292 * configure: Re-generate.
294 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
297 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
299 * configure: Regenerate.
301 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
303 * configure: Regenerate.
305 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
307 * LOCAL_PATCHES: Add one commit.
309 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
311 * Makefile.am: Condition Build hwasan directory.
312 * Makefile.in: Regenerate.
313 * configure: Regenerate.
314 * configure.ac: Set HWASAN_SUPPORTED based on target
316 * configure.tgt: Likewise.
318 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
320 * Makefile.am: Build libhwasan.
321 * Makefile.in: Build libhwasan.
322 * asan/Makefile.in: Build libhwasan.
323 * configure: Build libhwasan.
324 * configure.ac: Build libhwasan.
325 * hwasan/Makefile.am: New file.
326 * hwasan/Makefile.in: New file.
327 * hwasan/libtool-version: New file.
328 * interception/Makefile.in: Build libhwasan.
329 * libbacktrace/Makefile.in: Build libhwasan.
330 * libsanitizer.spec.in: Build libhwasan.
331 * lsan/Makefile.in: Build libhwasan.
332 * sanitizer_common/Makefile.in: Build libhwasan.
333 * tsan/Makefile.in: Build libhwasan.
334 * ubsan/Makefile.in: Build libhwasan.
336 2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
338 * configure.tgt: Allow x86_64 Darwin2x.
340 2020-11-13 Martin Liska <mliska@suse.cz>
342 * LOCAL_PATCHES: Update to the latest commit.
344 2020-10-19 Martin Liska <mliska@suse.cz>
346 * LOCAL_PATCHES: Add one commit.
348 2020-10-18 Iain Sandoe <iain@sandoe.co.uk>
350 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
351 macros are defined where the macOS SDK does not contain
353 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
356 2020-10-16 Martin Liska <mliska@suse.cz>
358 * LOCAL_PATCHES: Update revision.
360 2020-09-21 Ian Lance Taylor <iant@golang.org>
362 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
364 (backtrace_syminfo_to_full_callback): Define.
365 (backtrace_syminfo_to_full_error_callback): Define.
367 2020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
369 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
370 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
372 2020-06-09 Martin Liska <mliska@suse.cz>
374 * asan/Makefile.am: Replace gnu++11 with gnu++14.
375 * interception/Makefile.am: Likewise.
376 * libbacktrace/Makefile.am: Likewise.
377 * lsan/Makefile.am: Likewise.
378 * sanitizer_common/Makefile.am: Likewise.
379 * tsan/Makefile.am: Likewise.
380 * ubsan/Makefile.am: Likewise.
381 * asan/Makefile.in: Regenerate.
382 * interception/Makefile.in: Likewise.
383 * libbacktrace/Makefile.in: Likewise.
384 * lsan/Makefile.in: Likewise.
385 * sanitizer_common/Makefile.in: Likewise.
386 * tsan/Makefile.in: Likewise.
387 * ubsan/Makefile.in: Likewise.
389 2020-06-02 Martin Liska <mliska@suse.cz>
391 * LOCAL_PATCHES: Update hash of local patches.
393 2020-06-02 Martin Liska <mliska@suse.cz>
395 * MERGE: Merge from master.
397 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
400 * configure: Regenerated.
402 2020-05-29 Martin Liska <mliska@suse.cz>
404 * HOWTO_MERGE: Do not mention not existing argument.
405 * README.gcc: Update LLVM repository location.
407 2020-05-26 Martin Liska <mliska@suse.cz>
409 * LOCAL_PATCHES: Use git hash instead of SVN id.
410 * merge.sh: Use git instead of VCS. Update paths
411 relative to upstream git repository.
413 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
416 * configure: Regenerated.
418 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
420 * configure: Regenerated.
422 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
424 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
426 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
428 * sanitizer_common/Makefile.am: Add
429 sanitizer_platform_limits_freebsd.cpp.
430 * sanitizer_common/Makefile.in: Regenerate.
432 2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
435 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
436 default only for Darwin versions greater than 12 (macOS 10.8).
438 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
440 * configure.ac: Handle `--with-toolexeclibdir='.
441 * Makefile.in: Regenerate.
442 * aclocal.m4: Regenerate.
443 * configure: Regenerate.
444 * asan/Makefile.in: Regenerate.
445 * interception/Makefile.in: Regenerate.
446 * libbacktrace/Makefile.in: Regenerate.
447 * lsan/Makefile.in: Regenerate.
448 * sanitizer_common/Makefile.in: Regenerate.
449 * tsan/Makefile.in: Regenerate.
450 * ubsan/Makefile.in: Regenerate.
452 2019-11-26 Jakub Jelinek <jakub@redhat.com>
455 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
456 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
457 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
459 2019-11-20 Martin Liska <mliska@suse.cz>
461 * libtool-version: Remove.
462 * lsan/libtool-version: Upate comment to not mention libmudflap.
463 * tsan/libtool-version: Likewise.
464 * ubsan/libtool-version: Likewise.
466 2019-11-13 Andreas Schwab <schwab@suse.de>
468 * configure.tgt (riscv64-*-linux*): Enable build.
470 2019-11-07 Martin Liska <mliska@suse.cz>
472 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
474 2019-11-07 Martin Liska <mliska@suse.cz>
476 * merge.sh: Update to use llvm-project git repository.
477 * all source files: Merge from upstream
478 82588e05cc32bb30807e480abd4e689b0dee132a.
480 2019-11-05 Martin Liska <mliska@suse.cz>
482 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
483 summary for all sanitizers, but we want to have UBSAN without it.
485 2019-11-05 Martin Liska <mliska@suse.cz>
487 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
489 (CheckODRViolationViaPoisoning): Likewise.
490 (RegisterGlobal): Likewise.
491 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
493 * asan/asan_mapping.h: Likewise.
494 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
495 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
496 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
497 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
498 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
499 * tsan/tsan_rtl_ppc64.S: Likewise.
500 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
501 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
502 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
503 (struct CFICheckFailData): Likewise.
504 (RECOVERABLE): Likewise.
505 * ubsan/ubsan_platform.h: Likewise.
507 2019-11-05 Martin Liska <mliska@suse.cz>
509 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
510 tsan_interceptors_posix.
511 * tsan/Makefile.in: Regenerate.
513 2019-11-05 Martin Liska <mliska@suse.cz>
515 * all source files: Merge from upstream r375507.
517 2019-10-22 Tamar Christina <tamar.christina@arm.com>
520 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
521 Cherry-pick compiler-rt revision r375220.
523 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
525 * configure: Regenerate.
527 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
528 Mickaël Guêné <mickael.guene@st.com>
530 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
531 unsupported in this configuration.
533 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
535 * LOCAL_PATCHES: Add r274585.
537 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
539 * asan/asan_interceptors.h: Reapply r272406.
541 2019-08-15 Martin Liska <mliska@suse.cz>
543 * LOCAL_PATCHES: Add r274540
545 2019-08-15 Martin Liska <mliska@suse.cz>
547 * tsan/tsan_rtl_ppc64.S: Reapply.
549 2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
552 * Makefile.in: Regenerated.
553 * aclocal.m4: Likewise.
554 * asan/Makefile.in: Likewise.
555 * configure: Likewise.
556 * interception/Makefile.in: Likewise.
557 * libbacktrace/Makefile.in: Likewise.
558 * lsan/Makefile.in: Likewise.
559 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
560 * sanitizer_common/Makefile.in: Regenerated.
561 * tsan/Makefile.in: Likewise.
562 * ubsan/Makefile.in: Likewise.
564 2019-08-14 Martin Liska <mliska@suse.cz>
566 * LOCAL_PATCHES: Refresh based on what was committed.
568 2019-08-14 Martin Liska <mliska@suse.cz>
570 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
572 (CheckODRViolationViaPoisoning): Likewise.
573 (RegisterGlobal): Likewise.
574 * asan/asan_mapping.h: Likewise.
575 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
576 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
577 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
578 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
579 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
580 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
581 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
582 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
583 (struct CFICheckFailData): Likewise.
584 (RECOVERABLE): Likewise.
585 * ubsan/ubsan_platform.h: Likewise.
587 2019-08-14 Martin Liska <mliska@suse.cz>
591 * All source files: Merge from upstream 368656.
593 2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
595 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
596 compiler-rt revision 363778.
598 2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
600 PR libsanitizer/87880
601 * asan/asan_interceptors.h:
602 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
603 * asan/Makefile.am (DEFS): Add
604 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
605 * asan/Makefile.in: Regenerated.
606 * asan/libtool-version: Bump version.
608 2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
611 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
613 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
615 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
617 * configure: Regenerate.
619 2019-04-08 Martin Liska <mliska@suse.cz>
621 * LOCAL_PATCHES: Add revision.
623 2019-04-08 Martin Liska <mliska@suse.cz>
626 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
627 Reapply patch from r259664.
628 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
631 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
634 Merge from LLVM revision 355980
635 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
636 (kAllocatorSize): Likewise.
637 (DefaultSizeClassMap): Likewise.
638 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
639 (SHADOW_OFFSET): Define for SPARC.
640 Include asan_mapping_sparc64.h for SPARC 64-bit.
641 * asan/asan_mapping_sparc64.h: New file.
643 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
646 Merge from LLVM revision 355979
647 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
648 copy Global objects for SPARC with GCC.
650 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
653 Merge from LLVM revision 355978
654 * sanitizer_common/sanitizer_allocator_primary32.h
655 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
656 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
657 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
658 (ComputeRegionId): Likewise.
659 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
660 appropriate value for SPARC 64-bit.
661 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
663 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
665 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
668 Merge from LLVM revision 355965
669 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
671 (GetPcSpBp): Likewise.
672 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
674 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
675 Define to 1 for SPARC.
676 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
677 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
678 Adjust the PC address for SPARC with GCC.
680 2019-03-06 Martin Liska <mliska@suse.cz>
683 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
684 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
685 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
688 2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
691 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
692 Cherry-pick compiler-rt r354451.
694 2019-01-23 Jonny Grant <jg@jguk.org>
697 * libsanitizer/README.gcc: Update to current https URLs.
699 2018-12-27 Martin Liska <mliska@suse.cz>
702 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
704 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
706 2018-11-09 Martin Liska <mliska@suse.cz>
708 * LOCAL_PATCHES: Include one local patch.
710 2018-11-09 Martin Liska <mliska@suse.cz>
713 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
714 1 when CPU_COUNT macro is not defined.
716 2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
718 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
719 Disable ASLR for powerpc64 when using sanitizers.
721 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
724 * configure.tgt (sparc*-*-solaris2.11*): Enable.
725 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
727 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
730 * sanitizer_common/sanitizer_internal_defs.h,
731 sanitizer_common/sanitizer_platform_limits_solaris.h,
732 sanitizer_common/sanitizer_procmaps_solaris.cc,
733 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
735 * sanitizer_common/sanitizer_stacktrace.h,
736 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
737 compiler-rt revision 346155.
739 2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
741 * LOCAL_PATCHES: Add r258525.
742 * sanitizer_common/sanitizer_stacktrace.cc
743 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
744 for PowerPC SYSV ABI.
746 2018-11-05 Martin Liska <mliska@suse.cz>
749 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
752 2018-10-31 Joseph Myers <joseph@codesourcery.com>
755 * Makefile.am: Include multilib.am.
756 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
757 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
758 interception/Makefile.in, libbacktrace/Makefile.in,
759 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
760 ubsan/Makefile.in: Regenerate.
762 2018-10-31 Martin Liska <mliska@suse.cz>
764 * LOCAL_PATCHES: Update to installed revisions.
766 2018-10-31 Martin Liska <mliska@suse.cz>
768 * ubsan/ubsan_platform.h: Add ifndef as we define it with
769 -DCAN_SANITIZE_UB CFLAGS.
771 2018-10-31 Martin Liska <mliska@suse.cz>
773 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
775 2018-10-31 Martin Liska <mliska@suse.cz>
777 * LOCAL_PATCHES: Update patch list.
778 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
779 patches from GCC's trunk.
780 (CheckODRViolationViaPoisoning): Likewise.
781 (RegisterGlobal): Likewise.
782 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
783 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
784 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
785 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
786 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
787 (struct CFICheckFailData): Likewise.
788 (RECOVERABLE): Likewise.
790 2018-10-31 Martin Liska <mliska@suse.cz>
792 * config.h.in: Regenerate.
793 * configure: Likewise.
794 * sanitizer_common/Makefile.am: Include new files, remove old
796 * sanitizer_common/Makefile.in: Regenerate.
797 * ubsan/Makefile.am: Include new files, remove old
799 * ubsan/Makefile.in: Likewise.
800 * asan/Makefile.am: Include new files.
801 * asan/Makefile.in: Regenerate.
803 2018-10-31 Martin Liska <mliska@suse.cz>
805 * All source files: Merge from upstream 345033.
807 2018-10-31 Martin Liska <mliska@suse.cz>
809 * HOWTO_MERGE: Enhance documentation.
810 * merge.sh: Add support for git as well.
812 2018-08-02 Martin Liska <mliska@suse.cz>
815 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
816 Cherry-pick compiler-rt revision 338606.
818 2018-08-01 Marek Polacek <polacek@redhat.com>
821 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
822 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
825 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
828 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
829 compiler-rt revision 337603.
830 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
833 2018-07-05 Jakub Jelinek <jakub@redhat.com>
836 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
839 * Makefile.am: Reorder libs.
840 * Makefile.in: Regenerate.
841 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
842 libsanitizer_ubsan.la.
843 * asan/Makefile.in: Regenerate.
844 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
845 * ubsan/Makefile.in: Regenerate.
847 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
850 * Makefile.am: Reorder libs.
851 * Makefile.in: Regenerate.
852 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
853 libsanitizer_ubsan.la.
854 * asan/Makefile.in: Regenerate.
855 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
856 * ubsan/Makefile.in: Regenerate.
858 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
861 * configure.ac: Check for lstat and readlink.
862 * configure, config.h.in: Rebuild.
864 2018-05-31 Matthias Klose <doko@ubuntu.com>
867 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
868 SIZEOF_STRUCT_USTAT for 32bit sparc.
870 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
873 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
874 include <sys/ustat.h> for Linux.
875 (SIZEOF_STRUCT_USTAT): New.
876 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
878 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
880 * configure.tgt <mips*-*-linux*>: Enable build, excluding
883 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
884 take the shortcut to #include <sys/stat.h> for MIPS instead of
885 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
886 or wrong to get the kernel struct stat.
887 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
888 Correct the value for 32-bit non-android struct_kernel_stat_sz.
890 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
891 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
893 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
895 * configure: Regenerated.
897 2018-04-19 Jakub Jelinek <jakub@redhat.com>
899 * configure: Regenerated.
901 2018-04-18 David Malcolm <dmalcolm@redhat.com>
904 * configure: Regenerate.
906 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
909 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
910 from 0xa0000000000ULL to ~(uptr)0.
912 2018-03-19 Jakub Jelinek <jakub@redhat.com>
915 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
916 Define if not defined.
917 (DL_INTERNAL_FUNCTION): Don't define.
918 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
919 determine at runtime whether to use regparm(3), stdcall calling
920 convention for older glibcs or normal calling convention for
921 newer glibcs for call to _dl_get_tls_static_info.
923 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
925 * sanitizer_common/sanitizer_stacktrace.cc
926 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
927 for PowerPC SYSV ABI.
929 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
932 * configure: Regenerate.
934 2018-02-05 Martin Liska <mliska@suse.cz>
936 * asan/asan_flags.inc: Cherry-pick upstream r323995.
937 * asan/asan_report.cc (CheckForInvalidPointerPair):
938 Cherry-pick upstream r323995.
940 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
943 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
946 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
949 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
951 2017-12-05 Martin Liska <mliska@suse.cz>
952 Jakub Jelinek <jakub@redhat.com>
954 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
955 * asan/asan_descriptions.h: Likewise.
956 * asan/asan_report.cc: Likewise.
957 * asan/asan_thread.cc: Likewise.
958 * asan/asan_thread.h: Likewise.
960 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
962 * acinclude.m4: Add enable.m4 and cet.m4.
963 * Makefile.in: Regenerate.
964 * asan/Makefile.am: Update AM_CXXFLAGS.
965 * asan/Makefile.in: Regenerate.
966 * configure: Likewise.
967 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
968 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
969 * interception/Makefile.am: Update AM_CXXFLAGS.
970 * interception/Makefile.in: Regenerate.
971 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
972 * libbacktrace/Makefile.in: Regenerate.
973 * lsan/Makefile.am: Update AM_CXXFLAGS.
974 * lsan/Makefile.in: Regenerate.
975 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
977 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
978 Add _CET_ENDBR macro.
979 * sanitizer_common/Makefile.in: Regenerate.
980 * tsan/Makefile.am: Update AM_CXXFLAGS.
981 * tsan/Makefile.in: Regenerate.
982 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
983 * ubsan/Makefile.am: Update AM_CXXFLAGS.
984 * ubsan/Makefile.in: Regenerate.
986 2017-11-08 Jakub Jelinek <jakub@redhat.com>
989 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
990 and ubsan_signals_standalone.cc.
991 * ubsan/Makefile.in: Regenerated.
993 2017-11-05 Tom de Vries <tom@codesourcery.com>
996 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
998 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1000 2017-10-20 Jakub Jelinek <jakub@redhat.com>
1003 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1004 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1006 (lsan_files): Remove lsan_preinit.cc.
1007 (liblsan_preinit.o): New rule.
1008 * lsan/Makefile.in: Regenerated.
1010 2017-10-19 Jakub Jelinek <jakub@redhat.com>
1012 * All source files: Merge from upstream 315899.
1013 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1014 include/sanitizer/tsan_interface.h.
1015 * asan/libtool-version: Bump the libasan SONAME.
1016 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1017 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1018 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1019 sancov_flags.cc, sanitizer_allocator_checks.cc,
1020 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1021 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1022 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
1023 and sanitizer_coverage_mapping_libcdep.cc.
1024 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1025 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1026 (ubsan_files): Add ubsan_init_standalone.cc and
1027 ubsan_signals_standalone.cc.
1028 * ubsan/libtool-version: Bump the libubsan SONAME.
1029 * asan/Makefile.in: Regenerate.
1030 * lsan/Makefile.in: Regenerate.
1031 * sanitizer_common/Makefile.in: Regenerate.
1032 * tsan/Makefile.in: Regenerate.
1033 * ubsan/Makefile.in: Regenerate.
1035 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
1038 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1039 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1041 2017-10-02 Jakub Jelinek <jakub@redhat.com>
1043 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1046 2017-08-07 Jakub Jelinek <jakub@redhat.com>
1048 * include/system/sys/ptrace.h: New file.
1050 2017-07-28 Jakub Jelinek <jakub@redhat.com>
1053 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1054 * ubsan/ubsan_checks.inc: Likewise.
1055 * ubsan/ubsan_handlers.h: Likewise.
1057 2017-07-14 Jakub Jelinek <jakub@redhat.com>
1060 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1061 * sanitizer_common/sanitizer_linux.cc: Likewise.
1062 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1063 * tsan/tsan_platform_linux.cc: Likewise.
1065 2017-04-06 Martin Liska <mliska@suse.cz>
1068 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1069 Cherry-pick upstream r299036.
1071 2017-03-22 Jakub Jelinek <jakub@redhat.com>
1074 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1076 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
1079 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1082 2017-02-11 Jakub Jelinek <jakub@redhat.com>
1085 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1087 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1089 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1091 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1094 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
1097 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1098 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1100 2017-01-31 Jakub Jelinek <jakub@redhat.com>
1102 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1104 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1106 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1109 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1110 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1112 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1113 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1114 * tsan/tsan_ppc_regs.h: Likewise.
1115 * tsan/tsan_rtl_aarch64.S: Likewise.
1116 * tsan/tsan_rtl_mips64.S: Likewise.
1117 * tsan/tsan_rtl_ppc64.S: Likewise.
1119 2017-01-21 Jakub Jelinek <jakub@redhat.com>
1122 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1123 instead of cat to get version from BASE-VER file.
1124 * asan/Makefile.am (gcc_version): Likewise.
1125 * ubsan/Makefile.am (gcc_version): Likewise.
1126 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1127 * lsan/Makefile.am (gcc_version): Likewise.
1128 * tsan/Makefile.am (gcc_version): Likewise.
1129 * interception/Makefile.in: Regenerated.
1130 * asan/Makefile.in: Regenerated.
1131 * ubsan/Makefile.in: Regenerated.
1132 * sanitizer_common/Makefile.in: Regenerated.
1133 * lsan/Makefile.in: Regenerated.
1134 * tsan/Makefile.in: Regenerated.
1136 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1139 * configure.ac: Add GCC_BASE_VER.
1140 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1141 get version from BASE-VER file.
1142 * libbacktrace/Makefile.in: Regenerated.
1143 * interception/Makefile.in: Regenerated.
1144 * asan/Makefile.in: Regenerated.
1145 * ubsan/Makefile.in: Regenerated.
1146 * configure: Regenerated.
1147 * sanitizer_common/Makefile.in: Regenerated.
1148 * lsan/Makefile.in: Regenerated.
1149 * Makefile.in: Regenerated.
1150 * tsan/Makefile.in: Regenerated.
1152 2017-01-10 James Clarke <jrtc27@jrtc27.com>
1155 * sanitizer_common/sanitizer_platform_limits_posix.h
1156 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1158 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1160 * LOCAL_PATCHES: Add revision.
1162 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1165 * sanitizer_common/sanitizer_platform_limits_posix.h
1166 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1169 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1171 * LOCAL_PATCHES: Remove r242480.
1173 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1175 * LOCAL_PATCHES: Add revision.
1177 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
1180 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1181 compiler supports blocks extension.
1183 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1185 * LOCAL_PATCHES: Add revision.
1187 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1190 * tsan/tsan_rtl.cc: Add missing attribute.
1192 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1194 * LOCAL_PATCHES: New file.
1196 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1199 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1200 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
1201 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1202 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1204 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1205 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1206 (__ubsan_handle_cfi_bad_type): Export function.
1207 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1208 * HOWTO_MERGE: Update documentation.
1210 2016-11-15 Matthias Klose <doko@ubuntu.com>
1212 * configure: Regenerate.
1214 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1216 * asan/asan_globals.cc (RegisterGlobal): Do not call
1217 CheckODRViolationViaPoisoning.
1218 (CheckODRViolationViaPoisoning): Remove.
1220 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1222 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1223 compiled code with GCC when extracting the caller PC for ARM if no
1224 valid frame pointer is available.
1226 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1230 2014-10-14 David S. Miller <davem@davemloft.net>
1232 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1233 Define at __kernel_time_t, as needed for sparc.
1234 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1235 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1236 (__sanitizer): Define struct___old_kernel_stat_sz,
1237 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1238 (__sanitizer_ipc_perm): Adjust for sparc targets.
1239 (__sanitizer_shmid_ds): Likewsie.
1240 (__sanitizer_sigaction): Likewise.
1241 (IOC_SIZE): Likewsie.
1243 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1245 * All source files: Merge from upstream 285547.
1246 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1248 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1249 * asan/Makefile.am (asan_files): Add new files.
1250 * asan/Makefile.in: Regenerate.
1251 * ubsan/Makefile.in: Likewise.
1252 * lsan/Makefile.in: Likewise.
1253 * tsan/Makefile.am (tsan_files): Add new files.
1254 * tsan/Makefile.in: Regenerate.
1255 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1256 (EXTRA_libsanitizer_common_la_SOURCES): Define.
1257 (libsanitizer_common_la_LIBADD): Likewise.
1258 (libsanitizer_common_la_DEPENDENCIES): Likewise.
1259 * sanitizer_common/Makefile.in: Regenerate.
1260 * interception/Makefile.in: Likewise.
1261 * libbacktace/Makefile.in: Likewise.
1262 * Makefile.in: Likewise.
1263 * configure: Likewise.
1264 * merge.sh: Handle builtins/assembly.h merging.
1265 * builtins/assembly.h: New file.
1266 * asan/libtool-version: Bump the libasan SONAME.
1268 2016-09-21 Jakub Jelinek <jakub@redhat.com>
1271 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1273 2016-09-05 Jakub Jelinek <jakub@redhat.com>
1276 * asan/asan_globals.cc: Cherry-pick upstream r280657.
1278 2016-08-12 Jakub Jelinek <jakub@redhat.com>
1281 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1282 * tsan/tsan_rtl_aarch64.S: Likewise.
1284 2016-07-23 Alan Modra <amodra@gmail.com>
1286 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
1287 * configure.ac: Don't substitute OBSTACK_DEFS.
1288 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1289 * tsan/Makefile.am: Likewise.
1290 * configure: Regenerate.
1291 * Makefile.in: Regenerate.
1292 * asan/Makefile.in: Regenerate.
1293 * interception/Makefile.in: Regenerate.
1294 * libbacktrace/Makefile.in: Regenerate.
1295 * lsan/Makefile.in: Regenerate.
1296 * sanitizer_common/Makefile.in: Regenerate.
1297 * tsan/Makefile.in: Regenerate.
1298 * ubsan/Makefile.in: Regenerate.
1300 2016-05-17 Jakub Jelinek <jakub@redhat.com>
1303 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1306 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
1309 * asan/asan_mac.cc: Cherry pick upstream r266868.
1311 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1314 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1315 InitializeInterceptors): Cherry pick upstream r258119.
1317 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
1319 * configure.ac: Replace the hard-coded -ldl requirement for
1320 link_sanitizer_common with a configure time check for -ldl.
1321 * configure: Regenerate.
1323 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1325 * include/system/linux/asm/ptrace.h: Move to ...
1326 * include/system/asm/ptrace.h: ... this.
1328 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1330 * include/system/linux/asm/ptrace.h: New header.
1332 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1334 * All source files: Merge from upstream r253555.
1335 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1336 dependences for TSan for aarch64-*-linux* targets.
1337 * tsan/Makefile.am: Add new source files.
1338 * configure: Regenerate.
1339 * tsan/Makefile.in: Likewise.
1341 2015-11-09 Alan Modra <amodra@gmail.com>
1343 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1344 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1346 * configure.ac: Substitute OBSTACK_DEFS.
1347 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1348 * tsan/Makefile.am: Likewise.
1349 * configure: Regenerate.
1350 * Makefile.in: Regenerate.
1351 * asan/Makefile.in: Regenerate.
1352 * interception/Makefile.in: Regenerate.
1353 * libbacktrace/Makefile.in: Regenerate.
1354 * lsan/Makefile.in: Regenerate.
1355 * sanitizer_common/Makefile.in: Regenerate.
1356 * tsan/Makefile.in: Regenerate.
1357 * ubsan/Makefile.in: Regenerate.
1359 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1362 * configure.ac (link_sanitizer_common): Link against librt only if it
1363 contains shm_open, required by sanitizers.
1364 (CXX_ABI_NEEDED): Remove variable.
1365 * configure: Regenerate.
1366 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1367 * ubsan/Makefile.in: Regenerate.
1369 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1371 * HOWTO_MERGE: New file.
1373 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1375 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1376 compiled code with GCC when extracting the caller PC for ARM if no
1377 valid frame pointer is available.
1379 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1383 2015-02-20 Jakub Jelinek <jakub@redhat.com>
1385 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1386 support until it is rewritten upstream.
1388 * c-c++-common/asan/pr63888.c: New test.
1390 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1394 2014-10-14 David S. Miller <davem@davemloft.net>
1396 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1397 Define at __kernel_time_t, as needed for sparc.
1398 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1399 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1400 (__sanitizer): Define struct___old_kernel_stat_sz,
1401 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1402 (__sanitizer_ipc_perm): Adjust for sparc targets.
1403 (__sanitizer_shmid_ds): Likewsie.
1404 (__sanitizer_sigaction): Likewise.
1405 (IOC_SIZE): Likewsie.
1407 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1409 * All source files: Merge from upstream r250806.
1410 * configure.ac (link_sanitizer_common): Add -lrt flag.
1411 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1412 Set USE_CXX_ABI_FLAG=true for darwin.
1413 * asan/Makefile.am (asan_files): Add new files.
1414 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1415 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1416 * asan/Makefile.in: Regenerate.
1417 * ubsan/Makefile.am (ubsan_files): Add new files.
1418 (DEFS): Add DCAN_SANITIZE_UB=1.
1419 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1420 * ubsan/Makefile.in: Regenerate.
1421 * tsan/Makefile.am (tsan_files): Add new files.
1422 (DEFS): Add DCAN_SANITIZE_UB=0.
1423 * tsan/Makefile.in: Regenerate.
1424 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1425 * sanitizer_common/Makefile.in: Regenerate.
1426 * asan/libtool-version: Bump the libasan SONAME.
1428 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1431 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1433 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1436 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1439 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1442 * sanitizer_common/sanitizer_stacktrace.cc
1443 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1444 find the link register at an offset of 16 from the base of the
1445 caller's stack frame.
1447 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1449 * Makefile.in: Regenerated with automake-1.11.6.
1450 * aclocal.m4: Likewise.
1451 * asan/Makefile.in: Likewise.
1452 * configure: Likewise.
1453 * interception/Makefile.in: Likewise.
1454 * libbacktrace/Makefile.in: Likewise.
1455 * lsan/Makefile.in: Likewise.
1456 * sanitizer_common/Makefile.in: Likewise.
1457 * tsan/Makefile.in: Likewise.
1458 * ubsan/Makefile.in: Likewise.
1460 2015-04-13 Yury Gribov <y.gribov@samsung.com>
1463 * sanitizer_common/sanitizer_platform.h: Cherry pick
1465 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1466 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1467 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1468 * Makefile.in: Regenerate.
1469 * asan/Makefile.in: Regenerate.
1470 * config.h.in: Regenerate.
1471 * configure: Regenerate.
1472 * interception/Makefile.in: Regenerate.
1473 * libbacktrace/Makefile.in: Regenerate.
1474 * lsan/Makefile.in: Regenerate.
1475 * sanitizer_common/Makefile.in: Regenerate.
1476 * tsan/Makefile.in: Regenerate.
1477 * ubsan/Makefile.in: Regenerate.
1480 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1483 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1485 * sanitizer_common/sanitizer_platform.h: Likewise.
1486 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1488 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1490 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1491 upstream 224508 and 224755.
1493 2015-03-09 Jakub Jelinek <jakub@redhat.com>
1497 2014-10-14 David S. Miller <davem@davemloft.net>
1499 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1500 Define at __kernel_time_t, as needed for sparc.
1501 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1502 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1503 (__sanitizer): Define struct___old_kernel_stat_sz,
1504 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1505 (__sanitizer_ipc_perm): Adjust for sparc targets.
1506 (__sanitizer_shmid_ds): Likewsie.
1507 (__sanitizer_sigaction): Likewise.
1508 (IOC_SIZE): Likewsie.
1510 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1512 * configure.tgt: Enable build on powerpc*le-*-linux.
1514 2015-02-23 Jakub Jelinek <jakub@redhat.com>
1517 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1518 support until it is rewritten upstream.
1520 2015-01-26 Matthias Klose <doko@ubuntu.com>
1522 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1523 * configure: Regenerate.
1525 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1527 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1528 * configure: Regenerate.
1529 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1531 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1533 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1534 * configure: Regenerate.
1535 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1536 (libtsan_la_DEPENDENCIES): Likewise.
1537 * Makefile.in: Regenerate.
1538 * asan/Makefile.in: Regenerate.
1539 * interception/Makefile.in: Regenerate.
1540 * libbacktrace/Makefile.in: Regenerate.
1541 * lsan/Makefile.in: Regenerate.
1542 * sanitizer_common/Makefile.in: Regenerate.
1543 * tsan/Makefile.in: Regenerate.
1544 * ubsan/Makefile.in: Regenerate.
1546 2015-01-22 Jakub Jelinek <jakub@redhat.com>
1548 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1550 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1553 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1555 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1556 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1558 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1561 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1563 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1566 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1569 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1571 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1572 upstream r224518 and r224519.
1573 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1576 2014-12-16 Jakub Jelinek <jakub@redhat.com>
1578 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1579 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1580 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1583 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1586 * configure: Regenerated.
1588 2014-11-21 Jakub Jelinek <jakub@redhat.com>
1591 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1592 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1594 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
1596 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1597 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1598 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1599 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1600 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1601 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1602 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1603 * sanitizer_common/Makefile.in: Regenerate.
1604 * asan/Makefile.in: Ditto.
1605 * lsan/Makefile.in: Ditto.
1606 * interception/Makefile.in: Ditto.
1607 * tsan/Makefile.in: Ditto.
1608 * libbacktrace/Makefile.in: Ditto.
1609 * ubsan/Makefile.in: Ditto.
1611 2014-11-13 Kostya Serebryany <kcc@google.com>
1613 * All source files: Merge from upstream r221802.
1614 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1615 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1616 with 'start' to follow the new interface.
1617 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1618 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1619 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1620 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1621 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1623 (AM_CXXFLAGS): Added -std=c++11.
1624 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1625 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1626 * asan/Makefile.in: Regenerate.
1627 * interception/Makefile.in: Regenerate.
1628 * libbacktrace/Makefile.in: Regenerate.
1629 * lsan/Makefile.in: Regenerate.
1630 * sanitizer_common/Makefile.in: Regenerate.
1631 * tsan/Makefile.in: Regenerate.
1632 * ubsan/Makefile.in: Regenerate.
1634 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1637 * configure: Regenerate.
1639 2014-10-16 Martin Liska <mliska@suse.cz>
1641 * asan/Makefile.am: IPA ICF pass is disabled.
1642 * asan/Makefile.in: Likewise.
1644 2014-10-14 David S. Miller <davem@davemloft.net>
1646 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1647 Define at __kernel_time_t, as needed for sparc.
1648 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1649 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1650 (__sanitizer): Define struct___old_kernel_stat_sz,
1651 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1652 (__sanitizer_ipc_perm): Adjust for sparc targets.
1653 (__sanitizer_shmid_ds): Likewsie.
1654 (__sanitizer_sigaction): Likewsie.
1655 (IOC_SIZE): Likewsie.
1657 2014-10-14 Jakub Jelinek <jakub@redhat.com>
1659 * ubsan/Makefile.am (DEFS): Add -DPIC.
1660 * ubsan/Makefile.in: Regenerated.
1662 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1664 * configure.tgt: Enable build on aarch64*-linux.
1666 2014-09-19 Kostya Serebryany <kcc@google.com>
1668 * All source files: Merge from upstream r218156.
1669 * asan/Makefile.am (asan_files): Added new files.
1670 * asan/Makefile.in: Regenerate.
1671 * ubsan/Makefile.am (ubsan_files): Added new files.
1672 * ubsan/Makefile.in: Regenerate.
1673 * tsan/Makefile.am (tsan_files): Added new files.
1674 * tsan/Makefile.in: Regenerate.
1675 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1677 * sanitizer_common/Makefile.in: Regenerate.
1678 * asan/libtool-version: Bump the libasan SONAME.
1680 2014-09-10 Jakub Jelinek <jakub@redhat.com>
1682 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1683 upstream r215485, r217389, r217391 and r217400.
1685 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1687 * sanitizer_common/sanitizer_common_interceptors.inc:
1688 Cherry pick upstream r211008.
1690 2014-06-11 Richard Biener <rguenther@suse.de>
1692 * asan/asan_linux.cc: Cherry pick upstream r210012.
1694 2014-05-30 Jakub Jelinek <jakub@redhat.com>
1696 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1698 * sanitizer_common/sanitizer_common.h: Likewise.
1699 * asan/asan_mapping.h: Likewise.
1700 * asan/asan_linux.cc: Likewise.
1701 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1702 * sanitizer_common/sanitizer_allocator.h: Likewise.
1704 2014-05-23 Marek Polacek <polacek@redhat.com>
1706 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1707 floating-point types.
1709 2014-05-22 Kostya Serebryany <kcc@google.com>
1711 * All source files: Merge from upstream r209283.
1712 * asan/Makefile.am (asan_files): Added new files.
1713 * asan/Makefile.in: Regenerate.
1714 * tsan/Makefile.am (tsan_files): Added new files.
1715 * tsan/Makefile.in: Regenerate.
1716 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1718 * sanitizer_common/Makefile.in: Regenerate.
1720 2014-05-14 Yury Gribov <y.gribov@samsung.com>
1723 * Makefile.am (nodist_saninclude_HEADERS): Install
1725 * Makefile.in: Regenerate.
1727 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1729 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1730 Add ../../libbacktrace/sort.c.
1731 * libbacktrace/Makefile.in: Regenerate.
1732 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1734 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1736 * configure.tgt: Unsupported for little endian PowerPC for now.
1738 2014-02-04 Jakub Jelinek <jakub@redhat.com>
1741 * tsan/tsan_flags.cc (__tsan_default_options): Add
1742 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1743 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1746 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1747 sanitizer_atomic.h and unistd.h.
1748 (kThreadDescriptorSize): Made static, remove initializer and const,
1749 change type to atomic_uintptr_t.
1750 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1751 query glibc version, compute kThreadDescriptorSize depending on
1752 glibc version minor number.
1753 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1754 kThreadDescriptorSize directly.
1756 2014-01-23 Yury Gribov <y.gribov@samsung.com>
1757 Jakub Jelinek <jakub@redhat.com>
1760 * configure.ac: Check for missing syscalls.
1761 * Makefile.am: Likewise.
1762 * configure: Regenerate.
1763 * Makefile.in: Regenerate.
1765 2014-01-09 Jakub Jelinek <jakub@redhat.com>
1767 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1768 (LibbacktraceSymbolizer::Demangle): New declaration.
1769 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1770 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1772 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1773 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1774 (struct CplusV3DemangleData): New type.
1775 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1776 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1777 SymbolizeDataCallback): Use CplusV3Demangle.
1778 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1779 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1780 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1781 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1782 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1783 cplus_demangle_init_info, cplus_demangle_mangled_name,
1784 cplus_demangle_operators, cplus_demangle_print,
1785 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1786 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1787 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1789 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1790 (memcmp, strncmp): Redefine.
1791 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1792 ../../libiberty/cp-demangle.c.
1793 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1794 __asan_internal_strncmp): New functions.
1795 * sanitizer_common/Makefile.in: Regenerated.
1796 * libbacktrace/Makefile.in: Regenerated.
1797 * configure: Regenerated.
1798 * configure.ac: Regenerated.
1799 * config.h.in: Regenerated.
1801 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1802 -isystem $(top_srcdir)/include/system.
1803 * sanitizer_common/Makefile.in: Regenerated.
1804 * include/system/linux/aio_abi.h: New header.
1805 * include/system/linux/mroute.h: New header.
1806 * include/system/linux/mroute6.h: New header.
1807 * include/system/linux/perf_event.h: New header.
1808 * include/system/linux/types.h: New header.
1811 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1812 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1813 and -I/-include flags.
1814 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1815 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1816 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1817 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1818 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1819 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1821 * README.gcc: Document that also lsan and ubsan are
1822 maintained in compiler-rt upstream.
1823 * libbacktrace/Makefile.am: New file.
1824 * libbacktrace/backtrace-rename.h: New file.
1825 * libbacktrace/backtrace-supported.h.in: New file.
1826 * libbacktrace/bridge.cc: New file.
1827 * configure.ac: Add tests needed for libbacktrace build
1828 within libsanitizer.
1829 * sanitizer_common/Makefile.in: Regenerated.
1830 * lsan/Makefile.in: Regenerated.
1831 * tsan/Makefile.in: Regenerated.
1832 * ubsan/Makefile.in: Regenerated.
1833 * libbacktrace/Makefile.in: Generated.
1834 * config.h.in: Regenerated.
1835 * configure: Regenerated.
1836 * Makefile.in: Regenerated.
1837 * interception/Makefile.in: Regenerated.
1838 * asan/Makefile.in: Regenerated.
1839 * aclocal.m4: Regenerated.
1841 2013-12-19 Kostya Serebryany <kcc@google.com>
1843 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1844 workaround for missing definition of EOWNERDEAD, backport
1845 from upstream r196779.
1847 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1849 * sanitizer_common/sanitizer_platform_limits_posix.h
1850 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1851 (__sanitizer_clock_t): Use long long for x32.
1853 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1855 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1856 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1857 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1859 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1861 * configure.ac (link_sanitizer_common): Add -lm.
1862 * configure: Regenerated.
1864 2013-12-05 Kostya Serebryany <kcc@google.com>
1866 * All source files: Merge from upstream r196489.
1867 * merge.sh: Add *.S to the list of merged files.
1869 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1872 * Makefile.am (gcc_version): Added gcc_version.
1873 * Makefile.in: Regenerate.
1875 2013-12-05 Kostya Serebryany <kcc@google.com>
1877 * All source files: Merge from upstream r196090.
1878 * tsan/Makefile.am (tsan_files): Added new files.
1879 * tsan/Makefile.in: Regenerate.
1880 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1881 * sanitizer_common/Makefile.in: Regenerate.
1882 * lsan/Makefile.am (lsan_files): Added new files.
1883 * lsan/Makefile.in: Regenerate.
1885 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1886 Yury Gribov <y.gribov@samsung.com>
1889 * libsanitizer.spec.in: Add spec file to hold link flags for
1890 various sanitizer libs.
1891 * configure.ac: Check whether clock_* routines come from librt.
1892 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1894 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1895 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1896 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1897 * asan/Makefile.in: Regenerate.
1898 * interception/Makefile.in: Regenerate.
1899 * lsan/Makefile.in: Regenerate.
1900 * sanitizer_common/Makefile.in: Regenerate.
1901 * tsan/Makefile.in: Regenerate.
1902 * ubsan/Makefile.in: Regenerate.
1903 * Makefile.in: Regenerate.
1904 * configure: Regenerate.
1906 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1907 Yury Gribov <y.gribov@samsung.com>
1910 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1912 * ubsan/Makefile.in: Regenerated.
1914 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1917 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1918 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1919 * configure: Regenerated.
1920 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1921 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1922 * lsan/Makefile.in: Regenerated.
1924 2013-11-22 Mike Stump <mikestump@comcast.net>
1926 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1927 change from upstream to fix build.
1929 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1932 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1933 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1934 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1935 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1936 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1937 * asan/Makefile.in: Regenerate.
1938 * interception/Makefile.in: Regenerate.
1939 * tsan/Makefile.in: Regenerate.
1940 * lsan/Makefile.in: Regenerate.
1941 * sanitizer_common/Makefile.in: Regenerate.
1943 2013-11-15 Kostya Serebryany <kcc@google.com>
1946 Backport from upstream revision 194573
1947 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1948 back to the original functions in the common libsanitizer
1949 interceptors and the __cxa_atexit() interceptor on Darwin.
1951 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1954 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1955 ifdef out more source.
1957 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1959 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1960 ifdef out almost the whole source.
1961 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1963 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1966 * sanitizer_common/sanitizer_platform_limits_posix.cc
1967 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1970 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1973 * sanitizer_common/sanitizer_platform_limits_linux.cc
1974 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1976 * sanitizer_common/sanitizer_platform_limits_posix.h
1977 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1979 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1981 (__sanitizer___kernel_gid_t): Likewise.
1982 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1985 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1988 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1989 2 64-bit integers to save and restore fn and arg. Properly load
1990 newtls/child_tidptr into r8/r10.
1992 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1995 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1996 internal_munmap, internal_open, internal_read, internal_write,
1997 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1998 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1999 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2000 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2002 2013-11-04 Kostya Serebryany <kcc@google.com>
2004 * All source files: Merge from upstream r191666.
2005 * merge.sh: Added lsan.
2006 * configure.ac (AC_CONFIG_FILES): Added lsan.
2007 * Makefile.am (SUBDIRS): Added lsan.
2008 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2009 * asan/Makefile.am (asan_files): Added new files.
2010 (libasan_la_LIBADD): Added a dependency on lsan.
2011 * lsan/Makefile.am: New file.
2012 * asan/Makefile.in: Regenerate.
2013 * lsan/Makefile.in: Regenerate.
2014 * Makefile.in: Regenerate.
2015 * configure: Regenerate.
2016 * sanitizer_common/Makefile.in: Regenerate.
2018 2013-09-20 Alan Modra <amodra@gmail.com>
2020 * configure: Regenerate.
2022 2013-09-01 Iain Sandoe <iain@codesourcery.com>
2024 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2025 libinterception.la for Darwin.
2026 * ubsan/Makefile.in: Regenerate.
2028 2013-08-30 Jakub Jelinek <jakub@redhat.com>
2030 * Makefile.am (SUBDIRS): Add ubsan.
2031 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2032 * merge.sh: Merge ubsan.
2033 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2034 * sanitizer_common/sanitizer_printf.cc: Likewise.
2035 * sanitizer_common/sanitizer_common.h: Likewise.
2036 * ubsan: New directory. Import ubsan runtime from llvm.
2038 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
2040 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2041 Cherry pick upstream r182922.
2043 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
2045 * configure.tgt: Add ARM pattern.
2047 2013-03-22 Jakub Jelinek <jakub@redhat.com>
2050 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2051 * Makefile.in: Regenerated.
2052 * asan/Makefile.in: Regenerated.
2053 * interception/Makefile.in: Regenerated.
2054 * sanitizer_common/Makefile.in: Regenerated.
2055 * tsan/Makefile.in: Regenerated.
2057 2013-02-28 Jakub Jelinek <jakub@redhat.com>
2059 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2060 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2063 2013-02-22 Jakub Jelinek <jakub@redhat.com>
2066 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2068 (libasan_preinit.o): Depend on asan_preinit.o.
2069 * asan/Makefile.in: Regenerated.
2070 * asan/asan_preinit.cc: New file, synced from upstream.
2071 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2073 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
2075 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2076 dynamic/asan_interceptors_dynamic.cc.
2077 * asan/Makefile.in: Regenerated.
2078 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2080 2013-02-21 Jakub Jelinek <jakub@redhat.com>
2082 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2083 defined. Add used attribute.
2085 2013-02-21 Kostya Serebryany <kcc@google.com>
2087 * All source files: Merge from upstream r175733.
2088 * sanitizer_common/Makefile.am: Added a new file.
2089 * sanitizer_common/Makefile.in: Regenerated.
2091 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
2094 * interception/interception.h (OFF_T): Merged from upstream
2097 2013-02-13 Jakub Jelinek <jakub@redhat.com>
2099 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2101 2013-02-13 Kostya Serebryany <kcc@google.com>
2104 * All source files: Merge from upstream r175049.
2105 * interception/Makefile.am: added include path.
2106 * interception/Makefile.in: Regenerated.
2108 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
2110 * configure.tgt: Disable build on darwin9 and earlier.
2112 2013-01-23 Kostya Serebryany <kcc@google.com>
2115 * All source files: Merge from upstream r173241.
2116 * merge.sh: Support merging .inc files.
2118 2013-01-16 Jakub Jelinek <jakub@redhat.com>
2120 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2121 -Wno-c99-extensions.
2122 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2123 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2124 * sanitizer_common/Makefile.in: Regenerated.
2125 * interception/Makefile.in: Regenerated.
2126 * asan/Makefile.in: Regenerated.
2128 2013-01-10 Wei Mi <wmi@google.com>
2131 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2132 * tsan/Makefile.in: Regenerated.
2133 * tsan/tsan_rtl.h: Enable HACKY_CALL.
2135 2013-01-10 Kostya Serebryany <kcc@google.com>
2137 * All source files: Merge from upstream r171973.
2138 * sanitizer_common/Makefile.am: Added new files.
2139 * asan/Makefile.am: Likewise.
2140 * tsan/Makefile.am: Likewise.
2141 * sanitizer_common/Makefile.in: Regenerated.
2142 * asan/Makefile.in: Likewise.
2143 * tsan/Makefile.in: Likewise.
2145 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
2147 * asan/Makefile.am (libasan_la_LIBADD): Replace
2148 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2149 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2150 * Makefile.in: Regenerated.
2151 * configure: Likewise.
2152 * asan/Makefile.in: Likewise.
2153 * interception/Makefile.in: Likewise.
2154 * sanitizer_common/Makefile.in: Likewise.
2155 * tsan/Makefile.in: Likewise.
2157 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2159 * Makefile.am (AM_MAKEFLAGS): Restored.
2160 * interception/Makefile.am: Likewise.
2161 * sanitizer_common/Makefile.am: Likewise.
2162 * tsan/Makefile.am: Likewise.
2163 * Makefile.in: Regenerated.
2164 * asan/Makefile.in: Likewise.
2165 * interception/Makefile.in: Likewise.
2166 * sanitizer_common/Makefile.in: Likewise.
2167 * tsan/Makefile.in: Likewise.
2169 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2171 * Makefile.am (MAKEOVERRIDES): Restored.
2172 * asan/Makefile.am: Likewise.
2173 * interception/Makefile.am: Likewise.
2174 * sanitizer_common/Makefile.am: Likewise.
2175 * tsan/Makefile.am: Likewise.
2176 * Makefile.in: Regenerated.
2177 * asan/Makefile.in: Likewise.
2178 * interception/Makefile.in: Likewise.
2179 * sanitizer_common/Makefile.in: Likewise.
2180 * tsan/Makefile.in: Likewise.
2182 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2184 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2185 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2186 * Makefile.in: Regenerated.
2187 * configure: Likewise.
2188 * asan/Makefile.in: Likewise.
2189 * interception/Makefile.in: Likewise.
2190 * sanitizer_common/Makefile.in: Likewise.
2191 * tsan/Makefile.in: Likewise.
2193 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2195 * Makefile.am (AM_MAKEFLAGS): Removed.
2196 (MAKEOVERRIDES): Likewise.
2197 * asan/Makefile.am: Likewise.
2198 * interception/Makefile.am: Likewise.
2199 * sanitizer_common/Makefile.am: Likewise.
2200 * tsan/Makefile.am: Likewise.
2201 * Makefile.in: Regenerated.
2202 * asan/Makefile.in: Likewise.
2203 * interception/Makefile.in: Likewise.
2204 * sanitizer_common/Makefile.in: Likewise.
2205 * tsan/Makefile.in: Likewise.
2207 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
2210 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2211 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2212 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2213 (AM_MAKEFLAGS): Remove CC and CXX.
2214 * interception/Makefile.am: Likewise.
2215 * sanitizer_common/Makefile.am: Likewise.
2216 * tsan/Makefile.am: Likewise.
2217 * Makefile.in: Regenerated.
2218 * aclocal.m4: Likewise.
2219 * configure: Likewise.
2220 * asan/Makefile.in: Likewise.
2221 * interception/Makefile.in: Likewise.
2222 * sanitizer_common/Makefile.in: Likewise.
2223 * tsan/Makefile.in: Likewise.
2225 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
2227 * configure.tgt: Enable build on powerpc*-linux.
2229 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
2232 * configure.ac: Set enable_static=no on darwin.
2233 * configure: Regenerated.
2235 2012-12-06 Kostya Serebryany <kcc@google.com>
2237 * All files: Merge from upstream r169392.
2239 2012-12-05 Kostya Serebryany <kcc@google.com>
2241 * All files: Merge from upstream r169371.
2243 2012-12-04 Kostya Serebryany <kcc@google.com>
2244 Jack Howarth <howarth@bromo.med.uc.edu>
2247 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2248 * Makefile.am: Don't build interception subdir when
2249 USING_MAC_INTERPOSE defined.
2250 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2251 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2252 Compile asan_interceptors_dynamic.cc but not libinterception
2253 when USING_MAC_INTERPOSE defined.
2254 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2255 * configure: Regenerated.
2256 * Makefile.in: Likewise.
2257 * asan/Makefile.in: Likewise.
2258 * interception/Makefile.in: Likewise.
2259 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2260 * asan/asan_mac.cc: Likewise.
2261 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2262 and use MISSING_BLOCKS_SUPPORT.
2263 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2264 * interception/mach_override/LICENSE.txt: Remove unused file.
2265 * interception/mach_override/mach_override.c: Likewise.
2266 * interception/mach_override/mach_override.h: Likewise.
2267 * interception/mach_override: Remove unused directory.
2269 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2271 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2272 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2273 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2275 (AM_MAKEFLAGS): Restore CC and CXX.
2276 * interception/Makefile.am: Likewise.
2277 * sanitizer_common/Makefile.am: Likewise.
2278 * tsan/Makefile.am: Likewise.
2279 * Makefile.in: Regenerated.
2280 * aclocal.m4: Likewise.
2281 * configure: Likewise.
2282 * asan/Makefile.in: Likewise.
2283 * interception/Makefile.in: Likewise.
2284 * sanitizer_common/Makefile.in: Likewise.
2285 * tsan/Makefile.in: Likewise.
2287 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2289 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2290 * configure.ac (ACX_NONCANONICAL_TARGET): New.
2291 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2293 (AM_MAKEFLAGS): Remove CC and CXX.
2294 * interception/Makefile.am: Likewise.
2295 * sanitizer_common/Makefile.am: Likewise.
2296 * tsan/Makefile.am: Likewise.
2297 * Makefile.in: Regenerated.
2298 * aclocal.m4: Likewise.
2299 * configure: Likewise.
2300 * asan/Makefile.in: Likewise.
2301 * interception/Makefile.in: Likewise.
2302 * sanitizer_common/Makefile.in: Likewise.
2303 * tsan/Makefile.in: Likewise.
2305 2012-11-27 Kostya Serebryany <kcc@google.com>
2307 * All files: Merge from upstream r168699.
2309 2012-11-24 Kostya Serebryany <kcc@google.com>
2310 Jack Howarth <howarth@bromo.med.uc.edu>
2312 * interception/mach_override/mach_override.c: Migrate from llvm.
2313 * interception/mach_override/mach_override.h: Likewise.
2314 * interception/mach_override/LICENSE.txt: Likewise.
2315 * configure.tgt: Add darwin to supported targets.
2316 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2317 * interception/Makefile.am: Compile mach_override.c when
2318 USING_MACH_OVERRIDE defined.
2319 * configure: Regenerated.
2320 * interception/Makefile.in: Likewise.
2322 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
2325 * tsan/Makefile.am (gcc_version): New.
2326 * tsan/Makefile.in: Regenerated.
2328 2012-11-23 Kostya Serebryany <kcc@google.com>
2330 * merge.sh: Support tsan, support added/removed files.
2331 * tsan/Makefile.am: Remove tsan_printf.cc.
2332 * tsan/Makefile.in: Regenerated.
2333 * other files: Merge from upstream r168514.
2335 2012-11-23 Kostya Serebryany <kcc@google.com>
2337 * merge.sh: New file.
2339 2012-11-23 Jakub Jelinek <jakub@redhat.com>
2341 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2342 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2343 automake conditional instead of !MULTISUBDIR32.
2344 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2345 for 64-bit multilib.
2346 * configure.ac: Check for void * size, source in configure.tgt,
2347 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2348 * configure: Regenerated.
2349 * Makefile.in: Regenerated.
2350 * tsan/Makefile.in: Regenerated.
2352 2012-11-22 Wei Mi <wmi@google.com>
2354 * tsan: New directory. Import tsan runtime from llvm.
2355 * configure.ac: Add 64 bits tsan build.
2356 * Makefile.am: Likewise.
2357 * configure: Regenerated.
2358 * Makefile.in: Likewise.
2360 2012-11-21 Kostya Serebryany <kcc@google.com>
2362 * README.gcc: Extend the README.gcc with mode details.
2364 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
2366 * sanitizer_common/sanitizer_linux.cc
2367 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2368 (internal_mmap): Use it.
2369 (internal_filesize): Likewise.
2371 2012-11-16 Tom Tromey <tromey@redhat.com>
2373 * configure.ac: Invoke AM_MAINTAINER_MODE.
2374 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2375 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2377 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2380 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2381 for hardware pointer.
2382 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2383 Replace uptr with uhwptr for stack unwind.
2385 2012-11-16 Dodji Seketeli <dodji@redhat.com>
2387 * configure.tgt: Enable build on sparc linux.
2389 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2391 * configure.ac: Properly set MULTISUBDIR.
2392 * asan/Makefile.am (gcc_version): New.
2393 * interception/Makefile.am (gcc_version): Likewise.
2394 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2395 * configure: Regenerated.
2396 * asan/Makefile.in: Likewise.
2397 * interception/Makefile.in: Likewise.
2398 * sanitizer_common/Makefile.in: Likewise.
2400 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2403 * configure.ac (--enable-version-specific-runtime-libs): New option.
2404 (AC_CANONICAL_SYSTEM): New.
2405 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2406 (toolexecdir): Support multilib.
2407 (toolexeclibdir): Likewise.
2408 (multilib_arg): New.
2409 * Makefile.in: Regenerated.
2410 * aclocal.m4: Likewise.
2411 * configure: Likewise.
2412 * asan/Makefile.in: Likewise.
2413 * interception/Makefile.in: Likewise.
2414 * sanitizer_common/Makefile.in: Likewise.
2416 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2419 Backport from upstream revision 167883
2420 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2421 __x86_64__ instead of __WORDSIZE.
2422 (internal_filesize): Likwise.
2424 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2426 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2427 * Makefile.in: Regenerated.
2428 * configure: Likewise.
2430 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2433 * acinclude.m4: New file.
2434 * Makefile.am (ACLOCAL_AMFLAGS): New.
2435 * configure.ac (AC_PREREQ): Set to 2.64.
2436 (AC_CONFIG_AUX_DIR): Set to "..".
2437 * Makefile.in: Regenerated.
2438 * aclocal.m4: Likewise.
2439 * configure: Likewise.
2440 * asan/Makefile.in: Likewise.
2441 * interception/Makefile.in: Likewise.
2442 * sanitizer_common/Makefile.in: Likewise.
2444 * config.guess: Removed.
2445 * config.sub: Likewise.
2446 * depcomp: Likewise.
2447 * install-sh: Likewise.
2448 * ltmain.sh: Likewise.
2449 * missing: Likewise.
2451 2012-11-13 Richard Henderson <rth@redhat.com>
2453 * configure.tgt: New file.
2455 2012-11-12 David S. Miller <davem@davemloft.net>
2457 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2459 2012-10-29 Wei Mi <wmi@google.com>
2461 Initial checkin: migrate asan runtime from llvm.