[Ada] Make Timed_Task_Entry_Call's defer_abort nestable
[official-gcc.git] / libsanitizer / ChangeLog
blob2b8135c8fdf4be52cef1846f711a09908f51c13b
1 2021-11-28  Andrew Pinski  <apinski@marvell.com>
3         PR sanitizer/62157
4         * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
5         * Makefile.in: Regenerate.
6         * asan/Makefile.in: Likewise.
7         * hwasan/Makefile.in: Likewise.
8         * interception/Makefile.in: Likewise.
9         * libbacktrace/Makefile.in: Likewise.
10         * lsan/Makefile.in: Likewise.
11         * sanitizer_common/Makefile.in: Likewise.
12         * tsan/Makefile.in: Likewise.
13         * ubsan/Makefile.in: Likewise.
15 2021-11-18  Jakub Jelinek  <jakub@redhat.com>
17         PR bootstrap/102675
18         * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
19         of sanitizer_platform_limits_freebsd.cpp.
20         * sanitizer_common/Makefile.in: Regenerated.
22 2021-11-13  H.J. Lu  <hjl.tools@gmail.com>
24         * LOCAL_PATCHES: Update to the corresponding revision.
26 2021-11-04  Martin Liska  <mliska@suse.cz>
28         * LOCAL_PATCHES: Update git revision.
30 2021-10-08  H.J. Lu  <hjl.tools@gmail.com>
32         PR sanitizer/102632
33         * asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
34         * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
35         * interception/Makefile.am (AM_CCASFLAGS): Likewise.
36         * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
37         * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
38         * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
39         * asan/Makefile.in: Regenerate.
40         * hwasan/Makefile.in: Likewise.
41         * interception/Makefile.in: Likewise.
42         * lsan/Makefile.in: Likewise.
43         * tsan/Makefile.in: Likewise.
44         * ubsan/Makefile.in: Likewise.
46 2021-10-06  H.J. Lu  <hjl.tools@gmail.com>
48         * LOCAL_PATCHES: Update to the corresponding revision.
50 2021-10-01  H.J. Lu  <hjl.tools@gmail.com>
52         * LOCAL_PATCHES: Update to the corresponding revision.
54 2021-08-11  Jakub Jelinek  <jakub@redhat.com>
56         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
57         llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
59 2021-08-03  Mosè Giordano  <mose@gnu.org>
61         PR sanitizer/101111
62         * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
64 2021-07-28  Ilya Leoshkevich  <iii@linux.ibm.com>
66         * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
67         s390x.
69 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
71         * asan/libtool-version: Bump version.
72         * tsan/libtool-version: Likewise.
74 2021-07-20  H.J. Lu  <hjl.tools@gmail.com>
76         * LOCAL_PATCHES: Update to the corresponding revision.
78 2021-05-21  Tamar Christina  <tamar.christina@arm.com>
80         PR sanitizer/100379
81         * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
82         llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
83         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
84         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
86 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
88         * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
90 2021-05-13  Iain Sandoe  <iain@sandoe.co.uk>
92         * sanitizer_common/sanitizer_mac.cpp : Check for the
93         availability of __builtin_os_log_format before trying to
94         include a header depending on it.
95         (OS_LOG_DEFAULT): New.
96         (os_log_error): Define to a fall-back using an older API.
98 2021-05-13  Martin Liska  <mliska@suse.cz>
100         * LOCAL_PATCHES: Update to the corresponding revision.
102 2021-04-17  Jakub Jelinek  <jakub@redhat.com>
104         PR sanitizer/100114
105         * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
106         llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
107         and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
109 2021-03-08  Martin Liska  <mliska@suse.cz>
111         PR sanitizer/98920
112         * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
113         Cherry pick.
114         (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
115         * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
116         * sanitizer_common/sanitizer_common_interceptors.inc
117         (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
118         (INIT_REGEX): Likewise.
119         * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
120         Likewise.
122 2021-01-26  Martin Liska  <mliska@suse.cz>
124         PR sanitizer/98828
125         * lsan/Makefile.am: Add missing lsan_posix.cpp file.
126         * lsan/Makefile.in: Likewise.
128 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
130         * configure: Re-generate.
132 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
134         PR target/97865
135         * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
136         Darwin.
137         * configure: Regenerate.
139 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
141         * configure: Regenerate.
143 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
145         * LOCAL_PATCHES: Add one commit.
147 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
149         * Makefile.am: Condition Build hwasan directory.
150         * Makefile.in: Regenerate.
151         * configure: Regenerate.
152         * configure.ac: Set HWASAN_SUPPORTED based on target
153         architecture.
154         * configure.tgt: Likewise.
156 2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
158         * Makefile.am:  Build libhwasan.
159         * Makefile.in:  Build libhwasan.
160         * asan/Makefile.in:  Build libhwasan.
161         * configure:  Build libhwasan.
162         * configure.ac:  Build libhwasan.
163         * hwasan/Makefile.am: New file.
164         * hwasan/Makefile.in: New file.
165         * hwasan/libtool-version: New file.
166         * interception/Makefile.in: Build libhwasan.
167         * libbacktrace/Makefile.in: Build libhwasan.
168         * libsanitizer.spec.in: Build libhwasan.
169         * lsan/Makefile.in: Build libhwasan.
170         * sanitizer_common/Makefile.in: Build libhwasan.
171         * tsan/Makefile.in: Build libhwasan.
172         * ubsan/Makefile.in: Build libhwasan.
174 2020-11-21  Iain Sandoe  <iain@sandoe.co.uk>
176         * configure.tgt: Allow x86_64 Darwin2x.
178 2020-11-13  Martin Liska  <mliska@suse.cz>
180         * LOCAL_PATCHES: Update to the latest commit.
182 2020-10-19  Martin Liska  <mliska@suse.cz>
184         * LOCAL_PATCHES: Add one commit.
186 2020-10-18  Iain Sandoe  <iain@sandoe.co.uk>
188         * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
189         macros are defined where the macOS SDK does not contain
190         them.
191         (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
192         Define where needed.
194 2020-10-16  Martin Liska  <mliska@suse.cz>
196         * LOCAL_PATCHES: Update revision.
198 2020-09-21  Ian Lance Taylor  <iant@golang.org>
200         * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
201         Define.
202         (backtrace_syminfo_to_full_callback): Define.
203         (backtrace_syminfo_to_full_error_callback): Define.
205 2020-07-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
207         * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
208         revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
210 2020-06-09  Martin Liska  <mliska@suse.cz>
212         * asan/Makefile.am: Replace gnu++11 with gnu++14.
213         * interception/Makefile.am: Likewise.
214         * libbacktrace/Makefile.am: Likewise.
215         * lsan/Makefile.am: Likewise.
216         * sanitizer_common/Makefile.am: Likewise.
217         * tsan/Makefile.am: Likewise.
218         * ubsan/Makefile.am: Likewise.
219         * asan/Makefile.in: Regenerate.
220         * interception/Makefile.in: Likewise.
221         * libbacktrace/Makefile.in: Likewise.
222         * lsan/Makefile.in: Likewise.
223         * sanitizer_common/Makefile.in: Likewise.
224         * tsan/Makefile.in: Likewise.
225         * ubsan/Makefile.in: Likewise.
227 2020-06-02  Martin Liska  <mliska@suse.cz>
229         * LOCAL_PATCHES: Update hash of local patches.
231 2020-06-02  Martin Liska  <mliska@suse.cz>
233         * MERGE: Merge from master.
235 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
237         PR bootstrap/95413
238         * configure: Regenerated.
240 2020-05-29  Martin Liska  <mliska@suse.cz>
242         * HOWTO_MERGE: Do not mention not existing argument.
243         * README.gcc: Update LLVM repository location.
245 2020-05-26  Martin Liska  <mliska@suse.cz>
247         * LOCAL_PATCHES: Use git hash instead of SVN id.
248         * merge.sh: Use git instead of VCS.  Update paths
249         relative to upstream git repository.
251 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
253         PR bootstrap/95147
254         * configure: Regenerated.
256 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
258         * configure: Regenerated.
260 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
262         * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
264 2020-05-01  Andreas Tobler  <andreast@gcc.gnu.org>
266         * sanitizer_common/Makefile.am: Add
267         sanitizer_platform_limits_freebsd.cpp.
268         * sanitizer_common/Makefile.in: Regenerate.
270 2020-03-01  Iain Sandoe  <iain@sandoe.co.uk>
272         PR sanitizer/93731
273         * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
274         default only for Darwin versions greater than 12 (macOS 10.8).
276 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
278         * configure.ac: Handle `--with-toolexeclibdir='.
279         * Makefile.in: Regenerate.
280         * aclocal.m4: Regenerate.
281         * configure: Regenerate.
282         * asan/Makefile.in: Regenerate.
283         * interception/Makefile.in: Regenerate.
284         * libbacktrace/Makefile.in: Regenerate.
285         * lsan/Makefile.in: Regenerate.
286         * sanitizer_common/Makefile.in: Regenerate.
287         * tsan/Makefile.in: Regenerate.
288         * ubsan/Makefile.in: Regenerate.
290 2019-11-26  Jakub Jelinek  <jakub@redhat.com>
292         PR sanitizer/92154
293         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
294         llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
295         * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
297 2019-11-20  Martin Liska  <mliska@suse.cz>
299         * libtool-version: Remove.
300         * lsan/libtool-version: Upate comment to not mention libmudflap.
301         * tsan/libtool-version: Likewise.
302         * ubsan/libtool-version: Likewise.
304 2019-11-13  Andreas Schwab  <schwab@suse.de>
306         * configure.tgt (riscv64-*-linux*): Enable build.
308 2019-11-07  Martin Liska  <mliska@suse.cz>
310         * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
312 2019-11-07  Martin Liska  <mliska@suse.cz>
314         * merge.sh: Update to use llvm-project git repository.
315         * all source files: Merge from upstream
316         82588e05cc32bb30807e480abd4e689b0dee132a.
318 2019-11-05  Martin Liska  <mliska@suse.cz>
320         * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
321         summary for all sanitizers, but we want to have UBSAN without it.
323 2019-11-05  Martin Liska  <mliska@suse.cz>
325         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
326         LOCAL_PATCHES.
327         (CheckODRViolationViaPoisoning): Likewise.
328         (RegisterGlobal): Likewise.
329         * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
330         (defined): Likewise.
331         * asan/asan_mapping.h: Likewise.
332         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
333         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
334         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
335         * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
336         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
337         * tsan/tsan_rtl_ppc64.S: Likewise.
338         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
339         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
340         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
341         (struct CFICheckFailData): Likewise.
342         (RECOVERABLE): Likewise.
343         * ubsan/ubsan_platform.h: Likewise.
345 2019-11-05  Martin Liska  <mliska@suse.cz>
347         * tsan/Makefile.am: Rename tsan_interceptors.cpp to
348         tsan_interceptors_posix.
349         * tsan/Makefile.in: Regenerate.
351 2019-11-05  Martin Liska  <mliska@suse.cz>
353         * all source files: Merge from upstream r375507.
355 2019-10-22  Tamar Christina  <tamar.christina@arm.com>
357         PR sanitizer/92154
358         * sanitizer_common/sanitizer_platform_limits_posix.cpp:
359         Cherry-pick compiler-rt revision r375220.
361 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
363         * configure: Regenerate.
365 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
366         Mickaël Guêné <mickael.guene@st.com>
368         * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
369         unsupported in this configuration.
371 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
373         * LOCAL_PATCHES: Add r274585.
375 2019-08-16  Iain Sandoe  <iain@sandoe.co.uk>
377         * asan/asan_interceptors.h: Reapply r272406.
379 2019-08-15  Martin Liska  <mliska@suse.cz>
381         * LOCAL_PATCHES: Add r274540
383 2019-08-15  Martin Liska  <mliska@suse.cz>
385         * tsan/tsan_rtl_ppc64.S: Reapply.
387 2019-08-15  Iain Sandoe  <iain@sandoe.co.uk>
389         PR bootstrap/91455
390         * Makefile.in: Regenerated.
391         * aclocal.m4: Likewise.
392         * asan/Makefile.in: Likewise.
393         * configure: Likewise.
394         * interception/Makefile.in: Likewise.
395         * libbacktrace/Makefile.in: Likewise.
396         * lsan/Makefile.in: Likewise.
397         * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
398         * sanitizer_common/Makefile.in: Regenerated.
399         * tsan/Makefile.in: Likewise.
400         * ubsan/Makefile.in: Likewise.
402 2019-08-14  Martin Liska  <mliska@suse.cz>
404         * LOCAL_PATCHES: Refresh based on what was committed.
406 2019-08-14  Martin Liska  <mliska@suse.cz>
408         * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
409         patch from trunk.
410         (CheckODRViolationViaPoisoning): Likewise.
411         (RegisterGlobal): Likewise.
412         * asan/asan_mapping.h: Likewise.
413         * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
414         * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
415         * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
416         * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
417         * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
418         * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
419         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
420         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
421         (struct CFICheckFailData): Likewise.
422         (RECOVERABLE): Likewise.
423         * ubsan/ubsan_platform.h: Likewise.
425 2019-08-14  Martin Liska  <mliska@suse.cz>
427         PR sanitizer/89832
428         PR sanitizer/91325
429         * All source files: Merge from upstream 368656.
431 2019-06-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
433         * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
434         compiler-rt revision 363778.
436 2019-06-18  Iain Sandoe  <iain@sandoe.co.uk>
438         PR libsanitizer/87880
439         * asan/asan_interceptors.h:
440         (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
441         * asan/Makefile.am (DEFS): Add 
442         ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
443         * asan/Makefile.in: Regenerated.
444         * asan/libtool-version: Bump version.
446 2019-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
448         PR target/90639
449         * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
451 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
453         * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
454         handling.
455         * configure: Regenerate.
457 2019-04-08  Martin Liska  <mliska@suse.cz>
459         * LOCAL_PATCHES: Add revision.
461 2019-04-08  Martin Liska  <mliska@suse.cz>
463         PR sanitizer/89941
464         * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
465         Reapply patch from r259664.
466         * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
467         Likewise.
469 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
471         PR sanitizer/80953
472         Merge from LLVM revision 355980
473         * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
474         (kAllocatorSize): Likewise.
475         (DefaultSizeClassMap): Likewise.
476         * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
477         (SHADOW_OFFSET): Define for SPARC.
478         Include asan_mapping_sparc64.h for SPARC 64-bit.
479         * asan/asan_mapping_sparc64.h: New file.
481 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
483         PR sanitizer/80953
484         Merge from LLVM revision 355979
485         * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
486         copy Global objects for SPARC with GCC.
488 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
490         PR sanitizer/80953
491         Merge from LLVM revision 355978
492         * sanitizer_common/sanitizer_allocator_primary32.h
493         (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
494         SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
495         (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
496         (ComputeRegionId): Likewise.
497         * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
498         appropriate value for SPARC 64-bit.
499         * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
500         Define for SPARC.
501         (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
503 2019-03-13  Eric Botcazou  <ebotcazou@adacore.com>
505         PR sanitizer/80953
506         Merge from LLVM revision 355965
507         * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
508         SPARC/Linux.
509         (GetPcSpBp): Likewise.
510         * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
511         Adjust for SPARC.
512         * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
513         Define to 1 for SPARC.
514         * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
515         * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
516         Adjust the PC address for SPARC with GCC.
518 2019-03-06  Martin Liska  <mliska@suse.cz>
520         PR sanitizer/88684
521         * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
522         (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
523         * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
524         Likewise.
526 2019-02-20  H.J. Lu  <hongjiu.lu@intel.com>
528         PR sanitizer/89409
529         * sanitizer_common/sanitizer_linux.cc (internal_readlink):
530         Cherry-pick compiler-rt r354451.
532 2019-01-23  Jonny Grant  <jg@jguk.org>
534         PR sanitizer/89010
535         * libsanitizer/README.gcc: Update to current https URLs.
537 2018-12-27  Martin Liska  <mliska@suse.cz>
539         PR sanitizer/86229
540         * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
541         pick rL350085.
542         * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
544 2018-11-09  Martin Liska  <mliska@suse.cz>
546         * LOCAL_PATCHES: Include one local patch.
548 2018-11-09  Martin Liska  <mliska@suse.cz>
550         PR sanitizer/87892
551         * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
552         1 when CPU_COUNT macro is not defined.
554 2018-11-08  Bill Seurer  <seurer@linux.vnet.ibm.com>
556         * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
557         Disable ASLR for powerpc64 when using sanitizers.
559 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
561         PR sanitizer/80953
562         * configure.tgt (sparc*-*-solaris2.11*): Enable.
563         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
565 2018-11-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
567         PR sanitizer/80953
568         * sanitizer_common/sanitizer_internal_defs.h,
569         sanitizer_common/sanitizer_platform_limits_solaris.h,
570         sanitizer_common/sanitizer_procmaps_solaris.cc,
571         sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
572         revision 346153.
573         * sanitizer_common/sanitizer_stacktrace.h,
574         sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
575         compiler-rt revision 346155.
577 2018-11-05  Segher Boessenkool  <segher@kernel.crashing.org>
579         * LOCAL_PATCHES: Add r258525.
580         * sanitizer_common/sanitizer_stacktrace.cc
581         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
582         for PowerPC SYSV ABI.
584 2018-11-05  Martin Liska  <mliska@suse.cz>
586         PR sanitizer/87860
587         * sanitizer_common/sanitizer_linux.cc:  Cherry-pick upstream
588         r346129.
590 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
592         PR bootstrap/82856
593         * Makefile.am: Include multilib.am.
594         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
595         * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
596         interception/Makefile.in, libbacktrace/Makefile.in,
597         lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
598         ubsan/Makefile.in: Regenerate.
600 2018-10-31  Martin Liska  <mliska@suse.cz>
602         * LOCAL_PATCHES: Update to installed revisions.
604 2018-10-31  Martin Liska  <mliska@suse.cz>
606         * ubsan/ubsan_platform.h: Add ifndef as we define it with
607         -DCAN_SANITIZE_UB CFLAGS.
609 2018-10-31  Martin Liska  <mliska@suse.cz>
611         * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
613 2018-10-31  Martin Liska  <mliska@suse.cz>
615         * LOCAL_PATCHES: Update patch list.
616         * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
617         patches from GCC's trunk.
618         (CheckODRViolationViaPoisoning): Likewise.
619         (RegisterGlobal): Likewise.
620         * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
621         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
622         * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
623         (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
624         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
625         (struct CFICheckFailData): Likewise.
626         (RECOVERABLE): Likewise.
628 2018-10-31  Martin Liska  <mliska@suse.cz>
630         * config.h.in: Regenerate.
631         * configure: Likewise.
632         * sanitizer_common/Makefile.am: Include new files, remove old
633         files.
634         * sanitizer_common/Makefile.in: Regenerate.
635         * ubsan/Makefile.am: Include new files, remove old
636         files.
637         * ubsan/Makefile.in: Likewise.
638         * asan/Makefile.am: Include new files.
639         * asan/Makefile.in: Regenerate.
641 2018-10-31  Martin Liska  <mliska@suse.cz>
643         * All source files: Merge from upstream 345033.
645 2018-10-31  Martin Liska  <mliska@suse.cz>
647         * HOWTO_MERGE: Enhance documentation.
648         * merge.sh: Add support for git as well.
650 2018-08-02  Martin Liska  <mliska@suse.cz>
652         PR sanitizer/86022
653         * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
654         Cherry-pick compiler-rt revision 338606.
656 2018-08-01  Marek Polacek  <polacek@redhat.com>
658         PR sanitizer/86759
659         * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
660         * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
661         319180.
663 2018-07-25  H.J. Lu  <hongjiu.lu@intel.com>
665         PR target/86560
666         * asan/asan_interceptors.cc (swapcontext) Cherry-pick
667         compiler-rt revision 337603.
668         * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
669         Likewise.
671 2018-07-05  Jakub Jelinek  <jakub@redhat.com>
673         Revert
674         2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
676         PR sanitizer/84250
677         * Makefile.am: Reorder libs.
678         * Makefile.in: Regenerate.
679         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
680         libsanitizer_ubsan.la.
681         * asan/Makefile.in: Regenerate.
682         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
683         * ubsan/Makefile.in: Regenerate.
685 2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
687         PR sanitizer/84250
688         * Makefile.am: Reorder libs.
689         * Makefile.in: Regenerate.
690         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
691         libsanitizer_ubsan.la.
692         * asan/Makefile.in: Regenerate.
693         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
694         * ubsan/Makefile.in: Regenerate.
696 2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>
698         PR sanitizer/86090
699         * configure.ac: Check for lstat and readlink.
700         * configure, config.h.in: Rebuild.
702 2018-05-31  Matthias Klose  <doko@ubuntu.com>
704         PR sanitizer/86012
705         * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
706         SIZEOF_STRUCT_USTAT for 32bit sparc.
708 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
710         PR sanitizer/85835
711         * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
712         include <sys/ustat.h> for Linux.
713         (SIZEOF_STRUCT_USTAT): New.
714         (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
716 2018-04-26  Hans-Peter Nilsson  <hp@axis.com>
718         * configure.tgt <mips*-*-linux*>: Enable build, excluding
719         mips*64*-*-linux*.
721         * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
722         take the shortcut to #include <sys/stat.h> for MIPS instead of
723         the kernel <asm/stat.h>.  Explain why sys/stat.h is misleading
724         or wrong to get the kernel struct stat.
725         * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
726         Correct the value for 32-bit non-android struct_kernel_stat_sz.
728         * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
729         && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
731 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
733         * configure: Regenerated.
735 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
737         * configure: Regenerated.
739 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
741         PR jit/85384
742         * configure: Regenerate.
744 2018-04-18  Bill Seurer  <seurer@linux.vnet.ibm.com>
746         PR sanitizer/85389
747         * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
748         from 0xa0000000000ULL to ~(uptr)0.
750 2018-03-19  Jakub Jelinek  <jakub@redhat.com>
752         PR sanitizer/84761
753         * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
754         Define if not defined.
755         (DL_INTERNAL_FUNCTION): Don't define.
756         (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
757         determine at runtime whether to use regparm(3), stdcall calling
758         convention for older glibcs or normal calling convention for
759         newer glibcs for call to _dl_get_tls_static_info.
761 2018-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
763         * sanitizer_common/sanitizer_stacktrace.cc
764         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
765         for PowerPC SYSV ABI.
767 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
769         PR target/84148
770         * configure: Regenerate.
772 2018-02-05  Martin Liska  <mliska@suse.cz>
774         * asan/asan_flags.inc: Cherry-pick upstream r323995.
775         * asan/asan_report.cc (CheckForInvalidPointerPair):
776         Cherry-pick upstream r323995.
778 2018-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
780         PR sanitizer/82825
781         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
782         r324284.
784 2018-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
786         PR sanitizer/82824
787         * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
789 2017-12-05  Martin Liska  <mliska@suse.cz>
790             Jakub Jelinek  <jakub@redhat.com>
792         * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
793         * asan/asan_descriptions.h: Likewise.
794         * asan/asan_report.cc: Likewise.
795         * asan/asan_thread.cc: Likewise.
796         * asan/asan_thread.h: Likewise.
798 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
800         * acinclude.m4: Add enable.m4 and cet.m4.
801         * Makefile.in: Regenerate.
802         * asan/Makefile.am: Update AM_CXXFLAGS.
803         * asan/Makefile.in: Regenerate.
804         * configure: Likewise.
805         * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
806         EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
807         * interception/Makefile.am: Update AM_CXXFLAGS.
808         * interception/Makefile.in: Regenerate.
809         * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
810         * libbacktrace/Makefile.in: Regenerate.
811         * lsan/Makefile.am: Update AM_CXXFLAGS.
812         * lsan/Makefile.in: Regenerate.
813         * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
814         AM_CCASFLAGS.
815         * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
816         Add _CET_ENDBR macro.
817         * sanitizer_common/Makefile.in: Regenerate.
818         * tsan/Makefile.am: Update AM_CXXFLAGS.
819         * tsan/Makefile.in: Regenerate.
820         * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
821         * ubsan/Makefile.am: Update AM_CXXFLAGS.
822         * ubsan/Makefile.in: Regenerate.
824 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
826         PR bootstrap/82670
827         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
828         and ubsan_signals_standalone.cc.
829         * ubsan/Makefile.in: Regenerated.
831 2017-11-05  Tom de Vries  <tom@codesourcery.com>
833         PR other/82784
834         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
835         "do {} while (0)".
836         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
838 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
840         PR sanitizer/82595
841         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
842         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
843         liblsan_preinit.o.
844         (lsan_files): Remove lsan_preinit.cc.
845         (liblsan_preinit.o): New rule.
846         * lsan/Makefile.in: Regenerated.
848 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
850         * All source files: Merge from upstream 315899.
851         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
852         include/sanitizer/tsan_interface.h.
853         * asan/libtool-version: Bump the libasan SONAME.
854         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
855         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
856         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
857         sancov_flags.cc, sanitizer_allocator_checks.cc,
858         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
859         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
860         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
861         and sanitizer_coverage_mapping_libcdep.cc.
862         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
863         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
864         (ubsan_files): Add ubsan_init_standalone.cc and
865         ubsan_signals_standalone.cc.
866         * ubsan/libtool-version: Bump the libubsan SONAME.
867         * asan/Makefile.in: Regenerate.
868         * lsan/Makefile.in: Regenerate.
869         * sanitizer_common/Makefile.in: Regenerate.
870         * tsan/Makefile.in: Regenerate.
871         * ubsan/Makefile.in: Regenerate.
873 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
875         PR sanitizer/82379
876         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
877         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
879 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
881         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
882         Define.
884 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
886         * include/system/sys/ptrace.h: New file.
888 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
890         PR sanitizer/80998
891         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
892         * ubsan/ubsan_checks.inc: Likewise.
893         * ubsan/ubsan_handlers.h: Likewise.
895 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
897         PR sanitizer/81066
898         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
899         * sanitizer_common/sanitizer_linux.cc: Likewise.
900         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
901         * tsan/tsan_platform_linux.cc: Likewise.
903 2017-04-06  Martin Liska  <mliska@suse.cz>
905         PR sanitizer/80166
906         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
907         Cherry-pick upstream r299036.
909 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
911         PR sanitizer/78158
912         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
914 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
916         PR sanitizer/79562
917         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
918         upstream r294806.
920 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
922         PR sanitizer/79341
923         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
924         s390-linux 31-bit.
925         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
926         r294793.
927         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
928         upstream r294790.
929         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
930         r294799.
932 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
934         PR sanitizer/78663
935         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
936         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
938 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
940         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
942 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
944         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
946         PR sanitizer/79168
947         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
948         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
949         text.
950         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
951         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
952         * tsan/tsan_ppc_regs.h: Likewise.
953         * tsan/tsan_rtl_aarch64.S: Likewise.
954         * tsan/tsan_rtl_mips64.S: Likewise.
955         * tsan/tsan_rtl_ppc64.S: Likewise.
957 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
959         PR other/79046
960         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
961         instead of cat to get version from BASE-VER file.
962         * asan/Makefile.am (gcc_version): Likewise.
963         * ubsan/Makefile.am (gcc_version): Likewise.
964         * sanitizer_common/Makefile.am (gcc_version): Likewise.
965         * lsan/Makefile.am (gcc_version): Likewise.
966         * tsan/Makefile.am (gcc_version): Likewise.
967         * interception/Makefile.in: Regenerated.
968         * asan/Makefile.in: Regenerated.
969         * ubsan/Makefile.in: Regenerated.
970         * sanitizer_common/Makefile.in: Regenerated.
971         * lsan/Makefile.in: Regenerated.
972         * tsan/Makefile.in: Regenerated.
974 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
976         PR other/79046
977         * configure.ac: Add GCC_BASE_VER.
978         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
979         get version from BASE-VER file.
980         * libbacktrace/Makefile.in: Regenerated.
981         * interception/Makefile.in: Regenerated.
982         * asan/Makefile.in: Regenerated.
983         * ubsan/Makefile.in: Regenerated.
984         * configure: Regenerated.
985         * sanitizer_common/Makefile.in: Regenerated.
986         * lsan/Makefile.in: Regenerated.
987         * Makefile.in: Regenerated.
988         * tsan/Makefile.in: Regenerated.
990 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
992         PR sanitizer/78992
993         * sanitizer_common/sanitizer_platform_limits_posix.h
994         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
996 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
998         * LOCAL_PATCHES: Add revision.
1000 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
1002         PR sanitizer/78532
1003         * sanitizer_common/sanitizer_platform_limits_posix.h
1004         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1005         versions.
1007 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1009         * LOCAL_PATCHES: Remove r242480.
1011 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1013         * LOCAL_PATCHES: Add revision.
1015 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
1017         PR sanitizer/78267
1018         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1019         compiler supports blocks extension.
1021 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1023         * LOCAL_PATCHES: Add revision.
1025 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
1027         PR sanitizer/78294
1028         * tsan/tsan_rtl.cc: Add missing attribute.
1030 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1032         * LOCAL_PATCHES: New file.
1034 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
1036         PR sanitizer/78307
1037         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1038         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
1039         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1040         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1041         function.
1042         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1043         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1044         (__ubsan_handle_cfi_bad_type): Export function.
1045         (__ubsan_handle_cfi_bad_type_abort): Likewise.
1046         * HOWTO_MERGE: Update documentation.
1048 2016-11-15  Matthias Klose  <doko@ubuntu.com>
1050         * configure: Regenerate.
1052 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1054         * asan/asan_globals.cc (RegisterGlobal): Do not call
1055         CheckODRViolationViaPoisoning.
1056         (CheckODRViolationViaPoisoning): Remove.
1058 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1060         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1061         compiled code with GCC when extracting the caller PC for ARM if no
1062         valid frame pointer is available.
1064 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1066         PR sanitizer/63958
1067         Reapply:
1068         2014-10-14  David S. Miller  <davem@davemloft.net>
1070         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1071         Define at __kernel_time_t, as needed for sparc.
1072         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1073         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1074         (__sanitizer): Define struct___old_kernel_stat_sz,
1075         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1076         (__sanitizer_ipc_perm): Adjust for sparc targets.
1077         (__sanitizer_shmid_ds): Likewsie.
1078         (__sanitizer_sigaction): Likewise.
1079         (IOC_SIZE): Likewsie.
1081 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
1083         * All source files: Merge from upstream 285547.
1084         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1085         variable.
1086         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1087         * asan/Makefile.am (asan_files): Add new files.
1088         * asan/Makefile.in: Regenerate.
1089         * ubsan/Makefile.in: Likewise.
1090         * lsan/Makefile.in: Likewise.
1091         * tsan/Makefile.am (tsan_files): Add new files.
1092         * tsan/Makefile.in: Regenerate.
1093         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1094         (EXTRA_libsanitizer_common_la_SOURCES): Define.
1095         (libsanitizer_common_la_LIBADD): Likewise.
1096         (libsanitizer_common_la_DEPENDENCIES): Likewise.
1097         * sanitizer_common/Makefile.in: Regenerate.
1098         * interception/Makefile.in: Likewise.
1099         * libbacktace/Makefile.in: Likewise.
1100         * Makefile.in: Likewise.
1101         * configure: Likewise.
1102         * merge.sh: Handle builtins/assembly.h merging.
1103         * builtins/assembly.h: New file.
1104         * asan/libtool-version: Bump the libasan SONAME.
1106 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
1108         PR sanitizer/77567
1109         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1111 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
1113         PR sanitizer/77396
1114         * asan/asan_globals.cc: Cherry-pick upstream r280657.
1116 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
1118         PR sanitizer/71042
1119         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1120         * tsan/tsan_rtl_aarch64.S: Likewise.
1122 2016-07-23  Alan Modra  <amodra@gmail.com>
1124         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
1125         * configure.ac: Don't substitute OBSTACK_DEFS.
1126         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1127         * tsan/Makefile.am: Likewise.
1128         * configure: Regenerate.
1129         * Makefile.in: Regenerate.
1130         * asan/Makefile.in: Regenerate.
1131         * interception/Makefile.in: Regenerate.
1132         * libbacktrace/Makefile.in: Regenerate.
1133         * lsan/Makefile.in: Regenerate.
1134         * sanitizer_common/Makefile.in: Regenerate.
1135         * tsan/Makefile.in: Regenerate.
1136         * ubsan/Makefile.in: Regenerate.
1138 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
1140         PR sanitizer/71160
1141         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1142         and r269633.
1144 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
1146         PR sanitizer/70624
1147         * asan/asan_mac.cc: Cherry pick upstream r266868.
1149 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
1151         PR sanitizer/68824
1152         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1153         InitializeInterceptors): Cherry pick upstream r258119.
1155 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
1157         * configure.ac: Replace the hard-coded -ldl requirement for
1158         link_sanitizer_common with a configure time check for -ldl.
1159         * configure: Regenerate.
1161 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1163         * include/system/linux/asm/ptrace.h: Move to ...
1164         * include/system/asm/ptrace.h: ... this.
1166 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1168         * include/system/linux/asm/ptrace.h: New header.
1170 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1172         * All source files: Merge from upstream r253555.
1173         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1174         dependences for TSan for aarch64-*-linux* targets.
1175         * tsan/Makefile.am: Add new source files.
1176         * configure: Regenerate.
1177         * tsan/Makefile.in: Likewise.
1179 2015-11-09  Alan Modra  <amodra@gmail.com>
1181         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1182         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1183         interceptors.
1184         * configure.ac: Substitute OBSTACK_DEFS.
1185         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1186         * tsan/Makefile.am: Likewise.
1187         * configure: Regenerate.
1188         * Makefile.in: Regenerate.
1189         * asan/Makefile.in: Regenerate.
1190         * interception/Makefile.in: Regenerate.
1191         * libbacktrace/Makefile.in: Regenerate.
1192         * lsan/Makefile.in: Regenerate.
1193         * sanitizer_common/Makefile.in: Regenerate.
1194         * tsan/Makefile.in: Regenerate.
1195         * ubsan/Makefile.in: Regenerate.
1197 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1199         PR bootstrap/68041
1200         * configure.ac (link_sanitizer_common): Link against librt only if it
1201         contains shm_open, required by sanitizers.
1202         (CXX_ABI_NEEDED): Remove variable.
1203         * configure: Regenerate.
1204         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1205         * ubsan/Makefile.in: Regenerate.
1207 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1209         * HOWTO_MERGE: New file.
1211 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1213         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1214         compiled code with GCC when extracting the caller PC for ARM if no
1215         valid frame pointer is available.
1217 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1219         PR bootstrap/63888
1220         Reapply:
1221         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
1223         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1224         support until it is rewritten upstream.
1226         * c-c++-common/asan/pr63888.c: New test.
1228 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1230         PR sanitizer/63958
1231         Reapply:
1232         2014-10-14  David S. Miller  <davem@davemloft.net>
1234         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1235         Define at __kernel_time_t, as needed for sparc.
1236         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1237         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1238         (__sanitizer): Define struct___old_kernel_stat_sz,
1239         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1240         (__sanitizer_ipc_perm): Adjust for sparc targets.
1241         (__sanitizer_shmid_ds): Likewsie.
1242         (__sanitizer_sigaction): Likewise.
1243         (IOC_SIZE): Likewsie.
1245 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1247         * All source files: Merge from upstream r250806.
1248         * configure.ac (link_sanitizer_common): Add -lrt flag.
1249         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1250         Set USE_CXX_ABI_FLAG=true for darwin.
1251         * asan/Makefile.am (asan_files): Add new files.
1252         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1253         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1254         * asan/Makefile.in: Regenerate.
1255         * ubsan/Makefile.am (ubsan_files): Add new files.
1256         (DEFS): Add DCAN_SANITIZE_UB=1.
1257         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1258         * ubsan/Makefile.in: Regenerate.
1259         * tsan/Makefile.am (tsan_files): Add new files.
1260         (DEFS): Add DCAN_SANITIZE_UB=0.
1261         * tsan/Makefile.in: Regenerate.
1262         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1263         * sanitizer_common/Makefile.in: Regenerate.
1264         * asan/libtool-version: Bump the libasan SONAME.
1266 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1268         PR sanitizer/67258
1269         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1271 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
1273         PR sanitizer/63927
1274         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1275         for PowerPC.
1277 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1279         PR sanitizer/63927
1280         * sanitizer_common/sanitizer_stacktrace.cc
1281         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1282         find the link register at an offset of 16 from the base of the
1283         caller's stack frame.
1285 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1287         * Makefile.in: Regenerated with automake-1.11.6.
1288         * aclocal.m4: Likewise.
1289         * asan/Makefile.in: Likewise.
1290         * configure: Likewise.
1291         * interception/Makefile.in: Likewise.
1292         * libbacktrace/Makefile.in: Likewise.
1293         * lsan/Makefile.in: Likewise.
1294         * sanitizer_common/Makefile.in: Likewise.
1295         * tsan/Makefile.in: Likewise.
1296         * ubsan/Makefile.in: Likewise.
1298 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
1300         PR sanitizer/64839
1301         * sanitizer_common/sanitizer_platform.h: Cherry pick
1302         upstream r234470.
1303         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1304         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1305         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1306         * Makefile.in: Regenerate.
1307         * asan/Makefile.in: Regenerate.
1308         * config.h.in: Regenerate.
1309         * configure: Regenerate.
1310         * interception/Makefile.in: Regenerate.
1311         * libbacktrace/Makefile.in: Regenerate.
1312         * lsan/Makefile.in: Regenerate.
1313         * sanitizer_common/Makefile.in: Regenerate.
1314         * tsan/Makefile.in: Regenerate.
1315         * ubsan/Makefile.in: Regenerate.
1318 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
1320         PR sanitizer/59009
1321         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1322         upstream r230324.
1323         * sanitizer_common/sanitizer_platform.h: Likewise.
1324         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1326 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1328         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1329         upstream 224508 and 224755.
1331 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
1333         PR sanitizer/63958
1334         Reapply:
1335         2014-10-14  David S. Miller  <davem@davemloft.net>
1337         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1338         Define at __kernel_time_t, as needed for sparc.
1339         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1340         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1341         (__sanitizer): Define struct___old_kernel_stat_sz,
1342         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1343         (__sanitizer_ipc_perm): Adjust for sparc targets.
1344         (__sanitizer_shmid_ds): Likewsie.
1345         (__sanitizer_sigaction): Likewise.
1346         (IOC_SIZE): Likewsie.
1348 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
1350         * configure.tgt: Enable build on powerpc*le-*-linux.
1352 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
1354         PR bootstrap/63888
1355         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1356         support until it is rewritten upstream.
1358 2015-01-26  Matthias Klose  <doko@ubuntu.com>
1360         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1361         * configure: Regenerate.
1363 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1365         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1366         * configure: Regenerate.
1367         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1369 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1371         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1372         * configure: Regenerate.
1373         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1374         (libtsan_la_DEPENDENCIES): Likewise.
1375         * Makefile.in: Regenerate.
1376         * asan/Makefile.in: Regenerate.
1377         * interception/Makefile.in: Regenerate.
1378         * libbacktrace/Makefile.in: Regenerate.
1379         * lsan/Makefile.in: Regenerate.
1380         * sanitizer_common/Makefile.in: Regenerate.
1381         * tsan/Makefile.in: Regenerate.
1382         * ubsan/Makefile.in: Regenerate.
1384 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
1386         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1388 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1390         PR sanitizer/64435
1391         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1392         upstream r226637.
1393         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1394         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1396 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1398         PR sanitizer/64632
1399         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1401 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1403         PR sanitizer/64435
1404         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1405         upstream r223925.
1407 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
1409         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1410         upstream r224518 and r224519.
1411         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1412         r224834.
1414 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
1416         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1417         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1418         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1419         upstream r224308.
1421 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1423         PR bootstrap/63784
1424         * configure: Regenerated.
1426 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
1428         PR target/61137
1429         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1430         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1432 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
1434         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1435         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1436         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1437         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1438         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1439         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1440         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1441         * sanitizer_common/Makefile.in: Regenerate.
1442         * asan/Makefile.in: Ditto.
1443         * lsan/Makefile.in: Ditto.
1444         * interception/Makefile.in: Ditto.
1445         * tsan/Makefile.in: Ditto.
1446         * libbacktrace/Makefile.in: Ditto.
1447         * ubsan/Makefile.in: Ditto.
1449 2014-11-13  Kostya Serebryany  <kcc@google.com>
1451         * All source files: Merge from upstream r221802.
1452         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1453         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1454         with 'start' to follow the new interface.
1455         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1456         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1457         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1458         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1459         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1460         files.
1461         (AM_CXXFLAGS): Added -std=c++11.
1462         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1463         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1464         * asan/Makefile.in: Regenerate.
1465         * interception/Makefile.in: Regenerate.
1466         * libbacktrace/Makefile.in: Regenerate.
1467         * lsan/Makefile.in: Regenerate.
1468         * sanitizer_common/Makefile.in: Regenerate.
1469         * tsan/Makefile.in: Regenerate.
1470         * ubsan/Makefile.in: Regenerate.
1472 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1474         PR target/63610
1475         * configure: Regenerate.
1477 2014-10-16  Martin Liska  <mliska@suse.cz>
1479         * asan/Makefile.am: IPA ICF pass is disabled.
1480         * asan/Makefile.in: Likewise.
1482 2014-10-14  David S. Miller  <davem@davemloft.net>
1484         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1485         Define at __kernel_time_t, as needed for sparc.
1486         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1487         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1488         (__sanitizer): Define struct___old_kernel_stat_sz,
1489         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1490         (__sanitizer_ipc_perm): Adjust for sparc targets.
1491         (__sanitizer_shmid_ds): Likewsie.
1492         (__sanitizer_sigaction): Likewsie.
1493         (IOC_SIZE): Likewsie.
1495 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
1497         * ubsan/Makefile.am (DEFS): Add -DPIC.
1498         * ubsan/Makefile.in: Regenerated.
1500 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
1502         * configure.tgt: Enable build on aarch64*-linux.
1504 2014-09-19  Kostya Serebryany  <kcc@google.com>
1506         * All source files: Merge from upstream r218156.
1507         * asan/Makefile.am (asan_files): Added new files.
1508         * asan/Makefile.in: Regenerate.
1509         * ubsan/Makefile.am (ubsan_files): Added new files.
1510         * ubsan/Makefile.in: Regenerate.
1511         * tsan/Makefile.am (tsan_files): Added new files.
1512         * tsan/Makefile.in: Regenerate.
1513         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1514           files.
1515         * sanitizer_common/Makefile.in: Regenerate.
1516         * asan/libtool-version: Bump the libasan SONAME.
1518 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
1520         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1521         upstream r215485, r217389, r217391 and r217400.
1523 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
1525         * sanitizer_common/sanitizer_common_interceptors.inc:
1526         Cherry pick upstream r211008.
1528 2014-06-11  Richard Biener  <rguenther@suse.de>
1530         * asan/asan_linux.cc: Cherry pick upstream r210012.
1532 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
1534         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1535         r209879.
1536         * sanitizer_common/sanitizer_common.h: Likewise.
1537         * asan/asan_mapping.h: Likewise.
1538         * asan/asan_linux.cc: Likewise.
1539         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1540         * sanitizer_common/sanitizer_allocator.h: Likewise.
1542 2014-05-23  Marek Polacek  <polacek@redhat.com>
1544         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1545         floating-point types.
1547 2014-05-22  Kostya Serebryany  <kcc@google.com>
1549         * All source files: Merge from upstream r209283.
1550         * asan/Makefile.am (asan_files): Added new files.
1551         * asan/Makefile.in: Regenerate.
1552         * tsan/Makefile.am (tsan_files): Added new files.
1553         * tsan/Makefile.in: Regenerate.
1554         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1555         files.
1556         * sanitizer_common/Makefile.in: Regenerate.
1558 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
1560         PR sanitizer/61100
1561         * Makefile.am (nodist_saninclude_HEADERS): Install
1562         public headers.
1563         * Makefile.in: Regenerate.
1565 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1567         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1568         Add ../../libbacktrace/sort.c.
1569         * libbacktrace/Makefile.in: Regenerate.
1570         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1572 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1574         * configure.tgt: Unsupported for little endian PowerPC for now.
1576 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
1578         PR sanitizer/60055
1579         * tsan/tsan_flags.cc (__tsan_default_options): Add
1580         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
1581         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1583         PR sanitizer/60038
1584         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1585         sanitizer_atomic.h and unistd.h.
1586         (kThreadDescriptorSize): Made static, remove initializer and const,
1587         change type to atomic_uintptr_t.
1588         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1589         query glibc version, compute kThreadDescriptorSize depending on
1590         glibc version minor number.
1591         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1592         kThreadDescriptorSize directly.
1594 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
1595             Jakub Jelinek  <jakub@redhat.com>
1597         PR sanitizer/57316
1598         * configure.ac: Check for missing syscalls.
1599         * Makefile.am: Likewise.
1600         * configure: Regenerate.
1601         * Makefile.in: Regenerate.
1603 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
1605         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1606         (LibbacktraceSymbolizer::Demangle): New declaration.
1607         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1608         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1609         method if possible.
1610         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1611         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1612         (struct CplusV3DemangleData): New type.
1613         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1614         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1615         SymbolizeDataCallback): Use CplusV3Demangle.
1616         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1617         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1618         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1619         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1620         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1621         cplus_demangle_init_info, cplus_demangle_mangled_name,
1622         cplus_demangle_operators, cplus_demangle_print,
1623         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1624         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1625         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1626         Define.
1627         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1628         (memcmp, strncmp): Redefine.
1629         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1630         ../../libiberty/cp-demangle.c.
1631         * libbacktrace/bridge.cc (__asan_internal_memcmp,
1632         __asan_internal_strncmp): New functions.
1633         * sanitizer_common/Makefile.in: Regenerated.
1634         * libbacktrace/Makefile.in: Regenerated.
1635         * configure: Regenerated.
1636         * configure.ac: Regenerated.
1637         * config.h.in: Regenerated.
1639         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1640         -isystem $(top_srcdir)/include/system.
1641         * sanitizer_common/Makefile.in: Regenerated.
1642         * include/system/linux/aio_abi.h: New header.
1643         * include/system/linux/mroute.h: New header.
1644         * include/system/linux/mroute6.h: New header.
1645         * include/system/linux/perf_event.h: New header.
1646         * include/system/linux/types.h: New header.
1648         PR sanitizer/59136
1649         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1650         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1651         and -I/-include flags.
1652         * lsan/Makefile.am (liblsan_la_LIBADD): Add
1653         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1654         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1655         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1656         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1657         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1658         libbacktrace.
1659         * README.gcc: Document that also lsan and ubsan are
1660         maintained in compiler-rt upstream.
1661         * libbacktrace/Makefile.am: New file.
1662         * libbacktrace/backtrace-rename.h: New file.
1663         * libbacktrace/backtrace-supported.h.in: New file.
1664         * libbacktrace/bridge.cc: New file.
1665         * configure.ac: Add tests needed for libbacktrace build
1666         within libsanitizer.
1667         * sanitizer_common/Makefile.in: Regenerated.
1668         * lsan/Makefile.in: Regenerated.
1669         * tsan/Makefile.in: Regenerated.
1670         * ubsan/Makefile.in: Regenerated.
1671         * libbacktrace/Makefile.in: Generated.
1672         * config.h.in: Regenerated.
1673         * configure: Regenerated.
1674         * Makefile.in: Regenerated.
1675         * interception/Makefile.in: Regenerated.
1676         * asan/Makefile.in: Regenerated.
1677         * aclocal.m4: Regenerated.
1679 2013-12-19  Kostya Serebryany  <kcc@google.com>
1681         * sanitizer_common/sanitizer_platform_limits_posix.cc:
1682         workaround for missing definition of EOWNERDEAD, backport
1683         from upstream r196779.
1685 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1687         * sanitizer_common/sanitizer_platform_limits_posix.h
1688         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1689         (__sanitizer_clock_t): Use long long for x32.
1691 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1693         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1694         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1695         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1697 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
1699         * configure.ac (link_sanitizer_common): Add -lm.
1700         * configure: Regenerated.
1702 2013-12-05  Kostya Serebryany  <kcc@google.com>
1704         * All source files: Merge from upstream r196489.
1705         * merge.sh: Add *.S to the list of merged files.
1707 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
1709         PR sanitizer/59368
1710         * Makefile.am (gcc_version): Added gcc_version.
1711         * Makefile.in: Regenerate.
1713 2013-12-05  Kostya Serebryany  <kcc@google.com>
1715         * All source files: Merge from upstream r196090.
1716         * tsan/Makefile.am (tsan_files): Added new files.
1717         * tsan/Makefile.in: Regenerate.
1718         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1719         * sanitizer_common/Makefile.in: Regenerate.
1720         * lsan/Makefile.am (lsan_files): Added new files.
1721         * lsan/Makefile.in: Regenerate.
1723 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
1724             Yury Gribov  <y.gribov@samsung.com>
1726         PR sanitizer/59063
1727         * libsanitizer.spec.in: Add spec file to hold link flags for
1728         various sanitizer libs.
1729         * configure.ac: Check whether clock_* routines come from librt.
1730         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1731         configure.ac.
1732         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1733         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1734         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1735         * asan/Makefile.in: Regenerate.
1736         * interception/Makefile.in: Regenerate.
1737         * lsan/Makefile.in: Regenerate.
1738         * sanitizer_common/Makefile.in: Regenerate.
1739         * tsan/Makefile.in: Regenerate.
1740         * ubsan/Makefile.in: Regenerate.
1741         * Makefile.in: Regenerate.
1742         * configure: Regenerate.
1744 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
1745             Yury Gribov  <y.gribov@samsung.com>
1747         PR sanitizer/59106
1748         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1749         don't need it.
1750         * ubsan/Makefile.in: Regenerated.
1752 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
1754         PR sanitizer/59061
1755         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1756         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1757         * configure: Regenerated.
1758         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1759         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1760         * lsan/Makefile.in: Regenerated.
1762 2013-11-22  Mike Stump  <mikestump@comcast.net>
1764         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1765         change from upstream to fix build.
1767 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
1769         PR sanitizer/59106
1770         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1771         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1772         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1773         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1774         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1775         * asan/Makefile.in: Regenerate.
1776         * interception/Makefile.in: Regenerate.
1777         * tsan/Makefile.in: Regenerate.
1778         * lsan/Makefile.in: Regenerate.
1779         * sanitizer_common/Makefile.in: Regenerate.
1781 2013-11-15  Kostya Serebryany  <kcc@google.com>
1783         PR sanitizer/58994
1784         Backport from upstream revision 194573
1785         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1786         back to the original functions in the common libsanitizer
1787         interceptors and the __cxa_atexit() interceptor on Darwin.
1789 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
1791         PR sanitizer/59009
1792         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1793         ifdef out more source.
1795 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
1797         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1798         ifdef out almost the whole source.
1799         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1801 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1803         PR sanitizer/59018
1804         * sanitizer_common/sanitizer_platform_limits_posix.cc
1805         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1806         defined.
1808 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1810         PR sanitizer/59018
1811         * sanitizer_common/sanitizer_platform_limits_linux.cc
1812         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1813         defined.
1814         * sanitizer_common/sanitizer_platform_limits_posix.h
1815         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1816         defined.
1817         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1818         is defined.
1819         (__sanitizer___kernel_gid_t): Likewise.
1820         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1821         is defined.
1823 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1825         PR sanitizer/59018
1826         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1827         2 64-bit integers to save and restore fn and arg.  Properly load
1828         newtls/child_tidptr into r8/r10.
1830 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1832         PR sanitizer/59018
1833         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1834         internal_munmap, internal_open, internal_read, internal_write,
1835         internal_stat, internal_lstat, internal_fstat, internal_readlink,
1836         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1837         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1838         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1840 2013-11-04  Kostya Serebryany  <kcc@google.com>
1842         * All source files: Merge from upstream r191666.
1843         * merge.sh: Added lsan.
1844         * configure.ac (AC_CONFIG_FILES): Added lsan.
1845         * Makefile.am (SUBDIRS): Added lsan.
1846         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1847         * asan/Makefile.am (asan_files): Added new files.
1848         (libasan_la_LIBADD): Added a dependency on lsan.
1849         * lsan/Makefile.am: New file.
1850         * asan/Makefile.in: Regenerate.
1851         * lsan/Makefile.in: Regenerate.
1852         * Makefile.in: Regenerate.
1853         * configure: Regenerate.
1854         * sanitizer_common/Makefile.in: Regenerate.
1856 2013-09-20  Alan Modra  <amodra@gmail.com>
1858         * configure: Regenerate.
1860 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
1862         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1863         libinterception.la for Darwin.
1864         * ubsan/Makefile.in: Regenerate.
1866 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
1868         * Makefile.am (SUBDIRS): Add ubsan.
1869         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1870         * merge.sh: Merge ubsan.
1871         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1872         * sanitizer_common/sanitizer_printf.cc: Likewise.
1873         * sanitizer_common/sanitizer_common.h: Likewise.
1874         * ubsan: New directory. Import ubsan runtime from llvm.
1876 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
1878         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1879         Cherry pick upstream r182922.
1881 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
1883         * configure.tgt: Add ARM pattern.
1885 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
1887         PR other/43620
1888         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1889         * Makefile.in: Regenerated.
1890         * asan/Makefile.in: Regenerated.
1891         * interception/Makefile.in: Regenerated.
1892         * sanitizer_common/Makefile.in: Regenerated.
1893         * tsan/Makefile.in: Regenerated.
1895 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
1897         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1898         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1899         0x4fffffffffULL.
1901 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
1903         PR sanitizer/56393
1904         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1905         libasan_preinit.o.
1906         (libasan_preinit.o): Depend on asan_preinit.o.
1907         * asan/Makefile.in: Regenerated.
1908         * asan/asan_preinit.cc: New file, synced from upstream.
1909         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1911 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
1913         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1914         dynamic/asan_interceptors_dynamic.cc.
1915         * asan/Makefile.in: Regenerated.
1916         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1918 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
1920         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1921         defined.  Add used attribute.
1923 2013-02-21  Kostya Serebryany  <kcc@google.com>
1925         * All source files: Merge from upstream r175733.
1926         * sanitizer_common/Makefile.am: Added a new file.
1927         * sanitizer_common/Makefile.in: Regenerated.
1929 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1931         PR bootstrap/56327
1932         * interception/interception.h (OFF_T): Merged from upstream
1933         r175140.
1935 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
1937         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1939 2013-02-13  Kostya Serebryany  <kcc@google.com>
1941         PR sanitizer/56128
1942         * All source files: Merge from upstream r175049.
1943         * interception/Makefile.am: added include path.
1944         * interception/Makefile.in: Regenerated.
1946 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
1948         * configure.tgt: Disable build on darwin9 and earlier.
1950 2013-01-23  Kostya Serebryany  <kcc@google.com>
1952         PR sanitizer/55989
1953         * All source files: Merge from upstream r173241.
1954         * merge.sh: Support merging .inc files.
1956 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
1958         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1959         -Wno-c99-extensions.
1960         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1961         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1962         * sanitizer_common/Makefile.in: Regenerated.
1963         * interception/Makefile.in: Regenerated.
1964         * asan/Makefile.in: Regenerated.
1966 2013-01-10  Wei Mi  <wmi@google.com>
1968         PR sanitizer/55488
1969         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1970         * tsan/Makefile.in: Regenerated.
1971         * tsan/tsan_rtl.h: Enable HACKY_CALL.
1973 2013-01-10  Kostya Serebryany  <kcc@google.com>
1975         * All source files: Merge from upstream r171973.
1976         * sanitizer_common/Makefile.am: Added new files.
1977         * asan/Makefile.am: Likewise.
1978         * tsan/Makefile.am: Likewise.
1979         * sanitizer_common/Makefile.in: Regenerated.
1980         * asan/Makefile.in: Likewise.
1981         * tsan/Makefile.in: Likewise.
1983 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1985         * asan/Makefile.am (libasan_la_LIBADD): Replace
1986         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1987         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1988         * Makefile.in: Regenerated.
1989         * configure: Likewise.
1990         * asan/Makefile.in: Likewise.
1991         * interception/Makefile.in: Likewise.
1992         * sanitizer_common/Makefile.in: Likewise.
1993         * tsan/Makefile.in: Likewise.
1995 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1997         * Makefile.am (AM_MAKEFLAGS): Restored.
1998         * interception/Makefile.am: Likewise.
1999         * sanitizer_common/Makefile.am: Likewise.
2000         * tsan/Makefile.am: Likewise.
2001         * Makefile.in: Regenerated.
2002         * asan/Makefile.in: Likewise.
2003         * interception/Makefile.in: Likewise.
2004         * sanitizer_common/Makefile.in: Likewise.
2005         * tsan/Makefile.in: Likewise.
2007 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2009         * Makefile.am (MAKEOVERRIDES): Restored.
2010         * asan/Makefile.am: Likewise.
2011         * interception/Makefile.am: Likewise.
2012         * sanitizer_common/Makefile.am: Likewise.
2013         * tsan/Makefile.am: Likewise.
2014         * Makefile.in: Regenerated.
2015         * asan/Makefile.in: Likewise.
2016         * interception/Makefile.in: Likewise.
2017         * sanitizer_common/Makefile.in: Likewise.
2018         * tsan/Makefile.in: Likewise.
2020 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2022         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2023         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2024         * Makefile.in: Regenerated.
2025         * configure: Likewise.
2026         * asan/Makefile.in: Likewise.
2027         * interception/Makefile.in: Likewise.
2028         * sanitizer_common/Makefile.in: Likewise.
2029         * tsan/Makefile.in: Likewise.
2031 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2033         * Makefile.am (AM_MAKEFLAGS): Removed.
2034         (MAKEOVERRIDES): Likewise.
2035         * asan/Makefile.am: Likewise.
2036         * interception/Makefile.am: Likewise.
2037         * sanitizer_common/Makefile.am: Likewise.
2038         * tsan/Makefile.am: Likewise.
2039         * Makefile.in: Regenerated.
2040         * asan/Makefile.in: Likewise.
2041         * interception/Makefile.in: Likewise.
2042         * sanitizer_common/Makefile.in: Likewise.
2043         * tsan/Makefile.in: Likewise.
2045 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2047         PR sanitizer/55533
2048         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2049         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2050         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2051         (AM_MAKEFLAGS): Remove CC and CXX.
2052         * interception/Makefile.am: Likewise.
2053         * sanitizer_common/Makefile.am: Likewise.
2054         * tsan/Makefile.am: Likewise.
2055         * Makefile.in: Regenerated.
2056         * aclocal.m4: Likewise.
2057         * configure: Likewise.
2058         * asan/Makefile.in: Likewise.
2059         * interception/Makefile.in: Likewise.
2060         * sanitizer_common/Makefile.in: Likewise.
2061         * tsan/Makefile.in: Likewise.
2063 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
2065         * configure.tgt: Enable build on powerpc*-linux.
2067 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
2069         PR 55599/sanitizer
2070         * configure.ac: Set enable_static=no on darwin.
2071         * configure: Regenerated.
2073 2012-12-06  Kostya Serebryany  <kcc@google.com>
2075         * All files: Merge from upstream r169392.
2077 2012-12-05  Kostya Serebryany  <kcc@google.com>
2079         * All files: Merge from upstream r169371.
2081 2012-12-04  Kostya Serebryany  <kcc@google.com>
2082             Jack Howarth  <howarth@bromo.med.uc.edu>
2084         PR 55521/sanitizer
2085         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2086         * Makefile.am: Don't build interception subdir when
2087         USING_MAC_INTERPOSE defined.
2088         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2089         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2090         Compile asan_interceptors_dynamic.cc but not libinterception
2091         when USING_MAC_INTERPOSE defined.
2092         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2093         * configure: Regenerated.
2094         * Makefile.in: Likewise.
2095         * asan/Makefile.in: Likewise.
2096         * interception/Makefile.in: Likewise.
2097         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2098         * asan/asan_mac.cc: Likewise.
2099         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2100         and use MISSING_BLOCKS_SUPPORT.
2101         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2102         * interception/mach_override/LICENSE.txt: Remove unused file.
2103         * interception/mach_override/mach_override.c: Likewise.
2104         * interception/mach_override/mach_override.h: Likewise.
2105         * interception/mach_override: Remove unused directory.
2107 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2109         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2110         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2111         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2112         files.
2113         (AM_MAKEFLAGS): Restore CC and CXX.
2114         * interception/Makefile.am: Likewise.
2115         * sanitizer_common/Makefile.am: Likewise.
2116         * tsan/Makefile.am: Likewise.
2117         * Makefile.in: Regenerated.
2118         * aclocal.m4: Likewise.
2119         * configure: Likewise.
2120         * asan/Makefile.in: Likewise.
2121         * interception/Makefile.in: Likewise.
2122         * sanitizer_common/Makefile.in: Likewise.
2123         * tsan/Makefile.in: Likewise.
2125 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2127         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2128         * configure.ac (ACX_NONCANONICAL_TARGET): New.
2129         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2130         files.
2131         (AM_MAKEFLAGS): Remove CC and CXX.
2132         * interception/Makefile.am: Likewise.
2133         * sanitizer_common/Makefile.am: Likewise.
2134         * tsan/Makefile.am: Likewise.
2135         * Makefile.in: Regenerated.
2136         * aclocal.m4: Likewise.
2137         * configure: Likewise.
2138         * asan/Makefile.in: Likewise.
2139         * interception/Makefile.in: Likewise.
2140         * sanitizer_common/Makefile.in: Likewise.
2141         * tsan/Makefile.in: Likewise.
2143 2012-11-27  Kostya Serebryany  <kcc@google.com>
2145         * All files: Merge from upstream r168699.
2147 2012-11-24  Kostya Serebryany  <kcc@google.com>
2148             Jack Howarth  <howarth@bromo.med.uc.edu>
2150         * interception/mach_override/mach_override.c: Migrate from llvm.
2151         * interception/mach_override/mach_override.h: Likewise.
2152         * interception/mach_override/LICENSE.txt: Likewise.
2153         * configure.tgt: Add darwin to supported targets.
2154         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2155         * interception/Makefile.am: Compile mach_override.c when
2156         USING_MACH_OVERRIDE defined.
2157         * configure: Regenerated.
2158         * interception/Makefile.in: Likewise.
2160 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
2162         PR sanitizer/55450
2163         * tsan/Makefile.am (gcc_version): New.
2164         * tsan/Makefile.in: Regenerated.
2166 2012-11-23  Kostya Serebryany  <kcc@google.com>
2168         * merge.sh: Support tsan, support added/removed files.
2169         * tsan/Makefile.am: Remove tsan_printf.cc.
2170         * tsan/Makefile.in: Regenerated.
2171         * other files: Merge from upstream r168514.
2173 2012-11-23  Kostya Serebryany  <kcc@google.com>
2175         * merge.sh: New file.
2177 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
2179         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2180         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2181         automake conditional instead of !MULTISUBDIR32.
2182         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2183         for 64-bit multilib.
2184         * configure.ac: Check for void * size, source in configure.tgt,
2185         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2186         * configure: Regenerated.
2187         * Makefile.in: Regenerated.
2188         * tsan/Makefile.in: Regenerated.
2190 2012-11-22  Wei Mi  <wmi@google.com>
2192         * tsan: New directory. Import tsan runtime from llvm.
2193         * configure.ac: Add 64 bits tsan build.
2194         * Makefile.am: Likewise.
2195         * configure: Regenerated.
2196         * Makefile.in: Likewise.
2198 2012-11-21  Kostya Serebryany  <kcc@google.com>
2200         * README.gcc: Extend the README.gcc with mode details.
2202 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
2204         * sanitizer_common/sanitizer_linux.cc
2205         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2206         (internal_mmap): Use it.
2207         (internal_filesize): Likewise.
2209 2012-11-16  Tom Tromey  <tromey@redhat.com>
2211         * configure.ac: Invoke AM_MAINTAINER_MODE.
2212         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2213         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2215 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2217         PR other/55333
2218         * include/sanitizer/common_interface_defs.h (uhwptr): New type
2219         for hardware pointer.
2220         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2221         Replace uptr with uhwptr for stack unwind.
2223 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
2225         * configure.tgt: Enable build on sparc linux.
2227 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
2229         * configure.ac: Properly set MULTISUBDIR.
2230         * asan/Makefile.am (gcc_version): New.
2231         * interception/Makefile.am (gcc_version): Likewise.
2232         * sanitizer_common/Makefile.am (gcc_version): Likewise.
2233         * configure: Regenerated.
2234         * asan/Makefile.in: Likewise.
2235         * interception/Makefile.in: Likewise.
2236         * sanitizer_common/Makefile.in: Likewise.
2238 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2240         PR other/55291
2241         * configure.ac (--enable-version-specific-runtime-libs): New option.
2242         (AC_CANONICAL_SYSTEM): New.
2243         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2244         (toolexecdir): Support multilib.
2245         (toolexeclibdir): Likewise.
2246         (multilib_arg): New.
2247         * Makefile.in: Regenerated.
2248         * aclocal.m4: Likewise.
2249         * configure: Likewise.
2250         * asan/Makefile.in: Likewise.
2251         * interception/Makefile.in: Likewise.
2252         * sanitizer_common/Makefile.in: Likewise.
2254 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2256         PR other/55292
2257         Backport from upstream revision 167883
2258         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2259         __x86_64__ instead of __WORDSIZE.
2260         (internal_filesize): Likwise.
2262 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2264         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2265         * Makefile.in: Regenerated.
2266         * configure: Likewise.
2268 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2270         PR other/55304
2271         * acinclude.m4: New file.
2272         * Makefile.am (ACLOCAL_AMFLAGS): New.
2273         * configure.ac (AC_PREREQ): Set to 2.64.
2274         (AC_CONFIG_AUX_DIR): Set to "..".
2275         * Makefile.in: Regenerated.
2276         * aclocal.m4: Likewise.
2277         * configure: Likewise.
2278         * asan/Makefile.in: Likewise.
2279         * interception/Makefile.in: Likewise.
2280         * sanitizer_common/Makefile.in: Likewise.
2282         * config.guess: Removed.
2283         * config.sub: Likewise.
2284         * depcomp: Likewise.
2285         * install-sh: Likewise.
2286         * ltmain.sh: Likewise.
2287         * missing: Likewise.
2289 2012-11-13  Richard Henderson  <rth@redhat.com>
2291         * configure.tgt: New file.
2293 2012-11-12  David S. Miller  <davem@davemloft.net>
2295         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2297 2012-10-29  Wei Mi  <wmi@google.com>
2299         Initial checkin: migrate asan runtime from llvm.