1 2024-01-19 Daniel Cederman <cederman@gaisler.com>
3 * sanitizer_common/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
4 * sanitizer_common/Makefile.in: Regenerate.
6 2024-01-17 YunQiang Su <yunqiang.su@cipunited.com>
8 * interception/interception.h (substitution_##func_name):
9 Use macro C_ASM_TAIL_CALL.
10 * sanitizer_common/sanitizer_asm.h: Define C_ASM_TAIL_CALL
11 for MIPS with help of t9.
13 2024-01-02 Andreas Schwab <schwab@suse.de>
15 * configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
17 2023-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19 * LOCAL_PATCHES: Update.
21 2023-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
24 * sanitizer_common/sanitizer_redefine_builtins.h: Check
27 2023-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
30 * configure.ac (libsanitizer_cv_as_sym_assign): Check for
31 assembler symbol assignment support.
32 * configure: Regenerate.
33 * asan/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
34 * Makefile.in, asan/Makefile.in, hwasan/Makefile.in,
35 interception/Makefile.in, libbacktrace/Makefile.in,
36 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
37 ubsan/Makefile.in: Regenerate.
39 2023-11-21 Jakub Jelinek <jakub@redhat.com>
42 * sanitizer_common/sanitizer_asm.h: Cherry-pick llvm-project revision
43 a855a16a02e76a0f4192c038bb64f3773947a2f7.
44 * interception/interception.h: Likewise.
46 2023-11-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
48 * asan/asan_mac.cpp: Protect Apple blocks behind the
49 MISSING_BLOCKS_SUPPORT macro.
51 2023-11-15 Jakub Jelinek <jakub@redhat.com>
53 * LOCAL_PATCHES: Update revisions.
55 2023-11-15 Jakub Jelinek <jakub@redhat.com>
57 * ubsan/ubsan_handlers_cxx.h (FunctionTypeMismatchData): Forward
59 (__ubsan_handle_function_type_mismatch_v1,
60 __ubsan_handle_function_type_mismatch_v1_abort): Declare.
61 * ubsan/ubsan_handlers_cxx.cpp (handleFunctionTypeMismatch,
62 __ubsan_handle_function_type_mismatch_v1,
63 __ubsan_handle_function_type_mismatch_v1_abort): New functions readded
64 for backwards compatibility from older ubsan.
65 * ubsan/ubsan_interface.inc (__ubsan_handle_function_type_mismatch_v1,
66 __ubsan_handle_function_type_mismatch_v1_abort): Readd.
68 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
70 * asan/Makefile.am: Handle Darwin rpaths.
71 * asan/Makefile.in: Regenerate.
72 * configure: Regenerate.
73 * hwasan/Makefile.am: Handle Darwin rpaths.
74 * hwasan/Makefile.in: Regenerate.
75 * lsan/Makefile.am: Handle Darwin rpaths.
76 * lsan/Makefile.in: Regenerate.
77 * tsan/Makefile.am: Handle Darwin rpaths.
78 * tsan/Makefile.in: Regenerate.
79 * ubsan/Makefile.am: Handle Darwin rpaths.
80 * ubsan/Makefile.in: Regenerate.
82 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
84 * configure: Regenerate.
86 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
88 * configure: Regenerate.
90 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
92 * configure: Regenerate.
94 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
96 * configure: Regenerate.
98 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
100 * configure: Regenerate.
102 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
104 * configure: Regenerate.
106 2023-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
108 * sanitizer_common/sanitizer_stacktrace_sparc.cpp,
109 sanitizer_common/sanitizer_unwind_linux_libcdep.cpp: Cherry-pick
110 llvm-project revision 679c076ae446af81eba81ce9b94203a273d4b88a.
112 2023-04-30 Martin Liska <mliska@suse.cz>
115 * hwasan/Makefile.am: Depend on liblsan.
116 * hwasan/Makefile.in: Re-generate.
118 2023-04-30 Martin Liska <mliska@suse.cz>
120 * LOCAL_PATCHES: Update revision.
122 2023-04-26 Martin Liska <mliska@suse.cz>
124 * LOCAL_PATCHES: Change revision.
126 2023-04-18 Iain Sandoe <iain@sandoe.co.uk>
128 * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
129 to locate dyld in the shared cache.
131 2023-01-31 H.J. Lu <hjl.tools@gmail.com>
134 * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
135 to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
136 (__interceptor_sigsetjmp): Add a local alias,
137 .Linterceptor_sigsetjmp.
139 2023-01-31 Martin Liska <mliska@suse.cz>
141 * configure: Regenerate.
143 2023-01-31 YunQiang Su <yunqiang.su@cipunited.com>
145 * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
147 * configure: Regenerate.
149 2023-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
151 * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
152 llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
154 2022-12-19 Jakub Jelinek <jakub@redhat.com>
156 * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
158 (hwasan_files): Remove hwasan_preinit.cpp.
159 (libhwasan_preinit.o): Copy from hwasan_preinit.o.
160 * hwasan/Makefile.in: Regenerated.
162 2022-12-13 Jakub Jelinek <jakub@redhat.com>
165 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
167 2022-12-09 liuhongt <hongtao.liu@intel.com>
169 * configure.tgt: Enable hwasan for x86-64.
171 2022-12-04 Iain Sandoe <iain@sandoe.co.uk>
173 * configure.tgt: Restrict build to Darwin 16 or newer.
175 2022-11-15 Martin Liska <mliska@suse.cz>
177 * LOCAL_PATCHES: Update local patches.
179 2022-11-15 Martin Liska <mliska@suse.cz>
181 * merge.sh: Use git clone --depth 1.
183 2022-10-19 Martin Liska <mliska@suse.cz>
185 * configure: Regenerate.
187 2022-10-18 Florian Weimer <fweimer@redhat.com>
189 * configure.ac (sanitizer_supported): Include <unistd.h> for
191 * configure: Regenerate.
193 2022-10-12 Martin Liska <mliska@suse.cz>
195 * configure: Regenerate.
197 2022-10-11 Olivier Hainque <hainque@adacore.com>
198 Olivier Hainque <hainque@adacore.com>
200 * configure: Regenerate.
202 2022-10-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
205 * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
206 llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
208 2022-09-04 Iain Sandoe <iain@sandoe.co.uk>
210 * LOCAL_PATCHES: Update.
212 2022-08-31 Xi Ruoyao <xry111@xry111.site>
214 * configure.tgt: Allow loongarch64-*-linux*.
216 2022-08-30 Martin Liska <mliska@suse.cz>
218 * LOCAL_PATCHES: Update.
220 2022-08-30 Martin Liska <mliska@suse.cz>
222 * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
223 * sanitizer_common/Makefile.in: Regenerate.
225 2022-07-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
228 * sanitizer_common/sanitizer_linux_libcdep.cpp,
229 sanitizer_common/sanitizer_solaris.h:: Cherry-pick
230 llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
232 2022-05-05 Martin Liska <mliska@suse.cz>
234 * LOCAL_PATCHES: Update.
236 2022-05-04 Martin Liska <mliska@suse.cz>
238 * tsan/Makefile.am: Update Makefile.am files.
239 * hwasan/Makefile.am: Likewise.
240 * sanitizer_common/Makefile.am: Likewise.
241 * Makefile.in: Re-generate.
242 * asan/Makefile.in: Likewise.
243 * hwasan/Makefile.in: Likewise.
244 * interception/Makefile.in: Likewise.
245 * libbacktrace/Makefile.in: Likewise.
246 * lsan/Makefile.in: Likewise.
247 * sanitizer_common/Makefile.in: Likewise.
248 * tsan/Makefile.in: Likewise.
249 * ubsan/Makefile.in: Likewise.
251 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
253 * configure.tgt: Enable build on mips*64*-*-linux*.
255 2022-03-14 Xi Ruoyao <xry111@mengyan1223.wang>
257 * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
258 include sanitizer_atomic_clang_mips.h for O32.
260 2022-02-15 Jakub Jelinek <jakub@redhat.com>
262 * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
263 llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
265 2022-02-03 David Seifert <soap@gentoo.org>
266 Jakub Jelinek <jakub@redhat.com>
268 * configure.ac: Support --disable-werror.
269 * aclocal.m4: Include also ../config/warnings.m4.
270 * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
271 * configure: Regenerate.
272 * Makefile.in: Regenerate.
273 * asan/Makefile.in: Regenerate.
274 * hwasan/Makefile.in: Regenerate.
275 * interception/Makefile.in: Regenerate.
276 * libbacktrace/Makefile.in: Regenerate.
277 * lsan/Makefile.in: Regenerate.
278 * sanitizer_common/Makefile.in: Regenerate.
279 * tsan/Makefile.in: Regenerate.
280 * ubsan/Makefile.in: Regenerate.
282 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
284 * LOCAL_PATCHES: Add commit 70b043845d7.
286 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
289 * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
291 (__tsan_report_race_thunk): Likewise.
293 2021-11-28 Andrew Pinski <apinski@marvell.com>
296 * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
297 * Makefile.in: Regenerate.
298 * asan/Makefile.in: Likewise.
299 * hwasan/Makefile.in: Likewise.
300 * interception/Makefile.in: Likewise.
301 * libbacktrace/Makefile.in: Likewise.
302 * lsan/Makefile.in: Likewise.
303 * sanitizer_common/Makefile.in: Likewise.
304 * tsan/Makefile.in: Likewise.
305 * ubsan/Makefile.in: Likewise.
307 2021-11-18 Jakub Jelinek <jakub@redhat.com>
310 * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
311 of sanitizer_platform_limits_freebsd.cpp.
312 * sanitizer_common/Makefile.in: Regenerated.
314 2021-11-13 H.J. Lu <hjl.tools@gmail.com>
316 * LOCAL_PATCHES: Update to the corresponding revision.
318 2021-11-04 Martin Liska <mliska@suse.cz>
320 * LOCAL_PATCHES: Update git revision.
322 2021-10-08 H.J. Lu <hjl.tools@gmail.com>
325 * asan/Makefile.am (AM_CCASFLAGS): New. Set to $(EXTRA_ASFLAGS).
326 * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
327 * interception/Makefile.am (AM_CCASFLAGS): Likewise.
328 * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
329 * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
330 * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
331 * asan/Makefile.in: Regenerate.
332 * hwasan/Makefile.in: Likewise.
333 * interception/Makefile.in: Likewise.
334 * lsan/Makefile.in: Likewise.
335 * tsan/Makefile.in: Likewise.
336 * ubsan/Makefile.in: Likewise.
338 2021-10-06 H.J. Lu <hjl.tools@gmail.com>
340 * LOCAL_PATCHES: Update to the corresponding revision.
342 2021-10-01 H.J. Lu <hjl.tools@gmail.com>
344 * LOCAL_PATCHES: Update to the corresponding revision.
346 2021-08-11 Jakub Jelinek <jakub@redhat.com>
348 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
349 llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
351 2021-08-03 Mosè Giordano <mose@gnu.org>
354 * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
356 2021-07-28 Ilya Leoshkevich <iii@linux.ibm.com>
358 * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
361 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
363 * asan/libtool-version: Bump version.
364 * tsan/libtool-version: Likewise.
366 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
368 * LOCAL_PATCHES: Update to the corresponding revision.
370 2021-05-21 Tamar Christina <tamar.christina@arm.com>
373 * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
374 llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
375 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
376 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
378 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
380 * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
382 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
384 * sanitizer_common/sanitizer_mac.cpp : Check for the
385 availability of __builtin_os_log_format before trying to
386 include a header depending on it.
387 (OS_LOG_DEFAULT): New.
388 (os_log_error): Define to a fall-back using an older API.
390 2021-05-13 Martin Liska <mliska@suse.cz>
392 * LOCAL_PATCHES: Update to the corresponding revision.
394 2021-04-17 Jakub Jelinek <jakub@redhat.com>
397 * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
398 llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
399 and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
401 2021-03-08 Martin Liska <mliska@suse.cz>
404 * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
406 (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
407 * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
408 * sanitizer_common/sanitizer_common_interceptors.inc
409 (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
410 (INIT_REGEX): Likewise.
411 * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
414 2021-01-26 Martin Liska <mliska@suse.cz>
417 * lsan/Makefile.am: Add missing lsan_posix.cpp file.
418 * lsan/Makefile.in: Likewise.
420 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
422 * configure: Re-generate.
424 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
427 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
429 * configure: Regenerate.
431 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
433 * configure: Regenerate.
435 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
437 * LOCAL_PATCHES: Add one commit.
439 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
441 * Makefile.am: Condition Build hwasan directory.
442 * Makefile.in: Regenerate.
443 * configure: Regenerate.
444 * configure.ac: Set HWASAN_SUPPORTED based on target
446 * configure.tgt: Likewise.
448 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
450 * Makefile.am: Build libhwasan.
451 * Makefile.in: Build libhwasan.
452 * asan/Makefile.in: Build libhwasan.
453 * configure: Build libhwasan.
454 * configure.ac: Build libhwasan.
455 * hwasan/Makefile.am: New file.
456 * hwasan/Makefile.in: New file.
457 * hwasan/libtool-version: New file.
458 * interception/Makefile.in: Build libhwasan.
459 * libbacktrace/Makefile.in: Build libhwasan.
460 * libsanitizer.spec.in: Build libhwasan.
461 * lsan/Makefile.in: Build libhwasan.
462 * sanitizer_common/Makefile.in: Build libhwasan.
463 * tsan/Makefile.in: Build libhwasan.
464 * ubsan/Makefile.in: Build libhwasan.
466 2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
468 * configure.tgt: Allow x86_64 Darwin2x.
470 2020-11-13 Martin Liska <mliska@suse.cz>
472 * LOCAL_PATCHES: Update to the latest commit.
474 2020-10-19 Martin Liska <mliska@suse.cz>
476 * LOCAL_PATCHES: Add one commit.
478 2020-10-18 Iain Sandoe <iain@sandoe.co.uk>
480 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
481 macros are defined where the macOS SDK does not contain
483 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
486 2020-10-16 Martin Liska <mliska@suse.cz>
488 * LOCAL_PATCHES: Update revision.
490 2020-09-21 Ian Lance Taylor <iant@golang.org>
492 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
494 (backtrace_syminfo_to_full_callback): Define.
495 (backtrace_syminfo_to_full_error_callback): Define.
497 2020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
499 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
500 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
502 2020-06-09 Martin Liska <mliska@suse.cz>
504 * asan/Makefile.am: Replace gnu++11 with gnu++14.
505 * interception/Makefile.am: Likewise.
506 * libbacktrace/Makefile.am: Likewise.
507 * lsan/Makefile.am: Likewise.
508 * sanitizer_common/Makefile.am: Likewise.
509 * tsan/Makefile.am: Likewise.
510 * ubsan/Makefile.am: Likewise.
511 * asan/Makefile.in: Regenerate.
512 * interception/Makefile.in: Likewise.
513 * libbacktrace/Makefile.in: Likewise.
514 * lsan/Makefile.in: Likewise.
515 * sanitizer_common/Makefile.in: Likewise.
516 * tsan/Makefile.in: Likewise.
517 * ubsan/Makefile.in: Likewise.
519 2020-06-02 Martin Liska <mliska@suse.cz>
521 * LOCAL_PATCHES: Update hash of local patches.
523 2020-06-02 Martin Liska <mliska@suse.cz>
525 * MERGE: Merge from master.
527 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
530 * configure: Regenerated.
532 2020-05-29 Martin Liska <mliska@suse.cz>
534 * HOWTO_MERGE: Do not mention not existing argument.
535 * README.gcc: Update LLVM repository location.
537 2020-05-26 Martin Liska <mliska@suse.cz>
539 * LOCAL_PATCHES: Use git hash instead of SVN id.
540 * merge.sh: Use git instead of VCS. Update paths
541 relative to upstream git repository.
543 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
546 * configure: Regenerated.
548 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
550 * configure: Regenerated.
552 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
554 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
556 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
558 * sanitizer_common/Makefile.am: Add
559 sanitizer_platform_limits_freebsd.cpp.
560 * sanitizer_common/Makefile.in: Regenerate.
562 2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
565 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
566 default only for Darwin versions greater than 12 (macOS 10.8).
568 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
570 * configure.ac: Handle `--with-toolexeclibdir='.
571 * Makefile.in: Regenerate.
572 * aclocal.m4: Regenerate.
573 * configure: Regenerate.
574 * asan/Makefile.in: Regenerate.
575 * interception/Makefile.in: Regenerate.
576 * libbacktrace/Makefile.in: Regenerate.
577 * lsan/Makefile.in: Regenerate.
578 * sanitizer_common/Makefile.in: Regenerate.
579 * tsan/Makefile.in: Regenerate.
580 * ubsan/Makefile.in: Regenerate.
582 2019-11-26 Jakub Jelinek <jakub@redhat.com>
585 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
586 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
587 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
589 2019-11-20 Martin Liska <mliska@suse.cz>
591 * libtool-version: Remove.
592 * lsan/libtool-version: Upate comment to not mention libmudflap.
593 * tsan/libtool-version: Likewise.
594 * ubsan/libtool-version: Likewise.
596 2019-11-13 Andreas Schwab <schwab@suse.de>
598 * configure.tgt (riscv64-*-linux*): Enable build.
600 2019-11-07 Martin Liska <mliska@suse.cz>
602 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
604 2019-11-07 Martin Liska <mliska@suse.cz>
606 * merge.sh: Update to use llvm-project git repository.
607 * all source files: Merge from upstream
608 82588e05cc32bb30807e480abd4e689b0dee132a.
610 2019-11-05 Martin Liska <mliska@suse.cz>
612 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
613 summary for all sanitizers, but we want to have UBSAN without it.
615 2019-11-05 Martin Liska <mliska@suse.cz>
617 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
619 (CheckODRViolationViaPoisoning): Likewise.
620 (RegisterGlobal): Likewise.
621 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
623 * asan/asan_mapping.h: Likewise.
624 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
625 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
626 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
627 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
628 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
629 * tsan/tsan_rtl_ppc64.S: Likewise.
630 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
631 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
632 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
633 (struct CFICheckFailData): Likewise.
634 (RECOVERABLE): Likewise.
635 * ubsan/ubsan_platform.h: Likewise.
637 2019-11-05 Martin Liska <mliska@suse.cz>
639 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
640 tsan_interceptors_posix.
641 * tsan/Makefile.in: Regenerate.
643 2019-11-05 Martin Liska <mliska@suse.cz>
645 * all source files: Merge from upstream r375507.
647 2019-10-22 Tamar Christina <tamar.christina@arm.com>
650 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
651 Cherry-pick compiler-rt revision r375220.
653 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
655 * configure: Regenerate.
657 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
658 Mickaël Guêné <mickael.guene@st.com>
660 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
661 unsupported in this configuration.
663 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
665 * LOCAL_PATCHES: Add r274585.
667 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
669 * asan/asan_interceptors.h: Reapply r272406.
671 2019-08-15 Martin Liska <mliska@suse.cz>
673 * LOCAL_PATCHES: Add r274540
675 2019-08-15 Martin Liska <mliska@suse.cz>
677 * tsan/tsan_rtl_ppc64.S: Reapply.
679 2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
682 * Makefile.in: Regenerated.
683 * aclocal.m4: Likewise.
684 * asan/Makefile.in: Likewise.
685 * configure: Likewise.
686 * interception/Makefile.in: Likewise.
687 * libbacktrace/Makefile.in: Likewise.
688 * lsan/Makefile.in: Likewise.
689 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
690 * sanitizer_common/Makefile.in: Regenerated.
691 * tsan/Makefile.in: Likewise.
692 * ubsan/Makefile.in: Likewise.
694 2019-08-14 Martin Liska <mliska@suse.cz>
696 * LOCAL_PATCHES: Refresh based on what was committed.
698 2019-08-14 Martin Liska <mliska@suse.cz>
700 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
702 (CheckODRViolationViaPoisoning): Likewise.
703 (RegisterGlobal): Likewise.
704 * asan/asan_mapping.h: Likewise.
705 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
706 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
707 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
708 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
709 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
710 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
711 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
712 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
713 (struct CFICheckFailData): Likewise.
714 (RECOVERABLE): Likewise.
715 * ubsan/ubsan_platform.h: Likewise.
717 2019-08-14 Martin Liska <mliska@suse.cz>
721 * All source files: Merge from upstream 368656.
723 2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
725 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
726 compiler-rt revision 363778.
728 2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
730 PR libsanitizer/87880
731 * asan/asan_interceptors.h:
732 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
733 * asan/Makefile.am (DEFS): Add
734 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
735 * asan/Makefile.in: Regenerated.
736 * asan/libtool-version: Bump version.
738 2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
741 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
743 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
745 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
747 * configure: Regenerate.
749 2019-04-08 Martin Liska <mliska@suse.cz>
751 * LOCAL_PATCHES: Add revision.
753 2019-04-08 Martin Liska <mliska@suse.cz>
756 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
757 Reapply patch from r259664.
758 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
761 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
764 Merge from LLVM revision 355980
765 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
766 (kAllocatorSize): Likewise.
767 (DefaultSizeClassMap): Likewise.
768 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
769 (SHADOW_OFFSET): Define for SPARC.
770 Include asan_mapping_sparc64.h for SPARC 64-bit.
771 * asan/asan_mapping_sparc64.h: New file.
773 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
776 Merge from LLVM revision 355979
777 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
778 copy Global objects for SPARC with GCC.
780 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
783 Merge from LLVM revision 355978
784 * sanitizer_common/sanitizer_allocator_primary32.h
785 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
786 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
787 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
788 (ComputeRegionId): Likewise.
789 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
790 appropriate value for SPARC 64-bit.
791 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
793 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
795 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
798 Merge from LLVM revision 355965
799 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
801 (GetPcSpBp): Likewise.
802 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
804 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
805 Define to 1 for SPARC.
806 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
807 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
808 Adjust the PC address for SPARC with GCC.
810 2019-03-06 Martin Liska <mliska@suse.cz>
813 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
814 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
815 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
818 2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
821 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
822 Cherry-pick compiler-rt r354451.
824 2019-01-23 Jonny Grant <jg@jguk.org>
827 * libsanitizer/README.gcc: Update to current https URLs.
829 2018-12-27 Martin Liska <mliska@suse.cz>
832 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
834 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
836 2018-11-09 Martin Liska <mliska@suse.cz>
838 * LOCAL_PATCHES: Include one local patch.
840 2018-11-09 Martin Liska <mliska@suse.cz>
843 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
844 1 when CPU_COUNT macro is not defined.
846 2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
848 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
849 Disable ASLR for powerpc64 when using sanitizers.
851 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
854 * configure.tgt (sparc*-*-solaris2.11*): Enable.
855 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
857 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
860 * sanitizer_common/sanitizer_internal_defs.h,
861 sanitizer_common/sanitizer_platform_limits_solaris.h,
862 sanitizer_common/sanitizer_procmaps_solaris.cc,
863 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
865 * sanitizer_common/sanitizer_stacktrace.h,
866 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
867 compiler-rt revision 346155.
869 2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
871 * LOCAL_PATCHES: Add r258525.
872 * sanitizer_common/sanitizer_stacktrace.cc
873 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
874 for PowerPC SYSV ABI.
876 2018-11-05 Martin Liska <mliska@suse.cz>
879 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
882 2018-10-31 Joseph Myers <joseph@codesourcery.com>
885 * Makefile.am: Include multilib.am.
886 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
887 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
888 interception/Makefile.in, libbacktrace/Makefile.in,
889 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
890 ubsan/Makefile.in: Regenerate.
892 2018-10-31 Martin Liska <mliska@suse.cz>
894 * LOCAL_PATCHES: Update to installed revisions.
896 2018-10-31 Martin Liska <mliska@suse.cz>
898 * ubsan/ubsan_platform.h: Add ifndef as we define it with
899 -DCAN_SANITIZE_UB CFLAGS.
901 2018-10-31 Martin Liska <mliska@suse.cz>
903 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
905 2018-10-31 Martin Liska <mliska@suse.cz>
907 * LOCAL_PATCHES: Update patch list.
908 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
909 patches from GCC's trunk.
910 (CheckODRViolationViaPoisoning): Likewise.
911 (RegisterGlobal): Likewise.
912 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
913 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
914 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
915 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
916 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
917 (struct CFICheckFailData): Likewise.
918 (RECOVERABLE): Likewise.
920 2018-10-31 Martin Liska <mliska@suse.cz>
922 * config.h.in: Regenerate.
923 * configure: Likewise.
924 * sanitizer_common/Makefile.am: Include new files, remove old
926 * sanitizer_common/Makefile.in: Regenerate.
927 * ubsan/Makefile.am: Include new files, remove old
929 * ubsan/Makefile.in: Likewise.
930 * asan/Makefile.am: Include new files.
931 * asan/Makefile.in: Regenerate.
933 2018-10-31 Martin Liska <mliska@suse.cz>
935 * All source files: Merge from upstream 345033.
937 2018-10-31 Martin Liska <mliska@suse.cz>
939 * HOWTO_MERGE: Enhance documentation.
940 * merge.sh: Add support for git as well.
942 2018-08-02 Martin Liska <mliska@suse.cz>
945 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
946 Cherry-pick compiler-rt revision 338606.
948 2018-08-01 Marek Polacek <polacek@redhat.com>
951 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
952 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
955 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
958 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
959 compiler-rt revision 337603.
960 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
963 2018-07-05 Jakub Jelinek <jakub@redhat.com>
966 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
969 * Makefile.am: Reorder libs.
970 * Makefile.in: Regenerate.
971 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
972 libsanitizer_ubsan.la.
973 * asan/Makefile.in: Regenerate.
974 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
975 * ubsan/Makefile.in: Regenerate.
977 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
980 * Makefile.am: Reorder libs.
981 * Makefile.in: Regenerate.
982 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
983 libsanitizer_ubsan.la.
984 * asan/Makefile.in: Regenerate.
985 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
986 * ubsan/Makefile.in: Regenerate.
988 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
991 * configure.ac: Check for lstat and readlink.
992 * configure, config.h.in: Rebuild.
994 2018-05-31 Matthias Klose <doko@ubuntu.com>
997 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
998 SIZEOF_STRUCT_USTAT for 32bit sparc.
1000 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
1003 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
1004 include <sys/ustat.h> for Linux.
1005 (SIZEOF_STRUCT_USTAT): New.
1006 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
1008 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
1010 * configure.tgt <mips*-*-linux*>: Enable build, excluding
1013 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
1014 take the shortcut to #include <sys/stat.h> for MIPS instead of
1015 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
1016 or wrong to get the kernel struct stat.
1017 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
1018 Correct the value for 32-bit non-android struct_kernel_stat_sz.
1020 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
1021 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
1023 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1025 * configure: Regenerated.
1027 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1029 * configure: Regenerated.
1031 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1034 * configure: Regenerate.
1036 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
1039 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
1040 from 0xa0000000000ULL to ~(uptr)0.
1042 2018-03-19 Jakub Jelinek <jakub@redhat.com>
1045 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
1046 Define if not defined.
1047 (DL_INTERNAL_FUNCTION): Don't define.
1048 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
1049 determine at runtime whether to use regparm(3), stdcall calling
1050 convention for older glibcs or normal calling convention for
1051 newer glibcs for call to _dl_get_tls_static_info.
1053 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
1055 * sanitizer_common/sanitizer_stacktrace.cc
1056 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
1057 for PowerPC SYSV ABI.
1059 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1062 * configure: Regenerate.
1064 2018-02-05 Martin Liska <mliska@suse.cz>
1066 * asan/asan_flags.inc: Cherry-pick upstream r323995.
1067 * asan/asan_report.cc (CheckForInvalidPointerPair):
1068 Cherry-pick upstream r323995.
1070 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1073 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1076 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1079 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
1081 2017-12-05 Martin Liska <mliska@suse.cz>
1082 Jakub Jelinek <jakub@redhat.com>
1084 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
1085 * asan/asan_descriptions.h: Likewise.
1086 * asan/asan_report.cc: Likewise.
1087 * asan/asan_thread.cc: Likewise.
1088 * asan/asan_thread.h: Likewise.
1090 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1092 * acinclude.m4: Add enable.m4 and cet.m4.
1093 * Makefile.in: Regenerate.
1094 * asan/Makefile.am: Update AM_CXXFLAGS.
1095 * asan/Makefile.in: Regenerate.
1096 * configure: Likewise.
1097 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
1098 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
1099 * interception/Makefile.am: Update AM_CXXFLAGS.
1100 * interception/Makefile.in: Regenerate.
1101 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
1102 * libbacktrace/Makefile.in: Regenerate.
1103 * lsan/Makefile.am: Update AM_CXXFLAGS.
1104 * lsan/Makefile.in: Regenerate.
1105 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
1107 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
1108 Add _CET_ENDBR macro.
1109 * sanitizer_common/Makefile.in: Regenerate.
1110 * tsan/Makefile.am: Update AM_CXXFLAGS.
1111 * tsan/Makefile.in: Regenerate.
1112 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
1113 * ubsan/Makefile.am: Update AM_CXXFLAGS.
1114 * ubsan/Makefile.in: Regenerate.
1116 2017-11-08 Jakub Jelinek <jakub@redhat.com>
1119 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
1120 and ubsan_signals_standalone.cc.
1121 * ubsan/Makefile.in: Regenerated.
1123 2017-11-05 Tom de Vries <tom@codesourcery.com>
1126 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
1128 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1130 2017-10-20 Jakub Jelinek <jakub@redhat.com>
1133 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1134 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1136 (lsan_files): Remove lsan_preinit.cc.
1137 (liblsan_preinit.o): New rule.
1138 * lsan/Makefile.in: Regenerated.
1140 2017-10-19 Jakub Jelinek <jakub@redhat.com>
1142 * All source files: Merge from upstream 315899.
1143 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1144 include/sanitizer/tsan_interface.h.
1145 * asan/libtool-version: Bump the libasan SONAME.
1146 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1147 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1148 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1149 sancov_flags.cc, sanitizer_allocator_checks.cc,
1150 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1151 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1152 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
1153 and sanitizer_coverage_mapping_libcdep.cc.
1154 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1155 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1156 (ubsan_files): Add ubsan_init_standalone.cc and
1157 ubsan_signals_standalone.cc.
1158 * ubsan/libtool-version: Bump the libubsan SONAME.
1159 * asan/Makefile.in: Regenerate.
1160 * lsan/Makefile.in: Regenerate.
1161 * sanitizer_common/Makefile.in: Regenerate.
1162 * tsan/Makefile.in: Regenerate.
1163 * ubsan/Makefile.in: Regenerate.
1165 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
1168 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1169 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1171 2017-10-02 Jakub Jelinek <jakub@redhat.com>
1173 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1176 2017-08-07 Jakub Jelinek <jakub@redhat.com>
1178 * include/system/sys/ptrace.h: New file.
1180 2017-07-28 Jakub Jelinek <jakub@redhat.com>
1183 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1184 * ubsan/ubsan_checks.inc: Likewise.
1185 * ubsan/ubsan_handlers.h: Likewise.
1187 2017-07-14 Jakub Jelinek <jakub@redhat.com>
1190 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1191 * sanitizer_common/sanitizer_linux.cc: Likewise.
1192 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1193 * tsan/tsan_platform_linux.cc: Likewise.
1195 2017-04-06 Martin Liska <mliska@suse.cz>
1198 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1199 Cherry-pick upstream r299036.
1201 2017-03-22 Jakub Jelinek <jakub@redhat.com>
1204 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1206 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
1209 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1212 2017-02-11 Jakub Jelinek <jakub@redhat.com>
1215 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1217 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1219 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1221 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1224 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
1227 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1228 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1230 2017-01-31 Jakub Jelinek <jakub@redhat.com>
1232 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1234 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1236 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1239 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1240 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1242 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1243 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1244 * tsan/tsan_ppc_regs.h: Likewise.
1245 * tsan/tsan_rtl_aarch64.S: Likewise.
1246 * tsan/tsan_rtl_mips64.S: Likewise.
1247 * tsan/tsan_rtl_ppc64.S: Likewise.
1249 2017-01-21 Jakub Jelinek <jakub@redhat.com>
1252 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1253 instead of cat to get version from BASE-VER file.
1254 * asan/Makefile.am (gcc_version): Likewise.
1255 * ubsan/Makefile.am (gcc_version): Likewise.
1256 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1257 * lsan/Makefile.am (gcc_version): Likewise.
1258 * tsan/Makefile.am (gcc_version): Likewise.
1259 * interception/Makefile.in: Regenerated.
1260 * asan/Makefile.in: Regenerated.
1261 * ubsan/Makefile.in: Regenerated.
1262 * sanitizer_common/Makefile.in: Regenerated.
1263 * lsan/Makefile.in: Regenerated.
1264 * tsan/Makefile.in: Regenerated.
1266 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1269 * configure.ac: Add GCC_BASE_VER.
1270 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1271 get version from BASE-VER file.
1272 * libbacktrace/Makefile.in: Regenerated.
1273 * interception/Makefile.in: Regenerated.
1274 * asan/Makefile.in: Regenerated.
1275 * ubsan/Makefile.in: Regenerated.
1276 * configure: Regenerated.
1277 * sanitizer_common/Makefile.in: Regenerated.
1278 * lsan/Makefile.in: Regenerated.
1279 * Makefile.in: Regenerated.
1280 * tsan/Makefile.in: Regenerated.
1282 2017-01-10 James Clarke <jrtc27@jrtc27.com>
1285 * sanitizer_common/sanitizer_platform_limits_posix.h
1286 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1288 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1290 * LOCAL_PATCHES: Add revision.
1292 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1295 * sanitizer_common/sanitizer_platform_limits_posix.h
1296 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1299 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1301 * LOCAL_PATCHES: Remove r242480.
1303 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1305 * LOCAL_PATCHES: Add revision.
1307 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
1310 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1311 compiler supports blocks extension.
1313 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1315 * LOCAL_PATCHES: Add revision.
1317 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1320 * tsan/tsan_rtl.cc: Add missing attribute.
1322 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1324 * LOCAL_PATCHES: New file.
1326 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1329 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1330 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
1331 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1332 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1334 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1335 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1336 (__ubsan_handle_cfi_bad_type): Export function.
1337 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1338 * HOWTO_MERGE: Update documentation.
1340 2016-11-15 Matthias Klose <doko@ubuntu.com>
1342 * configure: Regenerate.
1344 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1346 * asan/asan_globals.cc (RegisterGlobal): Do not call
1347 CheckODRViolationViaPoisoning.
1348 (CheckODRViolationViaPoisoning): Remove.
1350 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1352 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1353 compiled code with GCC when extracting the caller PC for ARM if no
1354 valid frame pointer is available.
1356 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1360 2014-10-14 David S. Miller <davem@davemloft.net>
1362 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1363 Define at __kernel_time_t, as needed for sparc.
1364 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1365 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1366 (__sanitizer): Define struct___old_kernel_stat_sz,
1367 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1368 (__sanitizer_ipc_perm): Adjust for sparc targets.
1369 (__sanitizer_shmid_ds): Likewsie.
1370 (__sanitizer_sigaction): Likewise.
1371 (IOC_SIZE): Likewsie.
1373 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1375 * All source files: Merge from upstream 285547.
1376 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1378 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1379 * asan/Makefile.am (asan_files): Add new files.
1380 * asan/Makefile.in: Regenerate.
1381 * ubsan/Makefile.in: Likewise.
1382 * lsan/Makefile.in: Likewise.
1383 * tsan/Makefile.am (tsan_files): Add new files.
1384 * tsan/Makefile.in: Regenerate.
1385 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1386 (EXTRA_libsanitizer_common_la_SOURCES): Define.
1387 (libsanitizer_common_la_LIBADD): Likewise.
1388 (libsanitizer_common_la_DEPENDENCIES): Likewise.
1389 * sanitizer_common/Makefile.in: Regenerate.
1390 * interception/Makefile.in: Likewise.
1391 * libbacktace/Makefile.in: Likewise.
1392 * Makefile.in: Likewise.
1393 * configure: Likewise.
1394 * merge.sh: Handle builtins/assembly.h merging.
1395 * builtins/assembly.h: New file.
1396 * asan/libtool-version: Bump the libasan SONAME.
1398 2016-09-21 Jakub Jelinek <jakub@redhat.com>
1401 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1403 2016-09-05 Jakub Jelinek <jakub@redhat.com>
1406 * asan/asan_globals.cc: Cherry-pick upstream r280657.
1408 2016-08-12 Jakub Jelinek <jakub@redhat.com>
1411 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1412 * tsan/tsan_rtl_aarch64.S: Likewise.
1414 2016-07-23 Alan Modra <amodra@gmail.com>
1416 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
1417 * configure.ac: Don't substitute OBSTACK_DEFS.
1418 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1419 * tsan/Makefile.am: Likewise.
1420 * configure: Regenerate.
1421 * Makefile.in: Regenerate.
1422 * asan/Makefile.in: Regenerate.
1423 * interception/Makefile.in: Regenerate.
1424 * libbacktrace/Makefile.in: Regenerate.
1425 * lsan/Makefile.in: Regenerate.
1426 * sanitizer_common/Makefile.in: Regenerate.
1427 * tsan/Makefile.in: Regenerate.
1428 * ubsan/Makefile.in: Regenerate.
1430 2016-05-17 Jakub Jelinek <jakub@redhat.com>
1433 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1436 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
1439 * asan/asan_mac.cc: Cherry pick upstream r266868.
1441 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1444 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1445 InitializeInterceptors): Cherry pick upstream r258119.
1447 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
1449 * configure.ac: Replace the hard-coded -ldl requirement for
1450 link_sanitizer_common with a configure time check for -ldl.
1451 * configure: Regenerate.
1453 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1455 * include/system/linux/asm/ptrace.h: Move to ...
1456 * include/system/asm/ptrace.h: ... this.
1458 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1460 * include/system/linux/asm/ptrace.h: New header.
1462 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1464 * All source files: Merge from upstream r253555.
1465 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1466 dependences for TSan for aarch64-*-linux* targets.
1467 * tsan/Makefile.am: Add new source files.
1468 * configure: Regenerate.
1469 * tsan/Makefile.in: Likewise.
1471 2015-11-09 Alan Modra <amodra@gmail.com>
1473 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1474 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1476 * configure.ac: Substitute OBSTACK_DEFS.
1477 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1478 * tsan/Makefile.am: Likewise.
1479 * configure: Regenerate.
1480 * Makefile.in: Regenerate.
1481 * asan/Makefile.in: Regenerate.
1482 * interception/Makefile.in: Regenerate.
1483 * libbacktrace/Makefile.in: Regenerate.
1484 * lsan/Makefile.in: Regenerate.
1485 * sanitizer_common/Makefile.in: Regenerate.
1486 * tsan/Makefile.in: Regenerate.
1487 * ubsan/Makefile.in: Regenerate.
1489 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1492 * configure.ac (link_sanitizer_common): Link against librt only if it
1493 contains shm_open, required by sanitizers.
1494 (CXX_ABI_NEEDED): Remove variable.
1495 * configure: Regenerate.
1496 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1497 * ubsan/Makefile.in: Regenerate.
1499 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1501 * HOWTO_MERGE: New file.
1503 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1505 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1506 compiled code with GCC when extracting the caller PC for ARM if no
1507 valid frame pointer is available.
1509 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1513 2015-02-20 Jakub Jelinek <jakub@redhat.com>
1515 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1516 support until it is rewritten upstream.
1518 * c-c++-common/asan/pr63888.c: New test.
1520 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1524 2014-10-14 David S. Miller <davem@davemloft.net>
1526 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1527 Define at __kernel_time_t, as needed for sparc.
1528 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1529 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1530 (__sanitizer): Define struct___old_kernel_stat_sz,
1531 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1532 (__sanitizer_ipc_perm): Adjust for sparc targets.
1533 (__sanitizer_shmid_ds): Likewsie.
1534 (__sanitizer_sigaction): Likewise.
1535 (IOC_SIZE): Likewsie.
1537 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1539 * All source files: Merge from upstream r250806.
1540 * configure.ac (link_sanitizer_common): Add -lrt flag.
1541 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1542 Set USE_CXX_ABI_FLAG=true for darwin.
1543 * asan/Makefile.am (asan_files): Add new files.
1544 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1545 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1546 * asan/Makefile.in: Regenerate.
1547 * ubsan/Makefile.am (ubsan_files): Add new files.
1548 (DEFS): Add DCAN_SANITIZE_UB=1.
1549 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1550 * ubsan/Makefile.in: Regenerate.
1551 * tsan/Makefile.am (tsan_files): Add new files.
1552 (DEFS): Add DCAN_SANITIZE_UB=0.
1553 * tsan/Makefile.in: Regenerate.
1554 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1555 * sanitizer_common/Makefile.in: Regenerate.
1556 * asan/libtool-version: Bump the libasan SONAME.
1558 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1561 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1563 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1566 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1569 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1572 * sanitizer_common/sanitizer_stacktrace.cc
1573 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1574 find the link register at an offset of 16 from the base of the
1575 caller's stack frame.
1577 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1579 * Makefile.in: Regenerated with automake-1.11.6.
1580 * aclocal.m4: Likewise.
1581 * asan/Makefile.in: Likewise.
1582 * configure: Likewise.
1583 * interception/Makefile.in: Likewise.
1584 * libbacktrace/Makefile.in: Likewise.
1585 * lsan/Makefile.in: Likewise.
1586 * sanitizer_common/Makefile.in: Likewise.
1587 * tsan/Makefile.in: Likewise.
1588 * ubsan/Makefile.in: Likewise.
1590 2015-04-13 Yury Gribov <y.gribov@samsung.com>
1593 * sanitizer_common/sanitizer_platform.h: Cherry pick
1595 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1596 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1597 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1598 * Makefile.in: Regenerate.
1599 * asan/Makefile.in: Regenerate.
1600 * config.h.in: Regenerate.
1601 * configure: Regenerate.
1602 * interception/Makefile.in: Regenerate.
1603 * libbacktrace/Makefile.in: Regenerate.
1604 * lsan/Makefile.in: Regenerate.
1605 * sanitizer_common/Makefile.in: Regenerate.
1606 * tsan/Makefile.in: Regenerate.
1607 * ubsan/Makefile.in: Regenerate.
1610 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1613 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1615 * sanitizer_common/sanitizer_platform.h: Likewise.
1616 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1618 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1620 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1621 upstream 224508 and 224755.
1623 2015-03-09 Jakub Jelinek <jakub@redhat.com>
1627 2014-10-14 David S. Miller <davem@davemloft.net>
1629 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1630 Define at __kernel_time_t, as needed for sparc.
1631 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1632 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1633 (__sanitizer): Define struct___old_kernel_stat_sz,
1634 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1635 (__sanitizer_ipc_perm): Adjust for sparc targets.
1636 (__sanitizer_shmid_ds): Likewsie.
1637 (__sanitizer_sigaction): Likewise.
1638 (IOC_SIZE): Likewsie.
1640 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1642 * configure.tgt: Enable build on powerpc*le-*-linux.
1644 2015-02-23 Jakub Jelinek <jakub@redhat.com>
1647 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1648 support until it is rewritten upstream.
1650 2015-01-26 Matthias Klose <doko@ubuntu.com>
1652 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1653 * configure: Regenerate.
1655 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1657 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1658 * configure: Regenerate.
1659 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1661 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1663 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1664 * configure: Regenerate.
1665 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1666 (libtsan_la_DEPENDENCIES): Likewise.
1667 * Makefile.in: Regenerate.
1668 * asan/Makefile.in: Regenerate.
1669 * interception/Makefile.in: Regenerate.
1670 * libbacktrace/Makefile.in: Regenerate.
1671 * lsan/Makefile.in: Regenerate.
1672 * sanitizer_common/Makefile.in: Regenerate.
1673 * tsan/Makefile.in: Regenerate.
1674 * ubsan/Makefile.in: Regenerate.
1676 2015-01-22 Jakub Jelinek <jakub@redhat.com>
1678 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1680 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1683 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1685 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1686 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1688 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1691 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1693 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1696 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1699 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1701 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1702 upstream r224518 and r224519.
1703 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1706 2014-12-16 Jakub Jelinek <jakub@redhat.com>
1708 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1709 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1710 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1713 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1716 * configure: Regenerated.
1718 2014-11-21 Jakub Jelinek <jakub@redhat.com>
1721 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1722 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1724 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
1726 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1727 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1728 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1729 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1730 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1731 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1732 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1733 * sanitizer_common/Makefile.in: Regenerate.
1734 * asan/Makefile.in: Ditto.
1735 * lsan/Makefile.in: Ditto.
1736 * interception/Makefile.in: Ditto.
1737 * tsan/Makefile.in: Ditto.
1738 * libbacktrace/Makefile.in: Ditto.
1739 * ubsan/Makefile.in: Ditto.
1741 2014-11-13 Kostya Serebryany <kcc@google.com>
1743 * All source files: Merge from upstream r221802.
1744 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1745 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1746 with 'start' to follow the new interface.
1747 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1748 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1749 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1750 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1751 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1753 (AM_CXXFLAGS): Added -std=c++11.
1754 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1755 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1756 * asan/Makefile.in: Regenerate.
1757 * interception/Makefile.in: Regenerate.
1758 * libbacktrace/Makefile.in: Regenerate.
1759 * lsan/Makefile.in: Regenerate.
1760 * sanitizer_common/Makefile.in: Regenerate.
1761 * tsan/Makefile.in: Regenerate.
1762 * ubsan/Makefile.in: Regenerate.
1764 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1767 * configure: Regenerate.
1769 2014-10-16 Martin Liska <mliska@suse.cz>
1771 * asan/Makefile.am: IPA ICF pass is disabled.
1772 * asan/Makefile.in: Likewise.
1774 2014-10-14 David S. Miller <davem@davemloft.net>
1776 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1777 Define at __kernel_time_t, as needed for sparc.
1778 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1779 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1780 (__sanitizer): Define struct___old_kernel_stat_sz,
1781 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1782 (__sanitizer_ipc_perm): Adjust for sparc targets.
1783 (__sanitizer_shmid_ds): Likewsie.
1784 (__sanitizer_sigaction): Likewsie.
1785 (IOC_SIZE): Likewsie.
1787 2014-10-14 Jakub Jelinek <jakub@redhat.com>
1789 * ubsan/Makefile.am (DEFS): Add -DPIC.
1790 * ubsan/Makefile.in: Regenerated.
1792 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1794 * configure.tgt: Enable build on aarch64*-linux.
1796 2014-09-19 Kostya Serebryany <kcc@google.com>
1798 * All source files: Merge from upstream r218156.
1799 * asan/Makefile.am (asan_files): Added new files.
1800 * asan/Makefile.in: Regenerate.
1801 * ubsan/Makefile.am (ubsan_files): Added new files.
1802 * ubsan/Makefile.in: Regenerate.
1803 * tsan/Makefile.am (tsan_files): Added new files.
1804 * tsan/Makefile.in: Regenerate.
1805 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1807 * sanitizer_common/Makefile.in: Regenerate.
1808 * asan/libtool-version: Bump the libasan SONAME.
1810 2014-09-10 Jakub Jelinek <jakub@redhat.com>
1812 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1813 upstream r215485, r217389, r217391 and r217400.
1815 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1817 * sanitizer_common/sanitizer_common_interceptors.inc:
1818 Cherry pick upstream r211008.
1820 2014-06-11 Richard Biener <rguenther@suse.de>
1822 * asan/asan_linux.cc: Cherry pick upstream r210012.
1824 2014-05-30 Jakub Jelinek <jakub@redhat.com>
1826 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1828 * sanitizer_common/sanitizer_common.h: Likewise.
1829 * asan/asan_mapping.h: Likewise.
1830 * asan/asan_linux.cc: Likewise.
1831 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1832 * sanitizer_common/sanitizer_allocator.h: Likewise.
1834 2014-05-23 Marek Polacek <polacek@redhat.com>
1836 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1837 floating-point types.
1839 2014-05-22 Kostya Serebryany <kcc@google.com>
1841 * All source files: Merge from upstream r209283.
1842 * asan/Makefile.am (asan_files): Added new files.
1843 * asan/Makefile.in: Regenerate.
1844 * tsan/Makefile.am (tsan_files): Added new files.
1845 * tsan/Makefile.in: Regenerate.
1846 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1848 * sanitizer_common/Makefile.in: Regenerate.
1850 2014-05-14 Yury Gribov <y.gribov@samsung.com>
1853 * Makefile.am (nodist_saninclude_HEADERS): Install
1855 * Makefile.in: Regenerate.
1857 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1859 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1860 Add ../../libbacktrace/sort.c.
1861 * libbacktrace/Makefile.in: Regenerate.
1862 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1864 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1866 * configure.tgt: Unsupported for little endian PowerPC for now.
1868 2014-02-04 Jakub Jelinek <jakub@redhat.com>
1871 * tsan/tsan_flags.cc (__tsan_default_options): Add
1872 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1873 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1876 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1877 sanitizer_atomic.h and unistd.h.
1878 (kThreadDescriptorSize): Made static, remove initializer and const,
1879 change type to atomic_uintptr_t.
1880 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1881 query glibc version, compute kThreadDescriptorSize depending on
1882 glibc version minor number.
1883 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1884 kThreadDescriptorSize directly.
1886 2014-01-23 Yury Gribov <y.gribov@samsung.com>
1887 Jakub Jelinek <jakub@redhat.com>
1890 * configure.ac: Check for missing syscalls.
1891 * Makefile.am: Likewise.
1892 * configure: Regenerate.
1893 * Makefile.in: Regenerate.
1895 2014-01-09 Jakub Jelinek <jakub@redhat.com>
1897 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1898 (LibbacktraceSymbolizer::Demangle): New declaration.
1899 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1900 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1902 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1903 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1904 (struct CplusV3DemangleData): New type.
1905 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1906 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1907 SymbolizeDataCallback): Use CplusV3Demangle.
1908 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1909 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1910 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1911 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1912 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1913 cplus_demangle_init_info, cplus_demangle_mangled_name,
1914 cplus_demangle_operators, cplus_demangle_print,
1915 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1916 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1917 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1919 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1920 (memcmp, strncmp): Redefine.
1921 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1922 ../../libiberty/cp-demangle.c.
1923 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1924 __asan_internal_strncmp): New functions.
1925 * sanitizer_common/Makefile.in: Regenerated.
1926 * libbacktrace/Makefile.in: Regenerated.
1927 * configure: Regenerated.
1928 * configure.ac: Regenerated.
1929 * config.h.in: Regenerated.
1931 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1932 -isystem $(top_srcdir)/include/system.
1933 * sanitizer_common/Makefile.in: Regenerated.
1934 * include/system/linux/aio_abi.h: New header.
1935 * include/system/linux/mroute.h: New header.
1936 * include/system/linux/mroute6.h: New header.
1937 * include/system/linux/perf_event.h: New header.
1938 * include/system/linux/types.h: New header.
1941 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1942 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1943 and -I/-include flags.
1944 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1945 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1946 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1947 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1948 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1949 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1951 * README.gcc: Document that also lsan and ubsan are
1952 maintained in compiler-rt upstream.
1953 * libbacktrace/Makefile.am: New file.
1954 * libbacktrace/backtrace-rename.h: New file.
1955 * libbacktrace/backtrace-supported.h.in: New file.
1956 * libbacktrace/bridge.cc: New file.
1957 * configure.ac: Add tests needed for libbacktrace build
1958 within libsanitizer.
1959 * sanitizer_common/Makefile.in: Regenerated.
1960 * lsan/Makefile.in: Regenerated.
1961 * tsan/Makefile.in: Regenerated.
1962 * ubsan/Makefile.in: Regenerated.
1963 * libbacktrace/Makefile.in: Generated.
1964 * config.h.in: Regenerated.
1965 * configure: Regenerated.
1966 * Makefile.in: Regenerated.
1967 * interception/Makefile.in: Regenerated.
1968 * asan/Makefile.in: Regenerated.
1969 * aclocal.m4: Regenerated.
1971 2013-12-19 Kostya Serebryany <kcc@google.com>
1973 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1974 workaround for missing definition of EOWNERDEAD, backport
1975 from upstream r196779.
1977 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1979 * sanitizer_common/sanitizer_platform_limits_posix.h
1980 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1981 (__sanitizer_clock_t): Use long long for x32.
1983 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1985 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1986 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1987 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1989 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1991 * configure.ac (link_sanitizer_common): Add -lm.
1992 * configure: Regenerated.
1994 2013-12-05 Kostya Serebryany <kcc@google.com>
1996 * All source files: Merge from upstream r196489.
1997 * merge.sh: Add *.S to the list of merged files.
1999 2013-12-05 Yury Gribov <y.gribov@samsung.com>
2002 * Makefile.am (gcc_version): Added gcc_version.
2003 * Makefile.in: Regenerate.
2005 2013-12-05 Kostya Serebryany <kcc@google.com>
2007 * All source files: Merge from upstream r196090.
2008 * tsan/Makefile.am (tsan_files): Added new files.
2009 * tsan/Makefile.in: Regenerate.
2010 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2011 * sanitizer_common/Makefile.in: Regenerate.
2012 * lsan/Makefile.am (lsan_files): Added new files.
2013 * lsan/Makefile.in: Regenerate.
2015 2013-11-29 Jakub Jelinek <jakub@redhat.com>
2016 Yury Gribov <y.gribov@samsung.com>
2019 * libsanitizer.spec.in: Add spec file to hold link flags for
2020 various sanitizer libs.
2021 * configure.ac: Check whether clock_* routines come from librt.
2022 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
2024 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
2025 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
2026 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
2027 * asan/Makefile.in: Regenerate.
2028 * interception/Makefile.in: Regenerate.
2029 * lsan/Makefile.in: Regenerate.
2030 * sanitizer_common/Makefile.in: Regenerate.
2031 * tsan/Makefile.in: Regenerate.
2032 * ubsan/Makefile.in: Regenerate.
2033 * Makefile.in: Regenerate.
2034 * configure: Regenerate.
2036 2013-11-28 Jakub Jelinek <jakub@redhat.com>
2037 Yury Gribov <y.gribov@samsung.com>
2040 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
2042 * ubsan/Makefile.in: Regenerated.
2044 2013-11-22 Jakub Jelinek <jakub@redhat.com>
2047 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
2048 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
2049 * configure: Regenerated.
2050 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
2051 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
2052 * lsan/Makefile.in: Regenerated.
2054 2013-11-22 Mike Stump <mikestump@comcast.net>
2056 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
2057 change from upstream to fix build.
2059 2013-11-18 Yury Gribov <y.gribov@samsung.com>
2062 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
2063 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2064 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
2065 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
2066 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
2067 * asan/Makefile.in: Regenerate.
2068 * interception/Makefile.in: Regenerate.
2069 * tsan/Makefile.in: Regenerate.
2070 * lsan/Makefile.in: Regenerate.
2071 * sanitizer_common/Makefile.in: Regenerate.
2073 2013-11-15 Kostya Serebryany <kcc@google.com>
2076 Backport from upstream revision 194573
2077 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
2078 back to the original functions in the common libsanitizer
2079 interceptors and the __cxa_atexit() interceptor on Darwin.
2081 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
2084 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
2085 ifdef out more source.
2087 2013-11-12 Jakub Jelinek <jakub@redhat.com>
2089 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
2090 ifdef out almost the whole source.
2091 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
2093 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
2096 * sanitizer_common/sanitizer_platform_limits_posix.cc
2097 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
2100 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
2103 * sanitizer_common/sanitizer_platform_limits_linux.cc
2104 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
2106 * sanitizer_common/sanitizer_platform_limits_posix.h
2107 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
2109 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
2111 (__sanitizer___kernel_gid_t): Likewise.
2112 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
2115 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
2118 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
2119 2 64-bit integers to save and restore fn and arg. Properly load
2120 newtls/child_tidptr into r8/r10.
2122 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
2125 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
2126 internal_munmap, internal_open, internal_read, internal_write,
2127 internal_stat, internal_lstat, internal_fstat, internal_readlink,
2128 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
2129 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2130 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2132 2013-11-04 Kostya Serebryany <kcc@google.com>
2134 * All source files: Merge from upstream r191666.
2135 * merge.sh: Added lsan.
2136 * configure.ac (AC_CONFIG_FILES): Added lsan.
2137 * Makefile.am (SUBDIRS): Added lsan.
2138 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2139 * asan/Makefile.am (asan_files): Added new files.
2140 (libasan_la_LIBADD): Added a dependency on lsan.
2141 * lsan/Makefile.am: New file.
2142 * asan/Makefile.in: Regenerate.
2143 * lsan/Makefile.in: Regenerate.
2144 * Makefile.in: Regenerate.
2145 * configure: Regenerate.
2146 * sanitizer_common/Makefile.in: Regenerate.
2148 2013-09-20 Alan Modra <amodra@gmail.com>
2150 * configure: Regenerate.
2152 2013-09-01 Iain Sandoe <iain@codesourcery.com>
2154 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2155 libinterception.la for Darwin.
2156 * ubsan/Makefile.in: Regenerate.
2158 2013-08-30 Jakub Jelinek <jakub@redhat.com>
2160 * Makefile.am (SUBDIRS): Add ubsan.
2161 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2162 * merge.sh: Merge ubsan.
2163 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2164 * sanitizer_common/sanitizer_printf.cc: Likewise.
2165 * sanitizer_common/sanitizer_common.h: Likewise.
2166 * ubsan: New directory. Import ubsan runtime from llvm.
2168 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
2170 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2171 Cherry pick upstream r182922.
2173 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
2175 * configure.tgt: Add ARM pattern.
2177 2013-03-22 Jakub Jelinek <jakub@redhat.com>
2180 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2181 * Makefile.in: Regenerated.
2182 * asan/Makefile.in: Regenerated.
2183 * interception/Makefile.in: Regenerated.
2184 * sanitizer_common/Makefile.in: Regenerated.
2185 * tsan/Makefile.in: Regenerated.
2187 2013-02-28 Jakub Jelinek <jakub@redhat.com>
2189 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2190 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2193 2013-02-22 Jakub Jelinek <jakub@redhat.com>
2196 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2198 (libasan_preinit.o): Depend on asan_preinit.o.
2199 * asan/Makefile.in: Regenerated.
2200 * asan/asan_preinit.cc: New file, synced from upstream.
2201 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2203 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
2205 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2206 dynamic/asan_interceptors_dynamic.cc.
2207 * asan/Makefile.in: Regenerated.
2208 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2210 2013-02-21 Jakub Jelinek <jakub@redhat.com>
2212 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2213 defined. Add used attribute.
2215 2013-02-21 Kostya Serebryany <kcc@google.com>
2217 * All source files: Merge from upstream r175733.
2218 * sanitizer_common/Makefile.am: Added a new file.
2219 * sanitizer_common/Makefile.in: Regenerated.
2221 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
2224 * interception/interception.h (OFF_T): Merged from upstream
2227 2013-02-13 Jakub Jelinek <jakub@redhat.com>
2229 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2231 2013-02-13 Kostya Serebryany <kcc@google.com>
2234 * All source files: Merge from upstream r175049.
2235 * interception/Makefile.am: added include path.
2236 * interception/Makefile.in: Regenerated.
2238 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
2240 * configure.tgt: Disable build on darwin9 and earlier.
2242 2013-01-23 Kostya Serebryany <kcc@google.com>
2245 * All source files: Merge from upstream r173241.
2246 * merge.sh: Support merging .inc files.
2248 2013-01-16 Jakub Jelinek <jakub@redhat.com>
2250 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2251 -Wno-c99-extensions.
2252 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2253 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2254 * sanitizer_common/Makefile.in: Regenerated.
2255 * interception/Makefile.in: Regenerated.
2256 * asan/Makefile.in: Regenerated.
2258 2013-01-10 Wei Mi <wmi@google.com>
2261 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2262 * tsan/Makefile.in: Regenerated.
2263 * tsan/tsan_rtl.h: Enable HACKY_CALL.
2265 2013-01-10 Kostya Serebryany <kcc@google.com>
2267 * All source files: Merge from upstream r171973.
2268 * sanitizer_common/Makefile.am: Added new files.
2269 * asan/Makefile.am: Likewise.
2270 * tsan/Makefile.am: Likewise.
2271 * sanitizer_common/Makefile.in: Regenerated.
2272 * asan/Makefile.in: Likewise.
2273 * tsan/Makefile.in: Likewise.
2275 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
2277 * asan/Makefile.am (libasan_la_LIBADD): Replace
2278 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2279 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2280 * Makefile.in: Regenerated.
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-12-12 H.J. Lu <hongjiu.lu@intel.com>
2289 * Makefile.am (AM_MAKEFLAGS): Restored.
2290 * interception/Makefile.am: Likewise.
2291 * sanitizer_common/Makefile.am: Likewise.
2292 * tsan/Makefile.am: Likewise.
2293 * Makefile.in: Regenerated.
2294 * asan/Makefile.in: Likewise.
2295 * interception/Makefile.in: Likewise.
2296 * sanitizer_common/Makefile.in: Likewise.
2297 * tsan/Makefile.in: Likewise.
2299 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2301 * Makefile.am (MAKEOVERRIDES): Restored.
2302 * asan/Makefile.am: Likewise.
2303 * interception/Makefile.am: Likewise.
2304 * sanitizer_common/Makefile.am: Likewise.
2305 * tsan/Makefile.am: Likewise.
2306 * Makefile.in: Regenerated.
2307 * asan/Makefile.in: Likewise.
2308 * interception/Makefile.in: Likewise.
2309 * sanitizer_common/Makefile.in: Likewise.
2310 * tsan/Makefile.in: Likewise.
2312 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2314 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2315 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2316 * Makefile.in: Regenerated.
2317 * configure: Likewise.
2318 * asan/Makefile.in: Likewise.
2319 * interception/Makefile.in: Likewise.
2320 * sanitizer_common/Makefile.in: Likewise.
2321 * tsan/Makefile.in: Likewise.
2323 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2325 * Makefile.am (AM_MAKEFLAGS): Removed.
2326 (MAKEOVERRIDES): Likewise.
2327 * asan/Makefile.am: Likewise.
2328 * interception/Makefile.am: Likewise.
2329 * sanitizer_common/Makefile.am: Likewise.
2330 * tsan/Makefile.am: Likewise.
2331 * Makefile.in: Regenerated.
2332 * asan/Makefile.in: Likewise.
2333 * interception/Makefile.in: Likewise.
2334 * sanitizer_common/Makefile.in: Likewise.
2335 * tsan/Makefile.in: Likewise.
2337 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
2340 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2341 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2342 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2343 (AM_MAKEFLAGS): Remove CC and CXX.
2344 * interception/Makefile.am: Likewise.
2345 * sanitizer_common/Makefile.am: Likewise.
2346 * tsan/Makefile.am: Likewise.
2347 * Makefile.in: Regenerated.
2348 * aclocal.m4: Likewise.
2349 * configure: Likewise.
2350 * asan/Makefile.in: Likewise.
2351 * interception/Makefile.in: Likewise.
2352 * sanitizer_common/Makefile.in: Likewise.
2353 * tsan/Makefile.in: Likewise.
2355 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
2357 * configure.tgt: Enable build on powerpc*-linux.
2359 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
2362 * configure.ac: Set enable_static=no on darwin.
2363 * configure: Regenerated.
2365 2012-12-06 Kostya Serebryany <kcc@google.com>
2367 * All files: Merge from upstream r169392.
2369 2012-12-05 Kostya Serebryany <kcc@google.com>
2371 * All files: Merge from upstream r169371.
2373 2012-12-04 Kostya Serebryany <kcc@google.com>
2374 Jack Howarth <howarth@bromo.med.uc.edu>
2377 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2378 * Makefile.am: Don't build interception subdir when
2379 USING_MAC_INTERPOSE defined.
2380 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2381 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2382 Compile asan_interceptors_dynamic.cc but not libinterception
2383 when USING_MAC_INTERPOSE defined.
2384 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2385 * configure: Regenerated.
2386 * Makefile.in: Likewise.
2387 * asan/Makefile.in: Likewise.
2388 * interception/Makefile.in: Likewise.
2389 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2390 * asan/asan_mac.cc: Likewise.
2391 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2392 and use MISSING_BLOCKS_SUPPORT.
2393 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2394 * interception/mach_override/LICENSE.txt: Remove unused file.
2395 * interception/mach_override/mach_override.c: Likewise.
2396 * interception/mach_override/mach_override.h: Likewise.
2397 * interception/mach_override: Remove unused directory.
2399 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2401 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2402 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2403 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2405 (AM_MAKEFLAGS): Restore CC and CXX.
2406 * interception/Makefile.am: Likewise.
2407 * sanitizer_common/Makefile.am: Likewise.
2408 * tsan/Makefile.am: Likewise.
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.
2415 * tsan/Makefile.in: Likewise.
2417 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2419 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2420 * configure.ac (ACX_NONCANONICAL_TARGET): New.
2421 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2423 (AM_MAKEFLAGS): Remove CC and CXX.
2424 * interception/Makefile.am: Likewise.
2425 * sanitizer_common/Makefile.am: Likewise.
2426 * tsan/Makefile.am: Likewise.
2427 * Makefile.in: Regenerated.
2428 * aclocal.m4: Likewise.
2429 * configure: Likewise.
2430 * asan/Makefile.in: Likewise.
2431 * interception/Makefile.in: Likewise.
2432 * sanitizer_common/Makefile.in: Likewise.
2433 * tsan/Makefile.in: Likewise.
2435 2012-11-27 Kostya Serebryany <kcc@google.com>
2437 * All files: Merge from upstream r168699.
2439 2012-11-24 Kostya Serebryany <kcc@google.com>
2440 Jack Howarth <howarth@bromo.med.uc.edu>
2442 * interception/mach_override/mach_override.c: Migrate from llvm.
2443 * interception/mach_override/mach_override.h: Likewise.
2444 * interception/mach_override/LICENSE.txt: Likewise.
2445 * configure.tgt: Add darwin to supported targets.
2446 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2447 * interception/Makefile.am: Compile mach_override.c when
2448 USING_MACH_OVERRIDE defined.
2449 * configure: Regenerated.
2450 * interception/Makefile.in: Likewise.
2452 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
2455 * tsan/Makefile.am (gcc_version): New.
2456 * tsan/Makefile.in: Regenerated.
2458 2012-11-23 Kostya Serebryany <kcc@google.com>
2460 * merge.sh: Support tsan, support added/removed files.
2461 * tsan/Makefile.am: Remove tsan_printf.cc.
2462 * tsan/Makefile.in: Regenerated.
2463 * other files: Merge from upstream r168514.
2465 2012-11-23 Kostya Serebryany <kcc@google.com>
2467 * merge.sh: New file.
2469 2012-11-23 Jakub Jelinek <jakub@redhat.com>
2471 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2472 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2473 automake conditional instead of !MULTISUBDIR32.
2474 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2475 for 64-bit multilib.
2476 * configure.ac: Check for void * size, source in configure.tgt,
2477 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2478 * configure: Regenerated.
2479 * Makefile.in: Regenerated.
2480 * tsan/Makefile.in: Regenerated.
2482 2012-11-22 Wei Mi <wmi@google.com>
2484 * tsan: New directory. Import tsan runtime from llvm.
2485 * configure.ac: Add 64 bits tsan build.
2486 * Makefile.am: Likewise.
2487 * configure: Regenerated.
2488 * Makefile.in: Likewise.
2490 2012-11-21 Kostya Serebryany <kcc@google.com>
2492 * README.gcc: Extend the README.gcc with mode details.
2494 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
2496 * sanitizer_common/sanitizer_linux.cc
2497 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2498 (internal_mmap): Use it.
2499 (internal_filesize): Likewise.
2501 2012-11-16 Tom Tromey <tromey@redhat.com>
2503 * configure.ac: Invoke AM_MAINTAINER_MODE.
2504 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2505 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2507 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2510 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2511 for hardware pointer.
2512 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2513 Replace uptr with uhwptr for stack unwind.
2515 2012-11-16 Dodji Seketeli <dodji@redhat.com>
2517 * configure.tgt: Enable build on sparc linux.
2519 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2521 * configure.ac: Properly set MULTISUBDIR.
2522 * asan/Makefile.am (gcc_version): New.
2523 * interception/Makefile.am (gcc_version): Likewise.
2524 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2525 * configure: Regenerated.
2526 * asan/Makefile.in: Likewise.
2527 * interception/Makefile.in: Likewise.
2528 * sanitizer_common/Makefile.in: Likewise.
2530 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2533 * configure.ac (--enable-version-specific-runtime-libs): New option.
2534 (AC_CANONICAL_SYSTEM): New.
2535 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2536 (toolexecdir): Support multilib.
2537 (toolexeclibdir): Likewise.
2538 (multilib_arg): New.
2539 * Makefile.in: Regenerated.
2540 * aclocal.m4: Likewise.
2541 * configure: Likewise.
2542 * asan/Makefile.in: Likewise.
2543 * interception/Makefile.in: Likewise.
2544 * sanitizer_common/Makefile.in: Likewise.
2546 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2549 Backport from upstream revision 167883
2550 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2551 __x86_64__ instead of __WORDSIZE.
2552 (internal_filesize): Likwise.
2554 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2556 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2557 * Makefile.in: Regenerated.
2558 * configure: Likewise.
2560 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2563 * acinclude.m4: New file.
2564 * Makefile.am (ACLOCAL_AMFLAGS): New.
2565 * configure.ac (AC_PREREQ): Set to 2.64.
2566 (AC_CONFIG_AUX_DIR): Set to "..".
2567 * Makefile.in: Regenerated.
2568 * aclocal.m4: Likewise.
2569 * configure: Likewise.
2570 * asan/Makefile.in: Likewise.
2571 * interception/Makefile.in: Likewise.
2572 * sanitizer_common/Makefile.in: Likewise.
2574 * config.guess: Removed.
2575 * config.sub: Likewise.
2576 * depcomp: Likewise.
2577 * install-sh: Likewise.
2578 * ltmain.sh: Likewise.
2579 * missing: Likewise.
2581 2012-11-13 Richard Henderson <rth@redhat.com>
2583 * configure.tgt: New file.
2585 2012-11-12 David S. Miller <davem@davemloft.net>
2587 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2589 2012-10-29 Wei Mi <wmi@google.com>
2591 Initial checkin: migrate asan runtime from llvm.