1 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
3 * LOCAL_PATCHES: Add commit 70b043845d7.
5 2021-12-06 H.J. Lu <hjl.tools@gmail.com>
8 * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
10 (__tsan_report_race_thunk): Likewise.
12 2021-11-28 Andrew Pinski <apinski@marvell.com>
15 * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
16 * Makefile.in: Regenerate.
17 * asan/Makefile.in: Likewise.
18 * hwasan/Makefile.in: Likewise.
19 * interception/Makefile.in: Likewise.
20 * libbacktrace/Makefile.in: Likewise.
21 * lsan/Makefile.in: Likewise.
22 * sanitizer_common/Makefile.in: Likewise.
23 * tsan/Makefile.in: Likewise.
24 * ubsan/Makefile.in: Likewise.
26 2021-11-18 Jakub Jelinek <jakub@redhat.com>
29 * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
30 of sanitizer_platform_limits_freebsd.cpp.
31 * sanitizer_common/Makefile.in: Regenerated.
33 2021-11-13 H.J. Lu <hjl.tools@gmail.com>
35 * LOCAL_PATCHES: Update to the corresponding revision.
37 2021-11-04 Martin Liska <mliska@suse.cz>
39 * LOCAL_PATCHES: Update git revision.
41 2021-10-08 H.J. Lu <hjl.tools@gmail.com>
44 * asan/Makefile.am (AM_CCASFLAGS): New. Set to $(EXTRA_ASFLAGS).
45 * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
46 * interception/Makefile.am (AM_CCASFLAGS): Likewise.
47 * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
48 * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
49 * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
50 * asan/Makefile.in: Regenerate.
51 * hwasan/Makefile.in: Likewise.
52 * interception/Makefile.in: Likewise.
53 * lsan/Makefile.in: Likewise.
54 * tsan/Makefile.in: Likewise.
55 * ubsan/Makefile.in: Likewise.
57 2021-10-06 H.J. Lu <hjl.tools@gmail.com>
59 * LOCAL_PATCHES: Update to the corresponding revision.
61 2021-10-01 H.J. Lu <hjl.tools@gmail.com>
63 * LOCAL_PATCHES: Update to the corresponding revision.
65 2021-08-11 Jakub Jelinek <jakub@redhat.com>
67 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
68 llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
70 2021-08-03 Mosè Giordano <mose@gnu.org>
73 * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
75 2021-07-28 Ilya Leoshkevich <iii@linux.ibm.com>
77 * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
80 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
82 * asan/libtool-version: Bump version.
83 * tsan/libtool-version: Likewise.
85 2021-07-20 H.J. Lu <hjl.tools@gmail.com>
87 * LOCAL_PATCHES: Update to the corresponding revision.
89 2021-05-21 Tamar Christina <tamar.christina@arm.com>
92 * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
93 llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
94 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
95 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
97 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
99 * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
101 2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
103 * sanitizer_common/sanitizer_mac.cpp : Check for the
104 availability of __builtin_os_log_format before trying to
105 include a header depending on it.
106 (OS_LOG_DEFAULT): New.
107 (os_log_error): Define to a fall-back using an older API.
109 2021-05-13 Martin Liska <mliska@suse.cz>
111 * LOCAL_PATCHES: Update to the corresponding revision.
113 2021-04-17 Jakub Jelinek <jakub@redhat.com>
116 * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
117 llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
118 and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
120 2021-03-08 Martin Liska <mliska@suse.cz>
123 * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
125 (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
126 * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
127 * sanitizer_common/sanitizer_common_interceptors.inc
128 (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
129 (INIT_REGEX): Likewise.
130 * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
133 2021-01-26 Martin Liska <mliska@suse.cz>
136 * lsan/Makefile.am: Add missing lsan_posix.cpp file.
137 * lsan/Makefile.in: Likewise.
139 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
141 * configure: Re-generate.
143 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
146 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
148 * configure: Regenerate.
150 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
152 * configure: Regenerate.
154 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
156 * LOCAL_PATCHES: Add one commit.
158 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
160 * Makefile.am: Condition Build hwasan directory.
161 * Makefile.in: Regenerate.
162 * configure: Regenerate.
163 * configure.ac: Set HWASAN_SUPPORTED based on target
165 * configure.tgt: Likewise.
167 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
169 * Makefile.am: Build libhwasan.
170 * Makefile.in: Build libhwasan.
171 * asan/Makefile.in: Build libhwasan.
172 * configure: Build libhwasan.
173 * configure.ac: Build libhwasan.
174 * hwasan/Makefile.am: New file.
175 * hwasan/Makefile.in: New file.
176 * hwasan/libtool-version: New file.
177 * interception/Makefile.in: Build libhwasan.
178 * libbacktrace/Makefile.in: Build libhwasan.
179 * libsanitizer.spec.in: Build libhwasan.
180 * lsan/Makefile.in: Build libhwasan.
181 * sanitizer_common/Makefile.in: Build libhwasan.
182 * tsan/Makefile.in: Build libhwasan.
183 * ubsan/Makefile.in: Build libhwasan.
185 2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
187 * configure.tgt: Allow x86_64 Darwin2x.
189 2020-11-13 Martin Liska <mliska@suse.cz>
191 * LOCAL_PATCHES: Update to the latest commit.
193 2020-10-19 Martin Liska <mliska@suse.cz>
195 * LOCAL_PATCHES: Add one commit.
197 2020-10-18 Iain Sandoe <iain@sandoe.co.uk>
199 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
200 macros are defined where the macOS SDK does not contain
202 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
205 2020-10-16 Martin Liska <mliska@suse.cz>
207 * LOCAL_PATCHES: Update revision.
209 2020-09-21 Ian Lance Taylor <iant@golang.org>
211 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
213 (backtrace_syminfo_to_full_callback): Define.
214 (backtrace_syminfo_to_full_error_callback): Define.
216 2020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
218 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
219 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
221 2020-06-09 Martin Liska <mliska@suse.cz>
223 * asan/Makefile.am: Replace gnu++11 with gnu++14.
224 * interception/Makefile.am: Likewise.
225 * libbacktrace/Makefile.am: Likewise.
226 * lsan/Makefile.am: Likewise.
227 * sanitizer_common/Makefile.am: Likewise.
228 * tsan/Makefile.am: Likewise.
229 * ubsan/Makefile.am: Likewise.
230 * asan/Makefile.in: Regenerate.
231 * interception/Makefile.in: Likewise.
232 * libbacktrace/Makefile.in: Likewise.
233 * lsan/Makefile.in: Likewise.
234 * sanitizer_common/Makefile.in: Likewise.
235 * tsan/Makefile.in: Likewise.
236 * ubsan/Makefile.in: Likewise.
238 2020-06-02 Martin Liska <mliska@suse.cz>
240 * LOCAL_PATCHES: Update hash of local patches.
242 2020-06-02 Martin Liska <mliska@suse.cz>
244 * MERGE: Merge from master.
246 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
249 * configure: Regenerated.
251 2020-05-29 Martin Liska <mliska@suse.cz>
253 * HOWTO_MERGE: Do not mention not existing argument.
254 * README.gcc: Update LLVM repository location.
256 2020-05-26 Martin Liska <mliska@suse.cz>
258 * LOCAL_PATCHES: Use git hash instead of SVN id.
259 * merge.sh: Use git instead of VCS. Update paths
260 relative to upstream git repository.
262 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
265 * configure: Regenerated.
267 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
269 * configure: Regenerated.
271 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
273 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
275 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
277 * sanitizer_common/Makefile.am: Add
278 sanitizer_platform_limits_freebsd.cpp.
279 * sanitizer_common/Makefile.in: Regenerate.
281 2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
284 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
285 default only for Darwin versions greater than 12 (macOS 10.8).
287 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
289 * configure.ac: Handle `--with-toolexeclibdir='.
290 * Makefile.in: Regenerate.
291 * aclocal.m4: Regenerate.
292 * configure: Regenerate.
293 * asan/Makefile.in: Regenerate.
294 * interception/Makefile.in: Regenerate.
295 * libbacktrace/Makefile.in: Regenerate.
296 * lsan/Makefile.in: Regenerate.
297 * sanitizer_common/Makefile.in: Regenerate.
298 * tsan/Makefile.in: Regenerate.
299 * ubsan/Makefile.in: Regenerate.
301 2019-11-26 Jakub Jelinek <jakub@redhat.com>
304 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
305 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
306 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
308 2019-11-20 Martin Liska <mliska@suse.cz>
310 * libtool-version: Remove.
311 * lsan/libtool-version: Upate comment to not mention libmudflap.
312 * tsan/libtool-version: Likewise.
313 * ubsan/libtool-version: Likewise.
315 2019-11-13 Andreas Schwab <schwab@suse.de>
317 * configure.tgt (riscv64-*-linux*): Enable build.
319 2019-11-07 Martin Liska <mliska@suse.cz>
321 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
323 2019-11-07 Martin Liska <mliska@suse.cz>
325 * merge.sh: Update to use llvm-project git repository.
326 * all source files: Merge from upstream
327 82588e05cc32bb30807e480abd4e689b0dee132a.
329 2019-11-05 Martin Liska <mliska@suse.cz>
331 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
332 summary for all sanitizers, but we want to have UBSAN without it.
334 2019-11-05 Martin Liska <mliska@suse.cz>
336 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
338 (CheckODRViolationViaPoisoning): Likewise.
339 (RegisterGlobal): Likewise.
340 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
342 * asan/asan_mapping.h: Likewise.
343 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
344 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
345 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
346 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
347 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
348 * tsan/tsan_rtl_ppc64.S: Likewise.
349 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
350 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
351 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
352 (struct CFICheckFailData): Likewise.
353 (RECOVERABLE): Likewise.
354 * ubsan/ubsan_platform.h: Likewise.
356 2019-11-05 Martin Liska <mliska@suse.cz>
358 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
359 tsan_interceptors_posix.
360 * tsan/Makefile.in: Regenerate.
362 2019-11-05 Martin Liska <mliska@suse.cz>
364 * all source files: Merge from upstream r375507.
366 2019-10-22 Tamar Christina <tamar.christina@arm.com>
369 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
370 Cherry-pick compiler-rt revision r375220.
372 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
374 * configure: Regenerate.
376 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
377 Mickaël Guêné <mickael.guene@st.com>
379 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
380 unsupported in this configuration.
382 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
384 * LOCAL_PATCHES: Add r274585.
386 2019-08-16 Iain Sandoe <iain@sandoe.co.uk>
388 * asan/asan_interceptors.h: Reapply r272406.
390 2019-08-15 Martin Liska <mliska@suse.cz>
392 * LOCAL_PATCHES: Add r274540
394 2019-08-15 Martin Liska <mliska@suse.cz>
396 * tsan/tsan_rtl_ppc64.S: Reapply.
398 2019-08-15 Iain Sandoe <iain@sandoe.co.uk>
401 * Makefile.in: Regenerated.
402 * aclocal.m4: Likewise.
403 * asan/Makefile.in: Likewise.
404 * configure: Likewise.
405 * interception/Makefile.in: Likewise.
406 * libbacktrace/Makefile.in: Likewise.
407 * lsan/Makefile.in: Likewise.
408 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
409 * sanitizer_common/Makefile.in: Regenerated.
410 * tsan/Makefile.in: Likewise.
411 * ubsan/Makefile.in: Likewise.
413 2019-08-14 Martin Liska <mliska@suse.cz>
415 * LOCAL_PATCHES: Refresh based on what was committed.
417 2019-08-14 Martin Liska <mliska@suse.cz>
419 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
421 (CheckODRViolationViaPoisoning): Likewise.
422 (RegisterGlobal): Likewise.
423 * asan/asan_mapping.h: Likewise.
424 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
425 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
426 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
427 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
428 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
429 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
430 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
431 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
432 (struct CFICheckFailData): Likewise.
433 (RECOVERABLE): Likewise.
434 * ubsan/ubsan_platform.h: Likewise.
436 2019-08-14 Martin Liska <mliska@suse.cz>
440 * All source files: Merge from upstream 368656.
442 2019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
444 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
445 compiler-rt revision 363778.
447 2019-06-18 Iain Sandoe <iain@sandoe.co.uk>
449 PR libsanitizer/87880
450 * asan/asan_interceptors.h:
451 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
452 * asan/Makefile.am (DEFS): Add
453 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
454 * asan/Makefile.in: Regenerated.
455 * asan/libtool-version: Bump version.
457 2019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
460 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
462 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
464 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
466 * configure: Regenerate.
468 2019-04-08 Martin Liska <mliska@suse.cz>
470 * LOCAL_PATCHES: Add revision.
472 2019-04-08 Martin Liska <mliska@suse.cz>
475 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
476 Reapply patch from r259664.
477 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
480 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
483 Merge from LLVM revision 355980
484 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
485 (kAllocatorSize): Likewise.
486 (DefaultSizeClassMap): Likewise.
487 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
488 (SHADOW_OFFSET): Define for SPARC.
489 Include asan_mapping_sparc64.h for SPARC 64-bit.
490 * asan/asan_mapping_sparc64.h: New file.
492 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
495 Merge from LLVM revision 355979
496 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
497 copy Global objects for SPARC with GCC.
499 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
502 Merge from LLVM revision 355978
503 * sanitizer_common/sanitizer_allocator_primary32.h
504 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
505 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
506 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
507 (ComputeRegionId): Likewise.
508 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
509 appropriate value for SPARC 64-bit.
510 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
512 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
514 2019-03-13 Eric Botcazou <ebotcazou@adacore.com>
517 Merge from LLVM revision 355965
518 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
520 (GetPcSpBp): Likewise.
521 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
523 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
524 Define to 1 for SPARC.
525 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
526 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
527 Adjust the PC address for SPARC with GCC.
529 2019-03-06 Martin Liska <mliska@suse.cz>
532 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
533 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
534 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
537 2019-02-20 H.J. Lu <hongjiu.lu@intel.com>
540 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
541 Cherry-pick compiler-rt r354451.
543 2019-01-23 Jonny Grant <jg@jguk.org>
546 * libsanitizer/README.gcc: Update to current https URLs.
548 2018-12-27 Martin Liska <mliska@suse.cz>
551 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
553 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
555 2018-11-09 Martin Liska <mliska@suse.cz>
557 * LOCAL_PATCHES: Include one local patch.
559 2018-11-09 Martin Liska <mliska@suse.cz>
562 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
563 1 when CPU_COUNT macro is not defined.
565 2018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
567 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
568 Disable ASLR for powerpc64 when using sanitizers.
570 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
573 * configure.tgt (sparc*-*-solaris2.11*): Enable.
574 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
576 2018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
579 * sanitizer_common/sanitizer_internal_defs.h,
580 sanitizer_common/sanitizer_platform_limits_solaris.h,
581 sanitizer_common/sanitizer_procmaps_solaris.cc,
582 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
584 * sanitizer_common/sanitizer_stacktrace.h,
585 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
586 compiler-rt revision 346155.
588 2018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
590 * LOCAL_PATCHES: Add r258525.
591 * sanitizer_common/sanitizer_stacktrace.cc
592 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
593 for PowerPC SYSV ABI.
595 2018-11-05 Martin Liska <mliska@suse.cz>
598 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
601 2018-10-31 Joseph Myers <joseph@codesourcery.com>
604 * Makefile.am: Include multilib.am.
605 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
606 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
607 interception/Makefile.in, libbacktrace/Makefile.in,
608 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
609 ubsan/Makefile.in: Regenerate.
611 2018-10-31 Martin Liska <mliska@suse.cz>
613 * LOCAL_PATCHES: Update to installed revisions.
615 2018-10-31 Martin Liska <mliska@suse.cz>
617 * ubsan/ubsan_platform.h: Add ifndef as we define it with
618 -DCAN_SANITIZE_UB CFLAGS.
620 2018-10-31 Martin Liska <mliska@suse.cz>
622 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
624 2018-10-31 Martin Liska <mliska@suse.cz>
626 * LOCAL_PATCHES: Update patch list.
627 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
628 patches from GCC's trunk.
629 (CheckODRViolationViaPoisoning): Likewise.
630 (RegisterGlobal): Likewise.
631 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
632 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
633 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
634 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
635 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
636 (struct CFICheckFailData): Likewise.
637 (RECOVERABLE): Likewise.
639 2018-10-31 Martin Liska <mliska@suse.cz>
641 * config.h.in: Regenerate.
642 * configure: Likewise.
643 * sanitizer_common/Makefile.am: Include new files, remove old
645 * sanitizer_common/Makefile.in: Regenerate.
646 * ubsan/Makefile.am: Include new files, remove old
648 * ubsan/Makefile.in: Likewise.
649 * asan/Makefile.am: Include new files.
650 * asan/Makefile.in: Regenerate.
652 2018-10-31 Martin Liska <mliska@suse.cz>
654 * All source files: Merge from upstream 345033.
656 2018-10-31 Martin Liska <mliska@suse.cz>
658 * HOWTO_MERGE: Enhance documentation.
659 * merge.sh: Add support for git as well.
661 2018-08-02 Martin Liska <mliska@suse.cz>
664 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
665 Cherry-pick compiler-rt revision 338606.
667 2018-08-01 Marek Polacek <polacek@redhat.com>
670 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
671 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
674 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
677 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
678 compiler-rt revision 337603.
679 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
682 2018-07-05 Jakub Jelinek <jakub@redhat.com>
685 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
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-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
699 * Makefile.am: Reorder libs.
700 * Makefile.in: Regenerate.
701 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
702 libsanitizer_ubsan.la.
703 * asan/Makefile.in: Regenerate.
704 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
705 * ubsan/Makefile.in: Regenerate.
707 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
710 * configure.ac: Check for lstat and readlink.
711 * configure, config.h.in: Rebuild.
713 2018-05-31 Matthias Klose <doko@ubuntu.com>
716 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
717 SIZEOF_STRUCT_USTAT for 32bit sparc.
719 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
722 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
723 include <sys/ustat.h> for Linux.
724 (SIZEOF_STRUCT_USTAT): New.
725 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
727 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
729 * configure.tgt <mips*-*-linux*>: Enable build, excluding
732 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
733 take the shortcut to #include <sys/stat.h> for MIPS instead of
734 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
735 or wrong to get the kernel struct stat.
736 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
737 Correct the value for 32-bit non-android struct_kernel_stat_sz.
739 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
740 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
742 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
744 * configure: Regenerated.
746 2018-04-19 Jakub Jelinek <jakub@redhat.com>
748 * configure: Regenerated.
750 2018-04-18 David Malcolm <dmalcolm@redhat.com>
753 * configure: Regenerate.
755 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
758 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
759 from 0xa0000000000ULL to ~(uptr)0.
761 2018-03-19 Jakub Jelinek <jakub@redhat.com>
764 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
765 Define if not defined.
766 (DL_INTERNAL_FUNCTION): Don't define.
767 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
768 determine at runtime whether to use regparm(3), stdcall calling
769 convention for older glibcs or normal calling convention for
770 newer glibcs for call to _dl_get_tls_static_info.
772 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
774 * sanitizer_common/sanitizer_stacktrace.cc
775 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
776 for PowerPC SYSV ABI.
778 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
781 * configure: Regenerate.
783 2018-02-05 Martin Liska <mliska@suse.cz>
785 * asan/asan_flags.inc: Cherry-pick upstream r323995.
786 * asan/asan_report.cc (CheckForInvalidPointerPair):
787 Cherry-pick upstream r323995.
789 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
792 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
795 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
798 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
800 2017-12-05 Martin Liska <mliska@suse.cz>
801 Jakub Jelinek <jakub@redhat.com>
803 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
804 * asan/asan_descriptions.h: Likewise.
805 * asan/asan_report.cc: Likewise.
806 * asan/asan_thread.cc: Likewise.
807 * asan/asan_thread.h: Likewise.
809 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
811 * acinclude.m4: Add enable.m4 and cet.m4.
812 * Makefile.in: Regenerate.
813 * asan/Makefile.am: Update AM_CXXFLAGS.
814 * asan/Makefile.in: Regenerate.
815 * configure: Likewise.
816 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
817 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
818 * interception/Makefile.am: Update AM_CXXFLAGS.
819 * interception/Makefile.in: Regenerate.
820 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
821 * libbacktrace/Makefile.in: Regenerate.
822 * lsan/Makefile.am: Update AM_CXXFLAGS.
823 * lsan/Makefile.in: Regenerate.
824 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
826 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
827 Add _CET_ENDBR macro.
828 * sanitizer_common/Makefile.in: Regenerate.
829 * tsan/Makefile.am: Update AM_CXXFLAGS.
830 * tsan/Makefile.in: Regenerate.
831 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
832 * ubsan/Makefile.am: Update AM_CXXFLAGS.
833 * ubsan/Makefile.in: Regenerate.
835 2017-11-08 Jakub Jelinek <jakub@redhat.com>
838 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
839 and ubsan_signals_standalone.cc.
840 * ubsan/Makefile.in: Regenerated.
842 2017-11-05 Tom de Vries <tom@codesourcery.com>
845 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
847 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
849 2017-10-20 Jakub Jelinek <jakub@redhat.com>
852 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
853 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
855 (lsan_files): Remove lsan_preinit.cc.
856 (liblsan_preinit.o): New rule.
857 * lsan/Makefile.in: Regenerated.
859 2017-10-19 Jakub Jelinek <jakub@redhat.com>
861 * All source files: Merge from upstream 315899.
862 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
863 include/sanitizer/tsan_interface.h.
864 * asan/libtool-version: Bump the libasan SONAME.
865 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
866 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
867 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
868 sancov_flags.cc, sanitizer_allocator_checks.cc,
869 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
870 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
871 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
872 and sanitizer_coverage_mapping_libcdep.cc.
873 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
874 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
875 (ubsan_files): Add ubsan_init_standalone.cc and
876 ubsan_signals_standalone.cc.
877 * ubsan/libtool-version: Bump the libubsan SONAME.
878 * asan/Makefile.in: Regenerate.
879 * lsan/Makefile.in: Regenerate.
880 * sanitizer_common/Makefile.in: Regenerate.
881 * tsan/Makefile.in: Regenerate.
882 * ubsan/Makefile.in: Regenerate.
884 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
887 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
888 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
890 2017-10-02 Jakub Jelinek <jakub@redhat.com>
892 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
895 2017-08-07 Jakub Jelinek <jakub@redhat.com>
897 * include/system/sys/ptrace.h: New file.
899 2017-07-28 Jakub Jelinek <jakub@redhat.com>
902 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
903 * ubsan/ubsan_checks.inc: Likewise.
904 * ubsan/ubsan_handlers.h: Likewise.
906 2017-07-14 Jakub Jelinek <jakub@redhat.com>
909 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
910 * sanitizer_common/sanitizer_linux.cc: Likewise.
911 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
912 * tsan/tsan_platform_linux.cc: Likewise.
914 2017-04-06 Martin Liska <mliska@suse.cz>
917 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
918 Cherry-pick upstream r299036.
920 2017-03-22 Jakub Jelinek <jakub@redhat.com>
923 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
925 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
928 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
931 2017-02-11 Jakub Jelinek <jakub@redhat.com>
934 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
936 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
938 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
940 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
943 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
946 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
947 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
949 2017-01-31 Jakub Jelinek <jakub@redhat.com>
951 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
953 2017-01-24 Jakub Jelinek <jakub@redhat.com>
955 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
958 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
959 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
961 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
962 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
963 * tsan/tsan_ppc_regs.h: Likewise.
964 * tsan/tsan_rtl_aarch64.S: Likewise.
965 * tsan/tsan_rtl_mips64.S: Likewise.
966 * tsan/tsan_rtl_ppc64.S: Likewise.
968 2017-01-21 Jakub Jelinek <jakub@redhat.com>
971 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
972 instead of cat to get version from BASE-VER file.
973 * asan/Makefile.am (gcc_version): Likewise.
974 * ubsan/Makefile.am (gcc_version): Likewise.
975 * sanitizer_common/Makefile.am (gcc_version): Likewise.
976 * lsan/Makefile.am (gcc_version): Likewise.
977 * tsan/Makefile.am (gcc_version): Likewise.
978 * interception/Makefile.in: Regenerated.
979 * asan/Makefile.in: Regenerated.
980 * ubsan/Makefile.in: Regenerated.
981 * sanitizer_common/Makefile.in: Regenerated.
982 * lsan/Makefile.in: Regenerated.
983 * tsan/Makefile.in: Regenerated.
985 2017-01-17 Jakub Jelinek <jakub@redhat.com>
988 * configure.ac: Add GCC_BASE_VER.
989 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
990 get version from BASE-VER file.
991 * libbacktrace/Makefile.in: Regenerated.
992 * interception/Makefile.in: Regenerated.
993 * asan/Makefile.in: Regenerated.
994 * ubsan/Makefile.in: Regenerated.
995 * configure: Regenerated.
996 * sanitizer_common/Makefile.in: Regenerated.
997 * lsan/Makefile.in: Regenerated.
998 * Makefile.in: Regenerated.
999 * tsan/Makefile.in: Regenerated.
1001 2017-01-10 James Clarke <jrtc27@jrtc27.com>
1004 * sanitizer_common/sanitizer_platform_limits_posix.h
1005 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1007 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1009 * LOCAL_PATCHES: Add revision.
1011 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
1014 * sanitizer_common/sanitizer_platform_limits_posix.h
1015 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1018 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1020 * LOCAL_PATCHES: Remove r242480.
1022 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1024 * LOCAL_PATCHES: Add revision.
1026 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
1029 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1030 compiler supports blocks extension.
1032 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1034 * LOCAL_PATCHES: Add revision.
1036 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
1039 * tsan/tsan_rtl.cc: Add missing attribute.
1041 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1043 * LOCAL_PATCHES: New file.
1045 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
1048 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1049 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
1050 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1051 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1053 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1054 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1055 (__ubsan_handle_cfi_bad_type): Export function.
1056 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1057 * HOWTO_MERGE: Update documentation.
1059 2016-11-15 Matthias Klose <doko@ubuntu.com>
1061 * configure: Regenerate.
1063 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1065 * asan/asan_globals.cc (RegisterGlobal): Do not call
1066 CheckODRViolationViaPoisoning.
1067 (CheckODRViolationViaPoisoning): Remove.
1069 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1071 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1072 compiled code with GCC when extracting the caller PC for ARM if no
1073 valid frame pointer is available.
1075 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1079 2014-10-14 David S. Miller <davem@davemloft.net>
1081 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1082 Define at __kernel_time_t, as needed for sparc.
1083 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1084 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1085 (__sanitizer): Define struct___old_kernel_stat_sz,
1086 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1087 (__sanitizer_ipc_perm): Adjust for sparc targets.
1088 (__sanitizer_shmid_ds): Likewsie.
1089 (__sanitizer_sigaction): Likewise.
1090 (IOC_SIZE): Likewsie.
1092 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
1094 * All source files: Merge from upstream 285547.
1095 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1097 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1098 * asan/Makefile.am (asan_files): Add new files.
1099 * asan/Makefile.in: Regenerate.
1100 * ubsan/Makefile.in: Likewise.
1101 * lsan/Makefile.in: Likewise.
1102 * tsan/Makefile.am (tsan_files): Add new files.
1103 * tsan/Makefile.in: Regenerate.
1104 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1105 (EXTRA_libsanitizer_common_la_SOURCES): Define.
1106 (libsanitizer_common_la_LIBADD): Likewise.
1107 (libsanitizer_common_la_DEPENDENCIES): Likewise.
1108 * sanitizer_common/Makefile.in: Regenerate.
1109 * interception/Makefile.in: Likewise.
1110 * libbacktace/Makefile.in: Likewise.
1111 * Makefile.in: Likewise.
1112 * configure: Likewise.
1113 * merge.sh: Handle builtins/assembly.h merging.
1114 * builtins/assembly.h: New file.
1115 * asan/libtool-version: Bump the libasan SONAME.
1117 2016-09-21 Jakub Jelinek <jakub@redhat.com>
1120 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1122 2016-09-05 Jakub Jelinek <jakub@redhat.com>
1125 * asan/asan_globals.cc: Cherry-pick upstream r280657.
1127 2016-08-12 Jakub Jelinek <jakub@redhat.com>
1130 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1131 * tsan/tsan_rtl_aarch64.S: Likewise.
1133 2016-07-23 Alan Modra <amodra@gmail.com>
1135 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
1136 * configure.ac: Don't substitute OBSTACK_DEFS.
1137 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1138 * tsan/Makefile.am: Likewise.
1139 * configure: Regenerate.
1140 * Makefile.in: Regenerate.
1141 * asan/Makefile.in: Regenerate.
1142 * interception/Makefile.in: Regenerate.
1143 * libbacktrace/Makefile.in: Regenerate.
1144 * lsan/Makefile.in: Regenerate.
1145 * sanitizer_common/Makefile.in: Regenerate.
1146 * tsan/Makefile.in: Regenerate.
1147 * ubsan/Makefile.in: Regenerate.
1149 2016-05-17 Jakub Jelinek <jakub@redhat.com>
1152 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1155 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
1158 * asan/asan_mac.cc: Cherry pick upstream r266868.
1160 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1163 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1164 InitializeInterceptors): Cherry pick upstream r258119.
1166 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
1168 * configure.ac: Replace the hard-coded -ldl requirement for
1169 link_sanitizer_common with a configure time check for -ldl.
1170 * configure: Regenerate.
1172 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1174 * include/system/linux/asm/ptrace.h: Move to ...
1175 * include/system/asm/ptrace.h: ... this.
1177 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1179 * include/system/linux/asm/ptrace.h: New header.
1181 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1183 * All source files: Merge from upstream r253555.
1184 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1185 dependences for TSan for aarch64-*-linux* targets.
1186 * tsan/Makefile.am: Add new source files.
1187 * configure: Regenerate.
1188 * tsan/Makefile.in: Likewise.
1190 2015-11-09 Alan Modra <amodra@gmail.com>
1192 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1193 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1195 * configure.ac: Substitute OBSTACK_DEFS.
1196 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1197 * tsan/Makefile.am: Likewise.
1198 * configure: Regenerate.
1199 * Makefile.in: Regenerate.
1200 * asan/Makefile.in: Regenerate.
1201 * interception/Makefile.in: Regenerate.
1202 * libbacktrace/Makefile.in: Regenerate.
1203 * lsan/Makefile.in: Regenerate.
1204 * sanitizer_common/Makefile.in: Regenerate.
1205 * tsan/Makefile.in: Regenerate.
1206 * ubsan/Makefile.in: Regenerate.
1208 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1211 * configure.ac (link_sanitizer_common): Link against librt only if it
1212 contains shm_open, required by sanitizers.
1213 (CXX_ABI_NEEDED): Remove variable.
1214 * configure: Regenerate.
1215 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1216 * ubsan/Makefile.in: Regenerate.
1218 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1220 * HOWTO_MERGE: New file.
1222 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1224 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1225 compiled code with GCC when extracting the caller PC for ARM if no
1226 valid frame pointer is available.
1228 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1232 2015-02-20 Jakub Jelinek <jakub@redhat.com>
1234 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1235 support until it is rewritten upstream.
1237 * c-c++-common/asan/pr63888.c: New test.
1239 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1243 2014-10-14 David S. Miller <davem@davemloft.net>
1245 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1246 Define at __kernel_time_t, as needed for sparc.
1247 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1248 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1249 (__sanitizer): Define struct___old_kernel_stat_sz,
1250 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1251 (__sanitizer_ipc_perm): Adjust for sparc targets.
1252 (__sanitizer_shmid_ds): Likewsie.
1253 (__sanitizer_sigaction): Likewise.
1254 (IOC_SIZE): Likewsie.
1256 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1258 * All source files: Merge from upstream r250806.
1259 * configure.ac (link_sanitizer_common): Add -lrt flag.
1260 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1261 Set USE_CXX_ABI_FLAG=true for darwin.
1262 * asan/Makefile.am (asan_files): Add new files.
1263 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1264 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1265 * asan/Makefile.in: Regenerate.
1266 * ubsan/Makefile.am (ubsan_files): Add new files.
1267 (DEFS): Add DCAN_SANITIZE_UB=1.
1268 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1269 * ubsan/Makefile.in: Regenerate.
1270 * tsan/Makefile.am (tsan_files): Add new files.
1271 (DEFS): Add DCAN_SANITIZE_UB=0.
1272 * tsan/Makefile.in: Regenerate.
1273 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1274 * sanitizer_common/Makefile.in: Regenerate.
1275 * asan/libtool-version: Bump the libasan SONAME.
1277 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1280 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1282 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1285 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1288 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1291 * sanitizer_common/sanitizer_stacktrace.cc
1292 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1293 find the link register at an offset of 16 from the base of the
1294 caller's stack frame.
1296 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1298 * Makefile.in: Regenerated with automake-1.11.6.
1299 * aclocal.m4: Likewise.
1300 * asan/Makefile.in: Likewise.
1301 * configure: Likewise.
1302 * interception/Makefile.in: Likewise.
1303 * libbacktrace/Makefile.in: Likewise.
1304 * lsan/Makefile.in: Likewise.
1305 * sanitizer_common/Makefile.in: Likewise.
1306 * tsan/Makefile.in: Likewise.
1307 * ubsan/Makefile.in: Likewise.
1309 2015-04-13 Yury Gribov <y.gribov@samsung.com>
1312 * sanitizer_common/sanitizer_platform.h: Cherry pick
1314 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1315 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1316 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1317 * Makefile.in: Regenerate.
1318 * asan/Makefile.in: Regenerate.
1319 * config.h.in: Regenerate.
1320 * configure: Regenerate.
1321 * interception/Makefile.in: Regenerate.
1322 * libbacktrace/Makefile.in: Regenerate.
1323 * lsan/Makefile.in: Regenerate.
1324 * sanitizer_common/Makefile.in: Regenerate.
1325 * tsan/Makefile.in: Regenerate.
1326 * ubsan/Makefile.in: Regenerate.
1329 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1332 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1334 * sanitizer_common/sanitizer_platform.h: Likewise.
1335 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1337 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1339 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1340 upstream 224508 and 224755.
1342 2015-03-09 Jakub Jelinek <jakub@redhat.com>
1346 2014-10-14 David S. Miller <davem@davemloft.net>
1348 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1349 Define at __kernel_time_t, as needed for sparc.
1350 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1351 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1352 (__sanitizer): Define struct___old_kernel_stat_sz,
1353 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1354 (__sanitizer_ipc_perm): Adjust for sparc targets.
1355 (__sanitizer_shmid_ds): Likewsie.
1356 (__sanitizer_sigaction): Likewise.
1357 (IOC_SIZE): Likewsie.
1359 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1361 * configure.tgt: Enable build on powerpc*le-*-linux.
1363 2015-02-23 Jakub Jelinek <jakub@redhat.com>
1366 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1367 support until it is rewritten upstream.
1369 2015-01-26 Matthias Klose <doko@ubuntu.com>
1371 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1372 * configure: Regenerate.
1374 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1376 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1377 * configure: Regenerate.
1378 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1380 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1382 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1383 * configure: Regenerate.
1384 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1385 (libtsan_la_DEPENDENCIES): Likewise.
1386 * Makefile.in: Regenerate.
1387 * asan/Makefile.in: Regenerate.
1388 * interception/Makefile.in: Regenerate.
1389 * libbacktrace/Makefile.in: Regenerate.
1390 * lsan/Makefile.in: Regenerate.
1391 * sanitizer_common/Makefile.in: Regenerate.
1392 * tsan/Makefile.in: Regenerate.
1393 * ubsan/Makefile.in: Regenerate.
1395 2015-01-22 Jakub Jelinek <jakub@redhat.com>
1397 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1399 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1402 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1404 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1405 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1407 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1410 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1412 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1415 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1418 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1420 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1421 upstream r224518 and r224519.
1422 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1425 2014-12-16 Jakub Jelinek <jakub@redhat.com>
1427 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1428 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1429 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1432 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1435 * configure: Regenerated.
1437 2014-11-21 Jakub Jelinek <jakub@redhat.com>
1440 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1441 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1443 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
1445 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1446 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1447 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1448 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1449 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1450 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1451 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1452 * sanitizer_common/Makefile.in: Regenerate.
1453 * asan/Makefile.in: Ditto.
1454 * lsan/Makefile.in: Ditto.
1455 * interception/Makefile.in: Ditto.
1456 * tsan/Makefile.in: Ditto.
1457 * libbacktrace/Makefile.in: Ditto.
1458 * ubsan/Makefile.in: Ditto.
1460 2014-11-13 Kostya Serebryany <kcc@google.com>
1462 * All source files: Merge from upstream r221802.
1463 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1464 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1465 with 'start' to follow the new interface.
1466 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1467 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1468 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1469 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1470 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1472 (AM_CXXFLAGS): Added -std=c++11.
1473 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1474 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1475 * asan/Makefile.in: Regenerate.
1476 * interception/Makefile.in: Regenerate.
1477 * libbacktrace/Makefile.in: Regenerate.
1478 * lsan/Makefile.in: Regenerate.
1479 * sanitizer_common/Makefile.in: Regenerate.
1480 * tsan/Makefile.in: Regenerate.
1481 * ubsan/Makefile.in: Regenerate.
1483 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1486 * configure: Regenerate.
1488 2014-10-16 Martin Liska <mliska@suse.cz>
1490 * asan/Makefile.am: IPA ICF pass is disabled.
1491 * asan/Makefile.in: Likewise.
1493 2014-10-14 David S. Miller <davem@davemloft.net>
1495 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1496 Define at __kernel_time_t, as needed for sparc.
1497 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1498 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1499 (__sanitizer): Define struct___old_kernel_stat_sz,
1500 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1501 (__sanitizer_ipc_perm): Adjust for sparc targets.
1502 (__sanitizer_shmid_ds): Likewsie.
1503 (__sanitizer_sigaction): Likewsie.
1504 (IOC_SIZE): Likewsie.
1506 2014-10-14 Jakub Jelinek <jakub@redhat.com>
1508 * ubsan/Makefile.am (DEFS): Add -DPIC.
1509 * ubsan/Makefile.in: Regenerated.
1511 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1513 * configure.tgt: Enable build on aarch64*-linux.
1515 2014-09-19 Kostya Serebryany <kcc@google.com>
1517 * All source files: Merge from upstream r218156.
1518 * asan/Makefile.am (asan_files): Added new files.
1519 * asan/Makefile.in: Regenerate.
1520 * ubsan/Makefile.am (ubsan_files): Added new files.
1521 * ubsan/Makefile.in: Regenerate.
1522 * tsan/Makefile.am (tsan_files): Added new files.
1523 * tsan/Makefile.in: Regenerate.
1524 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1526 * sanitizer_common/Makefile.in: Regenerate.
1527 * asan/libtool-version: Bump the libasan SONAME.
1529 2014-09-10 Jakub Jelinek <jakub@redhat.com>
1531 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1532 upstream r215485, r217389, r217391 and r217400.
1534 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1536 * sanitizer_common/sanitizer_common_interceptors.inc:
1537 Cherry pick upstream r211008.
1539 2014-06-11 Richard Biener <rguenther@suse.de>
1541 * asan/asan_linux.cc: Cherry pick upstream r210012.
1543 2014-05-30 Jakub Jelinek <jakub@redhat.com>
1545 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1547 * sanitizer_common/sanitizer_common.h: Likewise.
1548 * asan/asan_mapping.h: Likewise.
1549 * asan/asan_linux.cc: Likewise.
1550 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1551 * sanitizer_common/sanitizer_allocator.h: Likewise.
1553 2014-05-23 Marek Polacek <polacek@redhat.com>
1555 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1556 floating-point types.
1558 2014-05-22 Kostya Serebryany <kcc@google.com>
1560 * All source files: Merge from upstream r209283.
1561 * asan/Makefile.am (asan_files): Added new files.
1562 * asan/Makefile.in: Regenerate.
1563 * tsan/Makefile.am (tsan_files): Added new files.
1564 * tsan/Makefile.in: Regenerate.
1565 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1567 * sanitizer_common/Makefile.in: Regenerate.
1569 2014-05-14 Yury Gribov <y.gribov@samsung.com>
1572 * Makefile.am (nodist_saninclude_HEADERS): Install
1574 * Makefile.in: Regenerate.
1576 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1578 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1579 Add ../../libbacktrace/sort.c.
1580 * libbacktrace/Makefile.in: Regenerate.
1581 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1583 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1585 * configure.tgt: Unsupported for little endian PowerPC for now.
1587 2014-02-04 Jakub Jelinek <jakub@redhat.com>
1590 * tsan/tsan_flags.cc (__tsan_default_options): Add
1591 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1592 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1595 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1596 sanitizer_atomic.h and unistd.h.
1597 (kThreadDescriptorSize): Made static, remove initializer and const,
1598 change type to atomic_uintptr_t.
1599 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1600 query glibc version, compute kThreadDescriptorSize depending on
1601 glibc version minor number.
1602 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1603 kThreadDescriptorSize directly.
1605 2014-01-23 Yury Gribov <y.gribov@samsung.com>
1606 Jakub Jelinek <jakub@redhat.com>
1609 * configure.ac: Check for missing syscalls.
1610 * Makefile.am: Likewise.
1611 * configure: Regenerate.
1612 * Makefile.in: Regenerate.
1614 2014-01-09 Jakub Jelinek <jakub@redhat.com>
1616 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1617 (LibbacktraceSymbolizer::Demangle): New declaration.
1618 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1619 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1621 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1622 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1623 (struct CplusV3DemangleData): New type.
1624 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1625 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1626 SymbolizeDataCallback): Use CplusV3Demangle.
1627 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1628 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1629 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1630 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1631 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1632 cplus_demangle_init_info, cplus_demangle_mangled_name,
1633 cplus_demangle_operators, cplus_demangle_print,
1634 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1635 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1636 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1638 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1639 (memcmp, strncmp): Redefine.
1640 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1641 ../../libiberty/cp-demangle.c.
1642 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1643 __asan_internal_strncmp): New functions.
1644 * sanitizer_common/Makefile.in: Regenerated.
1645 * libbacktrace/Makefile.in: Regenerated.
1646 * configure: Regenerated.
1647 * configure.ac: Regenerated.
1648 * config.h.in: Regenerated.
1650 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1651 -isystem $(top_srcdir)/include/system.
1652 * sanitizer_common/Makefile.in: Regenerated.
1653 * include/system/linux/aio_abi.h: New header.
1654 * include/system/linux/mroute.h: New header.
1655 * include/system/linux/mroute6.h: New header.
1656 * include/system/linux/perf_event.h: New header.
1657 * include/system/linux/types.h: New header.
1660 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1661 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1662 and -I/-include flags.
1663 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1664 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1665 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1666 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1667 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1668 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1670 * README.gcc: Document that also lsan and ubsan are
1671 maintained in compiler-rt upstream.
1672 * libbacktrace/Makefile.am: New file.
1673 * libbacktrace/backtrace-rename.h: New file.
1674 * libbacktrace/backtrace-supported.h.in: New file.
1675 * libbacktrace/bridge.cc: New file.
1676 * configure.ac: Add tests needed for libbacktrace build
1677 within libsanitizer.
1678 * sanitizer_common/Makefile.in: Regenerated.
1679 * lsan/Makefile.in: Regenerated.
1680 * tsan/Makefile.in: Regenerated.
1681 * ubsan/Makefile.in: Regenerated.
1682 * libbacktrace/Makefile.in: Generated.
1683 * config.h.in: Regenerated.
1684 * configure: Regenerated.
1685 * Makefile.in: Regenerated.
1686 * interception/Makefile.in: Regenerated.
1687 * asan/Makefile.in: Regenerated.
1688 * aclocal.m4: Regenerated.
1690 2013-12-19 Kostya Serebryany <kcc@google.com>
1692 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1693 workaround for missing definition of EOWNERDEAD, backport
1694 from upstream r196779.
1696 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1698 * sanitizer_common/sanitizer_platform_limits_posix.h
1699 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1700 (__sanitizer_clock_t): Use long long for x32.
1702 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1704 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1705 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1706 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1708 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1710 * configure.ac (link_sanitizer_common): Add -lm.
1711 * configure: Regenerated.
1713 2013-12-05 Kostya Serebryany <kcc@google.com>
1715 * All source files: Merge from upstream r196489.
1716 * merge.sh: Add *.S to the list of merged files.
1718 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1721 * Makefile.am (gcc_version): Added gcc_version.
1722 * Makefile.in: Regenerate.
1724 2013-12-05 Kostya Serebryany <kcc@google.com>
1726 * All source files: Merge from upstream r196090.
1727 * tsan/Makefile.am (tsan_files): Added new files.
1728 * tsan/Makefile.in: Regenerate.
1729 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1730 * sanitizer_common/Makefile.in: Regenerate.
1731 * lsan/Makefile.am (lsan_files): Added new files.
1732 * lsan/Makefile.in: Regenerate.
1734 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1735 Yury Gribov <y.gribov@samsung.com>
1738 * libsanitizer.spec.in: Add spec file to hold link flags for
1739 various sanitizer libs.
1740 * configure.ac: Check whether clock_* routines come from librt.
1741 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1743 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1744 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1745 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1746 * asan/Makefile.in: Regenerate.
1747 * interception/Makefile.in: Regenerate.
1748 * lsan/Makefile.in: Regenerate.
1749 * sanitizer_common/Makefile.in: Regenerate.
1750 * tsan/Makefile.in: Regenerate.
1751 * ubsan/Makefile.in: Regenerate.
1752 * Makefile.in: Regenerate.
1753 * configure: Regenerate.
1755 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1756 Yury Gribov <y.gribov@samsung.com>
1759 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1761 * ubsan/Makefile.in: Regenerated.
1763 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1766 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1767 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1768 * configure: Regenerated.
1769 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1770 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1771 * lsan/Makefile.in: Regenerated.
1773 2013-11-22 Mike Stump <mikestump@comcast.net>
1775 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1776 change from upstream to fix build.
1778 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1781 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1782 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1783 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1784 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1785 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1786 * asan/Makefile.in: Regenerate.
1787 * interception/Makefile.in: Regenerate.
1788 * tsan/Makefile.in: Regenerate.
1789 * lsan/Makefile.in: Regenerate.
1790 * sanitizer_common/Makefile.in: Regenerate.
1792 2013-11-15 Kostya Serebryany <kcc@google.com>
1795 Backport from upstream revision 194573
1796 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1797 back to the original functions in the common libsanitizer
1798 interceptors and the __cxa_atexit() interceptor on Darwin.
1800 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1803 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1804 ifdef out more source.
1806 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1808 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1809 ifdef out almost the whole source.
1810 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1812 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1815 * sanitizer_common/sanitizer_platform_limits_posix.cc
1816 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1819 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1822 * sanitizer_common/sanitizer_platform_limits_linux.cc
1823 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1825 * sanitizer_common/sanitizer_platform_limits_posix.h
1826 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1828 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1830 (__sanitizer___kernel_gid_t): Likewise.
1831 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1834 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1837 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1838 2 64-bit integers to save and restore fn and arg. Properly load
1839 newtls/child_tidptr into r8/r10.
1841 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1844 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1845 internal_munmap, internal_open, internal_read, internal_write,
1846 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1847 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1848 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1849 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1851 2013-11-04 Kostya Serebryany <kcc@google.com>
1853 * All source files: Merge from upstream r191666.
1854 * merge.sh: Added lsan.
1855 * configure.ac (AC_CONFIG_FILES): Added lsan.
1856 * Makefile.am (SUBDIRS): Added lsan.
1857 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1858 * asan/Makefile.am (asan_files): Added new files.
1859 (libasan_la_LIBADD): Added a dependency on lsan.
1860 * lsan/Makefile.am: New file.
1861 * asan/Makefile.in: Regenerate.
1862 * lsan/Makefile.in: Regenerate.
1863 * Makefile.in: Regenerate.
1864 * configure: Regenerate.
1865 * sanitizer_common/Makefile.in: Regenerate.
1867 2013-09-20 Alan Modra <amodra@gmail.com>
1869 * configure: Regenerate.
1871 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1873 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1874 libinterception.la for Darwin.
1875 * ubsan/Makefile.in: Regenerate.
1877 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1879 * Makefile.am (SUBDIRS): Add ubsan.
1880 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1881 * merge.sh: Merge ubsan.
1882 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1883 * sanitizer_common/sanitizer_printf.cc: Likewise.
1884 * sanitizer_common/sanitizer_common.h: Likewise.
1885 * ubsan: New directory. Import ubsan runtime from llvm.
1887 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1889 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1890 Cherry pick upstream r182922.
1892 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1894 * configure.tgt: Add ARM pattern.
1896 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1899 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1900 * Makefile.in: Regenerated.
1901 * asan/Makefile.in: Regenerated.
1902 * interception/Makefile.in: Regenerated.
1903 * sanitizer_common/Makefile.in: Regenerated.
1904 * tsan/Makefile.in: Regenerated.
1906 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1908 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1909 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1912 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1915 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1917 (libasan_preinit.o): Depend on asan_preinit.o.
1918 * asan/Makefile.in: Regenerated.
1919 * asan/asan_preinit.cc: New file, synced from upstream.
1920 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1922 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1924 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1925 dynamic/asan_interceptors_dynamic.cc.
1926 * asan/Makefile.in: Regenerated.
1927 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1929 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1931 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1932 defined. Add used attribute.
1934 2013-02-21 Kostya Serebryany <kcc@google.com>
1936 * All source files: Merge from upstream r175733.
1937 * sanitizer_common/Makefile.am: Added a new file.
1938 * sanitizer_common/Makefile.in: Regenerated.
1940 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1943 * interception/interception.h (OFF_T): Merged from upstream
1946 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1948 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1950 2013-02-13 Kostya Serebryany <kcc@google.com>
1953 * All source files: Merge from upstream r175049.
1954 * interception/Makefile.am: added include path.
1955 * interception/Makefile.in: Regenerated.
1957 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1959 * configure.tgt: Disable build on darwin9 and earlier.
1961 2013-01-23 Kostya Serebryany <kcc@google.com>
1964 * All source files: Merge from upstream r173241.
1965 * merge.sh: Support merging .inc files.
1967 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1969 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1970 -Wno-c99-extensions.
1971 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1972 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1973 * sanitizer_common/Makefile.in: Regenerated.
1974 * interception/Makefile.in: Regenerated.
1975 * asan/Makefile.in: Regenerated.
1977 2013-01-10 Wei Mi <wmi@google.com>
1980 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1981 * tsan/Makefile.in: Regenerated.
1982 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1984 2013-01-10 Kostya Serebryany <kcc@google.com>
1986 * All source files: Merge from upstream r171973.
1987 * sanitizer_common/Makefile.am: Added new files.
1988 * asan/Makefile.am: Likewise.
1989 * tsan/Makefile.am: Likewise.
1990 * sanitizer_common/Makefile.in: Regenerated.
1991 * asan/Makefile.in: Likewise.
1992 * tsan/Makefile.in: Likewise.
1994 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1996 * asan/Makefile.am (libasan_la_LIBADD): Replace
1997 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1998 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1999 * Makefile.in: Regenerated.
2000 * configure: Likewise.
2001 * asan/Makefile.in: Likewise.
2002 * interception/Makefile.in: Likewise.
2003 * sanitizer_common/Makefile.in: Likewise.
2004 * tsan/Makefile.in: Likewise.
2006 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2008 * Makefile.am (AM_MAKEFLAGS): Restored.
2009 * interception/Makefile.am: Likewise.
2010 * sanitizer_common/Makefile.am: Likewise.
2011 * tsan/Makefile.am: Likewise.
2012 * Makefile.in: Regenerated.
2013 * asan/Makefile.in: Likewise.
2014 * interception/Makefile.in: Likewise.
2015 * sanitizer_common/Makefile.in: Likewise.
2016 * tsan/Makefile.in: Likewise.
2018 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2020 * Makefile.am (MAKEOVERRIDES): Restored.
2021 * asan/Makefile.am: Likewise.
2022 * interception/Makefile.am: Likewise.
2023 * sanitizer_common/Makefile.am: Likewise.
2024 * tsan/Makefile.am: Likewise.
2025 * Makefile.in: Regenerated.
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 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2034 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2035 * Makefile.in: Regenerated.
2036 * configure: Likewise.
2037 * asan/Makefile.in: Likewise.
2038 * interception/Makefile.in: Likewise.
2039 * sanitizer_common/Makefile.in: Likewise.
2040 * tsan/Makefile.in: Likewise.
2042 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
2044 * Makefile.am (AM_MAKEFLAGS): Removed.
2045 (MAKEOVERRIDES): Likewise.
2046 * asan/Makefile.am: Likewise.
2047 * interception/Makefile.am: Likewise.
2048 * sanitizer_common/Makefile.am: Likewise.
2049 * tsan/Makefile.am: Likewise.
2050 * Makefile.in: Regenerated.
2051 * asan/Makefile.in: Likewise.
2052 * interception/Makefile.in: Likewise.
2053 * sanitizer_common/Makefile.in: Likewise.
2054 * tsan/Makefile.in: Likewise.
2056 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
2059 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2060 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2061 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2062 (AM_MAKEFLAGS): Remove CC and CXX.
2063 * interception/Makefile.am: Likewise.
2064 * sanitizer_common/Makefile.am: Likewise.
2065 * tsan/Makefile.am: Likewise.
2066 * Makefile.in: Regenerated.
2067 * aclocal.m4: Likewise.
2068 * configure: Likewise.
2069 * asan/Makefile.in: Likewise.
2070 * interception/Makefile.in: Likewise.
2071 * sanitizer_common/Makefile.in: Likewise.
2072 * tsan/Makefile.in: Likewise.
2074 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
2076 * configure.tgt: Enable build on powerpc*-linux.
2078 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
2081 * configure.ac: Set enable_static=no on darwin.
2082 * configure: Regenerated.
2084 2012-12-06 Kostya Serebryany <kcc@google.com>
2086 * All files: Merge from upstream r169392.
2088 2012-12-05 Kostya Serebryany <kcc@google.com>
2090 * All files: Merge from upstream r169371.
2092 2012-12-04 Kostya Serebryany <kcc@google.com>
2093 Jack Howarth <howarth@bromo.med.uc.edu>
2096 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2097 * Makefile.am: Don't build interception subdir when
2098 USING_MAC_INTERPOSE defined.
2099 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2100 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2101 Compile asan_interceptors_dynamic.cc but not libinterception
2102 when USING_MAC_INTERPOSE defined.
2103 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2104 * configure: Regenerated.
2105 * Makefile.in: Likewise.
2106 * asan/Makefile.in: Likewise.
2107 * interception/Makefile.in: Likewise.
2108 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2109 * asan/asan_mac.cc: Likewise.
2110 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2111 and use MISSING_BLOCKS_SUPPORT.
2112 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2113 * interception/mach_override/LICENSE.txt: Remove unused file.
2114 * interception/mach_override/mach_override.c: Likewise.
2115 * interception/mach_override/mach_override.h: Likewise.
2116 * interception/mach_override: Remove unused directory.
2118 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2120 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2121 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2122 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2124 (AM_MAKEFLAGS): Restore CC and CXX.
2125 * interception/Makefile.am: Likewise.
2126 * sanitizer_common/Makefile.am: Likewise.
2127 * tsan/Makefile.am: Likewise.
2128 * Makefile.in: Regenerated.
2129 * aclocal.m4: Likewise.
2130 * configure: Likewise.
2131 * asan/Makefile.in: Likewise.
2132 * interception/Makefile.in: Likewise.
2133 * sanitizer_common/Makefile.in: Likewise.
2134 * tsan/Makefile.in: Likewise.
2136 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
2138 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2139 * configure.ac (ACX_NONCANONICAL_TARGET): New.
2140 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2142 (AM_MAKEFLAGS): Remove CC and CXX.
2143 * interception/Makefile.am: Likewise.
2144 * sanitizer_common/Makefile.am: Likewise.
2145 * tsan/Makefile.am: Likewise.
2146 * Makefile.in: Regenerated.
2147 * aclocal.m4: Likewise.
2148 * configure: Likewise.
2149 * asan/Makefile.in: Likewise.
2150 * interception/Makefile.in: Likewise.
2151 * sanitizer_common/Makefile.in: Likewise.
2152 * tsan/Makefile.in: Likewise.
2154 2012-11-27 Kostya Serebryany <kcc@google.com>
2156 * All files: Merge from upstream r168699.
2158 2012-11-24 Kostya Serebryany <kcc@google.com>
2159 Jack Howarth <howarth@bromo.med.uc.edu>
2161 * interception/mach_override/mach_override.c: Migrate from llvm.
2162 * interception/mach_override/mach_override.h: Likewise.
2163 * interception/mach_override/LICENSE.txt: Likewise.
2164 * configure.tgt: Add darwin to supported targets.
2165 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2166 * interception/Makefile.am: Compile mach_override.c when
2167 USING_MACH_OVERRIDE defined.
2168 * configure: Regenerated.
2169 * interception/Makefile.in: Likewise.
2171 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
2174 * tsan/Makefile.am (gcc_version): New.
2175 * tsan/Makefile.in: Regenerated.
2177 2012-11-23 Kostya Serebryany <kcc@google.com>
2179 * merge.sh: Support tsan, support added/removed files.
2180 * tsan/Makefile.am: Remove tsan_printf.cc.
2181 * tsan/Makefile.in: Regenerated.
2182 * other files: Merge from upstream r168514.
2184 2012-11-23 Kostya Serebryany <kcc@google.com>
2186 * merge.sh: New file.
2188 2012-11-23 Jakub Jelinek <jakub@redhat.com>
2190 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2191 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2192 automake conditional instead of !MULTISUBDIR32.
2193 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2194 for 64-bit multilib.
2195 * configure.ac: Check for void * size, source in configure.tgt,
2196 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2197 * configure: Regenerated.
2198 * Makefile.in: Regenerated.
2199 * tsan/Makefile.in: Regenerated.
2201 2012-11-22 Wei Mi <wmi@google.com>
2203 * tsan: New directory. Import tsan runtime from llvm.
2204 * configure.ac: Add 64 bits tsan build.
2205 * Makefile.am: Likewise.
2206 * configure: Regenerated.
2207 * Makefile.in: Likewise.
2209 2012-11-21 Kostya Serebryany <kcc@google.com>
2211 * README.gcc: Extend the README.gcc with mode details.
2213 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
2215 * sanitizer_common/sanitizer_linux.cc
2216 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2217 (internal_mmap): Use it.
2218 (internal_filesize): Likewise.
2220 2012-11-16 Tom Tromey <tromey@redhat.com>
2222 * configure.ac: Invoke AM_MAINTAINER_MODE.
2223 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2224 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2226 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2229 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2230 for hardware pointer.
2231 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2232 Replace uptr with uhwptr for stack unwind.
2234 2012-11-16 Dodji Seketeli <dodji@redhat.com>
2236 * configure.tgt: Enable build on sparc linux.
2238 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2240 * configure.ac: Properly set MULTISUBDIR.
2241 * asan/Makefile.am (gcc_version): New.
2242 * interception/Makefile.am (gcc_version): Likewise.
2243 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2244 * configure: Regenerated.
2245 * asan/Makefile.in: Likewise.
2246 * interception/Makefile.in: Likewise.
2247 * sanitizer_common/Makefile.in: Likewise.
2249 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2252 * configure.ac (--enable-version-specific-runtime-libs): New option.
2253 (AC_CANONICAL_SYSTEM): New.
2254 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2255 (toolexecdir): Support multilib.
2256 (toolexeclibdir): Likewise.
2257 (multilib_arg): New.
2258 * Makefile.in: Regenerated.
2259 * aclocal.m4: Likewise.
2260 * configure: Likewise.
2261 * asan/Makefile.in: Likewise.
2262 * interception/Makefile.in: Likewise.
2263 * sanitizer_common/Makefile.in: Likewise.
2265 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2268 Backport from upstream revision 167883
2269 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2270 __x86_64__ instead of __WORDSIZE.
2271 (internal_filesize): Likwise.
2273 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2275 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2276 * Makefile.in: Regenerated.
2277 * configure: Likewise.
2279 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2282 * acinclude.m4: New file.
2283 * Makefile.am (ACLOCAL_AMFLAGS): New.
2284 * configure.ac (AC_PREREQ): Set to 2.64.
2285 (AC_CONFIG_AUX_DIR): Set to "..".
2286 * Makefile.in: Regenerated.
2287 * aclocal.m4: Likewise.
2288 * configure: Likewise.
2289 * asan/Makefile.in: Likewise.
2290 * interception/Makefile.in: Likewise.
2291 * sanitizer_common/Makefile.in: Likewise.
2293 * config.guess: Removed.
2294 * config.sub: Likewise.
2295 * depcomp: Likewise.
2296 * install-sh: Likewise.
2297 * ltmain.sh: Likewise.
2298 * missing: Likewise.
2300 2012-11-13 Richard Henderson <rth@redhat.com>
2302 * configure.tgt: New file.
2304 2012-11-12 David S. Miller <davem@davemloft.net>
2306 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2308 2012-10-29 Wei Mi <wmi@google.com>
2310 Initial checkin: migrate asan runtime from llvm.