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