libstdc++: Add Unicode-aware width estimation for std::format
[official-gcc.git] / libsanitizer / ChangeLog
blob68a8e7d3684e3fbaa2d7bb13da4b378276654f8e
1 2024-01-02  Andreas Schwab  <schwab@suse.de>
3         * configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
5 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7         * LOCAL_PATCHES: Update.
9 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11         PR sanitizer/112563
12         * sanitizer_common/sanitizer_redefine_builtins.h: Check
13         HAVE_AS_SYM_ASSIGN.
15 2023-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
17         PR sanitizer/112563
18         * configure.ac (libsanitizer_cv_as_sym_assign): Check for
19         assembler symbol assignment support.
20         * configure: Regenerate.
21         * asan/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
22         * Makefile.in, asan/Makefile.in, hwasan/Makefile.in,
23         interception/Makefile.in, libbacktrace/Makefile.in,
24         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
25         ubsan/Makefile.in: Regenerate.
27 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
29         PR sanitizer/112562
30         * sanitizer_common/sanitizer_asm.h: Cherry-pick llvm-project revision
31         a855a16a02e76a0f4192c038bb64f3773947a2f7.
32         * interception/interception.h: Likewise.
34 2023-11-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
36         * asan/asan_mac.cpp: Protect Apple blocks behind the
37         MISSING_BLOCKS_SUPPORT macro.
39 2023-11-15  Jakub Jelinek  <jakub@redhat.com>
41         * LOCAL_PATCHES: Update revisions.
43 2023-11-15  Jakub Jelinek  <jakub@redhat.com>
45         * ubsan/ubsan_handlers_cxx.h (FunctionTypeMismatchData): Forward
46         declare.
47         (__ubsan_handle_function_type_mismatch_v1,
48         __ubsan_handle_function_type_mismatch_v1_abort): Declare.
49         * ubsan/ubsan_handlers_cxx.cpp (handleFunctionTypeMismatch,
50         __ubsan_handle_function_type_mismatch_v1,
51         __ubsan_handle_function_type_mismatch_v1_abort): New functions readded
52         for backwards compatibility from older ubsan.
53         * ubsan/ubsan_interface.inc (__ubsan_handle_function_type_mismatch_v1,
54         __ubsan_handle_function_type_mismatch_v1_abort): Readd.
56 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
58         * asan/Makefile.am: Handle Darwin rpaths.
59         * asan/Makefile.in: Regenerate.
60         * configure: Regenerate.
61         * hwasan/Makefile.am: Handle Darwin rpaths.
62         * hwasan/Makefile.in: Regenerate.
63         * lsan/Makefile.am: Handle Darwin rpaths.
64         * lsan/Makefile.in: Regenerate.
65         * tsan/Makefile.am: Handle Darwin rpaths.
66         * tsan/Makefile.in: Regenerate.
67         * ubsan/Makefile.am: Handle Darwin rpaths.
68         * ubsan/Makefile.in: Regenerate.
70 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
72         * configure: Regenerate.
74 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
76         * configure: Regenerate.
78 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
80         * configure: Regenerate.
82 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
84         * configure: Regenerate.
86 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
88         * configure: Regenerate.
90 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
92         * configure: Regenerate.
94 2023-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
96         * sanitizer_common/sanitizer_stacktrace_sparc.cpp,
97         sanitizer_common/sanitizer_unwind_linux_libcdep.cpp: Cherry-pick
98         llvm-project revision 679c076ae446af81eba81ce9b94203a273d4b88a.
100 2023-04-30  Martin Liska  <mliska@suse.cz>
102         PR sanitizer/109674
103         * hwasan/Makefile.am: Depend on liblsan.
104         * hwasan/Makefile.in: Re-generate.
106 2023-04-30  Martin Liska  <mliska@suse.cz>
108         * LOCAL_PATCHES: Update revision.
110 2023-04-26  Martin Liska  <mliska@suse.cz>
112         * LOCAL_PATCHES: Change revision.
114 2023-04-18  Iain Sandoe  <iain@sandoe.co.uk>
116         * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
117         to locate dyld in the shared cache.
119 2023-01-31  H.J. Lu  <hjl.tools@gmail.com>
121         PR sanitizer/108106
122         * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
123         to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
124         (__interceptor_sigsetjmp): Add a local alias,
125         .Linterceptor_sigsetjmp.
127 2023-01-31  Martin Liska  <mliska@suse.cz>
129         * configure: Regenerate.
131 2023-01-31  YunQiang Su  <yunqiang.su@cipunited.com>
133         * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
134         always for mips*.
135         * configure: Regenerate.
137 2023-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
139         * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
140         llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
142 2022-12-19  Jakub Jelinek  <jakub@redhat.com>
144         * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
145         libhwasan_preinit.o.
146         (hwasan_files): Remove hwasan_preinit.cpp.
147         (libhwasan_preinit.o): Copy from hwasan_preinit.o.
148         * hwasan/Makefile.in: Regenerated.
150 2022-12-13  Jakub Jelinek  <jakub@redhat.com>
152         PR sanitizer/108072
153         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
155 2022-12-09  liuhongt  <hongtao.liu@intel.com>
157         * configure.tgt: Enable hwasan for x86-64.
159 2022-12-04  Iain Sandoe  <iain@sandoe.co.uk>
161         * configure.tgt: Restrict build to Darwin 16 or newer.
163 2022-11-15  Martin Liska  <mliska@suse.cz>
165         * LOCAL_PATCHES: Update local patches.
167 2022-11-15  Martin Liska  <mliska@suse.cz>
169         * merge.sh: Use git clone --depth 1.
171 2022-10-19  Martin Liska  <mliska@suse.cz>
173         * configure: Regenerate.
175 2022-10-18  Florian Weimer  <fweimer@redhat.com>
177         * configure.ac (sanitizer_supported): Include <unistd.h> for
178         syscall prototype.
179         * configure: Regenerate.
181 2022-10-12  Martin Liska  <mliska@suse.cz>
183         * configure: Regenerate.
185 2022-10-11  Olivier Hainque  <hainque@adacore.com>
186             Olivier Hainque  <hainque@adacore.com>
188         * configure: Regenerate.
190 2022-10-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
192         PR sanitizer/105531
193         * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
194         llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
196 2022-09-04  Iain Sandoe  <iain@sandoe.co.uk>
198         * LOCAL_PATCHES: Update.
200 2022-08-31  Xi Ruoyao  <xry111@xry111.site>
202         * configure.tgt: Allow loongarch64-*-linux*.
204 2022-08-30  Martin Liska  <mliska@suse.cz>
206         * LOCAL_PATCHES: Update.
208 2022-08-30  Martin Liska  <mliska@suse.cz>
210         * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
211         * sanitizer_common/Makefile.in: Regenerate.
213 2022-07-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
215         PR sanitizer/105531
216         * sanitizer_common/sanitizer_linux_libcdep.cpp,
217         sanitizer_common/sanitizer_solaris.h:: Cherry-pick
218         llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
220 2022-05-05  Martin Liska  <mliska@suse.cz>
222         * LOCAL_PATCHES: Update.
224 2022-05-04  Martin Liska  <mliska@suse.cz>
226         * tsan/Makefile.am: Update Makefile.am files.
227         * hwasan/Makefile.am: Likewise.
228         * sanitizer_common/Makefile.am: Likewise.
229         * Makefile.in: Re-generate.
230         * asan/Makefile.in: Likewise.
231         * hwasan/Makefile.in: Likewise.
232         * interception/Makefile.in: Likewise.
233         * libbacktrace/Makefile.in: Likewise.
234         * lsan/Makefile.in: Likewise.
235         * sanitizer_common/Makefile.in: Likewise.
236         * tsan/Makefile.in: Likewise.
237         * ubsan/Makefile.in: Likewise.
239 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
241         * configure.tgt: Enable build on mips*64*-*-linux*.
243 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
245         * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
246         include sanitizer_atomic_clang_mips.h for O32.
248 2022-02-15  Jakub Jelinek  <jakub@redhat.com>
250         * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
251         llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
253 2022-02-03  David Seifert  <soap@gentoo.org>
254             Jakub Jelinek  <jakub@redhat.com>
256         * configure.ac: Support --disable-werror.
257         * aclocal.m4: Include also ../config/warnings.m4.
258         * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
259         * configure: Regenerate.
260         * Makefile.in: Regenerate.
261         * asan/Makefile.in: Regenerate.
262         * hwasan/Makefile.in: Regenerate.
263         * interception/Makefile.in: Regenerate.
264         * libbacktrace/Makefile.in: Regenerate.
265         * lsan/Makefile.in: Regenerate.
266         * sanitizer_common/Makefile.in: Regenerate.
267         * tsan/Makefile.in: Regenerate.
268         * ubsan/Makefile.in: Regenerate.
270 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
272         * LOCAL_PATCHES: Add commit 70b043845d7.
274 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
276         PR sanitizer/103466
277         * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
278         vmovdqu with movdqu.
279         (__tsan_report_race_thunk): Likewise.
281 2021-11-28  Andrew Pinski  <apinski@marvell.com>
283         PR sanitizer/62157
284         * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
285         * Makefile.in: Regenerate.
286         * asan/Makefile.in: Likewise.
287         * hwasan/Makefile.in: Likewise.
288         * interception/Makefile.in: Likewise.
289         * libbacktrace/Makefile.in: Likewise.
290         * lsan/Makefile.in: Likewise.
291         * sanitizer_common/Makefile.in: Likewise.
292         * tsan/Makefile.in: Likewise.
293         * ubsan/Makefile.in: Likewise.
295 2021-11-18  Jakub Jelinek  <jakub@redhat.com>
297         PR bootstrap/102675
298         * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
299         of sanitizer_platform_limits_freebsd.cpp.
300         * sanitizer_common/Makefile.in: Regenerated.
302 2021-11-13  H.J. Lu  <hjl.tools@gmail.com>
304         * LOCAL_PATCHES: Update to the corresponding revision.
306 2021-11-04  Martin Liska  <mliska@suse.cz>
308         * LOCAL_PATCHES: Update git revision.
310 2021-10-08  H.J. Lu  <hjl.tools@gmail.com>
312         PR sanitizer/102632
313         * asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
314         * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
315         * interception/Makefile.am (AM_CCASFLAGS): Likewise.
316         * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
317         * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
318         * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
319         * asan/Makefile.in: Regenerate.
320         * hwasan/Makefile.in: Likewise.
321         * interception/Makefile.in: Likewise.
322         * lsan/Makefile.in: Likewise.
323         * tsan/Makefile.in: Likewise.
324         * ubsan/Makefile.in: Likewise.
326 2021-10-06  H.J. Lu  <hjl.tools@gmail.com>
328         * LOCAL_PATCHES: Update to the corresponding revision.
330 2021-10-01  H.J. Lu  <hjl.tools@gmail.com>
332         * LOCAL_PATCHES: Update to the corresponding revision.
334 2021-08-11  Jakub Jelinek  <jakub@redhat.com>
336         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
337         llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
339 2021-08-03  Mosè Giordano  <mose@gnu.org>
341         PR sanitizer/101111
342         * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
344 2021-07-28  Ilya Leoshkevich  <iii@linux.ibm.com>
346         * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
347         s390x.
349 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
351         * asan/libtool-version: Bump version.
352         * tsan/libtool-version: Likewise.
354 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
356         * LOCAL_PATCHES: Update to the corresponding revision.
358 2021-05-21  Tamar Christina  <tamar.christina@arm.com>
360         PR sanitizer/100379
361         * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
362         llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
363         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
364         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
366 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
368         * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
370 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
372         * sanitizer_common/sanitizer_mac.cpp : Check for the
373         availability of __builtin_os_log_format before trying to
374         include a header depending on it.
375         (OS_LOG_DEFAULT): New.
376         (os_log_error): Define to a fall-back using an older API.
378 2021-05-13  Martin Liska  <mliska@suse.cz>
380         * LOCAL_PATCHES: Update to the corresponding revision.
382 2021-04-17  Jakub Jelinek  <jakub@redhat.com>
384         PR sanitizer/100114
385         * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
386         llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
387         and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
389 2021-03-08  Martin Liska  <mliska@suse.cz>
391         PR sanitizer/98920
392         * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
393         Cherry pick.
394         (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
395         * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
396         * sanitizer_common/sanitizer_common_interceptors.inc
397         (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
398         (INIT_REGEX): Likewise.
399         * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
400         Likewise.
402 2021-01-26  Martin Liska  <mliska@suse.cz>
404         PR sanitizer/98828
405         * lsan/Makefile.am: Add missing lsan_posix.cpp file.
406         * lsan/Makefile.in: Likewise.
408 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
410         * configure: Re-generate.
412 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
414         PR target/97865
415         * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
416         Darwin.
417         * configure: Regenerate.
419 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
421         * configure: Regenerate.
423 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
425         * LOCAL_PATCHES: Add one commit.
427 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
429         * Makefile.am: Condition Build hwasan directory.
430         * Makefile.in: Regenerate.
431         * configure: Regenerate.
432         * configure.ac: Set HWASAN_SUPPORTED based on target
433         architecture.
434         * configure.tgt: Likewise.
436 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
438         * Makefile.am:  Build libhwasan.
439         * Makefile.in:  Build libhwasan.
440         * asan/Makefile.in:  Build libhwasan.
441         * configure:  Build libhwasan.
442         * configure.ac:  Build libhwasan.
443         * hwasan/Makefile.am: New file.
444         * hwasan/Makefile.in: New file.
445         * hwasan/libtool-version: New file.
446         * interception/Makefile.in: Build libhwasan.
447         * libbacktrace/Makefile.in: Build libhwasan.
448         * libsanitizer.spec.in: Build libhwasan.
449         * lsan/Makefile.in: Build libhwasan.
450         * sanitizer_common/Makefile.in: Build libhwasan.
451         * tsan/Makefile.in: Build libhwasan.
452         * ubsan/Makefile.in: Build libhwasan.
454 2020-11-21  Iain Sandoe  <iain@sandoe.co.uk>
456         * configure.tgt: Allow x86_64 Darwin2x.
458 2020-11-13  Martin Liska  <mliska@suse.cz>
460         * LOCAL_PATCHES: Update to the latest commit.
462 2020-10-19  Martin Liska  <mliska@suse.cz>
464         * LOCAL_PATCHES: Add one commit.
466 2020-10-18  Iain Sandoe  <iain@sandoe.co.uk>
468         * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
469         macros are defined where the macOS SDK does not contain
470         them.
471         (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
472         Define where needed.
474 2020-10-16  Martin Liska  <mliska@suse.cz>
476         * LOCAL_PATCHES: Update revision.
478 2020-09-21  Ian Lance Taylor  <iant@golang.org>
480         * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
481         Define.
482         (backtrace_syminfo_to_full_callback): Define.
483         (backtrace_syminfo_to_full_error_callback): Define.
485 2020-07-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
487         * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
488         revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
490 2020-06-09  Martin Liska  <mliska@suse.cz>
492         * asan/Makefile.am: Replace gnu++11 with gnu++14.
493         * interception/Makefile.am: Likewise.
494         * libbacktrace/Makefile.am: Likewise.
495         * lsan/Makefile.am: Likewise.
496         * sanitizer_common/Makefile.am: Likewise.
497         * tsan/Makefile.am: Likewise.
498         * ubsan/Makefile.am: Likewise.
499         * asan/Makefile.in: Regenerate.
500         * interception/Makefile.in: Likewise.
501         * libbacktrace/Makefile.in: Likewise.
502         * lsan/Makefile.in: Likewise.
503         * sanitizer_common/Makefile.in: Likewise.
504         * tsan/Makefile.in: Likewise.
505         * ubsan/Makefile.in: Likewise.
507 2020-06-02  Martin Liska  <mliska@suse.cz>
509         * LOCAL_PATCHES: Update hash of local patches.
511 2020-06-02  Martin Liska  <mliska@suse.cz>
513         * MERGE: Merge from master.
515 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
517         PR bootstrap/95413
518         * configure: Regenerated.
520 2020-05-29  Martin Liska  <mliska@suse.cz>
522         * HOWTO_MERGE: Do not mention not existing argument.
523         * README.gcc: Update LLVM repository location.
525 2020-05-26  Martin Liska  <mliska@suse.cz>
527         * LOCAL_PATCHES: Use git hash instead of SVN id.
528         * merge.sh: Use git instead of VCS.  Update paths
529         relative to upstream git repository.
531 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
533         PR bootstrap/95147
534         * configure: Regenerated.
536 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
538         * configure: Regenerated.
540 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
542         * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
544 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
546         * sanitizer_common/Makefile.am: Add
547         sanitizer_platform_limits_freebsd.cpp.
548         * sanitizer_common/Makefile.in: Regenerate.
550 2020-03-01  Iain Sandoe  <iain@sandoe.co.uk>
552         PR sanitizer/93731
553         * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
554         default only for Darwin versions greater than 12 (macOS 10.8).
556 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
558         * configure.ac: Handle `--with-toolexeclibdir='.
559         * Makefile.in: Regenerate.
560         * aclocal.m4: Regenerate.
561         * configure: Regenerate.
562         * asan/Makefile.in: Regenerate.
563         * interception/Makefile.in: Regenerate.
564         * libbacktrace/Makefile.in: Regenerate.
565         * lsan/Makefile.in: Regenerate.
566         * sanitizer_common/Makefile.in: Regenerate.
567         * tsan/Makefile.in: Regenerate.
568         * ubsan/Makefile.in: Regenerate.
570 2019-11-26  Jakub Jelinek  <jakub@redhat.com>
572         PR sanitizer/92154
573         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
574         llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
575         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
577 2019-11-20  Martin Liska  <mliska@suse.cz>
579         * libtool-version: Remove.
580         * lsan/libtool-version: Upate comment to not mention libmudflap.
581         * tsan/libtool-version: Likewise.
582         * ubsan/libtool-version: Likewise.
584 2019-11-13  Andreas Schwab  <schwab@suse.de>
586         * configure.tgt (riscv64-*-linux*): Enable build.
588 2019-11-07  Martin Liska  <mliska@suse.cz>
590         * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
592 2019-11-07  Martin Liska  <mliska@suse.cz>
594         * merge.sh: Update to use llvm-project git repository.
595         * all source files: Merge from upstream
596         82588e05cc32bb30807e480abd4e689b0dee132a.
598 2019-11-05  Martin Liska  <mliska@suse.cz>
600         * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
601         summary for all sanitizers, but we want to have UBSAN without it.
603 2019-11-05  Martin Liska  <mliska@suse.cz>
605         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
606         LOCAL_PATCHES.
607         (CheckODRViolationViaPoisoning): Likewise.
608         (RegisterGlobal): Likewise.
609         * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
610         (defined): Likewise.
611         * asan/asan_mapping.h: Likewise.
612         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
613         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
614         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
615         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
616         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
617         * tsan/tsan_rtl_ppc64.S: Likewise.
618         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
619         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
620         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
621         (struct CFICheckFailData): Likewise.
622         (RECOVERABLE): Likewise.
623         * ubsan/ubsan_platform.h: Likewise.
625 2019-11-05  Martin Liska  <mliska@suse.cz>
627         * tsan/Makefile.am: Rename tsan_interceptors.cpp to
628         tsan_interceptors_posix.
629         * tsan/Makefile.in: Regenerate.
631 2019-11-05  Martin Liska  <mliska@suse.cz>
633         * all source files: Merge from upstream r375507.
635 2019-10-22  Tamar Christina  <tamar.christina@arm.com>
637         PR sanitizer/92154
638         * sanitizer_common/sanitizer_platform_limits_posix.cpp:
639         Cherry-pick compiler-rt revision r375220.
641 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
643         * configure: Regenerate.
645 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
646         Mickaël Guêné <mickael.guene@st.com>
648         * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
649         unsupported in this configuration.
651 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
653         * LOCAL_PATCHES: Add r274585.
655 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
657         * asan/asan_interceptors.h: Reapply r272406.
659 2019-08-15  Martin Liska  <mliska@suse.cz>
661         * LOCAL_PATCHES: Add r274540
663 2019-08-15  Martin Liska  <mliska@suse.cz>
665         * tsan/tsan_rtl_ppc64.S: Reapply.
667 2019-08-15  Iain Sandoe  <iain@sandoe.co.uk>
669         PR bootstrap/91455
670         * Makefile.in: Regenerated.
671         * aclocal.m4: Likewise.
672         * asan/Makefile.in: Likewise.
673         * configure: Likewise.
674         * interception/Makefile.in: Likewise.
675         * libbacktrace/Makefile.in: Likewise.
676         * lsan/Makefile.in: Likewise.
677         * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
678         * sanitizer_common/Makefile.in: Regenerated.
679         * tsan/Makefile.in: Likewise.
680         * ubsan/Makefile.in: Likewise.
682 2019-08-14  Martin Liska  <mliska@suse.cz>
684         * LOCAL_PATCHES: Refresh based on what was committed.
686 2019-08-14  Martin Liska  <mliska@suse.cz>
688         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
689         patch from trunk.
690         (CheckODRViolationViaPoisoning): Likewise.
691         (RegisterGlobal): Likewise.
692         * asan/asan_mapping.h: Likewise.
693         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
694         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
695         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
696         * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
697         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
698         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
699         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
700         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
701         (struct CFICheckFailData): Likewise.
702         (RECOVERABLE): Likewise.
703         * ubsan/ubsan_platform.h: Likewise.
705 2019-08-14  Martin Liska  <mliska@suse.cz>
707         PR sanitizer/89832
708         PR sanitizer/91325
709         * All source files: Merge from upstream 368656.
711 2019-06-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
713         * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
714         compiler-rt revision 363778.
716 2019-06-18  Iain Sandoe  <iain@sandoe.co.uk>
718         PR libsanitizer/87880
719         * asan/asan_interceptors.h:
720         (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
721         * asan/Makefile.am (DEFS): Add 
722         ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
723         * asan/Makefile.in: Regenerated.
724         * asan/libtool-version: Bump version.
726 2019-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
728         PR target/90639
729         * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
731 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
733         * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
734         handling.
735         * configure: Regenerate.
737 2019-04-08  Martin Liska  <mliska@suse.cz>
739         * LOCAL_PATCHES: Add revision.
741 2019-04-08  Martin Liska  <mliska@suse.cz>
743         PR sanitizer/89941
744         * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
745         Reapply patch from r259664.
746         * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
747         Likewise.
749 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
751         PR sanitizer/80953
752         Merge from LLVM revision 355980
753         * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
754         (kAllocatorSize): Likewise.
755         (DefaultSizeClassMap): Likewise.
756         * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
757         (SHADOW_OFFSET): Define for SPARC.
758         Include asan_mapping_sparc64.h for SPARC 64-bit.
759         * asan/asan_mapping_sparc64.h: New file.
761 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
763         PR sanitizer/80953
764         Merge from LLVM revision 355979
765         * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
766         copy Global objects for SPARC with GCC.
768 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
770         PR sanitizer/80953
771         Merge from LLVM revision 355978
772         * sanitizer_common/sanitizer_allocator_primary32.h
773         (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
774         SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
775         (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
776         (ComputeRegionId): Likewise.
777         * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
778         appropriate value for SPARC 64-bit.
779         * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
780         Define for SPARC.
781         (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
783 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
785         PR sanitizer/80953
786         Merge from LLVM revision 355965
787         * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
788         SPARC/Linux.
789         (GetPcSpBp): Likewise.
790         * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
791         Adjust for SPARC.
792         * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
793         Define to 1 for SPARC.
794         * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
795         * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
796         Adjust the PC address for SPARC with GCC.
798 2019-03-06  Martin Liska  <mliska@suse.cz>
800         PR sanitizer/88684
801         * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
802         (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
803         * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
804         Likewise.
806 2019-02-20  H.J. Lu  <hongjiu.lu@intel.com>
808         PR sanitizer/89409
809         * sanitizer_common/sanitizer_linux.cc (internal_readlink):
810         Cherry-pick compiler-rt r354451.
812 2019-01-23  Jonny Grant  <jg@jguk.org>
814         PR sanitizer/89010
815         * libsanitizer/README.gcc: Update to current https URLs.
817 2018-12-27  Martin Liska  <mliska@suse.cz>
819         PR sanitizer/86229
820         * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
821         pick rL350085.
822         * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
824 2018-11-09  Martin Liska  <mliska@suse.cz>
826         * LOCAL_PATCHES: Include one local patch.
828 2018-11-09  Martin Liska  <mliska@suse.cz>
830         PR sanitizer/87892
831         * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
832         1 when CPU_COUNT macro is not defined.
834 2018-11-08  Bill Seurer  <seurer@linux.vnet.ibm.com>
836         * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
837         Disable ASLR for powerpc64 when using sanitizers.
839 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
841         PR sanitizer/80953
842         * configure.tgt (sparc*-*-solaris2.11*): Enable.
843         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
845 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
847         PR sanitizer/80953
848         * sanitizer_common/sanitizer_internal_defs.h,
849         sanitizer_common/sanitizer_platform_limits_solaris.h,
850         sanitizer_common/sanitizer_procmaps_solaris.cc,
851         sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
852         revision 346153.
853         * sanitizer_common/sanitizer_stacktrace.h,
854         sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
855         compiler-rt revision 346155.
857 2018-11-05  Segher Boessenkool  <segher@kernel.crashing.org>
859         * LOCAL_PATCHES: Add r258525.
860         * sanitizer_common/sanitizer_stacktrace.cc
861         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
862         for PowerPC SYSV ABI.
864 2018-11-05  Martin Liska  <mliska@suse.cz>
866         PR sanitizer/87860
867         * sanitizer_common/sanitizer_linux.cc:  Cherry-pick upstream
868         r346129.
870 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
872         PR bootstrap/82856
873         * Makefile.am: Include multilib.am.
874         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
875         * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
876         interception/Makefile.in, libbacktrace/Makefile.in,
877         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
878         ubsan/Makefile.in: Regenerate.
880 2018-10-31  Martin Liska  <mliska@suse.cz>
882         * LOCAL_PATCHES: Update to installed revisions.
884 2018-10-31  Martin Liska  <mliska@suse.cz>
886         * ubsan/ubsan_platform.h: Add ifndef as we define it with
887         -DCAN_SANITIZE_UB CFLAGS.
889 2018-10-31  Martin Liska  <mliska@suse.cz>
891         * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
893 2018-10-31  Martin Liska  <mliska@suse.cz>
895         * LOCAL_PATCHES: Update patch list.
896         * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
897         patches from GCC's trunk.
898         (CheckODRViolationViaPoisoning): Likewise.
899         (RegisterGlobal): Likewise.
900         * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
901         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
902         * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
903         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
904         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
905         (struct CFICheckFailData): Likewise.
906         (RECOVERABLE): Likewise.
908 2018-10-31  Martin Liska  <mliska@suse.cz>
910         * config.h.in: Regenerate.
911         * configure: Likewise.
912         * sanitizer_common/Makefile.am: Include new files, remove old
913         files.
914         * sanitizer_common/Makefile.in: Regenerate.
915         * ubsan/Makefile.am: Include new files, remove old
916         files.
917         * ubsan/Makefile.in: Likewise.
918         * asan/Makefile.am: Include new files.
919         * asan/Makefile.in: Regenerate.
921 2018-10-31  Martin Liska  <mliska@suse.cz>
923         * All source files: Merge from upstream 345033.
925 2018-10-31  Martin Liska  <mliska@suse.cz>
927         * HOWTO_MERGE: Enhance documentation.
928         * merge.sh: Add support for git as well.
930 2018-08-02  Martin Liska  <mliska@suse.cz>
932         PR sanitizer/86022
933         * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
934         Cherry-pick compiler-rt revision 338606.
936 2018-08-01  Marek Polacek  <polacek@redhat.com>
938         PR sanitizer/86759
939         * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
940         * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
941         319180.
943 2018-07-25  H.J. Lu  <hongjiu.lu@intel.com>
945         PR target/86560
946         * asan/asan_interceptors.cc (swapcontext) Cherry-pick
947         compiler-rt revision 337603.
948         * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
949         Likewise.
951 2018-07-05  Jakub Jelinek  <jakub@redhat.com>
953         Revert
954         2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
956         PR sanitizer/84250
957         * Makefile.am: Reorder libs.
958         * Makefile.in: Regenerate.
959         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
960         libsanitizer_ubsan.la.
961         * asan/Makefile.in: Regenerate.
962         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
963         * ubsan/Makefile.in: Regenerate.
965 2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
967         PR sanitizer/84250
968         * Makefile.am: Reorder libs.
969         * Makefile.in: Regenerate.
970         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
971         libsanitizer_ubsan.la.
972         * asan/Makefile.in: Regenerate.
973         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
974         * ubsan/Makefile.in: Regenerate.
976 2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>
978         PR sanitizer/86090
979         * configure.ac: Check for lstat and readlink.
980         * configure, config.h.in: Rebuild.
982 2018-05-31  Matthias Klose  <doko@ubuntu.com>
984         PR sanitizer/86012
985         * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
986         SIZEOF_STRUCT_USTAT for 32bit sparc.
988 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
990         PR sanitizer/85835
991         * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
992         include <sys/ustat.h> for Linux.
993         (SIZEOF_STRUCT_USTAT): New.
994         (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
996 2018-04-26  Hans-Peter Nilsson  <hp@axis.com>
998         * configure.tgt <mips*-*-linux*>: Enable build, excluding
999         mips*64*-*-linux*.
1001         * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
1002         take the shortcut to #include <sys/stat.h> for MIPS instead of
1003         the kernel <asm/stat.h>.  Explain why sys/stat.h is misleading
1004         or wrong to get the kernel struct stat.
1005         * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
1006         Correct the value for 32-bit non-android struct_kernel_stat_sz.
1008         * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
1009         && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
1011 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1013         * configure: Regenerated.
1015 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1017         * configure: Regenerated.
1019 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1021         PR jit/85384
1022         * configure: Regenerate.
1024 2018-04-18  Bill Seurer  <seurer@linux.vnet.ibm.com>
1026         PR sanitizer/85389
1027         * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
1028         from 0xa0000000000ULL to ~(uptr)0.
1030 2018-03-19  Jakub Jelinek  <jakub@redhat.com>
1032         PR sanitizer/84761
1033         * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
1034         Define if not defined.
1035         (DL_INTERNAL_FUNCTION): Don't define.
1036         (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
1037         determine at runtime whether to use regparm(3), stdcall calling
1038         convention for older glibcs or normal calling convention for
1039         newer glibcs for call to _dl_get_tls_static_info.
1041 2018-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
1043         * sanitizer_common/sanitizer_stacktrace.cc
1044         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
1045         for PowerPC SYSV ABI.
1047 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1049         PR target/84148
1050         * configure: Regenerate.
1052 2018-02-05  Martin Liska  <mliska@suse.cz>
1054         * asan/asan_flags.inc: Cherry-pick upstream r323995.
1055         * asan/asan_report.cc (CheckForInvalidPointerPair):
1056         Cherry-pick upstream r323995.
1058 2018-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1060         PR sanitizer/82825
1061         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1062         r324284.
1064 2018-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1066         PR sanitizer/82824
1067         * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
1069 2017-12-05  Martin Liska  <mliska@suse.cz>
1070             Jakub Jelinek  <jakub@redhat.com>
1072         * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
1073         * asan/asan_descriptions.h: Likewise.
1074         * asan/asan_report.cc: Likewise.
1075         * asan/asan_thread.cc: Likewise.
1076         * asan/asan_thread.h: Likewise.
1078 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1080         * acinclude.m4: Add enable.m4 and cet.m4.
1081         * Makefile.in: Regenerate.
1082         * asan/Makefile.am: Update AM_CXXFLAGS.
1083         * asan/Makefile.in: Regenerate.
1084         * configure: Likewise.
1085         * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
1086         EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
1087         * interception/Makefile.am: Update AM_CXXFLAGS.
1088         * interception/Makefile.in: Regenerate.
1089         * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
1090         * libbacktrace/Makefile.in: Regenerate.
1091         * lsan/Makefile.am: Update AM_CXXFLAGS.
1092         * lsan/Makefile.in: Regenerate.
1093         * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
1094         AM_CCASFLAGS.
1095         * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
1096         Add _CET_ENDBR macro.
1097         * sanitizer_common/Makefile.in: Regenerate.
1098         * tsan/Makefile.am: Update AM_CXXFLAGS.
1099         * tsan/Makefile.in: Regenerate.
1100         * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
1101         * ubsan/Makefile.am: Update AM_CXXFLAGS.
1102         * ubsan/Makefile.in: Regenerate.
1104 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
1106         PR bootstrap/82670
1107         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
1108         and ubsan_signals_standalone.cc.
1109         * ubsan/Makefile.in: Regenerated.
1111 2017-11-05  Tom de Vries  <tom@codesourcery.com>
1113         PR other/82784
1114         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
1115         "do {} while (0)".
1116         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1118 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
1120         PR sanitizer/82595
1121         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1122         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1123         liblsan_preinit.o.
1124         (lsan_files): Remove lsan_preinit.cc.
1125         (liblsan_preinit.o): New rule.
1126         * lsan/Makefile.in: Regenerated.
1128 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
1130         * All source files: Merge from upstream 315899.
1131         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1132         include/sanitizer/tsan_interface.h.
1133         * asan/libtool-version: Bump the libasan SONAME.
1134         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1135         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1136         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1137         sancov_flags.cc, sanitizer_allocator_checks.cc,
1138         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1139         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1140         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
1141         and sanitizer_coverage_mapping_libcdep.cc.
1142         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1143         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1144         (ubsan_files): Add ubsan_init_standalone.cc and
1145         ubsan_signals_standalone.cc.
1146         * ubsan/libtool-version: Bump the libubsan SONAME.
1147         * asan/Makefile.in: Regenerate.
1148         * lsan/Makefile.in: Regenerate.
1149         * sanitizer_common/Makefile.in: Regenerate.
1150         * tsan/Makefile.in: Regenerate.
1151         * ubsan/Makefile.in: Regenerate.
1153 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
1155         PR sanitizer/82379
1156         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1157         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1159 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
1161         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1162         Define.
1164 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
1166         * include/system/sys/ptrace.h: New file.
1168 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
1170         PR sanitizer/80998
1171         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1172         * ubsan/ubsan_checks.inc: Likewise.
1173         * ubsan/ubsan_handlers.h: Likewise.
1175 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
1177         PR sanitizer/81066
1178         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1179         * sanitizer_common/sanitizer_linux.cc: Likewise.
1180         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1181         * tsan/tsan_platform_linux.cc: Likewise.
1183 2017-04-06  Martin Liska  <mliska@suse.cz>
1185         PR sanitizer/80166
1186         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1187         Cherry-pick upstream r299036.
1189 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
1191         PR sanitizer/78158
1192         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1194 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
1196         PR sanitizer/79562
1197         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1198         upstream r294806.
1200 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
1202         PR sanitizer/79341
1203         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1204         s390-linux 31-bit.
1205         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1206         r294793.
1207         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1208         upstream r294790.
1209         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1210         r294799.
1212 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
1214         PR sanitizer/78663
1215         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1216         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1218 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
1220         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1222 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1224         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1226         PR sanitizer/79168
1227         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1228         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1229         text.
1230         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1231         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1232         * tsan/tsan_ppc_regs.h: Likewise.
1233         * tsan/tsan_rtl_aarch64.S: Likewise.
1234         * tsan/tsan_rtl_mips64.S: Likewise.
1235         * tsan/tsan_rtl_ppc64.S: Likewise.
1237 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
1239         PR other/79046
1240         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1241         instead of cat to get version from BASE-VER file.
1242         * asan/Makefile.am (gcc_version): Likewise.
1243         * ubsan/Makefile.am (gcc_version): Likewise.
1244         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1245         * lsan/Makefile.am (gcc_version): Likewise.
1246         * tsan/Makefile.am (gcc_version): Likewise.
1247         * interception/Makefile.in: Regenerated.
1248         * asan/Makefile.in: Regenerated.
1249         * ubsan/Makefile.in: Regenerated.
1250         * sanitizer_common/Makefile.in: Regenerated.
1251         * lsan/Makefile.in: Regenerated.
1252         * tsan/Makefile.in: Regenerated.
1254 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1256         PR other/79046
1257         * configure.ac: Add GCC_BASE_VER.
1258         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1259         get version from BASE-VER file.
1260         * libbacktrace/Makefile.in: Regenerated.
1261         * interception/Makefile.in: Regenerated.
1262         * asan/Makefile.in: Regenerated.
1263         * ubsan/Makefile.in: Regenerated.
1264         * configure: Regenerated.
1265         * sanitizer_common/Makefile.in: Regenerated.
1266         * lsan/Makefile.in: Regenerated.
1267         * Makefile.in: Regenerated.
1268         * tsan/Makefile.in: Regenerated.
1270 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
1272         PR sanitizer/78992
1273         * sanitizer_common/sanitizer_platform_limits_posix.h
1274         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1276 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1278         * LOCAL_PATCHES: Add revision.
1280 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1282         PR sanitizer/78532
1283         * sanitizer_common/sanitizer_platform_limits_posix.h
1284         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1285         versions.
1287 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1289         * LOCAL_PATCHES: Remove r242480.
1291 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1293         * LOCAL_PATCHES: Add revision.
1295 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
1297         PR sanitizer/78267
1298         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1299         compiler supports blocks extension.
1301 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1303         * LOCAL_PATCHES: Add revision.
1305 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1307         PR sanitizer/78294
1308         * tsan/tsan_rtl.cc: Add missing attribute.
1310 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1312         * LOCAL_PATCHES: New file.
1314 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1316         PR sanitizer/78307
1317         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1318         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
1319         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1320         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1321         function.
1322         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1323         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1324         (__ubsan_handle_cfi_bad_type): Export function.
1325         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1326         * HOWTO_MERGE: Update documentation.
1328 2016-11-15  Matthias Klose  <doko@ubuntu.com>
1330         * configure: Regenerate.
1332 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1334         * asan/asan_globals.cc (RegisterGlobal): Do not call
1335         CheckODRViolationViaPoisoning.
1336         (CheckODRViolationViaPoisoning): Remove.
1338 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1340         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1341         compiled code with GCC when extracting the caller PC for ARM if no
1342         valid frame pointer is available.
1344 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1346         PR sanitizer/63958
1347         Reapply:
1348         2014-10-14  David S. Miller  <davem@davemloft.net>
1350         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1351         Define at __kernel_time_t, as needed for sparc.
1352         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1353         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1354         (__sanitizer): Define struct___old_kernel_stat_sz,
1355         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1356         (__sanitizer_ipc_perm): Adjust for sparc targets.
1357         (__sanitizer_shmid_ds): Likewsie.
1358         (__sanitizer_sigaction): Likewise.
1359         (IOC_SIZE): Likewsie.
1361 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1363         * All source files: Merge from upstream 285547.
1364         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1365         variable.
1366         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1367         * asan/Makefile.am (asan_files): Add new files.
1368         * asan/Makefile.in: Regenerate.
1369         * ubsan/Makefile.in: Likewise.
1370         * lsan/Makefile.in: Likewise.
1371         * tsan/Makefile.am (tsan_files): Add new files.
1372         * tsan/Makefile.in: Regenerate.
1373         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1374         (EXTRA_libsanitizer_common_la_SOURCES): Define.
1375         (libsanitizer_common_la_LIBADD): Likewise.
1376         (libsanitizer_common_la_DEPENDENCIES): Likewise.
1377         * sanitizer_common/Makefile.in: Regenerate.
1378         * interception/Makefile.in: Likewise.
1379         * libbacktace/Makefile.in: Likewise.
1380         * Makefile.in: Likewise.
1381         * configure: Likewise.
1382         * merge.sh: Handle builtins/assembly.h merging.
1383         * builtins/assembly.h: New file.
1384         * asan/libtool-version: Bump the libasan SONAME.
1386 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
1388         PR sanitizer/77567
1389         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1391 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
1393         PR sanitizer/77396
1394         * asan/asan_globals.cc: Cherry-pick upstream r280657.
1396 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
1398         PR sanitizer/71042
1399         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1400         * tsan/tsan_rtl_aarch64.S: Likewise.
1402 2016-07-23  Alan Modra  <amodra@gmail.com>
1404         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
1405         * configure.ac: Don't substitute OBSTACK_DEFS.
1406         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1407         * tsan/Makefile.am: Likewise.
1408         * configure: Regenerate.
1409         * Makefile.in: Regenerate.
1410         * asan/Makefile.in: Regenerate.
1411         * interception/Makefile.in: Regenerate.
1412         * libbacktrace/Makefile.in: Regenerate.
1413         * lsan/Makefile.in: Regenerate.
1414         * sanitizer_common/Makefile.in: Regenerate.
1415         * tsan/Makefile.in: Regenerate.
1416         * ubsan/Makefile.in: Regenerate.
1418 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
1420         PR sanitizer/71160
1421         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1422         and r269633.
1424 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
1426         PR sanitizer/70624
1427         * asan/asan_mac.cc: Cherry pick upstream r266868.
1429 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
1431         PR sanitizer/68824
1432         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1433         InitializeInterceptors): Cherry pick upstream r258119.
1435 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
1437         * configure.ac: Replace the hard-coded -ldl requirement for
1438         link_sanitizer_common with a configure time check for -ldl.
1439         * configure: Regenerate.
1441 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1443         * include/system/linux/asm/ptrace.h: Move to ...
1444         * include/system/asm/ptrace.h: ... this.
1446 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1448         * include/system/linux/asm/ptrace.h: New header.
1450 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1452         * All source files: Merge from upstream r253555.
1453         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1454         dependences for TSan for aarch64-*-linux* targets.
1455         * tsan/Makefile.am: Add new source files.
1456         * configure: Regenerate.
1457         * tsan/Makefile.in: Likewise.
1459 2015-11-09  Alan Modra  <amodra@gmail.com>
1461         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1462         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1463         interceptors.
1464         * configure.ac: Substitute OBSTACK_DEFS.
1465         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1466         * tsan/Makefile.am: Likewise.
1467         * configure: Regenerate.
1468         * Makefile.in: Regenerate.
1469         * asan/Makefile.in: Regenerate.
1470         * interception/Makefile.in: Regenerate.
1471         * libbacktrace/Makefile.in: Regenerate.
1472         * lsan/Makefile.in: Regenerate.
1473         * sanitizer_common/Makefile.in: Regenerate.
1474         * tsan/Makefile.in: Regenerate.
1475         * ubsan/Makefile.in: Regenerate.
1477 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1479         PR bootstrap/68041
1480         * configure.ac (link_sanitizer_common): Link against librt only if it
1481         contains shm_open, required by sanitizers.
1482         (CXX_ABI_NEEDED): Remove variable.
1483         * configure: Regenerate.
1484         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1485         * ubsan/Makefile.in: Regenerate.
1487 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1489         * HOWTO_MERGE: New file.
1491 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1493         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1494         compiled code with GCC when extracting the caller PC for ARM if no
1495         valid frame pointer is available.
1497 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1499         PR bootstrap/63888
1500         Reapply:
1501         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
1503         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1504         support until it is rewritten upstream.
1506         * c-c++-common/asan/pr63888.c: New test.
1508 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1510         PR sanitizer/63958
1511         Reapply:
1512         2014-10-14  David S. Miller  <davem@davemloft.net>
1514         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1515         Define at __kernel_time_t, as needed for sparc.
1516         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1517         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1518         (__sanitizer): Define struct___old_kernel_stat_sz,
1519         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1520         (__sanitizer_ipc_perm): Adjust for sparc targets.
1521         (__sanitizer_shmid_ds): Likewsie.
1522         (__sanitizer_sigaction): Likewise.
1523         (IOC_SIZE): Likewsie.
1525 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1527         * All source files: Merge from upstream r250806.
1528         * configure.ac (link_sanitizer_common): Add -lrt flag.
1529         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1530         Set USE_CXX_ABI_FLAG=true for darwin.
1531         * asan/Makefile.am (asan_files): Add new files.
1532         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1533         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1534         * asan/Makefile.in: Regenerate.
1535         * ubsan/Makefile.am (ubsan_files): Add new files.
1536         (DEFS): Add DCAN_SANITIZE_UB=1.
1537         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1538         * ubsan/Makefile.in: Regenerate.
1539         * tsan/Makefile.am (tsan_files): Add new files.
1540         (DEFS): Add DCAN_SANITIZE_UB=0.
1541         * tsan/Makefile.in: Regenerate.
1542         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1543         * sanitizer_common/Makefile.in: Regenerate.
1544         * asan/libtool-version: Bump the libasan SONAME.
1546 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1548         PR sanitizer/67258
1549         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1551 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1553         PR sanitizer/63927
1554         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1555         for PowerPC.
1557 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1559         PR sanitizer/63927
1560         * sanitizer_common/sanitizer_stacktrace.cc
1561         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1562         find the link register at an offset of 16 from the base of the
1563         caller's stack frame.
1565 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1567         * Makefile.in: Regenerated with automake-1.11.6.
1568         * aclocal.m4: Likewise.
1569         * asan/Makefile.in: Likewise.
1570         * configure: Likewise.
1571         * interception/Makefile.in: Likewise.
1572         * libbacktrace/Makefile.in: Likewise.
1573         * lsan/Makefile.in: Likewise.
1574         * sanitizer_common/Makefile.in: Likewise.
1575         * tsan/Makefile.in: Likewise.
1576         * ubsan/Makefile.in: Likewise.
1578 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
1580         PR sanitizer/64839
1581         * sanitizer_common/sanitizer_platform.h: Cherry pick
1582         upstream r234470.
1583         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1584         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1585         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1586         * Makefile.in: Regenerate.
1587         * asan/Makefile.in: Regenerate.
1588         * config.h.in: Regenerate.
1589         * configure: Regenerate.
1590         * interception/Makefile.in: Regenerate.
1591         * libbacktrace/Makefile.in: Regenerate.
1592         * lsan/Makefile.in: Regenerate.
1593         * sanitizer_common/Makefile.in: Regenerate.
1594         * tsan/Makefile.in: Regenerate.
1595         * ubsan/Makefile.in: Regenerate.
1598 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
1600         PR sanitizer/59009
1601         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1602         upstream r230324.
1603         * sanitizer_common/sanitizer_platform.h: Likewise.
1604         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1606 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1608         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1609         upstream 224508 and 224755.
1611 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
1613         PR sanitizer/63958
1614         Reapply:
1615         2014-10-14  David S. Miller  <davem@davemloft.net>
1617         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1618         Define at __kernel_time_t, as needed for sparc.
1619         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1620         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1621         (__sanitizer): Define struct___old_kernel_stat_sz,
1622         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1623         (__sanitizer_ipc_perm): Adjust for sparc targets.
1624         (__sanitizer_shmid_ds): Likewsie.
1625         (__sanitizer_sigaction): Likewise.
1626         (IOC_SIZE): Likewsie.
1628 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
1630         * configure.tgt: Enable build on powerpc*le-*-linux.
1632 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
1634         PR bootstrap/63888
1635         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1636         support until it is rewritten upstream.
1638 2015-01-26  Matthias Klose  <doko@ubuntu.com>
1640         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1641         * configure: Regenerate.
1643 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1645         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1646         * configure: Regenerate.
1647         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1649 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1651         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1652         * configure: Regenerate.
1653         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1654         (libtsan_la_DEPENDENCIES): Likewise.
1655         * Makefile.in: Regenerate.
1656         * asan/Makefile.in: Regenerate.
1657         * interception/Makefile.in: Regenerate.
1658         * libbacktrace/Makefile.in: Regenerate.
1659         * lsan/Makefile.in: Regenerate.
1660         * sanitizer_common/Makefile.in: Regenerate.
1661         * tsan/Makefile.in: Regenerate.
1662         * ubsan/Makefile.in: Regenerate.
1664 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
1666         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1668 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1670         PR sanitizer/64435
1671         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1672         upstream r226637.
1673         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1674         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1676 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1678         PR sanitizer/64632
1679         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1681 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1683         PR sanitizer/64435
1684         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1685         upstream r223925.
1687 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
1689         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1690         upstream r224518 and r224519.
1691         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1692         r224834.
1694 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
1696         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1697         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1698         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1699         upstream r224308.
1701 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1703         PR bootstrap/63784
1704         * configure: Regenerated.
1706 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
1708         PR target/61137
1709         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1710         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1712 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
1714         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1715         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1716         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1717         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1718         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1719         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1720         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1721         * sanitizer_common/Makefile.in: Regenerate.
1722         * asan/Makefile.in: Ditto.
1723         * lsan/Makefile.in: Ditto.
1724         * interception/Makefile.in: Ditto.
1725         * tsan/Makefile.in: Ditto.
1726         * libbacktrace/Makefile.in: Ditto.
1727         * ubsan/Makefile.in: Ditto.
1729 2014-11-13  Kostya Serebryany  <kcc@google.com>
1731         * All source files: Merge from upstream r221802.
1732         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1733         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1734         with 'start' to follow the new interface.
1735         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1736         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1737         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1738         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1739         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1740         files.
1741         (AM_CXXFLAGS): Added -std=c++11.
1742         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1743         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1744         * asan/Makefile.in: Regenerate.
1745         * interception/Makefile.in: Regenerate.
1746         * libbacktrace/Makefile.in: Regenerate.
1747         * lsan/Makefile.in: Regenerate.
1748         * sanitizer_common/Makefile.in: Regenerate.
1749         * tsan/Makefile.in: Regenerate.
1750         * ubsan/Makefile.in: Regenerate.
1752 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1754         PR target/63610
1755         * configure: Regenerate.
1757 2014-10-16  Martin Liska  <mliska@suse.cz>
1759         * asan/Makefile.am: IPA ICF pass is disabled.
1760         * asan/Makefile.in: Likewise.
1762 2014-10-14  David S. Miller  <davem@davemloft.net>
1764         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1765         Define at __kernel_time_t, as needed for sparc.
1766         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1767         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1768         (__sanitizer): Define struct___old_kernel_stat_sz,
1769         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1770         (__sanitizer_ipc_perm): Adjust for sparc targets.
1771         (__sanitizer_shmid_ds): Likewsie.
1772         (__sanitizer_sigaction): Likewsie.
1773         (IOC_SIZE): Likewsie.
1775 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
1777         * ubsan/Makefile.am (DEFS): Add -DPIC.
1778         * ubsan/Makefile.in: Regenerated.
1780 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
1782         * configure.tgt: Enable build on aarch64*-linux.
1784 2014-09-19  Kostya Serebryany  <kcc@google.com>
1786         * All source files: Merge from upstream r218156.
1787         * asan/Makefile.am (asan_files): Added new files.
1788         * asan/Makefile.in: Regenerate.
1789         * ubsan/Makefile.am (ubsan_files): Added new files.
1790         * ubsan/Makefile.in: Regenerate.
1791         * tsan/Makefile.am (tsan_files): Added new files.
1792         * tsan/Makefile.in: Regenerate.
1793         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1794         files.
1795         * sanitizer_common/Makefile.in: Regenerate.
1796         * asan/libtool-version: Bump the libasan SONAME.
1798 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
1800         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1801         upstream r215485, r217389, r217391 and r217400.
1803 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
1805         * sanitizer_common/sanitizer_common_interceptors.inc:
1806         Cherry pick upstream r211008.
1808 2014-06-11  Richard Biener  <rguenther@suse.de>
1810         * asan/asan_linux.cc: Cherry pick upstream r210012.
1812 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
1814         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1815         r209879.
1816         * sanitizer_common/sanitizer_common.h: Likewise.
1817         * asan/asan_mapping.h: Likewise.
1818         * asan/asan_linux.cc: Likewise.
1819         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1820         * sanitizer_common/sanitizer_allocator.h: Likewise.
1822 2014-05-23  Marek Polacek  <polacek@redhat.com>
1824         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1825         floating-point types.
1827 2014-05-22  Kostya Serebryany  <kcc@google.com>
1829         * All source files: Merge from upstream r209283.
1830         * asan/Makefile.am (asan_files): Added new files.
1831         * asan/Makefile.in: Regenerate.
1832         * tsan/Makefile.am (tsan_files): Added new files.
1833         * tsan/Makefile.in: Regenerate.
1834         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1835         files.
1836         * sanitizer_common/Makefile.in: Regenerate.
1838 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
1840         PR sanitizer/61100
1841         * Makefile.am (nodist_saninclude_HEADERS): Install
1842         public headers.
1843         * Makefile.in: Regenerate.
1845 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1847         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1848         Add ../../libbacktrace/sort.c.
1849         * libbacktrace/Makefile.in: Regenerate.
1850         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1852 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1854         * configure.tgt: Unsupported for little endian PowerPC for now.
1856 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
1858         PR sanitizer/60055
1859         * tsan/tsan_flags.cc (__tsan_default_options): Add
1860         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
1861         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1863         PR sanitizer/60038
1864         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1865         sanitizer_atomic.h and unistd.h.
1866         (kThreadDescriptorSize): Made static, remove initializer and const,
1867         change type to atomic_uintptr_t.
1868         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1869         query glibc version, compute kThreadDescriptorSize depending on
1870         glibc version minor number.
1871         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1872         kThreadDescriptorSize directly.
1874 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
1875             Jakub Jelinek  <jakub@redhat.com>
1877         PR sanitizer/57316
1878         * configure.ac: Check for missing syscalls.
1879         * Makefile.am: Likewise.
1880         * configure: Regenerate.
1881         * Makefile.in: Regenerate.
1883 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
1885         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1886         (LibbacktraceSymbolizer::Demangle): New declaration.
1887         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1888         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1889         method if possible.
1890         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1891         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1892         (struct CplusV3DemangleData): New type.
1893         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1894         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1895         SymbolizeDataCallback): Use CplusV3Demangle.
1896         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1897         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1898         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1899         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1900         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1901         cplus_demangle_init_info, cplus_demangle_mangled_name,
1902         cplus_demangle_operators, cplus_demangle_print,
1903         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1904         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1905         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1906         Define.
1907         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1908         (memcmp, strncmp): Redefine.
1909         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1910         ../../libiberty/cp-demangle.c.
1911         * libbacktrace/bridge.cc (__asan_internal_memcmp,
1912         __asan_internal_strncmp): New functions.
1913         * sanitizer_common/Makefile.in: Regenerated.
1914         * libbacktrace/Makefile.in: Regenerated.
1915         * configure: Regenerated.
1916         * configure.ac: Regenerated.
1917         * config.h.in: Regenerated.
1919         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1920         -isystem $(top_srcdir)/include/system.
1921         * sanitizer_common/Makefile.in: Regenerated.
1922         * include/system/linux/aio_abi.h: New header.
1923         * include/system/linux/mroute.h: New header.
1924         * include/system/linux/mroute6.h: New header.
1925         * include/system/linux/perf_event.h: New header.
1926         * include/system/linux/types.h: New header.
1928         PR sanitizer/59136
1929         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1930         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1931         and -I/-include flags.
1932         * lsan/Makefile.am (liblsan_la_LIBADD): Add
1933         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1934         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1935         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1936         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1937         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1938         libbacktrace.
1939         * README.gcc: Document that also lsan and ubsan are
1940         maintained in compiler-rt upstream.
1941         * libbacktrace/Makefile.am: New file.
1942         * libbacktrace/backtrace-rename.h: New file.
1943         * libbacktrace/backtrace-supported.h.in: New file.
1944         * libbacktrace/bridge.cc: New file.
1945         * configure.ac: Add tests needed for libbacktrace build
1946         within libsanitizer.
1947         * sanitizer_common/Makefile.in: Regenerated.
1948         * lsan/Makefile.in: Regenerated.
1949         * tsan/Makefile.in: Regenerated.
1950         * ubsan/Makefile.in: Regenerated.
1951         * libbacktrace/Makefile.in: Generated.
1952         * config.h.in: Regenerated.
1953         * configure: Regenerated.
1954         * Makefile.in: Regenerated.
1955         * interception/Makefile.in: Regenerated.
1956         * asan/Makefile.in: Regenerated.
1957         * aclocal.m4: Regenerated.
1959 2013-12-19  Kostya Serebryany  <kcc@google.com>
1961         * sanitizer_common/sanitizer_platform_limits_posix.cc:
1962         workaround for missing definition of EOWNERDEAD, backport
1963         from upstream r196779.
1965 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1967         * sanitizer_common/sanitizer_platform_limits_posix.h
1968         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1969         (__sanitizer_clock_t): Use long long for x32.
1971 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1973         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1974         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1975         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1977 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
1979         * configure.ac (link_sanitizer_common): Add -lm.
1980         * configure: Regenerated.
1982 2013-12-05  Kostya Serebryany  <kcc@google.com>
1984         * All source files: Merge from upstream r196489.
1985         * merge.sh: Add *.S to the list of merged files.
1987 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
1989         PR sanitizer/59368
1990         * Makefile.am (gcc_version): Added gcc_version.
1991         * Makefile.in: Regenerate.
1993 2013-12-05  Kostya Serebryany  <kcc@google.com>
1995         * All source files: Merge from upstream r196090.
1996         * tsan/Makefile.am (tsan_files): Added new files.
1997         * tsan/Makefile.in: Regenerate.
1998         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1999         * sanitizer_common/Makefile.in: Regenerate.
2000         * lsan/Makefile.am (lsan_files): Added new files.
2001         * lsan/Makefile.in: Regenerate.
2003 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
2004             Yury Gribov  <y.gribov@samsung.com>
2006         PR sanitizer/59063
2007         * libsanitizer.spec.in: Add spec file to hold link flags for
2008         various sanitizer libs.
2009         * configure.ac: Check whether clock_* routines come from librt.
2010         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
2011         configure.ac.
2012         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
2013         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
2014         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
2015         * asan/Makefile.in: Regenerate.
2016         * interception/Makefile.in: Regenerate.
2017         * lsan/Makefile.in: Regenerate.
2018         * sanitizer_common/Makefile.in: Regenerate.
2019         * tsan/Makefile.in: Regenerate.
2020         * ubsan/Makefile.in: Regenerate.
2021         * Makefile.in: Regenerate.
2022         * configure: Regenerate.
2024 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
2025             Yury Gribov  <y.gribov@samsung.com>
2027         PR sanitizer/59106
2028         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
2029         don't need it.
2030         * ubsan/Makefile.in: Regenerated.
2032 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
2034         PR sanitizer/59061
2035         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
2036         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
2037         * configure: Regenerated.
2038         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
2039         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
2040         * lsan/Makefile.in: Regenerated.
2042 2013-11-22  Mike Stump  <mikestump@comcast.net>
2044         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
2045         change from upstream to fix build.
2047 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
2049         PR sanitizer/59106
2050         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
2051         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2052         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
2053         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
2054         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
2055         * asan/Makefile.in: Regenerate.
2056         * interception/Makefile.in: Regenerate.
2057         * tsan/Makefile.in: Regenerate.
2058         * lsan/Makefile.in: Regenerate.
2059         * sanitizer_common/Makefile.in: Regenerate.
2061 2013-11-15  Kostya Serebryany  <kcc@google.com>
2063         PR sanitizer/58994
2064         Backport from upstream revision 194573
2065         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
2066         back to the original functions in the common libsanitizer
2067         interceptors and the __cxa_atexit() interceptor on Darwin.
2069 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
2071         PR sanitizer/59009
2072         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
2073         ifdef out more source.
2075 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
2077         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
2078         ifdef out almost the whole source.
2079         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
2081 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2083         PR sanitizer/59018
2084         * sanitizer_common/sanitizer_platform_limits_posix.cc
2085         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
2086         defined.
2088 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2090         PR sanitizer/59018
2091         * sanitizer_common/sanitizer_platform_limits_linux.cc
2092         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
2093         defined.
2094         * sanitizer_common/sanitizer_platform_limits_posix.h
2095         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
2096         defined.
2097         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
2098         is defined.
2099         (__sanitizer___kernel_gid_t): Likewise.
2100         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
2101         is defined.
2103 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2105         PR sanitizer/59018
2106         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
2107         2 64-bit integers to save and restore fn and arg.  Properly load
2108         newtls/child_tidptr into r8/r10.
2110 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2112         PR sanitizer/59018
2113         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
2114         internal_munmap, internal_open, internal_read, internal_write,
2115         internal_stat, internal_lstat, internal_fstat, internal_readlink,
2116         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
2117         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2118         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2120 2013-11-04  Kostya Serebryany  <kcc@google.com>
2122         * All source files: Merge from upstream r191666.
2123         * merge.sh: Added lsan.
2124         * configure.ac (AC_CONFIG_FILES): Added lsan.
2125         * Makefile.am (SUBDIRS): Added lsan.
2126         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2127         * asan/Makefile.am (asan_files): Added new files.
2128         (libasan_la_LIBADD): Added a dependency on lsan.
2129         * lsan/Makefile.am: New file.
2130         * asan/Makefile.in: Regenerate.
2131         * lsan/Makefile.in: Regenerate.
2132         * Makefile.in: Regenerate.
2133         * configure: Regenerate.
2134         * sanitizer_common/Makefile.in: Regenerate.
2136 2013-09-20  Alan Modra  <amodra@gmail.com>
2138         * configure: Regenerate.
2140 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
2142         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2143         libinterception.la for Darwin.
2144         * ubsan/Makefile.in: Regenerate.
2146 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
2148         * Makefile.am (SUBDIRS): Add ubsan.
2149         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2150         * merge.sh: Merge ubsan.
2151         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2152         * sanitizer_common/sanitizer_printf.cc: Likewise.
2153         * sanitizer_common/sanitizer_common.h: Likewise.
2154         * ubsan: New directory. Import ubsan runtime from llvm.
2156 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
2158         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2159         Cherry pick upstream r182922.
2161 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
2163         * configure.tgt: Add ARM pattern.
2165 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
2167         PR other/43620
2168         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2169         * Makefile.in: Regenerated.
2170         * asan/Makefile.in: Regenerated.
2171         * interception/Makefile.in: Regenerated.
2172         * sanitizer_common/Makefile.in: Regenerated.
2173         * tsan/Makefile.in: Regenerated.
2175 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
2177         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2178         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2179         0x4fffffffffULL.
2181 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
2183         PR sanitizer/56393
2184         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2185         libasan_preinit.o.
2186         (libasan_preinit.o): Depend on asan_preinit.o.
2187         * asan/Makefile.in: Regenerated.
2188         * asan/asan_preinit.cc: New file, synced from upstream.
2189         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2191 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
2193         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2194         dynamic/asan_interceptors_dynamic.cc.
2195         * asan/Makefile.in: Regenerated.
2196         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2198 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
2200         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2201         defined.  Add used attribute.
2203 2013-02-21  Kostya Serebryany  <kcc@google.com>
2205         * All source files: Merge from upstream r175733.
2206         * sanitizer_common/Makefile.am: Added a new file.
2207         * sanitizer_common/Makefile.in: Regenerated.
2209 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
2211         PR bootstrap/56327
2212         * interception/interception.h (OFF_T): Merged from upstream
2213         r175140.
2215 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
2217         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2219 2013-02-13  Kostya Serebryany  <kcc@google.com>
2221         PR sanitizer/56128
2222         * All source files: Merge from upstream r175049.
2223         * interception/Makefile.am: added include path.
2224         * interception/Makefile.in: Regenerated.
2226 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
2228         * configure.tgt: Disable build on darwin9 and earlier.
2230 2013-01-23  Kostya Serebryany  <kcc@google.com>
2232         PR sanitizer/55989
2233         * All source files: Merge from upstream r173241.
2234         * merge.sh: Support merging .inc files.
2236 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
2238         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2239         -Wno-c99-extensions.
2240         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2241         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2242         * sanitizer_common/Makefile.in: Regenerated.
2243         * interception/Makefile.in: Regenerated.
2244         * asan/Makefile.in: Regenerated.
2246 2013-01-10  Wei Mi  <wmi@google.com>
2248         PR sanitizer/55488
2249         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2250         * tsan/Makefile.in: Regenerated.
2251         * tsan/tsan_rtl.h: Enable HACKY_CALL.
2253 2013-01-10  Kostya Serebryany  <kcc@google.com>
2255         * All source files: Merge from upstream r171973.
2256         * sanitizer_common/Makefile.am: Added new files.
2257         * asan/Makefile.am: Likewise.
2258         * tsan/Makefile.am: Likewise.
2259         * sanitizer_common/Makefile.in: Regenerated.
2260         * asan/Makefile.in: Likewise.
2261         * tsan/Makefile.in: Likewise.
2263 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
2265         * asan/Makefile.am (libasan_la_LIBADD): Replace
2266         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2267         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2268         * Makefile.in: Regenerated.
2269         * configure: Likewise.
2270         * asan/Makefile.in: Likewise.
2271         * interception/Makefile.in: Likewise.
2272         * sanitizer_common/Makefile.in: Likewise.
2273         * tsan/Makefile.in: Likewise.
2275 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2277         * Makefile.am (AM_MAKEFLAGS): Restored.
2278         * interception/Makefile.am: Likewise.
2279         * sanitizer_common/Makefile.am: Likewise.
2280         * tsan/Makefile.am: Likewise.
2281         * Makefile.in: Regenerated.
2282         * asan/Makefile.in: Likewise.
2283         * interception/Makefile.in: Likewise.
2284         * sanitizer_common/Makefile.in: Likewise.
2285         * tsan/Makefile.in: Likewise.
2287 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2289         * Makefile.am (MAKEOVERRIDES): Restored.
2290         * asan/Makefile.am: Likewise.
2291         * interception/Makefile.am: Likewise.
2292         * sanitizer_common/Makefile.am: Likewise.
2293         * tsan/Makefile.am: Likewise.
2294         * Makefile.in: Regenerated.
2295         * asan/Makefile.in: Likewise.
2296         * interception/Makefile.in: Likewise.
2297         * sanitizer_common/Makefile.in: Likewise.
2298         * tsan/Makefile.in: Likewise.
2300 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2302         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2303         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2304         * Makefile.in: Regenerated.
2305         * configure: Likewise.
2306         * asan/Makefile.in: Likewise.
2307         * interception/Makefile.in: Likewise.
2308         * sanitizer_common/Makefile.in: Likewise.
2309         * tsan/Makefile.in: Likewise.
2311 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2313         * Makefile.am (AM_MAKEFLAGS): Removed.
2314         (MAKEOVERRIDES): Likewise.
2315         * asan/Makefile.am: Likewise.
2316         * interception/Makefile.am: Likewise.
2317         * sanitizer_common/Makefile.am: Likewise.
2318         * tsan/Makefile.am: Likewise.
2319         * Makefile.in: Regenerated.
2320         * asan/Makefile.in: Likewise.
2321         * interception/Makefile.in: Likewise.
2322         * sanitizer_common/Makefile.in: Likewise.
2323         * tsan/Makefile.in: Likewise.
2325 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2327         PR sanitizer/55533
2328         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2329         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2330         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2331         (AM_MAKEFLAGS): Remove CC and CXX.
2332         * interception/Makefile.am: Likewise.
2333         * sanitizer_common/Makefile.am: Likewise.
2334         * tsan/Makefile.am: Likewise.
2335         * Makefile.in: Regenerated.
2336         * aclocal.m4: Likewise.
2337         * configure: Likewise.
2338         * asan/Makefile.in: Likewise.
2339         * interception/Makefile.in: Likewise.
2340         * sanitizer_common/Makefile.in: Likewise.
2341         * tsan/Makefile.in: Likewise.
2343 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
2345         * configure.tgt: Enable build on powerpc*-linux.
2347 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
2349         PR 55599/sanitizer
2350         * configure.ac: Set enable_static=no on darwin.
2351         * configure: Regenerated.
2353 2012-12-06  Kostya Serebryany  <kcc@google.com>
2355         * All files: Merge from upstream r169392.
2357 2012-12-05  Kostya Serebryany  <kcc@google.com>
2359         * All files: Merge from upstream r169371.
2361 2012-12-04  Kostya Serebryany  <kcc@google.com>
2362             Jack Howarth  <howarth@bromo.med.uc.edu>
2364         PR 55521/sanitizer
2365         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2366         * Makefile.am: Don't build interception subdir when
2367         USING_MAC_INTERPOSE defined.
2368         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2369         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2370         Compile asan_interceptors_dynamic.cc but not libinterception
2371         when USING_MAC_INTERPOSE defined.
2372         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2373         * configure: Regenerated.
2374         * Makefile.in: Likewise.
2375         * asan/Makefile.in: Likewise.
2376         * interception/Makefile.in: Likewise.
2377         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2378         * asan/asan_mac.cc: Likewise.
2379         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2380         and use MISSING_BLOCKS_SUPPORT.
2381         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2382         * interception/mach_override/LICENSE.txt: Remove unused file.
2383         * interception/mach_override/mach_override.c: Likewise.
2384         * interception/mach_override/mach_override.h: Likewise.
2385         * interception/mach_override: Remove unused directory.
2387 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2389         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2390         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2391         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2392         files.
2393         (AM_MAKEFLAGS): Restore CC and CXX.
2394         * interception/Makefile.am: Likewise.
2395         * sanitizer_common/Makefile.am: Likewise.
2396         * tsan/Makefile.am: Likewise.
2397         * Makefile.in: Regenerated.
2398         * aclocal.m4: Likewise.
2399         * configure: Likewise.
2400         * asan/Makefile.in: Likewise.
2401         * interception/Makefile.in: Likewise.
2402         * sanitizer_common/Makefile.in: Likewise.
2403         * tsan/Makefile.in: Likewise.
2405 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2407         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2408         * configure.ac (ACX_NONCANONICAL_TARGET): New.
2409         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2410         files.
2411         (AM_MAKEFLAGS): Remove CC and CXX.
2412         * interception/Makefile.am: Likewise.
2413         * sanitizer_common/Makefile.am: Likewise.
2414         * tsan/Makefile.am: Likewise.
2415         * Makefile.in: Regenerated.
2416         * aclocal.m4: Likewise.
2417         * configure: Likewise.
2418         * asan/Makefile.in: Likewise.
2419         * interception/Makefile.in: Likewise.
2420         * sanitizer_common/Makefile.in: Likewise.
2421         * tsan/Makefile.in: Likewise.
2423 2012-11-27  Kostya Serebryany  <kcc@google.com>
2425         * All files: Merge from upstream r168699.
2427 2012-11-24  Kostya Serebryany  <kcc@google.com>
2428             Jack Howarth  <howarth@bromo.med.uc.edu>
2430         * interception/mach_override/mach_override.c: Migrate from llvm.
2431         * interception/mach_override/mach_override.h: Likewise.
2432         * interception/mach_override/LICENSE.txt: Likewise.
2433         * configure.tgt: Add darwin to supported targets.
2434         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2435         * interception/Makefile.am: Compile mach_override.c when
2436         USING_MACH_OVERRIDE defined.
2437         * configure: Regenerated.
2438         * interception/Makefile.in: Likewise.
2440 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
2442         PR sanitizer/55450
2443         * tsan/Makefile.am (gcc_version): New.
2444         * tsan/Makefile.in: Regenerated.
2446 2012-11-23  Kostya Serebryany  <kcc@google.com>
2448         * merge.sh: Support tsan, support added/removed files.
2449         * tsan/Makefile.am: Remove tsan_printf.cc.
2450         * tsan/Makefile.in: Regenerated.
2451         * other files: Merge from upstream r168514.
2453 2012-11-23  Kostya Serebryany  <kcc@google.com>
2455         * merge.sh: New file.
2457 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
2459         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2460         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2461         automake conditional instead of !MULTISUBDIR32.
2462         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2463         for 64-bit multilib.
2464         * configure.ac: Check for void * size, source in configure.tgt,
2465         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2466         * configure: Regenerated.
2467         * Makefile.in: Regenerated.
2468         * tsan/Makefile.in: Regenerated.
2470 2012-11-22  Wei Mi  <wmi@google.com>
2472         * tsan: New directory. Import tsan runtime from llvm.
2473         * configure.ac: Add 64 bits tsan build.
2474         * Makefile.am: Likewise.
2475         * configure: Regenerated.
2476         * Makefile.in: Likewise.
2478 2012-11-21  Kostya Serebryany  <kcc@google.com>
2480         * README.gcc: Extend the README.gcc with mode details.
2482 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
2484         * sanitizer_common/sanitizer_linux.cc
2485         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2486         (internal_mmap): Use it.
2487         (internal_filesize): Likewise.
2489 2012-11-16  Tom Tromey  <tromey@redhat.com>
2491         * configure.ac: Invoke AM_MAINTAINER_MODE.
2492         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2493         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2495 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2497         PR other/55333
2498         * include/sanitizer/common_interface_defs.h (uhwptr): New type
2499         for hardware pointer.
2500         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2501         Replace uptr with uhwptr for stack unwind.
2503 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
2505         * configure.tgt: Enable build on sparc linux.
2507 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
2509         * configure.ac: Properly set MULTISUBDIR.
2510         * asan/Makefile.am (gcc_version): New.
2511         * interception/Makefile.am (gcc_version): Likewise.
2512         * sanitizer_common/Makefile.am (gcc_version): Likewise.
2513         * configure: Regenerated.
2514         * asan/Makefile.in: Likewise.
2515         * interception/Makefile.in: Likewise.
2516         * sanitizer_common/Makefile.in: Likewise.
2518 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2520         PR other/55291
2521         * configure.ac (--enable-version-specific-runtime-libs): New option.
2522         (AC_CANONICAL_SYSTEM): New.
2523         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2524         (toolexecdir): Support multilib.
2525         (toolexeclibdir): Likewise.
2526         (multilib_arg): New.
2527         * Makefile.in: Regenerated.
2528         * aclocal.m4: Likewise.
2529         * configure: Likewise.
2530         * asan/Makefile.in: Likewise.
2531         * interception/Makefile.in: Likewise.
2532         * sanitizer_common/Makefile.in: Likewise.
2534 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2536         PR other/55292
2537         Backport from upstream revision 167883
2538         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2539         __x86_64__ instead of __WORDSIZE.
2540         (internal_filesize): Likwise.
2542 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2544         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2545         * Makefile.in: Regenerated.
2546         * configure: Likewise.
2548 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2550         PR other/55304
2551         * acinclude.m4: New file.
2552         * Makefile.am (ACLOCAL_AMFLAGS): New.
2553         * configure.ac (AC_PREREQ): Set to 2.64.
2554         (AC_CONFIG_AUX_DIR): Set to "..".
2555         * Makefile.in: Regenerated.
2556         * aclocal.m4: Likewise.
2557         * configure: Likewise.
2558         * asan/Makefile.in: Likewise.
2559         * interception/Makefile.in: Likewise.
2560         * sanitizer_common/Makefile.in: Likewise.
2562         * config.guess: Removed.
2563         * config.sub: Likewise.
2564         * depcomp: Likewise.
2565         * install-sh: Likewise.
2566         * ltmain.sh: Likewise.
2567         * missing: Likewise.
2569 2012-11-13  Richard Henderson  <rth@redhat.com>
2571         * configure.tgt: New file.
2573 2012-11-12  David S. Miller  <davem@davemloft.net>
2575         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2577 2012-10-29  Wei Mi  <wmi@google.com>
2579         Initial checkin: migrate asan runtime from llvm.