Debian Codegraph @

libsanitizer/ChangeLog

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