RISC-V: Adds the prefix "th." for the instructions of XTheadVector.
[official-gcc.git] / libsanitizer / ChangeLog
blob6eb696457a0dacd213b1da74b54343e8cfcafe51
1 2024-01-17  YunQiang Su  <yunqiang.su@cipunited.com>
3         * interception/interception.h (substitution_##func_name):
4         Use macro C_ASM_TAIL_CALL.
5         * sanitizer_common/sanitizer_asm.h: Define C_ASM_TAIL_CALL
6         for MIPS with help of t9.
8 2024-01-02  Andreas Schwab  <schwab@suse.de>
10         * configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
12 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
14         * LOCAL_PATCHES: Update.
16 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
18         PR sanitizer/112563
19         * sanitizer_common/sanitizer_redefine_builtins.h: Check
20         HAVE_AS_SYM_ASSIGN.
22 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
24         PR sanitizer/112563
25         * configure.ac (libsanitizer_cv_as_sym_assign): Check for
26         assembler symbol assignment support.
27         * configure: Regenerate.
28         * asan/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
29         * Makefile.in, asan/Makefile.in, hwasan/Makefile.in,
30         interception/Makefile.in, libbacktrace/Makefile.in,
31         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
32         ubsan/Makefile.in: Regenerate.
34 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
36         PR sanitizer/112562
37         * sanitizer_common/sanitizer_asm.h: Cherry-pick llvm-project revision
38         a855a16a02e76a0f4192c038bb64f3773947a2f7.
39         * interception/interception.h: Likewise.
41 2023-11-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
43         * asan/asan_mac.cpp: Protect Apple blocks behind the
44         MISSING_BLOCKS_SUPPORT macro.
46 2023-11-15  Jakub Jelinek  <jakub@redhat.com>
48         * LOCAL_PATCHES: Update revisions.
50 2023-11-15  Jakub Jelinek  <jakub@redhat.com>
52         * ubsan/ubsan_handlers_cxx.h (FunctionTypeMismatchData): Forward
53         declare.
54         (__ubsan_handle_function_type_mismatch_v1,
55         __ubsan_handle_function_type_mismatch_v1_abort): Declare.
56         * ubsan/ubsan_handlers_cxx.cpp (handleFunctionTypeMismatch,
57         __ubsan_handle_function_type_mismatch_v1,
58         __ubsan_handle_function_type_mismatch_v1_abort): New functions readded
59         for backwards compatibility from older ubsan.
60         * ubsan/ubsan_interface.inc (__ubsan_handle_function_type_mismatch_v1,
61         __ubsan_handle_function_type_mismatch_v1_abort): Readd.
63 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
65         * asan/Makefile.am: Handle Darwin rpaths.
66         * asan/Makefile.in: Regenerate.
67         * configure: Regenerate.
68         * hwasan/Makefile.am: Handle Darwin rpaths.
69         * hwasan/Makefile.in: Regenerate.
70         * lsan/Makefile.am: Handle Darwin rpaths.
71         * lsan/Makefile.in: Regenerate.
72         * tsan/Makefile.am: Handle Darwin rpaths.
73         * tsan/Makefile.in: Regenerate.
74         * ubsan/Makefile.am: Handle Darwin rpaths.
75         * ubsan/Makefile.in: Regenerate.
77 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
79         * configure: Regenerate.
81 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
83         * configure: Regenerate.
85 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
87         * configure: Regenerate.
89 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
91         * configure: Regenerate.
93 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
95         * configure: Regenerate.
97 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
99         * configure: Regenerate.
101 2023-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
103         * sanitizer_common/sanitizer_stacktrace_sparc.cpp,
104         sanitizer_common/sanitizer_unwind_linux_libcdep.cpp: Cherry-pick
105         llvm-project revision 679c076ae446af81eba81ce9b94203a273d4b88a.
107 2023-04-30  Martin Liska  <mliska@suse.cz>
109         PR sanitizer/109674
110         * hwasan/Makefile.am: Depend on liblsan.
111         * hwasan/Makefile.in: Re-generate.
113 2023-04-30  Martin Liska  <mliska@suse.cz>
115         * LOCAL_PATCHES: Update revision.
117 2023-04-26  Martin Liska  <mliska@suse.cz>
119         * LOCAL_PATCHES: Change revision.
121 2023-04-18  Iain Sandoe  <iain@sandoe.co.uk>
123         * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
124         to locate dyld in the shared cache.
126 2023-01-31  H.J. Lu  <hjl.tools@gmail.com>
128         PR sanitizer/108106
129         * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
130         to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
131         (__interceptor_sigsetjmp): Add a local alias,
132         .Linterceptor_sigsetjmp.
134 2023-01-31  Martin Liska  <mliska@suse.cz>
136         * configure: Regenerate.
138 2023-01-31  YunQiang Su  <yunqiang.su@cipunited.com>
140         * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
141         always for mips*.
142         * configure: Regenerate.
144 2023-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
146         * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
147         llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
149 2022-12-19  Jakub Jelinek  <jakub@redhat.com>
151         * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
152         libhwasan_preinit.o.
153         (hwasan_files): Remove hwasan_preinit.cpp.
154         (libhwasan_preinit.o): Copy from hwasan_preinit.o.
155         * hwasan/Makefile.in: Regenerated.
157 2022-12-13  Jakub Jelinek  <jakub@redhat.com>
159         PR sanitizer/108072
160         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
162 2022-12-09  liuhongt  <hongtao.liu@intel.com>
164         * configure.tgt: Enable hwasan for x86-64.
166 2022-12-04  Iain Sandoe  <iain@sandoe.co.uk>
168         * configure.tgt: Restrict build to Darwin 16 or newer.
170 2022-11-15  Martin Liska  <mliska@suse.cz>
172         * LOCAL_PATCHES: Update local patches.
174 2022-11-15  Martin Liska  <mliska@suse.cz>
176         * merge.sh: Use git clone --depth 1.
178 2022-10-19  Martin Liska  <mliska@suse.cz>
180         * configure: Regenerate.
182 2022-10-18  Florian Weimer  <fweimer@redhat.com>
184         * configure.ac (sanitizer_supported): Include <unistd.h> for
185         syscall prototype.
186         * configure: Regenerate.
188 2022-10-12  Martin Liska  <mliska@suse.cz>
190         * configure: Regenerate.
192 2022-10-11  Olivier Hainque  <hainque@adacore.com>
193             Olivier Hainque  <hainque@adacore.com>
195         * configure: Regenerate.
197 2022-10-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
199         PR sanitizer/105531
200         * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
201         llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
203 2022-09-04  Iain Sandoe  <iain@sandoe.co.uk>
205         * LOCAL_PATCHES: Update.
207 2022-08-31  Xi Ruoyao  <xry111@xry111.site>
209         * configure.tgt: Allow loongarch64-*-linux*.
211 2022-08-30  Martin Liska  <mliska@suse.cz>
213         * LOCAL_PATCHES: Update.
215 2022-08-30  Martin Liska  <mliska@suse.cz>
217         * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
218         * sanitizer_common/Makefile.in: Regenerate.
220 2022-07-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
222         PR sanitizer/105531
223         * sanitizer_common/sanitizer_linux_libcdep.cpp,
224         sanitizer_common/sanitizer_solaris.h:: Cherry-pick
225         llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
227 2022-05-05  Martin Liska  <mliska@suse.cz>
229         * LOCAL_PATCHES: Update.
231 2022-05-04  Martin Liska  <mliska@suse.cz>
233         * tsan/Makefile.am: Update Makefile.am files.
234         * hwasan/Makefile.am: Likewise.
235         * sanitizer_common/Makefile.am: Likewise.
236         * Makefile.in: Re-generate.
237         * asan/Makefile.in: Likewise.
238         * hwasan/Makefile.in: Likewise.
239         * interception/Makefile.in: Likewise.
240         * libbacktrace/Makefile.in: Likewise.
241         * lsan/Makefile.in: Likewise.
242         * sanitizer_common/Makefile.in: Likewise.
243         * tsan/Makefile.in: Likewise.
244         * ubsan/Makefile.in: Likewise.
246 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
248         * configure.tgt: Enable build on mips*64*-*-linux*.
250 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
252         * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
253         include sanitizer_atomic_clang_mips.h for O32.
255 2022-02-15  Jakub Jelinek  <jakub@redhat.com>
257         * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
258         llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
260 2022-02-03  David Seifert  <soap@gentoo.org>
261             Jakub Jelinek  <jakub@redhat.com>
263         * configure.ac: Support --disable-werror.
264         * aclocal.m4: Include also ../config/warnings.m4.
265         * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
266         * configure: Regenerate.
267         * Makefile.in: Regenerate.
268         * asan/Makefile.in: Regenerate.
269         * hwasan/Makefile.in: Regenerate.
270         * interception/Makefile.in: Regenerate.
271         * libbacktrace/Makefile.in: Regenerate.
272         * lsan/Makefile.in: Regenerate.
273         * sanitizer_common/Makefile.in: Regenerate.
274         * tsan/Makefile.in: Regenerate.
275         * ubsan/Makefile.in: Regenerate.
277 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
279         * LOCAL_PATCHES: Add commit 70b043845d7.
281 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
283         PR sanitizer/103466
284         * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
285         vmovdqu with movdqu.
286         (__tsan_report_race_thunk): Likewise.
288 2021-11-28  Andrew Pinski  <apinski@marvell.com>
290         PR sanitizer/62157
291         * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
292         * Makefile.in: Regenerate.
293         * asan/Makefile.in: Likewise.
294         * hwasan/Makefile.in: Likewise.
295         * interception/Makefile.in: Likewise.
296         * libbacktrace/Makefile.in: Likewise.
297         * lsan/Makefile.in: Likewise.
298         * sanitizer_common/Makefile.in: Likewise.
299         * tsan/Makefile.in: Likewise.
300         * ubsan/Makefile.in: Likewise.
302 2021-11-18  Jakub Jelinek  <jakub@redhat.com>
304         PR bootstrap/102675
305         * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
306         of sanitizer_platform_limits_freebsd.cpp.
307         * sanitizer_common/Makefile.in: Regenerated.
309 2021-11-13  H.J. Lu  <hjl.tools@gmail.com>
311         * LOCAL_PATCHES: Update to the corresponding revision.
313 2021-11-04  Martin Liska  <mliska@suse.cz>
315         * LOCAL_PATCHES: Update git revision.
317 2021-10-08  H.J. Lu  <hjl.tools@gmail.com>
319         PR sanitizer/102632
320         * asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
321         * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
322         * interception/Makefile.am (AM_CCASFLAGS): Likewise.
323         * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
324         * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
325         * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
326         * asan/Makefile.in: Regenerate.
327         * hwasan/Makefile.in: Likewise.
328         * interception/Makefile.in: Likewise.
329         * lsan/Makefile.in: Likewise.
330         * tsan/Makefile.in: Likewise.
331         * ubsan/Makefile.in: Likewise.
333 2021-10-06  H.J. Lu  <hjl.tools@gmail.com>
335         * LOCAL_PATCHES: Update to the corresponding revision.
337 2021-10-01  H.J. Lu  <hjl.tools@gmail.com>
339         * LOCAL_PATCHES: Update to the corresponding revision.
341 2021-08-11  Jakub Jelinek  <jakub@redhat.com>
343         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
344         llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
346 2021-08-03  Mosè Giordano  <mose@gnu.org>
348         PR sanitizer/101111
349         * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
351 2021-07-28  Ilya Leoshkevich  <iii@linux.ibm.com>
353         * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
354         s390x.
356 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
358         * asan/libtool-version: Bump version.
359         * tsan/libtool-version: Likewise.
361 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
363         * LOCAL_PATCHES: Update to the corresponding revision.
365 2021-05-21  Tamar Christina  <tamar.christina@arm.com>
367         PR sanitizer/100379
368         * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
369         llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
370         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
371         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
373 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
375         * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
377 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
379         * sanitizer_common/sanitizer_mac.cpp : Check for the
380         availability of __builtin_os_log_format before trying to
381         include a header depending on it.
382         (OS_LOG_DEFAULT): New.
383         (os_log_error): Define to a fall-back using an older API.
385 2021-05-13  Martin Liska  <mliska@suse.cz>
387         * LOCAL_PATCHES: Update to the corresponding revision.
389 2021-04-17  Jakub Jelinek  <jakub@redhat.com>
391         PR sanitizer/100114
392         * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
393         llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
394         and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
396 2021-03-08  Martin Liska  <mliska@suse.cz>
398         PR sanitizer/98920
399         * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
400         Cherry pick.
401         (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
402         * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
403         * sanitizer_common/sanitizer_common_interceptors.inc
404         (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
405         (INIT_REGEX): Likewise.
406         * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
407         Likewise.
409 2021-01-26  Martin Liska  <mliska@suse.cz>
411         PR sanitizer/98828
412         * lsan/Makefile.am: Add missing lsan_posix.cpp file.
413         * lsan/Makefile.in: Likewise.
415 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
417         * configure: Re-generate.
419 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
421         PR target/97865
422         * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
423         Darwin.
424         * configure: Regenerate.
426 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
428         * configure: Regenerate.
430 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
432         * LOCAL_PATCHES: Add one commit.
434 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
436         * Makefile.am: Condition Build hwasan directory.
437         * Makefile.in: Regenerate.
438         * configure: Regenerate.
439         * configure.ac: Set HWASAN_SUPPORTED based on target
440         architecture.
441         * configure.tgt: Likewise.
443 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
445         * Makefile.am:  Build libhwasan.
446         * Makefile.in:  Build libhwasan.
447         * asan/Makefile.in:  Build libhwasan.
448         * configure:  Build libhwasan.
449         * configure.ac:  Build libhwasan.
450         * hwasan/Makefile.am: New file.
451         * hwasan/Makefile.in: New file.
452         * hwasan/libtool-version: New file.
453         * interception/Makefile.in: Build libhwasan.
454         * libbacktrace/Makefile.in: Build libhwasan.
455         * libsanitizer.spec.in: Build libhwasan.
456         * lsan/Makefile.in: Build libhwasan.
457         * sanitizer_common/Makefile.in: Build libhwasan.
458         * tsan/Makefile.in: Build libhwasan.
459         * ubsan/Makefile.in: Build libhwasan.
461 2020-11-21  Iain Sandoe  <iain@sandoe.co.uk>
463         * configure.tgt: Allow x86_64 Darwin2x.
465 2020-11-13  Martin Liska  <mliska@suse.cz>
467         * LOCAL_PATCHES: Update to the latest commit.
469 2020-10-19  Martin Liska  <mliska@suse.cz>
471         * LOCAL_PATCHES: Add one commit.
473 2020-10-18  Iain Sandoe  <iain@sandoe.co.uk>
475         * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
476         macros are defined where the macOS SDK does not contain
477         them.
478         (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
479         Define where needed.
481 2020-10-16  Martin Liska  <mliska@suse.cz>
483         * LOCAL_PATCHES: Update revision.
485 2020-09-21  Ian Lance Taylor  <iant@golang.org>
487         * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
488         Define.
489         (backtrace_syminfo_to_full_callback): Define.
490         (backtrace_syminfo_to_full_error_callback): Define.
492 2020-07-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
494         * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
495         revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
497 2020-06-09  Martin Liska  <mliska@suse.cz>
499         * asan/Makefile.am: Replace gnu++11 with gnu++14.
500         * interception/Makefile.am: Likewise.
501         * libbacktrace/Makefile.am: Likewise.
502         * lsan/Makefile.am: Likewise.
503         * sanitizer_common/Makefile.am: Likewise.
504         * tsan/Makefile.am: Likewise.
505         * ubsan/Makefile.am: Likewise.
506         * asan/Makefile.in: Regenerate.
507         * interception/Makefile.in: Likewise.
508         * libbacktrace/Makefile.in: Likewise.
509         * lsan/Makefile.in: Likewise.
510         * sanitizer_common/Makefile.in: Likewise.
511         * tsan/Makefile.in: Likewise.
512         * ubsan/Makefile.in: Likewise.
514 2020-06-02  Martin Liska  <mliska@suse.cz>
516         * LOCAL_PATCHES: Update hash of local patches.
518 2020-06-02  Martin Liska  <mliska@suse.cz>
520         * MERGE: Merge from master.
522 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
524         PR bootstrap/95413
525         * configure: Regenerated.
527 2020-05-29  Martin Liska  <mliska@suse.cz>
529         * HOWTO_MERGE: Do not mention not existing argument.
530         * README.gcc: Update LLVM repository location.
532 2020-05-26  Martin Liska  <mliska@suse.cz>
534         * LOCAL_PATCHES: Use git hash instead of SVN id.
535         * merge.sh: Use git instead of VCS.  Update paths
536         relative to upstream git repository.
538 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
540         PR bootstrap/95147
541         * configure: Regenerated.
543 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
545         * configure: Regenerated.
547 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
549         * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
551 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
553         * sanitizer_common/Makefile.am: Add
554         sanitizer_platform_limits_freebsd.cpp.
555         * sanitizer_common/Makefile.in: Regenerate.
557 2020-03-01  Iain Sandoe  <iain@sandoe.co.uk>
559         PR sanitizer/93731
560         * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
561         default only for Darwin versions greater than 12 (macOS 10.8).
563 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
565         * configure.ac: Handle `--with-toolexeclibdir='.
566         * Makefile.in: Regenerate.
567         * aclocal.m4: Regenerate.
568         * configure: Regenerate.
569         * asan/Makefile.in: Regenerate.
570         * interception/Makefile.in: Regenerate.
571         * libbacktrace/Makefile.in: Regenerate.
572         * lsan/Makefile.in: Regenerate.
573         * sanitizer_common/Makefile.in: Regenerate.
574         * tsan/Makefile.in: Regenerate.
575         * ubsan/Makefile.in: Regenerate.
577 2019-11-26  Jakub Jelinek  <jakub@redhat.com>
579         PR sanitizer/92154
580         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
581         llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
582         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
584 2019-11-20  Martin Liska  <mliska@suse.cz>
586         * libtool-version: Remove.
587         * lsan/libtool-version: Upate comment to not mention libmudflap.
588         * tsan/libtool-version: Likewise.
589         * ubsan/libtool-version: Likewise.
591 2019-11-13  Andreas Schwab  <schwab@suse.de>
593         * configure.tgt (riscv64-*-linux*): Enable build.
595 2019-11-07  Martin Liska  <mliska@suse.cz>
597         * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
599 2019-11-07  Martin Liska  <mliska@suse.cz>
601         * merge.sh: Update to use llvm-project git repository.
602         * all source files: Merge from upstream
603         82588e05cc32bb30807e480abd4e689b0dee132a.
605 2019-11-05  Martin Liska  <mliska@suse.cz>
607         * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
608         summary for all sanitizers, but we want to have UBSAN without it.
610 2019-11-05  Martin Liska  <mliska@suse.cz>
612         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
613         LOCAL_PATCHES.
614         (CheckODRViolationViaPoisoning): Likewise.
615         (RegisterGlobal): Likewise.
616         * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
617         (defined): Likewise.
618         * asan/asan_mapping.h: Likewise.
619         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
620         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
621         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
622         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
623         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
624         * tsan/tsan_rtl_ppc64.S: Likewise.
625         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
626         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
627         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
628         (struct CFICheckFailData): Likewise.
629         (RECOVERABLE): Likewise.
630         * ubsan/ubsan_platform.h: Likewise.
632 2019-11-05  Martin Liska  <mliska@suse.cz>
634         * tsan/Makefile.am: Rename tsan_interceptors.cpp to
635         tsan_interceptors_posix.
636         * tsan/Makefile.in: Regenerate.
638 2019-11-05  Martin Liska  <mliska@suse.cz>
640         * all source files: Merge from upstream r375507.
642 2019-10-22  Tamar Christina  <tamar.christina@arm.com>
644         PR sanitizer/92154
645         * sanitizer_common/sanitizer_platform_limits_posix.cpp:
646         Cherry-pick compiler-rt revision r375220.
648 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
650         * configure: Regenerate.
652 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
653         Mickaël Guêné <mickael.guene@st.com>
655         * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
656         unsupported in this configuration.
658 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
660         * LOCAL_PATCHES: Add r274585.
662 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
664         * asan/asan_interceptors.h: Reapply r272406.
666 2019-08-15  Martin Liska  <mliska@suse.cz>
668         * LOCAL_PATCHES: Add r274540
670 2019-08-15  Martin Liska  <mliska@suse.cz>
672         * tsan/tsan_rtl_ppc64.S: Reapply.
674 2019-08-15  Iain Sandoe  <iain@sandoe.co.uk>
676         PR bootstrap/91455
677         * Makefile.in: Regenerated.
678         * aclocal.m4: Likewise.
679         * asan/Makefile.in: Likewise.
680         * configure: Likewise.
681         * interception/Makefile.in: Likewise.
682         * libbacktrace/Makefile.in: Likewise.
683         * lsan/Makefile.in: Likewise.
684         * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
685         * sanitizer_common/Makefile.in: Regenerated.
686         * tsan/Makefile.in: Likewise.
687         * ubsan/Makefile.in: Likewise.
689 2019-08-14  Martin Liska  <mliska@suse.cz>
691         * LOCAL_PATCHES: Refresh based on what was committed.
693 2019-08-14  Martin Liska  <mliska@suse.cz>
695         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
696         patch from trunk.
697         (CheckODRViolationViaPoisoning): Likewise.
698         (RegisterGlobal): Likewise.
699         * asan/asan_mapping.h: Likewise.
700         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
701         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
702         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
703         * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
704         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
705         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
706         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
707         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
708         (struct CFICheckFailData): Likewise.
709         (RECOVERABLE): Likewise.
710         * ubsan/ubsan_platform.h: Likewise.
712 2019-08-14  Martin Liska  <mliska@suse.cz>
714         PR sanitizer/89832
715         PR sanitizer/91325
716         * All source files: Merge from upstream 368656.
718 2019-06-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
720         * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
721         compiler-rt revision 363778.
723 2019-06-18  Iain Sandoe  <iain@sandoe.co.uk>
725         PR libsanitizer/87880
726         * asan/asan_interceptors.h:
727         (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
728         * asan/Makefile.am (DEFS): Add 
729         ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
730         * asan/Makefile.in: Regenerated.
731         * asan/libtool-version: Bump version.
733 2019-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
735         PR target/90639
736         * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
738 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
740         * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
741         handling.
742         * configure: Regenerate.
744 2019-04-08  Martin Liska  <mliska@suse.cz>
746         * LOCAL_PATCHES: Add revision.
748 2019-04-08  Martin Liska  <mliska@suse.cz>
750         PR sanitizer/89941
751         * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
752         Reapply patch from r259664.
753         * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
754         Likewise.
756 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
758         PR sanitizer/80953
759         Merge from LLVM revision 355980
760         * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
761         (kAllocatorSize): Likewise.
762         (DefaultSizeClassMap): Likewise.
763         * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
764         (SHADOW_OFFSET): Define for SPARC.
765         Include asan_mapping_sparc64.h for SPARC 64-bit.
766         * asan/asan_mapping_sparc64.h: New file.
768 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
770         PR sanitizer/80953
771         Merge from LLVM revision 355979
772         * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
773         copy Global objects for SPARC with GCC.
775 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
777         PR sanitizer/80953
778         Merge from LLVM revision 355978
779         * sanitizer_common/sanitizer_allocator_primary32.h
780         (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
781         SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
782         (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
783         (ComputeRegionId): Likewise.
784         * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
785         appropriate value for SPARC 64-bit.
786         * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
787         Define for SPARC.
788         (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
790 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
792         PR sanitizer/80953
793         Merge from LLVM revision 355965
794         * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
795         SPARC/Linux.
796         (GetPcSpBp): Likewise.
797         * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
798         Adjust for SPARC.
799         * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
800         Define to 1 for SPARC.
801         * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
802         * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
803         Adjust the PC address for SPARC with GCC.
805 2019-03-06  Martin Liska  <mliska@suse.cz>
807         PR sanitizer/88684
808         * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
809         (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
810         * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
811         Likewise.
813 2019-02-20  H.J. Lu  <hongjiu.lu@intel.com>
815         PR sanitizer/89409
816         * sanitizer_common/sanitizer_linux.cc (internal_readlink):
817         Cherry-pick compiler-rt r354451.
819 2019-01-23  Jonny Grant  <jg@jguk.org>
821         PR sanitizer/89010
822         * libsanitizer/README.gcc: Update to current https URLs.
824 2018-12-27  Martin Liska  <mliska@suse.cz>
826         PR sanitizer/86229
827         * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
828         pick rL350085.
829         * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
831 2018-11-09  Martin Liska  <mliska@suse.cz>
833         * LOCAL_PATCHES: Include one local patch.
835 2018-11-09  Martin Liska  <mliska@suse.cz>
837         PR sanitizer/87892
838         * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
839         1 when CPU_COUNT macro is not defined.
841 2018-11-08  Bill Seurer  <seurer@linux.vnet.ibm.com>
843         * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
844         Disable ASLR for powerpc64 when using sanitizers.
846 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
848         PR sanitizer/80953
849         * configure.tgt (sparc*-*-solaris2.11*): Enable.
850         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
852 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
854         PR sanitizer/80953
855         * sanitizer_common/sanitizer_internal_defs.h,
856         sanitizer_common/sanitizer_platform_limits_solaris.h,
857         sanitizer_common/sanitizer_procmaps_solaris.cc,
858         sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
859         revision 346153.
860         * sanitizer_common/sanitizer_stacktrace.h,
861         sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
862         compiler-rt revision 346155.
864 2018-11-05  Segher Boessenkool  <segher@kernel.crashing.org>
866         * LOCAL_PATCHES: Add r258525.
867         * sanitizer_common/sanitizer_stacktrace.cc
868         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
869         for PowerPC SYSV ABI.
871 2018-11-05  Martin Liska  <mliska@suse.cz>
873         PR sanitizer/87860
874         * sanitizer_common/sanitizer_linux.cc:  Cherry-pick upstream
875         r346129.
877 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
879         PR bootstrap/82856
880         * Makefile.am: Include multilib.am.
881         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
882         * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
883         interception/Makefile.in, libbacktrace/Makefile.in,
884         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
885         ubsan/Makefile.in: Regenerate.
887 2018-10-31  Martin Liska  <mliska@suse.cz>
889         * LOCAL_PATCHES: Update to installed revisions.
891 2018-10-31  Martin Liska  <mliska@suse.cz>
893         * ubsan/ubsan_platform.h: Add ifndef as we define it with
894         -DCAN_SANITIZE_UB CFLAGS.
896 2018-10-31  Martin Liska  <mliska@suse.cz>
898         * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
900 2018-10-31  Martin Liska  <mliska@suse.cz>
902         * LOCAL_PATCHES: Update patch list.
903         * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
904         patches from GCC's trunk.
905         (CheckODRViolationViaPoisoning): Likewise.
906         (RegisterGlobal): Likewise.
907         * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
908         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
909         * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
910         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
911         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
912         (struct CFICheckFailData): Likewise.
913         (RECOVERABLE): Likewise.
915 2018-10-31  Martin Liska  <mliska@suse.cz>
917         * config.h.in: Regenerate.
918         * configure: Likewise.
919         * sanitizer_common/Makefile.am: Include new files, remove old
920         files.
921         * sanitizer_common/Makefile.in: Regenerate.
922         * ubsan/Makefile.am: Include new files, remove old
923         files.
924         * ubsan/Makefile.in: Likewise.
925         * asan/Makefile.am: Include new files.
926         * asan/Makefile.in: Regenerate.
928 2018-10-31  Martin Liska  <mliska@suse.cz>
930         * All source files: Merge from upstream 345033.
932 2018-10-31  Martin Liska  <mliska@suse.cz>
934         * HOWTO_MERGE: Enhance documentation.
935         * merge.sh: Add support for git as well.
937 2018-08-02  Martin Liska  <mliska@suse.cz>
939         PR sanitizer/86022
940         * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
941         Cherry-pick compiler-rt revision 338606.
943 2018-08-01  Marek Polacek  <polacek@redhat.com>
945         PR sanitizer/86759
946         * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
947         * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
948         319180.
950 2018-07-25  H.J. Lu  <hongjiu.lu@intel.com>
952         PR target/86560
953         * asan/asan_interceptors.cc (swapcontext) Cherry-pick
954         compiler-rt revision 337603.
955         * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
956         Likewise.
958 2018-07-05  Jakub Jelinek  <jakub@redhat.com>
960         Revert
961         2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
963         PR sanitizer/84250
964         * Makefile.am: Reorder libs.
965         * Makefile.in: Regenerate.
966         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
967         libsanitizer_ubsan.la.
968         * asan/Makefile.in: Regenerate.
969         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
970         * ubsan/Makefile.in: Regenerate.
972 2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
974         PR sanitizer/84250
975         * Makefile.am: Reorder libs.
976         * Makefile.in: Regenerate.
977         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
978         libsanitizer_ubsan.la.
979         * asan/Makefile.in: Regenerate.
980         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
981         * ubsan/Makefile.in: Regenerate.
983 2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>
985         PR sanitizer/86090
986         * configure.ac: Check for lstat and readlink.
987         * configure, config.h.in: Rebuild.
989 2018-05-31  Matthias Klose  <doko@ubuntu.com>
991         PR sanitizer/86012
992         * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
993         SIZEOF_STRUCT_USTAT for 32bit sparc.
995 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
997         PR sanitizer/85835
998         * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
999         include <sys/ustat.h> for Linux.
1000         (SIZEOF_STRUCT_USTAT): New.
1001         (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
1003 2018-04-26  Hans-Peter Nilsson  <hp@axis.com>
1005         * configure.tgt <mips*-*-linux*>: Enable build, excluding
1006         mips*64*-*-linux*.
1008         * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
1009         take the shortcut to #include <sys/stat.h> for MIPS instead of
1010         the kernel <asm/stat.h>.  Explain why sys/stat.h is misleading
1011         or wrong to get the kernel struct stat.
1012         * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
1013         Correct the value for 32-bit non-android struct_kernel_stat_sz.
1015         * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
1016         && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
1018 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1020         * configure: Regenerated.
1022 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1024         * configure: Regenerated.
1026 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1028         PR jit/85384
1029         * configure: Regenerate.
1031 2018-04-18  Bill Seurer  <seurer@linux.vnet.ibm.com>
1033         PR sanitizer/85389
1034         * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
1035         from 0xa0000000000ULL to ~(uptr)0.
1037 2018-03-19  Jakub Jelinek  <jakub@redhat.com>
1039         PR sanitizer/84761
1040         * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
1041         Define if not defined.
1042         (DL_INTERNAL_FUNCTION): Don't define.
1043         (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
1044         determine at runtime whether to use regparm(3), stdcall calling
1045         convention for older glibcs or normal calling convention for
1046         newer glibcs for call to _dl_get_tls_static_info.
1048 2018-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
1050         * sanitizer_common/sanitizer_stacktrace.cc
1051         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
1052         for PowerPC SYSV ABI.
1054 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1056         PR target/84148
1057         * configure: Regenerate.
1059 2018-02-05  Martin Liska  <mliska@suse.cz>
1061         * asan/asan_flags.inc: Cherry-pick upstream r323995.
1062         * asan/asan_report.cc (CheckForInvalidPointerPair):
1063         Cherry-pick upstream r323995.
1065 2018-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1067         PR sanitizer/82825
1068         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1069         r324284.
1071 2018-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1073         PR sanitizer/82824
1074         * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
1076 2017-12-05  Martin Liska  <mliska@suse.cz>
1077             Jakub Jelinek  <jakub@redhat.com>
1079         * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
1080         * asan/asan_descriptions.h: Likewise.
1081         * asan/asan_report.cc: Likewise.
1082         * asan/asan_thread.cc: Likewise.
1083         * asan/asan_thread.h: Likewise.
1085 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1087         * acinclude.m4: Add enable.m4 and cet.m4.
1088         * Makefile.in: Regenerate.
1089         * asan/Makefile.am: Update AM_CXXFLAGS.
1090         * asan/Makefile.in: Regenerate.
1091         * configure: Likewise.
1092         * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
1093         EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
1094         * interception/Makefile.am: Update AM_CXXFLAGS.
1095         * interception/Makefile.in: Regenerate.
1096         * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
1097         * libbacktrace/Makefile.in: Regenerate.
1098         * lsan/Makefile.am: Update AM_CXXFLAGS.
1099         * lsan/Makefile.in: Regenerate.
1100         * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
1101         AM_CCASFLAGS.
1102         * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
1103         Add _CET_ENDBR macro.
1104         * sanitizer_common/Makefile.in: Regenerate.
1105         * tsan/Makefile.am: Update AM_CXXFLAGS.
1106         * tsan/Makefile.in: Regenerate.
1107         * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
1108         * ubsan/Makefile.am: Update AM_CXXFLAGS.
1109         * ubsan/Makefile.in: Regenerate.
1111 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
1113         PR bootstrap/82670
1114         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
1115         and ubsan_signals_standalone.cc.
1116         * ubsan/Makefile.in: Regenerated.
1118 2017-11-05  Tom de Vries  <tom@codesourcery.com>
1120         PR other/82784
1121         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
1122         "do {} while (0)".
1123         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1125 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
1127         PR sanitizer/82595
1128         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1129         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1130         liblsan_preinit.o.
1131         (lsan_files): Remove lsan_preinit.cc.
1132         (liblsan_preinit.o): New rule.
1133         * lsan/Makefile.in: Regenerated.
1135 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
1137         * All source files: Merge from upstream 315899.
1138         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1139         include/sanitizer/tsan_interface.h.
1140         * asan/libtool-version: Bump the libasan SONAME.
1141         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1142         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1143         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1144         sancov_flags.cc, sanitizer_allocator_checks.cc,
1145         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1146         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1147         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
1148         and sanitizer_coverage_mapping_libcdep.cc.
1149         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1150         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1151         (ubsan_files): Add ubsan_init_standalone.cc and
1152         ubsan_signals_standalone.cc.
1153         * ubsan/libtool-version: Bump the libubsan SONAME.
1154         * asan/Makefile.in: Regenerate.
1155         * lsan/Makefile.in: Regenerate.
1156         * sanitizer_common/Makefile.in: Regenerate.
1157         * tsan/Makefile.in: Regenerate.
1158         * ubsan/Makefile.in: Regenerate.
1160 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
1162         PR sanitizer/82379
1163         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1164         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1166 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
1168         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1169         Define.
1171 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
1173         * include/system/sys/ptrace.h: New file.
1175 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
1177         PR sanitizer/80998
1178         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1179         * ubsan/ubsan_checks.inc: Likewise.
1180         * ubsan/ubsan_handlers.h: Likewise.
1182 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
1184         PR sanitizer/81066
1185         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1186         * sanitizer_common/sanitizer_linux.cc: Likewise.
1187         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1188         * tsan/tsan_platform_linux.cc: Likewise.
1190 2017-04-06  Martin Liska  <mliska@suse.cz>
1192         PR sanitizer/80166
1193         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1194         Cherry-pick upstream r299036.
1196 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
1198         PR sanitizer/78158
1199         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1201 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
1203         PR sanitizer/79562
1204         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1205         upstream r294806.
1207 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
1209         PR sanitizer/79341
1210         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1211         s390-linux 31-bit.
1212         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1213         r294793.
1214         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1215         upstream r294790.
1216         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1217         r294799.
1219 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
1221         PR sanitizer/78663
1222         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1223         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1225 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
1227         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1229 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1231         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1233         PR sanitizer/79168
1234         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1235         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1236         text.
1237         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1238         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1239         * tsan/tsan_ppc_regs.h: Likewise.
1240         * tsan/tsan_rtl_aarch64.S: Likewise.
1241         * tsan/tsan_rtl_mips64.S: Likewise.
1242         * tsan/tsan_rtl_ppc64.S: Likewise.
1244 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
1246         PR other/79046
1247         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1248         instead of cat to get version from BASE-VER file.
1249         * asan/Makefile.am (gcc_version): Likewise.
1250         * ubsan/Makefile.am (gcc_version): Likewise.
1251         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1252         * lsan/Makefile.am (gcc_version): Likewise.
1253         * tsan/Makefile.am (gcc_version): Likewise.
1254         * interception/Makefile.in: Regenerated.
1255         * asan/Makefile.in: Regenerated.
1256         * ubsan/Makefile.in: Regenerated.
1257         * sanitizer_common/Makefile.in: Regenerated.
1258         * lsan/Makefile.in: Regenerated.
1259         * tsan/Makefile.in: Regenerated.
1261 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1263         PR other/79046
1264         * configure.ac: Add GCC_BASE_VER.
1265         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1266         get version from BASE-VER file.
1267         * libbacktrace/Makefile.in: Regenerated.
1268         * interception/Makefile.in: Regenerated.
1269         * asan/Makefile.in: Regenerated.
1270         * ubsan/Makefile.in: Regenerated.
1271         * configure: Regenerated.
1272         * sanitizer_common/Makefile.in: Regenerated.
1273         * lsan/Makefile.in: Regenerated.
1274         * Makefile.in: Regenerated.
1275         * tsan/Makefile.in: Regenerated.
1277 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
1279         PR sanitizer/78992
1280         * sanitizer_common/sanitizer_platform_limits_posix.h
1281         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1283 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1285         * LOCAL_PATCHES: Add revision.
1287 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1289         PR sanitizer/78532
1290         * sanitizer_common/sanitizer_platform_limits_posix.h
1291         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1292         versions.
1294 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1296         * LOCAL_PATCHES: Remove r242480.
1298 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1300         * LOCAL_PATCHES: Add revision.
1302 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
1304         PR sanitizer/78267
1305         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1306         compiler supports blocks extension.
1308 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1310         * LOCAL_PATCHES: Add revision.
1312 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1314         PR sanitizer/78294
1315         * tsan/tsan_rtl.cc: Add missing attribute.
1317 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1319         * LOCAL_PATCHES: New file.
1321 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1323         PR sanitizer/78307
1324         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1325         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
1326         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1327         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1328         function.
1329         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1330         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1331         (__ubsan_handle_cfi_bad_type): Export function.
1332         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1333         * HOWTO_MERGE: Update documentation.
1335 2016-11-15  Matthias Klose  <doko@ubuntu.com>
1337         * configure: Regenerate.
1339 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1341         * asan/asan_globals.cc (RegisterGlobal): Do not call
1342         CheckODRViolationViaPoisoning.
1343         (CheckODRViolationViaPoisoning): Remove.
1345 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1347         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1348         compiled code with GCC when extracting the caller PC for ARM if no
1349         valid frame pointer is available.
1351 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1353         PR sanitizer/63958
1354         Reapply:
1355         2014-10-14  David S. Miller  <davem@davemloft.net>
1357         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1358         Define at __kernel_time_t, as needed for sparc.
1359         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1360         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1361         (__sanitizer): Define struct___old_kernel_stat_sz,
1362         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1363         (__sanitizer_ipc_perm): Adjust for sparc targets.
1364         (__sanitizer_shmid_ds): Likewsie.
1365         (__sanitizer_sigaction): Likewise.
1366         (IOC_SIZE): Likewsie.
1368 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1370         * All source files: Merge from upstream 285547.
1371         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1372         variable.
1373         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1374         * asan/Makefile.am (asan_files): Add new files.
1375         * asan/Makefile.in: Regenerate.
1376         * ubsan/Makefile.in: Likewise.
1377         * lsan/Makefile.in: Likewise.
1378         * tsan/Makefile.am (tsan_files): Add new files.
1379         * tsan/Makefile.in: Regenerate.
1380         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1381         (EXTRA_libsanitizer_common_la_SOURCES): Define.
1382         (libsanitizer_common_la_LIBADD): Likewise.
1383         (libsanitizer_common_la_DEPENDENCIES): Likewise.
1384         * sanitizer_common/Makefile.in: Regenerate.
1385         * interception/Makefile.in: Likewise.
1386         * libbacktace/Makefile.in: Likewise.
1387         * Makefile.in: Likewise.
1388         * configure: Likewise.
1389         * merge.sh: Handle builtins/assembly.h merging.
1390         * builtins/assembly.h: New file.
1391         * asan/libtool-version: Bump the libasan SONAME.
1393 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
1395         PR sanitizer/77567
1396         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1398 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
1400         PR sanitizer/77396
1401         * asan/asan_globals.cc: Cherry-pick upstream r280657.
1403 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
1405         PR sanitizer/71042
1406         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1407         * tsan/tsan_rtl_aarch64.S: Likewise.
1409 2016-07-23  Alan Modra  <amodra@gmail.com>
1411         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
1412         * configure.ac: Don't substitute OBSTACK_DEFS.
1413         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1414         * tsan/Makefile.am: Likewise.
1415         * configure: Regenerate.
1416         * Makefile.in: Regenerate.
1417         * asan/Makefile.in: Regenerate.
1418         * interception/Makefile.in: Regenerate.
1419         * libbacktrace/Makefile.in: Regenerate.
1420         * lsan/Makefile.in: Regenerate.
1421         * sanitizer_common/Makefile.in: Regenerate.
1422         * tsan/Makefile.in: Regenerate.
1423         * ubsan/Makefile.in: Regenerate.
1425 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
1427         PR sanitizer/71160
1428         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1429         and r269633.
1431 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
1433         PR sanitizer/70624
1434         * asan/asan_mac.cc: Cherry pick upstream r266868.
1436 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
1438         PR sanitizer/68824
1439         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1440         InitializeInterceptors): Cherry pick upstream r258119.
1442 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
1444         * configure.ac: Replace the hard-coded -ldl requirement for
1445         link_sanitizer_common with a configure time check for -ldl.
1446         * configure: Regenerate.
1448 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1450         * include/system/linux/asm/ptrace.h: Move to ...
1451         * include/system/asm/ptrace.h: ... this.
1453 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1455         * include/system/linux/asm/ptrace.h: New header.
1457 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1459         * All source files: Merge from upstream r253555.
1460         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1461         dependences for TSan for aarch64-*-linux* targets.
1462         * tsan/Makefile.am: Add new source files.
1463         * configure: Regenerate.
1464         * tsan/Makefile.in: Likewise.
1466 2015-11-09  Alan Modra  <amodra@gmail.com>
1468         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1469         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1470         interceptors.
1471         * configure.ac: Substitute OBSTACK_DEFS.
1472         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1473         * tsan/Makefile.am: Likewise.
1474         * configure: Regenerate.
1475         * Makefile.in: Regenerate.
1476         * asan/Makefile.in: Regenerate.
1477         * interception/Makefile.in: Regenerate.
1478         * libbacktrace/Makefile.in: Regenerate.
1479         * lsan/Makefile.in: Regenerate.
1480         * sanitizer_common/Makefile.in: Regenerate.
1481         * tsan/Makefile.in: Regenerate.
1482         * ubsan/Makefile.in: Regenerate.
1484 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1486         PR bootstrap/68041
1487         * configure.ac (link_sanitizer_common): Link against librt only if it
1488         contains shm_open, required by sanitizers.
1489         (CXX_ABI_NEEDED): Remove variable.
1490         * configure: Regenerate.
1491         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1492         * ubsan/Makefile.in: Regenerate.
1494 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1496         * HOWTO_MERGE: New file.
1498 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1500         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1501         compiled code with GCC when extracting the caller PC for ARM if no
1502         valid frame pointer is available.
1504 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1506         PR bootstrap/63888
1507         Reapply:
1508         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
1510         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1511         support until it is rewritten upstream.
1513         * c-c++-common/asan/pr63888.c: New test.
1515 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1517         PR sanitizer/63958
1518         Reapply:
1519         2014-10-14  David S. Miller  <davem@davemloft.net>
1521         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1522         Define at __kernel_time_t, as needed for sparc.
1523         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1524         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1525         (__sanitizer): Define struct___old_kernel_stat_sz,
1526         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1527         (__sanitizer_ipc_perm): Adjust for sparc targets.
1528         (__sanitizer_shmid_ds): Likewsie.
1529         (__sanitizer_sigaction): Likewise.
1530         (IOC_SIZE): Likewsie.
1532 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1534         * All source files: Merge from upstream r250806.
1535         * configure.ac (link_sanitizer_common): Add -lrt flag.
1536         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1537         Set USE_CXX_ABI_FLAG=true for darwin.
1538         * asan/Makefile.am (asan_files): Add new files.
1539         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1540         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1541         * asan/Makefile.in: Regenerate.
1542         * ubsan/Makefile.am (ubsan_files): Add new files.
1543         (DEFS): Add DCAN_SANITIZE_UB=1.
1544         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1545         * ubsan/Makefile.in: Regenerate.
1546         * tsan/Makefile.am (tsan_files): Add new files.
1547         (DEFS): Add DCAN_SANITIZE_UB=0.
1548         * tsan/Makefile.in: Regenerate.
1549         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1550         * sanitizer_common/Makefile.in: Regenerate.
1551         * asan/libtool-version: Bump the libasan SONAME.
1553 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1555         PR sanitizer/67258
1556         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1558 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1560         PR sanitizer/63927
1561         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1562         for PowerPC.
1564 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1566         PR sanitizer/63927
1567         * sanitizer_common/sanitizer_stacktrace.cc
1568         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1569         find the link register at an offset of 16 from the base of the
1570         caller's stack frame.
1572 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1574         * Makefile.in: Regenerated with automake-1.11.6.
1575         * aclocal.m4: Likewise.
1576         * asan/Makefile.in: Likewise.
1577         * configure: Likewise.
1578         * interception/Makefile.in: Likewise.
1579         * libbacktrace/Makefile.in: Likewise.
1580         * lsan/Makefile.in: Likewise.
1581         * sanitizer_common/Makefile.in: Likewise.
1582         * tsan/Makefile.in: Likewise.
1583         * ubsan/Makefile.in: Likewise.
1585 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
1587         PR sanitizer/64839
1588         * sanitizer_common/sanitizer_platform.h: Cherry pick
1589         upstream r234470.
1590         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1591         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1592         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1593         * Makefile.in: Regenerate.
1594         * asan/Makefile.in: Regenerate.
1595         * config.h.in: Regenerate.
1596         * configure: Regenerate.
1597         * interception/Makefile.in: Regenerate.
1598         * libbacktrace/Makefile.in: Regenerate.
1599         * lsan/Makefile.in: Regenerate.
1600         * sanitizer_common/Makefile.in: Regenerate.
1601         * tsan/Makefile.in: Regenerate.
1602         * ubsan/Makefile.in: Regenerate.
1605 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
1607         PR sanitizer/59009
1608         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1609         upstream r230324.
1610         * sanitizer_common/sanitizer_platform.h: Likewise.
1611         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1613 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1615         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1616         upstream 224508 and 224755.
1618 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
1620         PR sanitizer/63958
1621         Reapply:
1622         2014-10-14  David S. Miller  <davem@davemloft.net>
1624         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1625         Define at __kernel_time_t, as needed for sparc.
1626         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1627         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1628         (__sanitizer): Define struct___old_kernel_stat_sz,
1629         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1630         (__sanitizer_ipc_perm): Adjust for sparc targets.
1631         (__sanitizer_shmid_ds): Likewsie.
1632         (__sanitizer_sigaction): Likewise.
1633         (IOC_SIZE): Likewsie.
1635 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
1637         * configure.tgt: Enable build on powerpc*le-*-linux.
1639 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
1641         PR bootstrap/63888
1642         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1643         support until it is rewritten upstream.
1645 2015-01-26  Matthias Klose  <doko@ubuntu.com>
1647         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1648         * configure: Regenerate.
1650 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1652         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1653         * configure: Regenerate.
1654         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1656 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1658         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1659         * configure: Regenerate.
1660         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1661         (libtsan_la_DEPENDENCIES): Likewise.
1662         * Makefile.in: Regenerate.
1663         * asan/Makefile.in: Regenerate.
1664         * interception/Makefile.in: Regenerate.
1665         * libbacktrace/Makefile.in: Regenerate.
1666         * lsan/Makefile.in: Regenerate.
1667         * sanitizer_common/Makefile.in: Regenerate.
1668         * tsan/Makefile.in: Regenerate.
1669         * ubsan/Makefile.in: Regenerate.
1671 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
1673         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1675 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1677         PR sanitizer/64435
1678         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1679         upstream r226637.
1680         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1681         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1683 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1685         PR sanitizer/64632
1686         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1688 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1690         PR sanitizer/64435
1691         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1692         upstream r223925.
1694 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
1696         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1697         upstream r224518 and r224519.
1698         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1699         r224834.
1701 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
1703         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1704         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1705         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1706         upstream r224308.
1708 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1710         PR bootstrap/63784
1711         * configure: Regenerated.
1713 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
1715         PR target/61137
1716         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1717         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1719 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
1721         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1722         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1723         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1724         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1725         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1726         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1727         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1728         * sanitizer_common/Makefile.in: Regenerate.
1729         * asan/Makefile.in: Ditto.
1730         * lsan/Makefile.in: Ditto.
1731         * interception/Makefile.in: Ditto.
1732         * tsan/Makefile.in: Ditto.
1733         * libbacktrace/Makefile.in: Ditto.
1734         * ubsan/Makefile.in: Ditto.
1736 2014-11-13  Kostya Serebryany  <kcc@google.com>
1738         * All source files: Merge from upstream r221802.
1739         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1740         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1741         with 'start' to follow the new interface.
1742         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1743         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1744         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1745         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1746         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1747         files.
1748         (AM_CXXFLAGS): Added -std=c++11.
1749         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1750         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1751         * asan/Makefile.in: Regenerate.
1752         * interception/Makefile.in: Regenerate.
1753         * libbacktrace/Makefile.in: Regenerate.
1754         * lsan/Makefile.in: Regenerate.
1755         * sanitizer_common/Makefile.in: Regenerate.
1756         * tsan/Makefile.in: Regenerate.
1757         * ubsan/Makefile.in: Regenerate.
1759 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1761         PR target/63610
1762         * configure: Regenerate.
1764 2014-10-16  Martin Liska  <mliska@suse.cz>
1766         * asan/Makefile.am: IPA ICF pass is disabled.
1767         * asan/Makefile.in: Likewise.
1769 2014-10-14  David S. Miller  <davem@davemloft.net>
1771         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1772         Define at __kernel_time_t, as needed for sparc.
1773         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1774         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1775         (__sanitizer): Define struct___old_kernel_stat_sz,
1776         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1777         (__sanitizer_ipc_perm): Adjust for sparc targets.
1778         (__sanitizer_shmid_ds): Likewsie.
1779         (__sanitizer_sigaction): Likewsie.
1780         (IOC_SIZE): Likewsie.
1782 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
1784         * ubsan/Makefile.am (DEFS): Add -DPIC.
1785         * ubsan/Makefile.in: Regenerated.
1787 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
1789         * configure.tgt: Enable build on aarch64*-linux.
1791 2014-09-19  Kostya Serebryany  <kcc@google.com>
1793         * All source files: Merge from upstream r218156.
1794         * asan/Makefile.am (asan_files): Added new files.
1795         * asan/Makefile.in: Regenerate.
1796         * ubsan/Makefile.am (ubsan_files): Added new files.
1797         * ubsan/Makefile.in: Regenerate.
1798         * tsan/Makefile.am (tsan_files): Added new files.
1799         * tsan/Makefile.in: Regenerate.
1800         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1801         files.
1802         * sanitizer_common/Makefile.in: Regenerate.
1803         * asan/libtool-version: Bump the libasan SONAME.
1805 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
1807         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1808         upstream r215485, r217389, r217391 and r217400.
1810 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
1812         * sanitizer_common/sanitizer_common_interceptors.inc:
1813         Cherry pick upstream r211008.
1815 2014-06-11  Richard Biener  <rguenther@suse.de>
1817         * asan/asan_linux.cc: Cherry pick upstream r210012.
1819 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
1821         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1822         r209879.
1823         * sanitizer_common/sanitizer_common.h: Likewise.
1824         * asan/asan_mapping.h: Likewise.
1825         * asan/asan_linux.cc: Likewise.
1826         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1827         * sanitizer_common/sanitizer_allocator.h: Likewise.
1829 2014-05-23  Marek Polacek  <polacek@redhat.com>
1831         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1832         floating-point types.
1834 2014-05-22  Kostya Serebryany  <kcc@google.com>
1836         * All source files: Merge from upstream r209283.
1837         * asan/Makefile.am (asan_files): Added new files.
1838         * asan/Makefile.in: Regenerate.
1839         * tsan/Makefile.am (tsan_files): Added new files.
1840         * tsan/Makefile.in: Regenerate.
1841         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1842         files.
1843         * sanitizer_common/Makefile.in: Regenerate.
1845 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
1847         PR sanitizer/61100
1848         * Makefile.am (nodist_saninclude_HEADERS): Install
1849         public headers.
1850         * Makefile.in: Regenerate.
1852 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1854         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1855         Add ../../libbacktrace/sort.c.
1856         * libbacktrace/Makefile.in: Regenerate.
1857         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1859 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1861         * configure.tgt: Unsupported for little endian PowerPC for now.
1863 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
1865         PR sanitizer/60055
1866         * tsan/tsan_flags.cc (__tsan_default_options): Add
1867         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
1868         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1870         PR sanitizer/60038
1871         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1872         sanitizer_atomic.h and unistd.h.
1873         (kThreadDescriptorSize): Made static, remove initializer and const,
1874         change type to atomic_uintptr_t.
1875         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1876         query glibc version, compute kThreadDescriptorSize depending on
1877         glibc version minor number.
1878         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1879         kThreadDescriptorSize directly.
1881 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
1882             Jakub Jelinek  <jakub@redhat.com>
1884         PR sanitizer/57316
1885         * configure.ac: Check for missing syscalls.
1886         * Makefile.am: Likewise.
1887         * configure: Regenerate.
1888         * Makefile.in: Regenerate.
1890 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
1892         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1893         (LibbacktraceSymbolizer::Demangle): New declaration.
1894         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1895         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1896         method if possible.
1897         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1898         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1899         (struct CplusV3DemangleData): New type.
1900         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1901         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1902         SymbolizeDataCallback): Use CplusV3Demangle.
1903         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1904         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1905         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1906         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1907         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1908         cplus_demangle_init_info, cplus_demangle_mangled_name,
1909         cplus_demangle_operators, cplus_demangle_print,
1910         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1911         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1912         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1913         Define.
1914         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1915         (memcmp, strncmp): Redefine.
1916         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1917         ../../libiberty/cp-demangle.c.
1918         * libbacktrace/bridge.cc (__asan_internal_memcmp,
1919         __asan_internal_strncmp): New functions.
1920         * sanitizer_common/Makefile.in: Regenerated.
1921         * libbacktrace/Makefile.in: Regenerated.
1922         * configure: Regenerated.
1923         * configure.ac: Regenerated.
1924         * config.h.in: Regenerated.
1926         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1927         -isystem $(top_srcdir)/include/system.
1928         * sanitizer_common/Makefile.in: Regenerated.
1929         * include/system/linux/aio_abi.h: New header.
1930         * include/system/linux/mroute.h: New header.
1931         * include/system/linux/mroute6.h: New header.
1932         * include/system/linux/perf_event.h: New header.
1933         * include/system/linux/types.h: New header.
1935         PR sanitizer/59136
1936         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1937         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1938         and -I/-include flags.
1939         * lsan/Makefile.am (liblsan_la_LIBADD): Add
1940         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1941         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1942         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1943         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1944         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1945         libbacktrace.
1946         * README.gcc: Document that also lsan and ubsan are
1947         maintained in compiler-rt upstream.
1948         * libbacktrace/Makefile.am: New file.
1949         * libbacktrace/backtrace-rename.h: New file.
1950         * libbacktrace/backtrace-supported.h.in: New file.
1951         * libbacktrace/bridge.cc: New file.
1952         * configure.ac: Add tests needed for libbacktrace build
1953         within libsanitizer.
1954         * sanitizer_common/Makefile.in: Regenerated.
1955         * lsan/Makefile.in: Regenerated.
1956         * tsan/Makefile.in: Regenerated.
1957         * ubsan/Makefile.in: Regenerated.
1958         * libbacktrace/Makefile.in: Generated.
1959         * config.h.in: Regenerated.
1960         * configure: Regenerated.
1961         * Makefile.in: Regenerated.
1962         * interception/Makefile.in: Regenerated.
1963         * asan/Makefile.in: Regenerated.
1964         * aclocal.m4: Regenerated.
1966 2013-12-19  Kostya Serebryany  <kcc@google.com>
1968         * sanitizer_common/sanitizer_platform_limits_posix.cc:
1969         workaround for missing definition of EOWNERDEAD, backport
1970         from upstream r196779.
1972 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1974         * sanitizer_common/sanitizer_platform_limits_posix.h
1975         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1976         (__sanitizer_clock_t): Use long long for x32.
1978 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1980         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1981         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1982         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1984 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
1986         * configure.ac (link_sanitizer_common): Add -lm.
1987         * configure: Regenerated.
1989 2013-12-05  Kostya Serebryany  <kcc@google.com>
1991         * All source files: Merge from upstream r196489.
1992         * merge.sh: Add *.S to the list of merged files.
1994 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
1996         PR sanitizer/59368
1997         * Makefile.am (gcc_version): Added gcc_version.
1998         * Makefile.in: Regenerate.
2000 2013-12-05  Kostya Serebryany  <kcc@google.com>
2002         * All source files: Merge from upstream r196090.
2003         * tsan/Makefile.am (tsan_files): Added new files.
2004         * tsan/Makefile.in: Regenerate.
2005         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2006         * sanitizer_common/Makefile.in: Regenerate.
2007         * lsan/Makefile.am (lsan_files): Added new files.
2008         * lsan/Makefile.in: Regenerate.
2010 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
2011             Yury Gribov  <y.gribov@samsung.com>
2013         PR sanitizer/59063
2014         * libsanitizer.spec.in: Add spec file to hold link flags for
2015         various sanitizer libs.
2016         * configure.ac: Check whether clock_* routines come from librt.
2017         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
2018         configure.ac.
2019         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
2020         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
2021         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
2022         * asan/Makefile.in: Regenerate.
2023         * interception/Makefile.in: Regenerate.
2024         * lsan/Makefile.in: Regenerate.
2025         * sanitizer_common/Makefile.in: Regenerate.
2026         * tsan/Makefile.in: Regenerate.
2027         * ubsan/Makefile.in: Regenerate.
2028         * Makefile.in: Regenerate.
2029         * configure: Regenerate.
2031 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
2032             Yury Gribov  <y.gribov@samsung.com>
2034         PR sanitizer/59106
2035         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
2036         don't need it.
2037         * ubsan/Makefile.in: Regenerated.
2039 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
2041         PR sanitizer/59061
2042         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
2043         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
2044         * configure: Regenerated.
2045         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
2046         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
2047         * lsan/Makefile.in: Regenerated.
2049 2013-11-22  Mike Stump  <mikestump@comcast.net>
2051         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
2052         change from upstream to fix build.
2054 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
2056         PR sanitizer/59106
2057         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
2058         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2059         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
2060         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
2061         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
2062         * asan/Makefile.in: Regenerate.
2063         * interception/Makefile.in: Regenerate.
2064         * tsan/Makefile.in: Regenerate.
2065         * lsan/Makefile.in: Regenerate.
2066         * sanitizer_common/Makefile.in: Regenerate.
2068 2013-11-15  Kostya Serebryany  <kcc@google.com>
2070         PR sanitizer/58994
2071         Backport from upstream revision 194573
2072         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
2073         back to the original functions in the common libsanitizer
2074         interceptors and the __cxa_atexit() interceptor on Darwin.
2076 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
2078         PR sanitizer/59009
2079         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
2080         ifdef out more source.
2082 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
2084         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
2085         ifdef out almost the whole source.
2086         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
2088 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2090         PR sanitizer/59018
2091         * sanitizer_common/sanitizer_platform_limits_posix.cc
2092         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
2093         defined.
2095 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2097         PR sanitizer/59018
2098         * sanitizer_common/sanitizer_platform_limits_linux.cc
2099         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
2100         defined.
2101         * sanitizer_common/sanitizer_platform_limits_posix.h
2102         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
2103         defined.
2104         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
2105         is defined.
2106         (__sanitizer___kernel_gid_t): Likewise.
2107         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
2108         is defined.
2110 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2112         PR sanitizer/59018
2113         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
2114         2 64-bit integers to save and restore fn and arg.  Properly load
2115         newtls/child_tidptr into r8/r10.
2117 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2119         PR sanitizer/59018
2120         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
2121         internal_munmap, internal_open, internal_read, internal_write,
2122         internal_stat, internal_lstat, internal_fstat, internal_readlink,
2123         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
2124         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2125         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2127 2013-11-04  Kostya Serebryany  <kcc@google.com>
2129         * All source files: Merge from upstream r191666.
2130         * merge.sh: Added lsan.
2131         * configure.ac (AC_CONFIG_FILES): Added lsan.
2132         * Makefile.am (SUBDIRS): Added lsan.
2133         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2134         * asan/Makefile.am (asan_files): Added new files.
2135         (libasan_la_LIBADD): Added a dependency on lsan.
2136         * lsan/Makefile.am: New file.
2137         * asan/Makefile.in: Regenerate.
2138         * lsan/Makefile.in: Regenerate.
2139         * Makefile.in: Regenerate.
2140         * configure: Regenerate.
2141         * sanitizer_common/Makefile.in: Regenerate.
2143 2013-09-20  Alan Modra  <amodra@gmail.com>
2145         * configure: Regenerate.
2147 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
2149         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2150         libinterception.la for Darwin.
2151         * ubsan/Makefile.in: Regenerate.
2153 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
2155         * Makefile.am (SUBDIRS): Add ubsan.
2156         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2157         * merge.sh: Merge ubsan.
2158         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2159         * sanitizer_common/sanitizer_printf.cc: Likewise.
2160         * sanitizer_common/sanitizer_common.h: Likewise.
2161         * ubsan: New directory. Import ubsan runtime from llvm.
2163 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
2165         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2166         Cherry pick upstream r182922.
2168 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
2170         * configure.tgt: Add ARM pattern.
2172 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
2174         PR other/43620
2175         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2176         * Makefile.in: Regenerated.
2177         * asan/Makefile.in: Regenerated.
2178         * interception/Makefile.in: Regenerated.
2179         * sanitizer_common/Makefile.in: Regenerated.
2180         * tsan/Makefile.in: Regenerated.
2182 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
2184         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2185         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2186         0x4fffffffffULL.
2188 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
2190         PR sanitizer/56393
2191         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2192         libasan_preinit.o.
2193         (libasan_preinit.o): Depend on asan_preinit.o.
2194         * asan/Makefile.in: Regenerated.
2195         * asan/asan_preinit.cc: New file, synced from upstream.
2196         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2198 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
2200         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2201         dynamic/asan_interceptors_dynamic.cc.
2202         * asan/Makefile.in: Regenerated.
2203         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2205 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
2207         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2208         defined.  Add used attribute.
2210 2013-02-21  Kostya Serebryany  <kcc@google.com>
2212         * All source files: Merge from upstream r175733.
2213         * sanitizer_common/Makefile.am: Added a new file.
2214         * sanitizer_common/Makefile.in: Regenerated.
2216 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
2218         PR bootstrap/56327
2219         * interception/interception.h (OFF_T): Merged from upstream
2220         r175140.
2222 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
2224         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2226 2013-02-13  Kostya Serebryany  <kcc@google.com>
2228         PR sanitizer/56128
2229         * All source files: Merge from upstream r175049.
2230         * interception/Makefile.am: added include path.
2231         * interception/Makefile.in: Regenerated.
2233 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
2235         * configure.tgt: Disable build on darwin9 and earlier.
2237 2013-01-23  Kostya Serebryany  <kcc@google.com>
2239         PR sanitizer/55989
2240         * All source files: Merge from upstream r173241.
2241         * merge.sh: Support merging .inc files.
2243 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
2245         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2246         -Wno-c99-extensions.
2247         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2248         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2249         * sanitizer_common/Makefile.in: Regenerated.
2250         * interception/Makefile.in: Regenerated.
2251         * asan/Makefile.in: Regenerated.
2253 2013-01-10  Wei Mi  <wmi@google.com>
2255         PR sanitizer/55488
2256         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2257         * tsan/Makefile.in: Regenerated.
2258         * tsan/tsan_rtl.h: Enable HACKY_CALL.
2260 2013-01-10  Kostya Serebryany  <kcc@google.com>
2262         * All source files: Merge from upstream r171973.
2263         * sanitizer_common/Makefile.am: Added new files.
2264         * asan/Makefile.am: Likewise.
2265         * tsan/Makefile.am: Likewise.
2266         * sanitizer_common/Makefile.in: Regenerated.
2267         * asan/Makefile.in: Likewise.
2268         * tsan/Makefile.in: Likewise.
2270 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
2272         * asan/Makefile.am (libasan_la_LIBADD): Replace
2273         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2274         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2275         * Makefile.in: Regenerated.
2276         * configure: Likewise.
2277         * asan/Makefile.in: Likewise.
2278         * interception/Makefile.in: Likewise.
2279         * sanitizer_common/Makefile.in: Likewise.
2280         * tsan/Makefile.in: Likewise.
2282 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2284         * Makefile.am (AM_MAKEFLAGS): Restored.
2285         * interception/Makefile.am: Likewise.
2286         * sanitizer_common/Makefile.am: Likewise.
2287         * tsan/Makefile.am: Likewise.
2288         * Makefile.in: Regenerated.
2289         * asan/Makefile.in: Likewise.
2290         * interception/Makefile.in: Likewise.
2291         * sanitizer_common/Makefile.in: Likewise.
2292         * tsan/Makefile.in: Likewise.
2294 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2296         * Makefile.am (MAKEOVERRIDES): Restored.
2297         * asan/Makefile.am: Likewise.
2298         * interception/Makefile.am: Likewise.
2299         * sanitizer_common/Makefile.am: Likewise.
2300         * tsan/Makefile.am: Likewise.
2301         * Makefile.in: Regenerated.
2302         * asan/Makefile.in: Likewise.
2303         * interception/Makefile.in: Likewise.
2304         * sanitizer_common/Makefile.in: Likewise.
2305         * tsan/Makefile.in: Likewise.
2307 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2309         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2310         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2311         * Makefile.in: Regenerated.
2312         * configure: Likewise.
2313         * asan/Makefile.in: Likewise.
2314         * interception/Makefile.in: Likewise.
2315         * sanitizer_common/Makefile.in: Likewise.
2316         * tsan/Makefile.in: Likewise.
2318 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2320         * Makefile.am (AM_MAKEFLAGS): Removed.
2321         (MAKEOVERRIDES): Likewise.
2322         * asan/Makefile.am: Likewise.
2323         * interception/Makefile.am: Likewise.
2324         * sanitizer_common/Makefile.am: Likewise.
2325         * tsan/Makefile.am: Likewise.
2326         * Makefile.in: Regenerated.
2327         * asan/Makefile.in: Likewise.
2328         * interception/Makefile.in: Likewise.
2329         * sanitizer_common/Makefile.in: Likewise.
2330         * tsan/Makefile.in: Likewise.
2332 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2334         PR sanitizer/55533
2335         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2336         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2337         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2338         (AM_MAKEFLAGS): Remove CC and CXX.
2339         * interception/Makefile.am: Likewise.
2340         * sanitizer_common/Makefile.am: Likewise.
2341         * tsan/Makefile.am: Likewise.
2342         * Makefile.in: Regenerated.
2343         * aclocal.m4: Likewise.
2344         * configure: Likewise.
2345         * asan/Makefile.in: Likewise.
2346         * interception/Makefile.in: Likewise.
2347         * sanitizer_common/Makefile.in: Likewise.
2348         * tsan/Makefile.in: Likewise.
2350 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
2352         * configure.tgt: Enable build on powerpc*-linux.
2354 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
2356         PR 55599/sanitizer
2357         * configure.ac: Set enable_static=no on darwin.
2358         * configure: Regenerated.
2360 2012-12-06  Kostya Serebryany  <kcc@google.com>
2362         * All files: Merge from upstream r169392.
2364 2012-12-05  Kostya Serebryany  <kcc@google.com>
2366         * All files: Merge from upstream r169371.
2368 2012-12-04  Kostya Serebryany  <kcc@google.com>
2369             Jack Howarth  <howarth@bromo.med.uc.edu>
2371         PR 55521/sanitizer
2372         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2373         * Makefile.am: Don't build interception subdir when
2374         USING_MAC_INTERPOSE defined.
2375         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2376         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2377         Compile asan_interceptors_dynamic.cc but not libinterception
2378         when USING_MAC_INTERPOSE defined.
2379         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2380         * configure: Regenerated.
2381         * Makefile.in: Likewise.
2382         * asan/Makefile.in: Likewise.
2383         * interception/Makefile.in: Likewise.
2384         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2385         * asan/asan_mac.cc: Likewise.
2386         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2387         and use MISSING_BLOCKS_SUPPORT.
2388         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2389         * interception/mach_override/LICENSE.txt: Remove unused file.
2390         * interception/mach_override/mach_override.c: Likewise.
2391         * interception/mach_override/mach_override.h: Likewise.
2392         * interception/mach_override: Remove unused directory.
2394 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2396         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2397         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2398         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2399         files.
2400         (AM_MAKEFLAGS): Restore CC and CXX.
2401         * interception/Makefile.am: Likewise.
2402         * sanitizer_common/Makefile.am: Likewise.
2403         * tsan/Makefile.am: Likewise.
2404         * Makefile.in: Regenerated.
2405         * aclocal.m4: Likewise.
2406         * configure: Likewise.
2407         * asan/Makefile.in: Likewise.
2408         * interception/Makefile.in: Likewise.
2409         * sanitizer_common/Makefile.in: Likewise.
2410         * tsan/Makefile.in: Likewise.
2412 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2414         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2415         * configure.ac (ACX_NONCANONICAL_TARGET): New.
2416         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2417         files.
2418         (AM_MAKEFLAGS): Remove CC and CXX.
2419         * interception/Makefile.am: Likewise.
2420         * sanitizer_common/Makefile.am: Likewise.
2421         * tsan/Makefile.am: Likewise.
2422         * Makefile.in: Regenerated.
2423         * aclocal.m4: Likewise.
2424         * configure: Likewise.
2425         * asan/Makefile.in: Likewise.
2426         * interception/Makefile.in: Likewise.
2427         * sanitizer_common/Makefile.in: Likewise.
2428         * tsan/Makefile.in: Likewise.
2430 2012-11-27  Kostya Serebryany  <kcc@google.com>
2432         * All files: Merge from upstream r168699.
2434 2012-11-24  Kostya Serebryany  <kcc@google.com>
2435             Jack Howarth  <howarth@bromo.med.uc.edu>
2437         * interception/mach_override/mach_override.c: Migrate from llvm.
2438         * interception/mach_override/mach_override.h: Likewise.
2439         * interception/mach_override/LICENSE.txt: Likewise.
2440         * configure.tgt: Add darwin to supported targets.
2441         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2442         * interception/Makefile.am: Compile mach_override.c when
2443         USING_MACH_OVERRIDE defined.
2444         * configure: Regenerated.
2445         * interception/Makefile.in: Likewise.
2447 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
2449         PR sanitizer/55450
2450         * tsan/Makefile.am (gcc_version): New.
2451         * tsan/Makefile.in: Regenerated.
2453 2012-11-23  Kostya Serebryany  <kcc@google.com>
2455         * merge.sh: Support tsan, support added/removed files.
2456         * tsan/Makefile.am: Remove tsan_printf.cc.
2457         * tsan/Makefile.in: Regenerated.
2458         * other files: Merge from upstream r168514.
2460 2012-11-23  Kostya Serebryany  <kcc@google.com>
2462         * merge.sh: New file.
2464 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
2466         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2467         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2468         automake conditional instead of !MULTISUBDIR32.
2469         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2470         for 64-bit multilib.
2471         * configure.ac: Check for void * size, source in configure.tgt,
2472         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2473         * configure: Regenerated.
2474         * Makefile.in: Regenerated.
2475         * tsan/Makefile.in: Regenerated.
2477 2012-11-22  Wei Mi  <wmi@google.com>
2479         * tsan: New directory. Import tsan runtime from llvm.
2480         * configure.ac: Add 64 bits tsan build.
2481         * Makefile.am: Likewise.
2482         * configure: Regenerated.
2483         * Makefile.in: Likewise.
2485 2012-11-21  Kostya Serebryany  <kcc@google.com>
2487         * README.gcc: Extend the README.gcc with mode details.
2489 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
2491         * sanitizer_common/sanitizer_linux.cc
2492         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2493         (internal_mmap): Use it.
2494         (internal_filesize): Likewise.
2496 2012-11-16  Tom Tromey  <tromey@redhat.com>
2498         * configure.ac: Invoke AM_MAINTAINER_MODE.
2499         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2500         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2502 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2504         PR other/55333
2505         * include/sanitizer/common_interface_defs.h (uhwptr): New type
2506         for hardware pointer.
2507         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2508         Replace uptr with uhwptr for stack unwind.
2510 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
2512         * configure.tgt: Enable build on sparc linux.
2514 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
2516         * configure.ac: Properly set MULTISUBDIR.
2517         * asan/Makefile.am (gcc_version): New.
2518         * interception/Makefile.am (gcc_version): Likewise.
2519         * sanitizer_common/Makefile.am (gcc_version): Likewise.
2520         * configure: Regenerated.
2521         * asan/Makefile.in: Likewise.
2522         * interception/Makefile.in: Likewise.
2523         * sanitizer_common/Makefile.in: Likewise.
2525 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2527         PR other/55291
2528         * configure.ac (--enable-version-specific-runtime-libs): New option.
2529         (AC_CANONICAL_SYSTEM): New.
2530         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2531         (toolexecdir): Support multilib.
2532         (toolexeclibdir): Likewise.
2533         (multilib_arg): New.
2534         * Makefile.in: Regenerated.
2535         * aclocal.m4: Likewise.
2536         * configure: Likewise.
2537         * asan/Makefile.in: Likewise.
2538         * interception/Makefile.in: Likewise.
2539         * sanitizer_common/Makefile.in: Likewise.
2541 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2543         PR other/55292
2544         Backport from upstream revision 167883
2545         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2546         __x86_64__ instead of __WORDSIZE.
2547         (internal_filesize): Likwise.
2549 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2551         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2552         * Makefile.in: Regenerated.
2553         * configure: Likewise.
2555 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2557         PR other/55304
2558         * acinclude.m4: New file.
2559         * Makefile.am (ACLOCAL_AMFLAGS): New.
2560         * configure.ac (AC_PREREQ): Set to 2.64.
2561         (AC_CONFIG_AUX_DIR): Set to "..".
2562         * Makefile.in: Regenerated.
2563         * aclocal.m4: Likewise.
2564         * configure: Likewise.
2565         * asan/Makefile.in: Likewise.
2566         * interception/Makefile.in: Likewise.
2567         * sanitizer_common/Makefile.in: Likewise.
2569         * config.guess: Removed.
2570         * config.sub: Likewise.
2571         * depcomp: Likewise.
2572         * install-sh: Likewise.
2573         * ltmain.sh: Likewise.
2574         * missing: Likewise.
2576 2012-11-13  Richard Henderson  <rth@redhat.com>
2578         * configure.tgt: New file.
2580 2012-11-12  David S. Miller  <davem@davemloft.net>
2582         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2584 2012-10-29  Wei Mi  <wmi@google.com>
2586         Initial checkin: migrate asan runtime from llvm.