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