rust: Implement TARGET_RUST_OS_INFO for *-*-darwin*
[official-gcc.git] / libsanitizer / ChangeLog
blob692e06b1e243e523ab4cce8937ecbca79610781b
1 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
3         * configure: Regenerate.
5 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
7         * configure: Regenerate.
9 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
11         * configure: Regenerate.
13 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
15         * configure: Regenerate.
17 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
19         * configure: Regenerate.
21 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
23         * configure: Regenerate.
25 2023-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
27         * sanitizer_common/sanitizer_stacktrace_sparc.cpp,
28         sanitizer_common/sanitizer_unwind_linux_libcdep.cpp: Cherry-pick
29         llvm-project revision 679c076ae446af81eba81ce9b94203a273d4b88a.
31 2023-04-30  Martin Liska  <mliska@suse.cz>
33         PR sanitizer/109674
34         * hwasan/Makefile.am: Depend on liblsan.
35         * hwasan/Makefile.in: Re-generate.
37 2023-04-30  Martin Liska  <mliska@suse.cz>
39         * LOCAL_PATCHES: Update revision.
41 2023-04-26  Martin Liska  <mliska@suse.cz>
43         * LOCAL_PATCHES: Change revision.
45 2023-04-18  Iain Sandoe  <iain@sandoe.co.uk>
47         * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
48         to locate dyld in the shared cache.
50 2023-01-31  H.J. Lu  <hjl.tools@gmail.com>
52         PR sanitizer/108106
53         * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
54         to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
55         (__interceptor_sigsetjmp): Add a local alias,
56         .Linterceptor_sigsetjmp.
58 2023-01-31  Martin Liska  <mliska@suse.cz>
60         * configure: Regenerate.
62 2023-01-31  YunQiang Su  <yunqiang.su@cipunited.com>
64         * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
65         always for mips*.
66         * configure: Regenerate.
68 2023-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
70         * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
71         llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
73 2022-12-19  Jakub Jelinek  <jakub@redhat.com>
75         * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
76         libhwasan_preinit.o.
77         (hwasan_files): Remove hwasan_preinit.cpp.
78         (libhwasan_preinit.o): Copy from hwasan_preinit.o.
79         * hwasan/Makefile.in: Regenerated.
81 2022-12-13  Jakub Jelinek  <jakub@redhat.com>
83         PR sanitizer/108072
84         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
86 2022-12-09  liuhongt  <hongtao.liu@intel.com>
88         * configure.tgt: Enable hwasan for x86-64.
90 2022-12-04  Iain Sandoe  <iain@sandoe.co.uk>
92         * configure.tgt: Restrict build to Darwin 16 or newer.
94 2022-11-15  Martin Liska  <mliska@suse.cz>
96         * LOCAL_PATCHES: Update local patches.
98 2022-11-15  Martin Liska  <mliska@suse.cz>
100         * merge.sh: Use git clone --depth 1.
102 2022-10-19  Martin Liska  <mliska@suse.cz>
104         * configure: Regenerate.
106 2022-10-18  Florian Weimer  <fweimer@redhat.com>
108         * configure.ac (sanitizer_supported): Include <unistd.h> for
109         syscall prototype.
110         * configure: Regenerate.
112 2022-10-12  Martin Liska  <mliska@suse.cz>
114         * configure: Regenerate.
116 2022-10-11  Olivier Hainque  <hainque@adacore.com>
117             Olivier Hainque  <hainque@adacore.com>
119         * configure: Regenerate.
121 2022-10-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
123         PR sanitizer/105531
124         * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
125         llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
127 2022-09-04  Iain Sandoe  <iain@sandoe.co.uk>
129         * LOCAL_PATCHES: Update.
131 2022-08-31  Xi Ruoyao  <xry111@xry111.site>
133         * configure.tgt: Allow loongarch64-*-linux*.
135 2022-08-30  Martin Liska  <mliska@suse.cz>
137         * LOCAL_PATCHES: Update.
139 2022-08-30  Martin Liska  <mliska@suse.cz>
141         * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
142         * sanitizer_common/Makefile.in: Regenerate.
144 2022-07-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
146         PR sanitizer/105531
147         * sanitizer_common/sanitizer_linux_libcdep.cpp,
148         sanitizer_common/sanitizer_solaris.h:: Cherry-pick
149         llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
151 2022-05-05  Martin Liska  <mliska@suse.cz>
153         * LOCAL_PATCHES: Update.
155 2022-05-04  Martin Liska  <mliska@suse.cz>
157         * tsan/Makefile.am: Update Makefile.am files.
158         * hwasan/Makefile.am: Likewise.
159         * sanitizer_common/Makefile.am: Likewise.
160         * Makefile.in: Re-generate.
161         * asan/Makefile.in: Likewise.
162         * hwasan/Makefile.in: Likewise.
163         * interception/Makefile.in: Likewise.
164         * libbacktrace/Makefile.in: Likewise.
165         * lsan/Makefile.in: Likewise.
166         * sanitizer_common/Makefile.in: Likewise.
167         * tsan/Makefile.in: Likewise.
168         * ubsan/Makefile.in: Likewise.
170 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
172         * configure.tgt: Enable build on mips*64*-*-linux*.
174 2022-03-14  Xi Ruoyao  <xry111@mengyan1223.wang>
176         * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
177         include sanitizer_atomic_clang_mips.h for O32.
179 2022-02-15  Jakub Jelinek  <jakub@redhat.com>
181         * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
182         llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
184 2022-02-03  David Seifert  <soap@gentoo.org>
185             Jakub Jelinek  <jakub@redhat.com>
187         * configure.ac: Support --disable-werror.
188         * aclocal.m4: Include also ../config/warnings.m4.
189         * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
190         * configure: Regenerate.
191         * Makefile.in: Regenerate.
192         * asan/Makefile.in: Regenerate.
193         * hwasan/Makefile.in: Regenerate.
194         * interception/Makefile.in: Regenerate.
195         * libbacktrace/Makefile.in: Regenerate.
196         * lsan/Makefile.in: Regenerate.
197         * sanitizer_common/Makefile.in: Regenerate.
198         * tsan/Makefile.in: Regenerate.
199         * ubsan/Makefile.in: Regenerate.
201 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
203         * LOCAL_PATCHES: Add commit 70b043845d7.
205 2021-12-06  H.J. Lu  <hjl.tools@gmail.com>
207         PR sanitizer/103466
208         * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
209         vmovdqu with movdqu.
210         (__tsan_report_race_thunk): Likewise.
212 2021-11-28  Andrew Pinski  <apinski@marvell.com>
214         PR sanitizer/62157
215         * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
216         * Makefile.in: Regenerate.
217         * asan/Makefile.in: Likewise.
218         * hwasan/Makefile.in: Likewise.
219         * interception/Makefile.in: Likewise.
220         * libbacktrace/Makefile.in: Likewise.
221         * lsan/Makefile.in: Likewise.
222         * sanitizer_common/Makefile.in: Likewise.
223         * tsan/Makefile.in: Likewise.
224         * ubsan/Makefile.in: Likewise.
226 2021-11-18  Jakub Jelinek  <jakub@redhat.com>
228         PR bootstrap/102675
229         * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
230         of sanitizer_platform_limits_freebsd.cpp.
231         * sanitizer_common/Makefile.in: Regenerated.
233 2021-11-13  H.J. Lu  <hjl.tools@gmail.com>
235         * LOCAL_PATCHES: Update to the corresponding revision.
237 2021-11-04  Martin Liska  <mliska@suse.cz>
239         * LOCAL_PATCHES: Update git revision.
241 2021-10-08  H.J. Lu  <hjl.tools@gmail.com>
243         PR sanitizer/102632
244         * asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
245         * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
246         * interception/Makefile.am (AM_CCASFLAGS): Likewise.
247         * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
248         * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
249         * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
250         * asan/Makefile.in: Regenerate.
251         * hwasan/Makefile.in: Likewise.
252         * interception/Makefile.in: Likewise.
253         * lsan/Makefile.in: Likewise.
254         * tsan/Makefile.in: Likewise.
255         * ubsan/Makefile.in: Likewise.
257 2021-10-06  H.J. Lu  <hjl.tools@gmail.com>
259         * LOCAL_PATCHES: Update to the corresponding revision.
261 2021-10-01  H.J. Lu  <hjl.tools@gmail.com>
263         * LOCAL_PATCHES: Update to the corresponding revision.
265 2021-08-11  Jakub Jelinek  <jakub@redhat.com>
267         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
268         llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
270 2021-08-03  Mosè Giordano  <mose@gnu.org>
272         PR sanitizer/101111
273         * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
275 2021-07-28  Ilya Leoshkevich  <iii@linux.ibm.com>
277         * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
278         s390x.
280 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
282         * asan/libtool-version: Bump version.
283         * tsan/libtool-version: Likewise.
285 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
287         * LOCAL_PATCHES: Update to the corresponding revision.
289 2021-05-21  Tamar Christina  <tamar.christina@arm.com>
291         PR sanitizer/100379
292         * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
293         llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
294         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
295         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
297 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
299         * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
301 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
303         * sanitizer_common/sanitizer_mac.cpp : Check for the
304         availability of __builtin_os_log_format before trying to
305         include a header depending on it.
306         (OS_LOG_DEFAULT): New.
307         (os_log_error): Define to a fall-back using an older API.
309 2021-05-13  Martin Liska  <mliska@suse.cz>
311         * LOCAL_PATCHES: Update to the corresponding revision.
313 2021-04-17  Jakub Jelinek  <jakub@redhat.com>
315         PR sanitizer/100114
316         * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
317         llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
318         and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
320 2021-03-08  Martin Liska  <mliska@suse.cz>
322         PR sanitizer/98920
323         * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
324         Cherry pick.
325         (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
326         * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
327         * sanitizer_common/sanitizer_common_interceptors.inc
328         (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
329         (INIT_REGEX): Likewise.
330         * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
331         Likewise.
333 2021-01-26  Martin Liska  <mliska@suse.cz>
335         PR sanitizer/98828
336         * lsan/Makefile.am: Add missing lsan_posix.cpp file.
337         * lsan/Makefile.in: Likewise.
339 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
341         * configure: Re-generate.
343 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
345         PR target/97865
346         * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
347         Darwin.
348         * configure: Regenerate.
350 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
352         * configure: Regenerate.
354 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
356         * LOCAL_PATCHES: Add one commit.
358 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
360         * Makefile.am: Condition Build hwasan directory.
361         * Makefile.in: Regenerate.
362         * configure: Regenerate.
363         * configure.ac: Set HWASAN_SUPPORTED based on target
364         architecture.
365         * configure.tgt: Likewise.
367 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
369         * Makefile.am:  Build libhwasan.
370         * Makefile.in:  Build libhwasan.
371         * asan/Makefile.in:  Build libhwasan.
372         * configure:  Build libhwasan.
373         * configure.ac:  Build libhwasan.
374         * hwasan/Makefile.am: New file.
375         * hwasan/Makefile.in: New file.
376         * hwasan/libtool-version: New file.
377         * interception/Makefile.in: Build libhwasan.
378         * libbacktrace/Makefile.in: Build libhwasan.
379         * libsanitizer.spec.in: Build libhwasan.
380         * lsan/Makefile.in: Build libhwasan.
381         * sanitizer_common/Makefile.in: Build libhwasan.
382         * tsan/Makefile.in: Build libhwasan.
383         * ubsan/Makefile.in: Build libhwasan.
385 2020-11-21  Iain Sandoe  <iain@sandoe.co.uk>
387         * configure.tgt: Allow x86_64 Darwin2x.
389 2020-11-13  Martin Liska  <mliska@suse.cz>
391         * LOCAL_PATCHES: Update to the latest commit.
393 2020-10-19  Martin Liska  <mliska@suse.cz>
395         * LOCAL_PATCHES: Add one commit.
397 2020-10-18  Iain Sandoe  <iain@sandoe.co.uk>
399         * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
400         macros are defined where the macOS SDK does not contain
401         them.
402         (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
403         Define where needed.
405 2020-10-16  Martin Liska  <mliska@suse.cz>
407         * LOCAL_PATCHES: Update revision.
409 2020-09-21  Ian Lance Taylor  <iant@golang.org>
411         * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
412         Define.
413         (backtrace_syminfo_to_full_callback): Define.
414         (backtrace_syminfo_to_full_error_callback): Define.
416 2020-07-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
418         * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
419         revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
421 2020-06-09  Martin Liska  <mliska@suse.cz>
423         * asan/Makefile.am: Replace gnu++11 with gnu++14.
424         * interception/Makefile.am: Likewise.
425         * libbacktrace/Makefile.am: Likewise.
426         * lsan/Makefile.am: Likewise.
427         * sanitizer_common/Makefile.am: Likewise.
428         * tsan/Makefile.am: Likewise.
429         * ubsan/Makefile.am: Likewise.
430         * asan/Makefile.in: Regenerate.
431         * interception/Makefile.in: Likewise.
432         * libbacktrace/Makefile.in: Likewise.
433         * lsan/Makefile.in: Likewise.
434         * sanitizer_common/Makefile.in: Likewise.
435         * tsan/Makefile.in: Likewise.
436         * ubsan/Makefile.in: Likewise.
438 2020-06-02  Martin Liska  <mliska@suse.cz>
440         * LOCAL_PATCHES: Update hash of local patches.
442 2020-06-02  Martin Liska  <mliska@suse.cz>
444         * MERGE: Merge from master.
446 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
448         PR bootstrap/95413
449         * configure: Regenerated.
451 2020-05-29  Martin Liska  <mliska@suse.cz>
453         * HOWTO_MERGE: Do not mention not existing argument.
454         * README.gcc: Update LLVM repository location.
456 2020-05-26  Martin Liska  <mliska@suse.cz>
458         * LOCAL_PATCHES: Use git hash instead of SVN id.
459         * merge.sh: Use git instead of VCS.  Update paths
460         relative to upstream git repository.
462 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
464         PR bootstrap/95147
465         * configure: Regenerated.
467 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
469         * configure: Regenerated.
471 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
473         * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
475 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
477         * sanitizer_common/Makefile.am: Add
478         sanitizer_platform_limits_freebsd.cpp.
479         * sanitizer_common/Makefile.in: Regenerate.
481 2020-03-01  Iain Sandoe  <iain@sandoe.co.uk>
483         PR sanitizer/93731
484         * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
485         default only for Darwin versions greater than 12 (macOS 10.8).
487 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
489         * configure.ac: Handle `--with-toolexeclibdir='.
490         * Makefile.in: Regenerate.
491         * aclocal.m4: Regenerate.
492         * configure: Regenerate.
493         * asan/Makefile.in: Regenerate.
494         * interception/Makefile.in: Regenerate.
495         * libbacktrace/Makefile.in: Regenerate.
496         * lsan/Makefile.in: Regenerate.
497         * sanitizer_common/Makefile.in: Regenerate.
498         * tsan/Makefile.in: Regenerate.
499         * ubsan/Makefile.in: Regenerate.
501 2019-11-26  Jakub Jelinek  <jakub@redhat.com>
503         PR sanitizer/92154
504         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
505         llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
506         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
508 2019-11-20  Martin Liska  <mliska@suse.cz>
510         * libtool-version: Remove.
511         * lsan/libtool-version: Upate comment to not mention libmudflap.
512         * tsan/libtool-version: Likewise.
513         * ubsan/libtool-version: Likewise.
515 2019-11-13  Andreas Schwab  <schwab@suse.de>
517         * configure.tgt (riscv64-*-linux*): Enable build.
519 2019-11-07  Martin Liska  <mliska@suse.cz>
521         * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
523 2019-11-07  Martin Liska  <mliska@suse.cz>
525         * merge.sh: Update to use llvm-project git repository.
526         * all source files: Merge from upstream
527         82588e05cc32bb30807e480abd4e689b0dee132a.
529 2019-11-05  Martin Liska  <mliska@suse.cz>
531         * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
532         summary for all sanitizers, but we want to have UBSAN without it.
534 2019-11-05  Martin Liska  <mliska@suse.cz>
536         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
537         LOCAL_PATCHES.
538         (CheckODRViolationViaPoisoning): Likewise.
539         (RegisterGlobal): Likewise.
540         * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
541         (defined): Likewise.
542         * asan/asan_mapping.h: Likewise.
543         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
544         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
545         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
546         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
547         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
548         * tsan/tsan_rtl_ppc64.S: Likewise.
549         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
550         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
551         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
552         (struct CFICheckFailData): Likewise.
553         (RECOVERABLE): Likewise.
554         * ubsan/ubsan_platform.h: Likewise.
556 2019-11-05  Martin Liska  <mliska@suse.cz>
558         * tsan/Makefile.am: Rename tsan_interceptors.cpp to
559         tsan_interceptors_posix.
560         * tsan/Makefile.in: Regenerate.
562 2019-11-05  Martin Liska  <mliska@suse.cz>
564         * all source files: Merge from upstream r375507.
566 2019-10-22  Tamar Christina  <tamar.christina@arm.com>
568         PR sanitizer/92154
569         * sanitizer_common/sanitizer_platform_limits_posix.cpp:
570         Cherry-pick compiler-rt revision r375220.
572 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
574         * configure: Regenerate.
576 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
577         Mickaël Guêné <mickael.guene@st.com>
579         * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
580         unsupported in this configuration.
582 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
584         * LOCAL_PATCHES: Add r274585.
586 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
588         * asan/asan_interceptors.h: Reapply r272406.
590 2019-08-15  Martin Liska  <mliska@suse.cz>
592         * LOCAL_PATCHES: Add r274540
594 2019-08-15  Martin Liska  <mliska@suse.cz>
596         * tsan/tsan_rtl_ppc64.S: Reapply.
598 2019-08-15  Iain Sandoe  <iain@sandoe.co.uk>
600         PR bootstrap/91455
601         * Makefile.in: Regenerated.
602         * aclocal.m4: Likewise.
603         * asan/Makefile.in: Likewise.
604         * configure: Likewise.
605         * interception/Makefile.in: Likewise.
606         * libbacktrace/Makefile.in: Likewise.
607         * lsan/Makefile.in: Likewise.
608         * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
609         * sanitizer_common/Makefile.in: Regenerated.
610         * tsan/Makefile.in: Likewise.
611         * ubsan/Makefile.in: Likewise.
613 2019-08-14  Martin Liska  <mliska@suse.cz>
615         * LOCAL_PATCHES: Refresh based on what was committed.
617 2019-08-14  Martin Liska  <mliska@suse.cz>
619         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
620         patch from trunk.
621         (CheckODRViolationViaPoisoning): Likewise.
622         (RegisterGlobal): Likewise.
623         * asan/asan_mapping.h: Likewise.
624         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
625         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
626         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
627         * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
628         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
629         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
630         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
631         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
632         (struct CFICheckFailData): Likewise.
633         (RECOVERABLE): Likewise.
634         * ubsan/ubsan_platform.h: Likewise.
636 2019-08-14  Martin Liska  <mliska@suse.cz>
638         PR sanitizer/89832
639         PR sanitizer/91325
640         * All source files: Merge from upstream 368656.
642 2019-06-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
644         * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
645         compiler-rt revision 363778.
647 2019-06-18  Iain Sandoe  <iain@sandoe.co.uk>
649         PR libsanitizer/87880
650         * asan/asan_interceptors.h:
651         (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
652         * asan/Makefile.am (DEFS): Add 
653         ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
654         * asan/Makefile.in: Regenerated.
655         * asan/libtool-version: Bump version.
657 2019-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
659         PR target/90639
660         * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
662 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
664         * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
665         handling.
666         * configure: Regenerate.
668 2019-04-08  Martin Liska  <mliska@suse.cz>
670         * LOCAL_PATCHES: Add revision.
672 2019-04-08  Martin Liska  <mliska@suse.cz>
674         PR sanitizer/89941
675         * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
676         Reapply patch from r259664.
677         * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
678         Likewise.
680 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
682         PR sanitizer/80953
683         Merge from LLVM revision 355980
684         * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
685         (kAllocatorSize): Likewise.
686         (DefaultSizeClassMap): Likewise.
687         * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
688         (SHADOW_OFFSET): Define for SPARC.
689         Include asan_mapping_sparc64.h for SPARC 64-bit.
690         * asan/asan_mapping_sparc64.h: New file.
692 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
694         PR sanitizer/80953
695         Merge from LLVM revision 355979
696         * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
697         copy Global objects for SPARC with GCC.
699 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
701         PR sanitizer/80953
702         Merge from LLVM revision 355978
703         * sanitizer_common/sanitizer_allocator_primary32.h
704         (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
705         SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
706         (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
707         (ComputeRegionId): Likewise.
708         * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
709         appropriate value for SPARC 64-bit.
710         * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
711         Define for SPARC.
712         (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
714 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
716         PR sanitizer/80953
717         Merge from LLVM revision 355965
718         * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
719         SPARC/Linux.
720         (GetPcSpBp): Likewise.
721         * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
722         Adjust for SPARC.
723         * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
724         Define to 1 for SPARC.
725         * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
726         * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
727         Adjust the PC address for SPARC with GCC.
729 2019-03-06  Martin Liska  <mliska@suse.cz>
731         PR sanitizer/88684
732         * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
733         (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
734         * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
735         Likewise.
737 2019-02-20  H.J. Lu  <hongjiu.lu@intel.com>
739         PR sanitizer/89409
740         * sanitizer_common/sanitizer_linux.cc (internal_readlink):
741         Cherry-pick compiler-rt r354451.
743 2019-01-23  Jonny Grant  <jg@jguk.org>
745         PR sanitizer/89010
746         * libsanitizer/README.gcc: Update to current https URLs.
748 2018-12-27  Martin Liska  <mliska@suse.cz>
750         PR sanitizer/86229
751         * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
752         pick rL350085.
753         * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
755 2018-11-09  Martin Liska  <mliska@suse.cz>
757         * LOCAL_PATCHES: Include one local patch.
759 2018-11-09  Martin Liska  <mliska@suse.cz>
761         PR sanitizer/87892
762         * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
763         1 when CPU_COUNT macro is not defined.
765 2018-11-08  Bill Seurer  <seurer@linux.vnet.ibm.com>
767         * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
768         Disable ASLR for powerpc64 when using sanitizers.
770 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
772         PR sanitizer/80953
773         * configure.tgt (sparc*-*-solaris2.11*): Enable.
774         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
776 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
778         PR sanitizer/80953
779         * sanitizer_common/sanitizer_internal_defs.h,
780         sanitizer_common/sanitizer_platform_limits_solaris.h,
781         sanitizer_common/sanitizer_procmaps_solaris.cc,
782         sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
783         revision 346153.
784         * sanitizer_common/sanitizer_stacktrace.h,
785         sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
786         compiler-rt revision 346155.
788 2018-11-05  Segher Boessenkool  <segher@kernel.crashing.org>
790         * LOCAL_PATCHES: Add r258525.
791         * sanitizer_common/sanitizer_stacktrace.cc
792         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
793         for PowerPC SYSV ABI.
795 2018-11-05  Martin Liska  <mliska@suse.cz>
797         PR sanitizer/87860
798         * sanitizer_common/sanitizer_linux.cc:  Cherry-pick upstream
799         r346129.
801 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
803         PR bootstrap/82856
804         * Makefile.am: Include multilib.am.
805         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
806         * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
807         interception/Makefile.in, libbacktrace/Makefile.in,
808         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
809         ubsan/Makefile.in: Regenerate.
811 2018-10-31  Martin Liska  <mliska@suse.cz>
813         * LOCAL_PATCHES: Update to installed revisions.
815 2018-10-31  Martin Liska  <mliska@suse.cz>
817         * ubsan/ubsan_platform.h: Add ifndef as we define it with
818         -DCAN_SANITIZE_UB CFLAGS.
820 2018-10-31  Martin Liska  <mliska@suse.cz>
822         * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
824 2018-10-31  Martin Liska  <mliska@suse.cz>
826         * LOCAL_PATCHES: Update patch list.
827         * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
828         patches from GCC's trunk.
829         (CheckODRViolationViaPoisoning): Likewise.
830         (RegisterGlobal): Likewise.
831         * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
832         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
833         * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
834         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
835         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
836         (struct CFICheckFailData): Likewise.
837         (RECOVERABLE): Likewise.
839 2018-10-31  Martin Liska  <mliska@suse.cz>
841         * config.h.in: Regenerate.
842         * configure: Likewise.
843         * sanitizer_common/Makefile.am: Include new files, remove old
844         files.
845         * sanitizer_common/Makefile.in: Regenerate.
846         * ubsan/Makefile.am: Include new files, remove old
847         files.
848         * ubsan/Makefile.in: Likewise.
849         * asan/Makefile.am: Include new files.
850         * asan/Makefile.in: Regenerate.
852 2018-10-31  Martin Liska  <mliska@suse.cz>
854         * All source files: Merge from upstream 345033.
856 2018-10-31  Martin Liska  <mliska@suse.cz>
858         * HOWTO_MERGE: Enhance documentation.
859         * merge.sh: Add support for git as well.
861 2018-08-02  Martin Liska  <mliska@suse.cz>
863         PR sanitizer/86022
864         * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
865         Cherry-pick compiler-rt revision 338606.
867 2018-08-01  Marek Polacek  <polacek@redhat.com>
869         PR sanitizer/86759
870         * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
871         * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
872         319180.
874 2018-07-25  H.J. Lu  <hongjiu.lu@intel.com>
876         PR target/86560
877         * asan/asan_interceptors.cc (swapcontext) Cherry-pick
878         compiler-rt revision 337603.
879         * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
880         Likewise.
882 2018-07-05  Jakub Jelinek  <jakub@redhat.com>
884         Revert
885         2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
887         PR sanitizer/84250
888         * Makefile.am: Reorder libs.
889         * Makefile.in: Regenerate.
890         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
891         libsanitizer_ubsan.la.
892         * asan/Makefile.in: Regenerate.
893         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
894         * ubsan/Makefile.in: Regenerate.
896 2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
898         PR sanitizer/84250
899         * Makefile.am: Reorder libs.
900         * Makefile.in: Regenerate.
901         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
902         libsanitizer_ubsan.la.
903         * asan/Makefile.in: Regenerate.
904         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
905         * ubsan/Makefile.in: Regenerate.
907 2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>
909         PR sanitizer/86090
910         * configure.ac: Check for lstat and readlink.
911         * configure, config.h.in: Rebuild.
913 2018-05-31  Matthias Klose  <doko@ubuntu.com>
915         PR sanitizer/86012
916         * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
917         SIZEOF_STRUCT_USTAT for 32bit sparc.
919 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
921         PR sanitizer/85835
922         * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
923         include <sys/ustat.h> for Linux.
924         (SIZEOF_STRUCT_USTAT): New.
925         (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
927 2018-04-26  Hans-Peter Nilsson  <hp@axis.com>
929         * configure.tgt <mips*-*-linux*>: Enable build, excluding
930         mips*64*-*-linux*.
932         * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
933         take the shortcut to #include <sys/stat.h> for MIPS instead of
934         the kernel <asm/stat.h>.  Explain why sys/stat.h is misleading
935         or wrong to get the kernel struct stat.
936         * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
937         Correct the value for 32-bit non-android struct_kernel_stat_sz.
939         * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
940         && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
942 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
944         * configure: Regenerated.
946 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
948         * configure: Regenerated.
950 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
952         PR jit/85384
953         * configure: Regenerate.
955 2018-04-18  Bill Seurer  <seurer@linux.vnet.ibm.com>
957         PR sanitizer/85389
958         * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
959         from 0xa0000000000ULL to ~(uptr)0.
961 2018-03-19  Jakub Jelinek  <jakub@redhat.com>
963         PR sanitizer/84761
964         * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
965         Define if not defined.
966         (DL_INTERNAL_FUNCTION): Don't define.
967         (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
968         determine at runtime whether to use regparm(3), stdcall calling
969         convention for older glibcs or normal calling convention for
970         newer glibcs for call to _dl_get_tls_static_info.
972 2018-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
974         * sanitizer_common/sanitizer_stacktrace.cc
975         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
976         for PowerPC SYSV ABI.
978 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
980         PR target/84148
981         * configure: Regenerate.
983 2018-02-05  Martin Liska  <mliska@suse.cz>
985         * asan/asan_flags.inc: Cherry-pick upstream r323995.
986         * asan/asan_report.cc (CheckForInvalidPointerPair):
987         Cherry-pick upstream r323995.
989 2018-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
991         PR sanitizer/82825
992         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
993         r324284.
995 2018-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
997         PR sanitizer/82824
998         * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
1000 2017-12-05  Martin Liska  <mliska@suse.cz>
1001             Jakub Jelinek  <jakub@redhat.com>
1003         * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
1004         * asan/asan_descriptions.h: Likewise.
1005         * asan/asan_report.cc: Likewise.
1006         * asan/asan_thread.cc: Likewise.
1007         * asan/asan_thread.h: Likewise.
1009 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1011         * acinclude.m4: Add enable.m4 and cet.m4.
1012         * Makefile.in: Regenerate.
1013         * asan/Makefile.am: Update AM_CXXFLAGS.
1014         * asan/Makefile.in: Regenerate.
1015         * configure: Likewise.
1016         * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
1017         EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
1018         * interception/Makefile.am: Update AM_CXXFLAGS.
1019         * interception/Makefile.in: Regenerate.
1020         * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
1021         * libbacktrace/Makefile.in: Regenerate.
1022         * lsan/Makefile.am: Update AM_CXXFLAGS.
1023         * lsan/Makefile.in: Regenerate.
1024         * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
1025         AM_CCASFLAGS.
1026         * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
1027         Add _CET_ENDBR macro.
1028         * sanitizer_common/Makefile.in: Regenerate.
1029         * tsan/Makefile.am: Update AM_CXXFLAGS.
1030         * tsan/Makefile.in: Regenerate.
1031         * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
1032         * ubsan/Makefile.am: Update AM_CXXFLAGS.
1033         * ubsan/Makefile.in: Regenerate.
1035 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
1037         PR bootstrap/82670
1038         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
1039         and ubsan_signals_standalone.cc.
1040         * ubsan/Makefile.in: Regenerated.
1042 2017-11-05  Tom de Vries  <tom@codesourcery.com>
1044         PR other/82784
1045         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
1046         "do {} while (0)".
1047         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1049 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
1051         PR sanitizer/82595
1052         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1053         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1054         liblsan_preinit.o.
1055         (lsan_files): Remove lsan_preinit.cc.
1056         (liblsan_preinit.o): New rule.
1057         * lsan/Makefile.in: Regenerated.
1059 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
1061         * All source files: Merge from upstream 315899.
1062         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1063         include/sanitizer/tsan_interface.h.
1064         * asan/libtool-version: Bump the libasan SONAME.
1065         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1066         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1067         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1068         sancov_flags.cc, sanitizer_allocator_checks.cc,
1069         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1070         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1071         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
1072         and sanitizer_coverage_mapping_libcdep.cc.
1073         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1074         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1075         (ubsan_files): Add ubsan_init_standalone.cc and
1076         ubsan_signals_standalone.cc.
1077         * ubsan/libtool-version: Bump the libubsan SONAME.
1078         * asan/Makefile.in: Regenerate.
1079         * lsan/Makefile.in: Regenerate.
1080         * sanitizer_common/Makefile.in: Regenerate.
1081         * tsan/Makefile.in: Regenerate.
1082         * ubsan/Makefile.in: Regenerate.
1084 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
1086         PR sanitizer/82379
1087         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1088         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1090 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
1092         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1093         Define.
1095 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
1097         * include/system/sys/ptrace.h: New file.
1099 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
1101         PR sanitizer/80998
1102         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1103         * ubsan/ubsan_checks.inc: Likewise.
1104         * ubsan/ubsan_handlers.h: Likewise.
1106 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
1108         PR sanitizer/81066
1109         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1110         * sanitizer_common/sanitizer_linux.cc: Likewise.
1111         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1112         * tsan/tsan_platform_linux.cc: Likewise.
1114 2017-04-06  Martin Liska  <mliska@suse.cz>
1116         PR sanitizer/80166
1117         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1118         Cherry-pick upstream r299036.
1120 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
1122         PR sanitizer/78158
1123         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1125 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
1127         PR sanitizer/79562
1128         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1129         upstream r294806.
1131 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
1133         PR sanitizer/79341
1134         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1135         s390-linux 31-bit.
1136         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1137         r294793.
1138         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1139         upstream r294790.
1140         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1141         r294799.
1143 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
1145         PR sanitizer/78663
1146         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1147         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1149 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
1151         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1153 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1155         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1157         PR sanitizer/79168
1158         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1159         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1160         text.
1161         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1162         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1163         * tsan/tsan_ppc_regs.h: Likewise.
1164         * tsan/tsan_rtl_aarch64.S: Likewise.
1165         * tsan/tsan_rtl_mips64.S: Likewise.
1166         * tsan/tsan_rtl_ppc64.S: Likewise.
1168 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
1170         PR other/79046
1171         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1172         instead of cat to get version from BASE-VER file.
1173         * asan/Makefile.am (gcc_version): Likewise.
1174         * ubsan/Makefile.am (gcc_version): Likewise.
1175         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1176         * lsan/Makefile.am (gcc_version): Likewise.
1177         * tsan/Makefile.am (gcc_version): Likewise.
1178         * interception/Makefile.in: Regenerated.
1179         * asan/Makefile.in: Regenerated.
1180         * ubsan/Makefile.in: Regenerated.
1181         * sanitizer_common/Makefile.in: Regenerated.
1182         * lsan/Makefile.in: Regenerated.
1183         * tsan/Makefile.in: Regenerated.
1185 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1187         PR other/79046
1188         * configure.ac: Add GCC_BASE_VER.
1189         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1190         get version from BASE-VER file.
1191         * libbacktrace/Makefile.in: Regenerated.
1192         * interception/Makefile.in: Regenerated.
1193         * asan/Makefile.in: Regenerated.
1194         * ubsan/Makefile.in: Regenerated.
1195         * configure: Regenerated.
1196         * sanitizer_common/Makefile.in: Regenerated.
1197         * lsan/Makefile.in: Regenerated.
1198         * Makefile.in: Regenerated.
1199         * tsan/Makefile.in: Regenerated.
1201 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
1203         PR sanitizer/78992
1204         * sanitizer_common/sanitizer_platform_limits_posix.h
1205         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1207 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1209         * LOCAL_PATCHES: Add revision.
1211 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1213         PR sanitizer/78532
1214         * sanitizer_common/sanitizer_platform_limits_posix.h
1215         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1216         versions.
1218 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1220         * LOCAL_PATCHES: Remove r242480.
1222 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1224         * LOCAL_PATCHES: Add revision.
1226 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
1228         PR sanitizer/78267
1229         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1230         compiler supports blocks extension.
1232 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1234         * LOCAL_PATCHES: Add revision.
1236 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1238         PR sanitizer/78294
1239         * tsan/tsan_rtl.cc: Add missing attribute.
1241 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1243         * LOCAL_PATCHES: New file.
1245 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1247         PR sanitizer/78307
1248         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1249         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
1250         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1251         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1252         function.
1253         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1254         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1255         (__ubsan_handle_cfi_bad_type): Export function.
1256         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1257         * HOWTO_MERGE: Update documentation.
1259 2016-11-15  Matthias Klose  <doko@ubuntu.com>
1261         * configure: Regenerate.
1263 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1265         * asan/asan_globals.cc (RegisterGlobal): Do not call
1266         CheckODRViolationViaPoisoning.
1267         (CheckODRViolationViaPoisoning): Remove.
1269 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1271         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1272         compiled code with GCC when extracting the caller PC for ARM if no
1273         valid frame pointer is available.
1275 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1277         PR sanitizer/63958
1278         Reapply:
1279         2014-10-14  David S. Miller  <davem@davemloft.net>
1281         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1282         Define at __kernel_time_t, as needed for sparc.
1283         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1284         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1285         (__sanitizer): Define struct___old_kernel_stat_sz,
1286         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1287         (__sanitizer_ipc_perm): Adjust for sparc targets.
1288         (__sanitizer_shmid_ds): Likewsie.
1289         (__sanitizer_sigaction): Likewise.
1290         (IOC_SIZE): Likewsie.
1292 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1294         * All source files: Merge from upstream 285547.
1295         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1296         variable.
1297         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1298         * asan/Makefile.am (asan_files): Add new files.
1299         * asan/Makefile.in: Regenerate.
1300         * ubsan/Makefile.in: Likewise.
1301         * lsan/Makefile.in: Likewise.
1302         * tsan/Makefile.am (tsan_files): Add new files.
1303         * tsan/Makefile.in: Regenerate.
1304         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1305         (EXTRA_libsanitizer_common_la_SOURCES): Define.
1306         (libsanitizer_common_la_LIBADD): Likewise.
1307         (libsanitizer_common_la_DEPENDENCIES): Likewise.
1308         * sanitizer_common/Makefile.in: Regenerate.
1309         * interception/Makefile.in: Likewise.
1310         * libbacktace/Makefile.in: Likewise.
1311         * Makefile.in: Likewise.
1312         * configure: Likewise.
1313         * merge.sh: Handle builtins/assembly.h merging.
1314         * builtins/assembly.h: New file.
1315         * asan/libtool-version: Bump the libasan SONAME.
1317 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
1319         PR sanitizer/77567
1320         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1322 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
1324         PR sanitizer/77396
1325         * asan/asan_globals.cc: Cherry-pick upstream r280657.
1327 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
1329         PR sanitizer/71042
1330         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1331         * tsan/tsan_rtl_aarch64.S: Likewise.
1333 2016-07-23  Alan Modra  <amodra@gmail.com>
1335         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
1336         * configure.ac: Don't substitute OBSTACK_DEFS.
1337         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1338         * tsan/Makefile.am: Likewise.
1339         * configure: Regenerate.
1340         * Makefile.in: Regenerate.
1341         * asan/Makefile.in: Regenerate.
1342         * interception/Makefile.in: Regenerate.
1343         * libbacktrace/Makefile.in: Regenerate.
1344         * lsan/Makefile.in: Regenerate.
1345         * sanitizer_common/Makefile.in: Regenerate.
1346         * tsan/Makefile.in: Regenerate.
1347         * ubsan/Makefile.in: Regenerate.
1349 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
1351         PR sanitizer/71160
1352         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1353         and r269633.
1355 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
1357         PR sanitizer/70624
1358         * asan/asan_mac.cc: Cherry pick upstream r266868.
1360 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
1362         PR sanitizer/68824
1363         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1364         InitializeInterceptors): Cherry pick upstream r258119.
1366 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
1368         * configure.ac: Replace the hard-coded -ldl requirement for
1369         link_sanitizer_common with a configure time check for -ldl.
1370         * configure: Regenerate.
1372 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1374         * include/system/linux/asm/ptrace.h: Move to ...
1375         * include/system/asm/ptrace.h: ... this.
1377 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1379         * include/system/linux/asm/ptrace.h: New header.
1381 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1383         * All source files: Merge from upstream r253555.
1384         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1385         dependences for TSan for aarch64-*-linux* targets.
1386         * tsan/Makefile.am: Add new source files.
1387         * configure: Regenerate.
1388         * tsan/Makefile.in: Likewise.
1390 2015-11-09  Alan Modra  <amodra@gmail.com>
1392         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1393         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1394         interceptors.
1395         * configure.ac: Substitute OBSTACK_DEFS.
1396         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1397         * tsan/Makefile.am: Likewise.
1398         * configure: Regenerate.
1399         * Makefile.in: Regenerate.
1400         * asan/Makefile.in: Regenerate.
1401         * interception/Makefile.in: Regenerate.
1402         * libbacktrace/Makefile.in: Regenerate.
1403         * lsan/Makefile.in: Regenerate.
1404         * sanitizer_common/Makefile.in: Regenerate.
1405         * tsan/Makefile.in: Regenerate.
1406         * ubsan/Makefile.in: Regenerate.
1408 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1410         PR bootstrap/68041
1411         * configure.ac (link_sanitizer_common): Link against librt only if it
1412         contains shm_open, required by sanitizers.
1413         (CXX_ABI_NEEDED): Remove variable.
1414         * configure: Regenerate.
1415         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1416         * ubsan/Makefile.in: Regenerate.
1418 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1420         * HOWTO_MERGE: New file.
1422 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1424         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1425         compiled code with GCC when extracting the caller PC for ARM if no
1426         valid frame pointer is available.
1428 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1430         PR bootstrap/63888
1431         Reapply:
1432         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
1434         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1435         support until it is rewritten upstream.
1437         * c-c++-common/asan/pr63888.c: New test.
1439 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1441         PR sanitizer/63958
1442         Reapply:
1443         2014-10-14  David S. Miller  <davem@davemloft.net>
1445         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1446         Define at __kernel_time_t, as needed for sparc.
1447         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1448         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1449         (__sanitizer): Define struct___old_kernel_stat_sz,
1450         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1451         (__sanitizer_ipc_perm): Adjust for sparc targets.
1452         (__sanitizer_shmid_ds): Likewsie.
1453         (__sanitizer_sigaction): Likewise.
1454         (IOC_SIZE): Likewsie.
1456 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1458         * All source files: Merge from upstream r250806.
1459         * configure.ac (link_sanitizer_common): Add -lrt flag.
1460         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1461         Set USE_CXX_ABI_FLAG=true for darwin.
1462         * asan/Makefile.am (asan_files): Add new files.
1463         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1464         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1465         * asan/Makefile.in: Regenerate.
1466         * ubsan/Makefile.am (ubsan_files): Add new files.
1467         (DEFS): Add DCAN_SANITIZE_UB=1.
1468         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1469         * ubsan/Makefile.in: Regenerate.
1470         * tsan/Makefile.am (tsan_files): Add new files.
1471         (DEFS): Add DCAN_SANITIZE_UB=0.
1472         * tsan/Makefile.in: Regenerate.
1473         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1474         * sanitizer_common/Makefile.in: Regenerate.
1475         * asan/libtool-version: Bump the libasan SONAME.
1477 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1479         PR sanitizer/67258
1480         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1482 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1484         PR sanitizer/63927
1485         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1486         for PowerPC.
1488 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1490         PR sanitizer/63927
1491         * sanitizer_common/sanitizer_stacktrace.cc
1492         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1493         find the link register at an offset of 16 from the base of the
1494         caller's stack frame.
1496 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1498         * Makefile.in: Regenerated with automake-1.11.6.
1499         * aclocal.m4: Likewise.
1500         * asan/Makefile.in: Likewise.
1501         * configure: Likewise.
1502         * interception/Makefile.in: Likewise.
1503         * libbacktrace/Makefile.in: Likewise.
1504         * lsan/Makefile.in: Likewise.
1505         * sanitizer_common/Makefile.in: Likewise.
1506         * tsan/Makefile.in: Likewise.
1507         * ubsan/Makefile.in: Likewise.
1509 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
1511         PR sanitizer/64839
1512         * sanitizer_common/sanitizer_platform.h: Cherry pick
1513         upstream r234470.
1514         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1515         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1516         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1517         * Makefile.in: Regenerate.
1518         * asan/Makefile.in: Regenerate.
1519         * config.h.in: Regenerate.
1520         * configure: Regenerate.
1521         * interception/Makefile.in: Regenerate.
1522         * libbacktrace/Makefile.in: Regenerate.
1523         * lsan/Makefile.in: Regenerate.
1524         * sanitizer_common/Makefile.in: Regenerate.
1525         * tsan/Makefile.in: Regenerate.
1526         * ubsan/Makefile.in: Regenerate.
1529 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
1531         PR sanitizer/59009
1532         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1533         upstream r230324.
1534         * sanitizer_common/sanitizer_platform.h: Likewise.
1535         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1537 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1539         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1540         upstream 224508 and 224755.
1542 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
1544         PR sanitizer/63958
1545         Reapply:
1546         2014-10-14  David S. Miller  <davem@davemloft.net>
1548         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1549         Define at __kernel_time_t, as needed for sparc.
1550         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1551         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1552         (__sanitizer): Define struct___old_kernel_stat_sz,
1553         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1554         (__sanitizer_ipc_perm): Adjust for sparc targets.
1555         (__sanitizer_shmid_ds): Likewsie.
1556         (__sanitizer_sigaction): Likewise.
1557         (IOC_SIZE): Likewsie.
1559 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
1561         * configure.tgt: Enable build on powerpc*le-*-linux.
1563 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
1565         PR bootstrap/63888
1566         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1567         support until it is rewritten upstream.
1569 2015-01-26  Matthias Klose  <doko@ubuntu.com>
1571         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1572         * configure: Regenerate.
1574 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1576         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1577         * configure: Regenerate.
1578         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1580 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1582         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1583         * configure: Regenerate.
1584         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1585         (libtsan_la_DEPENDENCIES): Likewise.
1586         * Makefile.in: Regenerate.
1587         * asan/Makefile.in: Regenerate.
1588         * interception/Makefile.in: Regenerate.
1589         * libbacktrace/Makefile.in: Regenerate.
1590         * lsan/Makefile.in: Regenerate.
1591         * sanitizer_common/Makefile.in: Regenerate.
1592         * tsan/Makefile.in: Regenerate.
1593         * ubsan/Makefile.in: Regenerate.
1595 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
1597         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1599 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1601         PR sanitizer/64435
1602         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1603         upstream r226637.
1604         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1605         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1607 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1609         PR sanitizer/64632
1610         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1612 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1614         PR sanitizer/64435
1615         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1616         upstream r223925.
1618 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
1620         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1621         upstream r224518 and r224519.
1622         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1623         r224834.
1625 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
1627         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1628         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1629         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1630         upstream r224308.
1632 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1634         PR bootstrap/63784
1635         * configure: Regenerated.
1637 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
1639         PR target/61137
1640         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1641         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1643 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
1645         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1646         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1647         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1648         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1649         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1650         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1651         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1652         * sanitizer_common/Makefile.in: Regenerate.
1653         * asan/Makefile.in: Ditto.
1654         * lsan/Makefile.in: Ditto.
1655         * interception/Makefile.in: Ditto.
1656         * tsan/Makefile.in: Ditto.
1657         * libbacktrace/Makefile.in: Ditto.
1658         * ubsan/Makefile.in: Ditto.
1660 2014-11-13  Kostya Serebryany  <kcc@google.com>
1662         * All source files: Merge from upstream r221802.
1663         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1664         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1665         with 'start' to follow the new interface.
1666         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1667         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1668         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1669         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1670         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1671         files.
1672         (AM_CXXFLAGS): Added -std=c++11.
1673         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1674         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1675         * asan/Makefile.in: Regenerate.
1676         * interception/Makefile.in: Regenerate.
1677         * libbacktrace/Makefile.in: Regenerate.
1678         * lsan/Makefile.in: Regenerate.
1679         * sanitizer_common/Makefile.in: Regenerate.
1680         * tsan/Makefile.in: Regenerate.
1681         * ubsan/Makefile.in: Regenerate.
1683 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1685         PR target/63610
1686         * configure: Regenerate.
1688 2014-10-16  Martin Liska  <mliska@suse.cz>
1690         * asan/Makefile.am: IPA ICF pass is disabled.
1691         * asan/Makefile.in: Likewise.
1693 2014-10-14  David S. Miller  <davem@davemloft.net>
1695         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1696         Define at __kernel_time_t, as needed for sparc.
1697         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1698         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1699         (__sanitizer): Define struct___old_kernel_stat_sz,
1700         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1701         (__sanitizer_ipc_perm): Adjust for sparc targets.
1702         (__sanitizer_shmid_ds): Likewsie.
1703         (__sanitizer_sigaction): Likewsie.
1704         (IOC_SIZE): Likewsie.
1706 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
1708         * ubsan/Makefile.am (DEFS): Add -DPIC.
1709         * ubsan/Makefile.in: Regenerated.
1711 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
1713         * configure.tgt: Enable build on aarch64*-linux.
1715 2014-09-19  Kostya Serebryany  <kcc@google.com>
1717         * All source files: Merge from upstream r218156.
1718         * asan/Makefile.am (asan_files): Added new files.
1719         * asan/Makefile.in: Regenerate.
1720         * ubsan/Makefile.am (ubsan_files): Added new files.
1721         * ubsan/Makefile.in: Regenerate.
1722         * tsan/Makefile.am (tsan_files): Added new files.
1723         * tsan/Makefile.in: Regenerate.
1724         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1725         files.
1726         * sanitizer_common/Makefile.in: Regenerate.
1727         * asan/libtool-version: Bump the libasan SONAME.
1729 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
1731         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1732         upstream r215485, r217389, r217391 and r217400.
1734 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
1736         * sanitizer_common/sanitizer_common_interceptors.inc:
1737         Cherry pick upstream r211008.
1739 2014-06-11  Richard Biener  <rguenther@suse.de>
1741         * asan/asan_linux.cc: Cherry pick upstream r210012.
1743 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
1745         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1746         r209879.
1747         * sanitizer_common/sanitizer_common.h: Likewise.
1748         * asan/asan_mapping.h: Likewise.
1749         * asan/asan_linux.cc: Likewise.
1750         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1751         * sanitizer_common/sanitizer_allocator.h: Likewise.
1753 2014-05-23  Marek Polacek  <polacek@redhat.com>
1755         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1756         floating-point types.
1758 2014-05-22  Kostya Serebryany  <kcc@google.com>
1760         * All source files: Merge from upstream r209283.
1761         * asan/Makefile.am (asan_files): Added new files.
1762         * asan/Makefile.in: Regenerate.
1763         * tsan/Makefile.am (tsan_files): Added new files.
1764         * tsan/Makefile.in: Regenerate.
1765         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1766         files.
1767         * sanitizer_common/Makefile.in: Regenerate.
1769 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
1771         PR sanitizer/61100
1772         * Makefile.am (nodist_saninclude_HEADERS): Install
1773         public headers.
1774         * Makefile.in: Regenerate.
1776 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1778         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1779         Add ../../libbacktrace/sort.c.
1780         * libbacktrace/Makefile.in: Regenerate.
1781         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1783 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1785         * configure.tgt: Unsupported for little endian PowerPC for now.
1787 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
1789         PR sanitizer/60055
1790         * tsan/tsan_flags.cc (__tsan_default_options): Add
1791         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
1792         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1794         PR sanitizer/60038
1795         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1796         sanitizer_atomic.h and unistd.h.
1797         (kThreadDescriptorSize): Made static, remove initializer and const,
1798         change type to atomic_uintptr_t.
1799         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1800         query glibc version, compute kThreadDescriptorSize depending on
1801         glibc version minor number.
1802         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1803         kThreadDescriptorSize directly.
1805 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
1806             Jakub Jelinek  <jakub@redhat.com>
1808         PR sanitizer/57316
1809         * configure.ac: Check for missing syscalls.
1810         * Makefile.am: Likewise.
1811         * configure: Regenerate.
1812         * Makefile.in: Regenerate.
1814 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
1816         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1817         (LibbacktraceSymbolizer::Demangle): New declaration.
1818         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1819         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1820         method if possible.
1821         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1822         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1823         (struct CplusV3DemangleData): New type.
1824         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1825         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1826         SymbolizeDataCallback): Use CplusV3Demangle.
1827         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1828         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1829         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1830         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1831         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1832         cplus_demangle_init_info, cplus_demangle_mangled_name,
1833         cplus_demangle_operators, cplus_demangle_print,
1834         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1835         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1836         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1837         Define.
1838         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1839         (memcmp, strncmp): Redefine.
1840         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1841         ../../libiberty/cp-demangle.c.
1842         * libbacktrace/bridge.cc (__asan_internal_memcmp,
1843         __asan_internal_strncmp): New functions.
1844         * sanitizer_common/Makefile.in: Regenerated.
1845         * libbacktrace/Makefile.in: Regenerated.
1846         * configure: Regenerated.
1847         * configure.ac: Regenerated.
1848         * config.h.in: Regenerated.
1850         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1851         -isystem $(top_srcdir)/include/system.
1852         * sanitizer_common/Makefile.in: Regenerated.
1853         * include/system/linux/aio_abi.h: New header.
1854         * include/system/linux/mroute.h: New header.
1855         * include/system/linux/mroute6.h: New header.
1856         * include/system/linux/perf_event.h: New header.
1857         * include/system/linux/types.h: New header.
1859         PR sanitizer/59136
1860         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1861         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1862         and -I/-include flags.
1863         * lsan/Makefile.am (liblsan_la_LIBADD): Add
1864         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1865         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1866         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1867         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1868         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1869         libbacktrace.
1870         * README.gcc: Document that also lsan and ubsan are
1871         maintained in compiler-rt upstream.
1872         * libbacktrace/Makefile.am: New file.
1873         * libbacktrace/backtrace-rename.h: New file.
1874         * libbacktrace/backtrace-supported.h.in: New file.
1875         * libbacktrace/bridge.cc: New file.
1876         * configure.ac: Add tests needed for libbacktrace build
1877         within libsanitizer.
1878         * sanitizer_common/Makefile.in: Regenerated.
1879         * lsan/Makefile.in: Regenerated.
1880         * tsan/Makefile.in: Regenerated.
1881         * ubsan/Makefile.in: Regenerated.
1882         * libbacktrace/Makefile.in: Generated.
1883         * config.h.in: Regenerated.
1884         * configure: Regenerated.
1885         * Makefile.in: Regenerated.
1886         * interception/Makefile.in: Regenerated.
1887         * asan/Makefile.in: Regenerated.
1888         * aclocal.m4: Regenerated.
1890 2013-12-19  Kostya Serebryany  <kcc@google.com>
1892         * sanitizer_common/sanitizer_platform_limits_posix.cc:
1893         workaround for missing definition of EOWNERDEAD, backport
1894         from upstream r196779.
1896 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1898         * sanitizer_common/sanitizer_platform_limits_posix.h
1899         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1900         (__sanitizer_clock_t): Use long long for x32.
1902 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1904         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1905         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1906         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1908 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
1910         * configure.ac (link_sanitizer_common): Add -lm.
1911         * configure: Regenerated.
1913 2013-12-05  Kostya Serebryany  <kcc@google.com>
1915         * All source files: Merge from upstream r196489.
1916         * merge.sh: Add *.S to the list of merged files.
1918 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
1920         PR sanitizer/59368
1921         * Makefile.am (gcc_version): Added gcc_version.
1922         * Makefile.in: Regenerate.
1924 2013-12-05  Kostya Serebryany  <kcc@google.com>
1926         * All source files: Merge from upstream r196090.
1927         * tsan/Makefile.am (tsan_files): Added new files.
1928         * tsan/Makefile.in: Regenerate.
1929         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1930         * sanitizer_common/Makefile.in: Regenerate.
1931         * lsan/Makefile.am (lsan_files): Added new files.
1932         * lsan/Makefile.in: Regenerate.
1934 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
1935             Yury Gribov  <y.gribov@samsung.com>
1937         PR sanitizer/59063
1938         * libsanitizer.spec.in: Add spec file to hold link flags for
1939         various sanitizer libs.
1940         * configure.ac: Check whether clock_* routines come from librt.
1941         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1942         configure.ac.
1943         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1944         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1945         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1946         * asan/Makefile.in: Regenerate.
1947         * interception/Makefile.in: Regenerate.
1948         * lsan/Makefile.in: Regenerate.
1949         * sanitizer_common/Makefile.in: Regenerate.
1950         * tsan/Makefile.in: Regenerate.
1951         * ubsan/Makefile.in: Regenerate.
1952         * Makefile.in: Regenerate.
1953         * configure: Regenerate.
1955 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
1956             Yury Gribov  <y.gribov@samsung.com>
1958         PR sanitizer/59106
1959         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1960         don't need it.
1961         * ubsan/Makefile.in: Regenerated.
1963 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
1965         PR sanitizer/59061
1966         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1967         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1968         * configure: Regenerated.
1969         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1970         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1971         * lsan/Makefile.in: Regenerated.
1973 2013-11-22  Mike Stump  <mikestump@comcast.net>
1975         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1976         change from upstream to fix build.
1978 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
1980         PR sanitizer/59106
1981         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1982         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1983         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1984         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1985         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1986         * asan/Makefile.in: Regenerate.
1987         * interception/Makefile.in: Regenerate.
1988         * tsan/Makefile.in: Regenerate.
1989         * lsan/Makefile.in: Regenerate.
1990         * sanitizer_common/Makefile.in: Regenerate.
1992 2013-11-15  Kostya Serebryany  <kcc@google.com>
1994         PR sanitizer/58994
1995         Backport from upstream revision 194573
1996         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1997         back to the original functions in the common libsanitizer
1998         interceptors and the __cxa_atexit() interceptor on Darwin.
2000 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
2002         PR sanitizer/59009
2003         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
2004         ifdef out more source.
2006 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
2008         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
2009         ifdef out almost the whole source.
2010         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
2012 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2014         PR sanitizer/59018
2015         * sanitizer_common/sanitizer_platform_limits_posix.cc
2016         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
2017         defined.
2019 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2021         PR sanitizer/59018
2022         * sanitizer_common/sanitizer_platform_limits_linux.cc
2023         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
2024         defined.
2025         * sanitizer_common/sanitizer_platform_limits_posix.h
2026         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
2027         defined.
2028         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
2029         is defined.
2030         (__sanitizer___kernel_gid_t): Likewise.
2031         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
2032         is defined.
2034 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2036         PR sanitizer/59018
2037         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
2038         2 64-bit integers to save and restore fn and arg.  Properly load
2039         newtls/child_tidptr into r8/r10.
2041 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
2043         PR sanitizer/59018
2044         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
2045         internal_munmap, internal_open, internal_read, internal_write,
2046         internal_stat, internal_lstat, internal_fstat, internal_readlink,
2047         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
2048         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2049         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2051 2013-11-04  Kostya Serebryany  <kcc@google.com>
2053         * All source files: Merge from upstream r191666.
2054         * merge.sh: Added lsan.
2055         * configure.ac (AC_CONFIG_FILES): Added lsan.
2056         * Makefile.am (SUBDIRS): Added lsan.
2057         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2058         * asan/Makefile.am (asan_files): Added new files.
2059         (libasan_la_LIBADD): Added a dependency on lsan.
2060         * lsan/Makefile.am: New file.
2061         * asan/Makefile.in: Regenerate.
2062         * lsan/Makefile.in: Regenerate.
2063         * Makefile.in: Regenerate.
2064         * configure: Regenerate.
2065         * sanitizer_common/Makefile.in: Regenerate.
2067 2013-09-20  Alan Modra  <amodra@gmail.com>
2069         * configure: Regenerate.
2071 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
2073         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2074         libinterception.la for Darwin.
2075         * ubsan/Makefile.in: Regenerate.
2077 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
2079         * Makefile.am (SUBDIRS): Add ubsan.
2080         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2081         * merge.sh: Merge ubsan.
2082         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2083         * sanitizer_common/sanitizer_printf.cc: Likewise.
2084         * sanitizer_common/sanitizer_common.h: Likewise.
2085         * ubsan: New directory. Import ubsan runtime from llvm.
2087 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
2089         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2090         Cherry pick upstream r182922.
2092 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
2094         * configure.tgt: Add ARM pattern.
2096 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
2098         PR other/43620
2099         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2100         * Makefile.in: Regenerated.
2101         * asan/Makefile.in: Regenerated.
2102         * interception/Makefile.in: Regenerated.
2103         * sanitizer_common/Makefile.in: Regenerated.
2104         * tsan/Makefile.in: Regenerated.
2106 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
2108         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2109         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2110         0x4fffffffffULL.
2112 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
2114         PR sanitizer/56393
2115         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2116         libasan_preinit.o.
2117         (libasan_preinit.o): Depend on asan_preinit.o.
2118         * asan/Makefile.in: Regenerated.
2119         * asan/asan_preinit.cc: New file, synced from upstream.
2120         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2122 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
2124         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2125         dynamic/asan_interceptors_dynamic.cc.
2126         * asan/Makefile.in: Regenerated.
2127         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2129 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
2131         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2132         defined.  Add used attribute.
2134 2013-02-21  Kostya Serebryany  <kcc@google.com>
2136         * All source files: Merge from upstream r175733.
2137         * sanitizer_common/Makefile.am: Added a new file.
2138         * sanitizer_common/Makefile.in: Regenerated.
2140 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
2142         PR bootstrap/56327
2143         * interception/interception.h (OFF_T): Merged from upstream
2144         r175140.
2146 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
2148         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2150 2013-02-13  Kostya Serebryany  <kcc@google.com>
2152         PR sanitizer/56128
2153         * All source files: Merge from upstream r175049.
2154         * interception/Makefile.am: added include path.
2155         * interception/Makefile.in: Regenerated.
2157 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
2159         * configure.tgt: Disable build on darwin9 and earlier.
2161 2013-01-23  Kostya Serebryany  <kcc@google.com>
2163         PR sanitizer/55989
2164         * All source files: Merge from upstream r173241.
2165         * merge.sh: Support merging .inc files.
2167 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
2169         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2170         -Wno-c99-extensions.
2171         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2172         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2173         * sanitizer_common/Makefile.in: Regenerated.
2174         * interception/Makefile.in: Regenerated.
2175         * asan/Makefile.in: Regenerated.
2177 2013-01-10  Wei Mi  <wmi@google.com>
2179         PR sanitizer/55488
2180         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2181         * tsan/Makefile.in: Regenerated.
2182         * tsan/tsan_rtl.h: Enable HACKY_CALL.
2184 2013-01-10  Kostya Serebryany  <kcc@google.com>
2186         * All source files: Merge from upstream r171973.
2187         * sanitizer_common/Makefile.am: Added new files.
2188         * asan/Makefile.am: Likewise.
2189         * tsan/Makefile.am: Likewise.
2190         * sanitizer_common/Makefile.in: Regenerated.
2191         * asan/Makefile.in: Likewise.
2192         * tsan/Makefile.in: Likewise.
2194 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
2196         * asan/Makefile.am (libasan_la_LIBADD): Replace
2197         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2198         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2199         * Makefile.in: Regenerated.
2200         * configure: Likewise.
2201         * asan/Makefile.in: Likewise.
2202         * interception/Makefile.in: Likewise.
2203         * sanitizer_common/Makefile.in: Likewise.
2204         * tsan/Makefile.in: Likewise.
2206 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2208         * Makefile.am (AM_MAKEFLAGS): Restored.
2209         * interception/Makefile.am: Likewise.
2210         * sanitizer_common/Makefile.am: Likewise.
2211         * tsan/Makefile.am: Likewise.
2212         * Makefile.in: Regenerated.
2213         * asan/Makefile.in: Likewise.
2214         * interception/Makefile.in: Likewise.
2215         * sanitizer_common/Makefile.in: Likewise.
2216         * tsan/Makefile.in: Likewise.
2218 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2220         * Makefile.am (MAKEOVERRIDES): Restored.
2221         * asan/Makefile.am: Likewise.
2222         * interception/Makefile.am: Likewise.
2223         * sanitizer_common/Makefile.am: Likewise.
2224         * tsan/Makefile.am: Likewise.
2225         * Makefile.in: Regenerated.
2226         * asan/Makefile.in: Likewise.
2227         * interception/Makefile.in: Likewise.
2228         * sanitizer_common/Makefile.in: Likewise.
2229         * tsan/Makefile.in: Likewise.
2231 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2233         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2234         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2235         * Makefile.in: Regenerated.
2236         * configure: Likewise.
2237         * asan/Makefile.in: Likewise.
2238         * interception/Makefile.in: Likewise.
2239         * sanitizer_common/Makefile.in: Likewise.
2240         * tsan/Makefile.in: Likewise.
2242 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2244         * Makefile.am (AM_MAKEFLAGS): Removed.
2245         (MAKEOVERRIDES): Likewise.
2246         * asan/Makefile.am: Likewise.
2247         * interception/Makefile.am: Likewise.
2248         * sanitizer_common/Makefile.am: Likewise.
2249         * tsan/Makefile.am: Likewise.
2250         * Makefile.in: Regenerated.
2251         * asan/Makefile.in: Likewise.
2252         * interception/Makefile.in: Likewise.
2253         * sanitizer_common/Makefile.in: Likewise.
2254         * tsan/Makefile.in: Likewise.
2256 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2258         PR sanitizer/55533
2259         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2260         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2261         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2262         (AM_MAKEFLAGS): Remove CC and CXX.
2263         * interception/Makefile.am: Likewise.
2264         * sanitizer_common/Makefile.am: Likewise.
2265         * tsan/Makefile.am: Likewise.
2266         * Makefile.in: Regenerated.
2267         * aclocal.m4: Likewise.
2268         * configure: Likewise.
2269         * asan/Makefile.in: Likewise.
2270         * interception/Makefile.in: Likewise.
2271         * sanitizer_common/Makefile.in: Likewise.
2272         * tsan/Makefile.in: Likewise.
2274 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
2276         * configure.tgt: Enable build on powerpc*-linux.
2278 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
2280         PR 55599/sanitizer
2281         * configure.ac: Set enable_static=no on darwin.
2282         * configure: Regenerated.
2284 2012-12-06  Kostya Serebryany  <kcc@google.com>
2286         * All files: Merge from upstream r169392.
2288 2012-12-05  Kostya Serebryany  <kcc@google.com>
2290         * All files: Merge from upstream r169371.
2292 2012-12-04  Kostya Serebryany  <kcc@google.com>
2293             Jack Howarth  <howarth@bromo.med.uc.edu>
2295         PR 55521/sanitizer
2296         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2297         * Makefile.am: Don't build interception subdir when
2298         USING_MAC_INTERPOSE defined.
2299         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2300         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2301         Compile asan_interceptors_dynamic.cc but not libinterception
2302         when USING_MAC_INTERPOSE defined.
2303         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2304         * configure: Regenerated.
2305         * Makefile.in: Likewise.
2306         * asan/Makefile.in: Likewise.
2307         * interception/Makefile.in: Likewise.
2308         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2309         * asan/asan_mac.cc: Likewise.
2310         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2311         and use MISSING_BLOCKS_SUPPORT.
2312         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2313         * interception/mach_override/LICENSE.txt: Remove unused file.
2314         * interception/mach_override/mach_override.c: Likewise.
2315         * interception/mach_override/mach_override.h: Likewise.
2316         * interception/mach_override: Remove unused directory.
2318 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2320         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2321         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2322         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2323         files.
2324         (AM_MAKEFLAGS): Restore CC and CXX.
2325         * interception/Makefile.am: Likewise.
2326         * sanitizer_common/Makefile.am: Likewise.
2327         * tsan/Makefile.am: Likewise.
2328         * Makefile.in: Regenerated.
2329         * aclocal.m4: Likewise.
2330         * configure: Likewise.
2331         * asan/Makefile.in: Likewise.
2332         * interception/Makefile.in: Likewise.
2333         * sanitizer_common/Makefile.in: Likewise.
2334         * tsan/Makefile.in: Likewise.
2336 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2338         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2339         * configure.ac (ACX_NONCANONICAL_TARGET): New.
2340         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2341         files.
2342         (AM_MAKEFLAGS): Remove CC and CXX.
2343         * interception/Makefile.am: Likewise.
2344         * sanitizer_common/Makefile.am: Likewise.
2345         * tsan/Makefile.am: Likewise.
2346         * Makefile.in: Regenerated.
2347         * aclocal.m4: Likewise.
2348         * configure: Likewise.
2349         * asan/Makefile.in: Likewise.
2350         * interception/Makefile.in: Likewise.
2351         * sanitizer_common/Makefile.in: Likewise.
2352         * tsan/Makefile.in: Likewise.
2354 2012-11-27  Kostya Serebryany  <kcc@google.com>
2356         * All files: Merge from upstream r168699.
2358 2012-11-24  Kostya Serebryany  <kcc@google.com>
2359             Jack Howarth  <howarth@bromo.med.uc.edu>
2361         * interception/mach_override/mach_override.c: Migrate from llvm.
2362         * interception/mach_override/mach_override.h: Likewise.
2363         * interception/mach_override/LICENSE.txt: Likewise.
2364         * configure.tgt: Add darwin to supported targets.
2365         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2366         * interception/Makefile.am: Compile mach_override.c when
2367         USING_MACH_OVERRIDE defined.
2368         * configure: Regenerated.
2369         * interception/Makefile.in: Likewise.
2371 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
2373         PR sanitizer/55450
2374         * tsan/Makefile.am (gcc_version): New.
2375         * tsan/Makefile.in: Regenerated.
2377 2012-11-23  Kostya Serebryany  <kcc@google.com>
2379         * merge.sh: Support tsan, support added/removed files.
2380         * tsan/Makefile.am: Remove tsan_printf.cc.
2381         * tsan/Makefile.in: Regenerated.
2382         * other files: Merge from upstream r168514.
2384 2012-11-23  Kostya Serebryany  <kcc@google.com>
2386         * merge.sh: New file.
2388 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
2390         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2391         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2392         automake conditional instead of !MULTISUBDIR32.
2393         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2394         for 64-bit multilib.
2395         * configure.ac: Check for void * size, source in configure.tgt,
2396         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2397         * configure: Regenerated.
2398         * Makefile.in: Regenerated.
2399         * tsan/Makefile.in: Regenerated.
2401 2012-11-22  Wei Mi  <wmi@google.com>
2403         * tsan: New directory. Import tsan runtime from llvm.
2404         * configure.ac: Add 64 bits tsan build.
2405         * Makefile.am: Likewise.
2406         * configure: Regenerated.
2407         * Makefile.in: Likewise.
2409 2012-11-21  Kostya Serebryany  <kcc@google.com>
2411         * README.gcc: Extend the README.gcc with mode details.
2413 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
2415         * sanitizer_common/sanitizer_linux.cc
2416         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2417         (internal_mmap): Use it.
2418         (internal_filesize): Likewise.
2420 2012-11-16  Tom Tromey  <tromey@redhat.com>
2422         * configure.ac: Invoke AM_MAINTAINER_MODE.
2423         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2424         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2426 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2428         PR other/55333
2429         * include/sanitizer/common_interface_defs.h (uhwptr): New type
2430         for hardware pointer.
2431         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2432         Replace uptr with uhwptr for stack unwind.
2434 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
2436         * configure.tgt: Enable build on sparc linux.
2438 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
2440         * configure.ac: Properly set MULTISUBDIR.
2441         * asan/Makefile.am (gcc_version): New.
2442         * interception/Makefile.am (gcc_version): Likewise.
2443         * sanitizer_common/Makefile.am (gcc_version): Likewise.
2444         * configure: Regenerated.
2445         * asan/Makefile.in: Likewise.
2446         * interception/Makefile.in: Likewise.
2447         * sanitizer_common/Makefile.in: Likewise.
2449 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2451         PR other/55291
2452         * configure.ac (--enable-version-specific-runtime-libs): New option.
2453         (AC_CANONICAL_SYSTEM): New.
2454         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2455         (toolexecdir): Support multilib.
2456         (toolexeclibdir): Likewise.
2457         (multilib_arg): New.
2458         * Makefile.in: Regenerated.
2459         * aclocal.m4: Likewise.
2460         * configure: Likewise.
2461         * asan/Makefile.in: Likewise.
2462         * interception/Makefile.in: Likewise.
2463         * sanitizer_common/Makefile.in: Likewise.
2465 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2467         PR other/55292
2468         Backport from upstream revision 167883
2469         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2470         __x86_64__ instead of __WORDSIZE.
2471         (internal_filesize): Likwise.
2473 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2475         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2476         * Makefile.in: Regenerated.
2477         * configure: Likewise.
2479 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2481         PR other/55304
2482         * acinclude.m4: New file.
2483         * Makefile.am (ACLOCAL_AMFLAGS): New.
2484         * configure.ac (AC_PREREQ): Set to 2.64.
2485         (AC_CONFIG_AUX_DIR): Set to "..".
2486         * Makefile.in: Regenerated.
2487         * aclocal.m4: Likewise.
2488         * configure: Likewise.
2489         * asan/Makefile.in: Likewise.
2490         * interception/Makefile.in: Likewise.
2491         * sanitizer_common/Makefile.in: Likewise.
2493         * config.guess: Removed.
2494         * config.sub: Likewise.
2495         * depcomp: Likewise.
2496         * install-sh: Likewise.
2497         * ltmain.sh: Likewise.
2498         * missing: Likewise.
2500 2012-11-13  Richard Henderson  <rth@redhat.com>
2502         * configure.tgt: New file.
2504 2012-11-12  David S. Miller  <davem@davemloft.net>
2506         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2508 2012-10-29  Wei Mi  <wmi@google.com>
2510         Initial checkin: migrate asan runtime from llvm.