d93e7db9ee1d6ba09f9f4f3cc035bd9ece5b7de9
[gcc.git] / libsanitizer / ChangeLog
1 2018-10-31 Martin Liska <mliska@suse.cz>
2
3 * HOWTO_MERGE: Enhance documentation.
4 * merge.sh: Add support for git as well.
5
6 2018-08-02 Martin Liska <mliska@suse.cz>
7
8 PR sanitizer/86022
9 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
10 Cherry-pick compiler-rt revision 338606.
11
12 2018-08-01 Marek Polacek <polacek@redhat.com>
13
14 PR sanitizer/86759
15 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
16 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
17 319180.
18
19 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR target/86560
22 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
23 compiler-rt revision 337603.
24 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
25 Likewise.
26
27 2018-07-05 Jakub Jelinek <jakub@redhat.com>
28
29 Revert
30 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
31
32 PR sanitizer/84250
33 * Makefile.am: Reorder libs.
34 * Makefile.in: Regenerate.
35 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
36 libsanitizer_ubsan.la.
37 * asan/Makefile.in: Regenerate.
38 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
39 * ubsan/Makefile.in: Regenerate.
40
41 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
42
43 PR sanitizer/84250
44 * Makefile.am: Reorder libs.
45 * Makefile.in: Regenerate.
46 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
47 libsanitizer_ubsan.la.
48 * asan/Makefile.in: Regenerate.
49 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
50 * ubsan/Makefile.in: Regenerate.
51
52 2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
53
54 PR sanitizer/86090
55 * configure.ac: Check for lstat and readlink.
56 * configure, config.h.in: Rebuild.
57
58 2018-05-31 Matthias Klose <doko@ubuntu.com>
59
60 PR sanitizer/86012
61 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
62 SIZEOF_STRUCT_USTAT for 32bit sparc.
63
64 2018-05-24 H.J. Lu <hongjiu.lu@intel.com>
65
66 PR sanitizer/85835
67 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
68 include <sys/ustat.h> for Linux.
69 (SIZEOF_STRUCT_USTAT): New.
70 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
71
72 2018-04-26 Hans-Peter Nilsson <hp@axis.com>
73
74 * configure.tgt <mips*-*-linux*>: Enable build, excluding
75 mips*64*-*-linux*.
76
77 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
78 take the shortcut to #include <sys/stat.h> for MIPS instead of
79 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
80 or wrong to get the kernel struct stat.
81 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
82 Correct the value for 32-bit non-android struct_kernel_stat_sz.
83
84 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
85 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
86
87 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
88
89 * configure: Regenerated.
90
91 2018-04-19 Jakub Jelinek <jakub@redhat.com>
92
93 * configure: Regenerated.
94
95 2018-04-18 David Malcolm <dmalcolm@redhat.com>
96
97 PR jit/85384
98 * configure: Regenerate.
99
100 2018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
101
102 PR sanitizer/85389
103 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
104 from 0xa0000000000ULL to ~(uptr)0.
105
106 2018-03-19 Jakub Jelinek <jakub@redhat.com>
107
108 PR sanitizer/84761
109 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
110 Define if not defined.
111 (DL_INTERNAL_FUNCTION): Don't define.
112 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
113 determine at runtime whether to use regparm(3), stdcall calling
114 convention for older glibcs or normal calling convention for
115 newer glibcs for call to _dl_get_tls_static_info.
116
117 2018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
118
119 * sanitizer_common/sanitizer_stacktrace.cc
120 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
121 for PowerPC SYSV ABI.
122
123 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
124
125 PR target/84148
126 * configure: Regenerate.
127
128 2018-02-05 Martin Liska <mliska@suse.cz>
129
130 * asan/asan_flags.inc: Cherry-pick upstream r323995.
131 * asan/asan_report.cc (CheckForInvalidPointerPair):
132 Cherry-pick upstream r323995.
133
134 2018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
135
136 PR sanitizer/82825
137 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
138 r324284.
139
140 2018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
141
142 PR sanitizer/82824
143 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
144
145 2017-12-05 Martin Liska <mliska@suse.cz>
146 Jakub Jelinek <jakub@redhat.com>
147
148 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
149 * asan/asan_descriptions.h: Likewise.
150 * asan/asan_report.cc: Likewise.
151 * asan/asan_thread.cc: Likewise.
152 * asan/asan_thread.h: Likewise.
153
154 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
155
156 * acinclude.m4: Add enable.m4 and cet.m4.
157 * Makefile.in: Regenerate.
158 * asan/Makefile.am: Update AM_CXXFLAGS.
159 * asan/Makefile.in: Regenerate.
160 * configure: Likewise.
161 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
162 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
163 * interception/Makefile.am: Update AM_CXXFLAGS.
164 * interception/Makefile.in: Regenerate.
165 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
166 * libbacktrace/Makefile.in: Regenerate.
167 * lsan/Makefile.am: Update AM_CXXFLAGS.
168 * lsan/Makefile.in: Regenerate.
169 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
170 AM_CCASFLAGS.
171 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
172 Add _CET_ENDBR macro.
173 * sanitizer_common/Makefile.in: Regenerate.
174 * tsan/Makefile.am: Update AM_CXXFLAGS.
175 * tsan/Makefile.in: Regenerate.
176 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
177 * ubsan/Makefile.am: Update AM_CXXFLAGS.
178 * ubsan/Makefile.in: Regenerate.
179
180 2017-11-08 Jakub Jelinek <jakub@redhat.com>
181
182 PR bootstrap/82670
183 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
184 and ubsan_signals_standalone.cc.
185 * ubsan/Makefile.in: Regenerated.
186
187 2017-11-05 Tom de Vries <tom@codesourcery.com>
188
189 PR other/82784
190 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
191 "do {} while (0)".
192 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
193
194 2017-10-20 Jakub Jelinek <jakub@redhat.com>
195
196 PR sanitizer/82595
197 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
198 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
199 liblsan_preinit.o.
200 (lsan_files): Remove lsan_preinit.cc.
201 (liblsan_preinit.o): New rule.
202 * lsan/Makefile.in: Regenerated.
203
204 2017-10-19 Jakub Jelinek <jakub@redhat.com>
205
206 * All source files: Merge from upstream 315899.
207 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
208 include/sanitizer/tsan_interface.h.
209 * asan/libtool-version: Bump the libasan SONAME.
210 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
211 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
212 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
213 sancov_flags.cc, sanitizer_allocator_checks.cc,
214 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
215 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
216 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
217 and sanitizer_coverage_mapping_libcdep.cc.
218 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
219 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
220 (ubsan_files): Add ubsan_init_standalone.cc and
221 ubsan_signals_standalone.cc.
222 * ubsan/libtool-version: Bump the libubsan SONAME.
223 * asan/Makefile.in: Regenerate.
224 * lsan/Makefile.in: Regenerate.
225 * sanitizer_common/Makefile.in: Regenerate.
226 * tsan/Makefile.in: Regenerate.
227 * ubsan/Makefile.in: Regenerate.
228
229 2017-10-05 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR sanitizer/82379
232 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
233 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
234
235 2017-10-02 Jakub Jelinek <jakub@redhat.com>
236
237 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
238 Define.
239
240 2017-08-07 Jakub Jelinek <jakub@redhat.com>
241
242 * include/system/sys/ptrace.h: New file.
243
244 2017-07-28 Jakub Jelinek <jakub@redhat.com>
245
246 PR sanitizer/80998
247 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
248 * ubsan/ubsan_checks.inc: Likewise.
249 * ubsan/ubsan_handlers.h: Likewise.
250
251 2017-07-14 Jakub Jelinek <jakub@redhat.com>
252
253 PR sanitizer/81066
254 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
255 * sanitizer_common/sanitizer_linux.cc: Likewise.
256 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
257 * tsan/tsan_platform_linux.cc: Likewise.
258
259 2017-04-06 Martin Liska <mliska@suse.cz>
260
261 PR sanitizer/80166
262 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
263 Cherry-pick upstream r299036.
264
265 2017-03-22 Jakub Jelinek <jakub@redhat.com>
266
267 PR sanitizer/78158
268 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
269
270 2017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
271
272 PR sanitizer/79562
273 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
274 upstream r294806.
275
276 2017-02-11 Jakub Jelinek <jakub@redhat.com>
277
278 PR sanitizer/79341
279 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
280 s390-linux 31-bit.
281 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
282 r294793.
283 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
284 upstream r294790.
285 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
286 r294799.
287
288 2017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
289
290 PR sanitizer/78663
291 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
292 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
293
294 2017-01-31 Jakub Jelinek <jakub@redhat.com>
295
296 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
297
298 2017-01-24 Jakub Jelinek <jakub@redhat.com>
299
300 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
301
302 PR sanitizer/79168
303 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
304 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
305 text.
306 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
307 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
308 * tsan/tsan_ppc_regs.h: Likewise.
309 * tsan/tsan_rtl_aarch64.S: Likewise.
310 * tsan/tsan_rtl_mips64.S: Likewise.
311 * tsan/tsan_rtl_ppc64.S: Likewise.
312
313 2017-01-21 Jakub Jelinek <jakub@redhat.com>
314
315 PR other/79046
316 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
317 instead of cat to get version from BASE-VER file.
318 * asan/Makefile.am (gcc_version): Likewise.
319 * ubsan/Makefile.am (gcc_version): Likewise.
320 * sanitizer_common/Makefile.am (gcc_version): Likewise.
321 * lsan/Makefile.am (gcc_version): Likewise.
322 * tsan/Makefile.am (gcc_version): Likewise.
323 * interception/Makefile.in: Regenerated.
324 * asan/Makefile.in: Regenerated.
325 * ubsan/Makefile.in: Regenerated.
326 * sanitizer_common/Makefile.in: Regenerated.
327 * lsan/Makefile.in: Regenerated.
328 * tsan/Makefile.in: Regenerated.
329
330 2017-01-17 Jakub Jelinek <jakub@redhat.com>
331
332 PR other/79046
333 * configure.ac: Add GCC_BASE_VER.
334 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
335 get version from BASE-VER file.
336 * libbacktrace/Makefile.in: Regenerated.
337 * interception/Makefile.in: Regenerated.
338 * asan/Makefile.in: Regenerated.
339 * ubsan/Makefile.in: Regenerated.
340 * configure: Regenerated.
341 * sanitizer_common/Makefile.in: Regenerated.
342 * lsan/Makefile.in: Regenerated.
343 * Makefile.in: Regenerated.
344 * tsan/Makefile.in: Regenerated.
345
346 2017-01-10 James Clarke <jrtc27@jrtc27.com>
347
348 PR sanitizer/78992
349 * sanitizer_common/sanitizer_platform_limits_posix.h
350 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
351
352 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
353
354 * LOCAL_PATCHES: Add revision.
355
356 2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
357
358 PR sanitizer/78532
359 * sanitizer_common/sanitizer_platform_limits_posix.h
360 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
361 versions.
362
363 2016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
364
365 * LOCAL_PATCHES: Remove r242480.
366
367 2016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
368
369 * LOCAL_PATCHES: Add revision.
370
371 2016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
372
373 PR sanitizer/78267
374 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
375 compiler supports blocks extension.
376
377 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
378
379 * LOCAL_PATCHES: Add revision.
380
381 2016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
382
383 PR sanitizer/78294
384 * tsan/tsan_rtl.cc: Add missing attribute.
385
386 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
387
388 * LOCAL_PATCHES: New file.
389
390 2016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
391
392 PR sanitizer/78307
393 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
394 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
395 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
396 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
397 function.
398 (__ubsan_handle_cfi_bad_type_abort): Likewise.
399 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
400 (__ubsan_handle_cfi_bad_type): Export function.
401 (__ubsan_handle_cfi_bad_type_abort): Likewise.
402 * HOWTO_MERGE: Update documentation.
403
404 2016-11-15 Matthias Klose <doko@ubuntu.com>
405
406 * configure: Regenerate.
407
408 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
409
410 * asan/asan_globals.cc (RegisterGlobal): Do not call
411 CheckODRViolationViaPoisoning.
412 (CheckODRViolationViaPoisoning): Remove.
413
414 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
415
416 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
417 compiled code with GCC when extracting the caller PC for ARM if no
418 valid frame pointer is available.
419
420 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
421
422 PR sanitizer/63958
423 Reapply:
424 2014-10-14 David S. Miller <davem@davemloft.net>
425
426 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
427 Define at __kernel_time_t, as needed for sparc.
428 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
429 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
430 (__sanitizer): Define struct___old_kernel_stat_sz,
431 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
432 (__sanitizer_ipc_perm): Adjust for sparc targets.
433 (__sanitizer_shmid_ds): Likewsie.
434 (__sanitizer_sigaction): Likewise.
435 (IOC_SIZE): Likewsie.
436
437 2016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
438
439 * All source files: Merge from upstream 285547.
440 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
441 variable.
442 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
443 * asan/Makefile.am (asan_files): Add new files.
444 * asan/Makefile.in: Regenerate.
445 * ubsan/Makefile.in: Likewise.
446 * lsan/Makefile.in: Likewise.
447 * tsan/Makefile.am (tsan_files): Add new files.
448 * tsan/Makefile.in: Regenerate.
449 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
450 (EXTRA_libsanitizer_common_la_SOURCES): Define.
451 (libsanitizer_common_la_LIBADD): Likewise.
452 (libsanitizer_common_la_DEPENDENCIES): Likewise.
453 * sanitizer_common/Makefile.in: Regenerate.
454 * interception/Makefile.in: Likewise.
455 * libbacktace/Makefile.in: Likewise.
456 * Makefile.in: Likewise.
457 * configure: Likewise.
458 * merge.sh: Handle builtins/assembly.h merging.
459 * builtins/assembly.h: New file.
460 * asan/libtool-version: Bump the libasan SONAME.
461
462 2016-09-21 Jakub Jelinek <jakub@redhat.com>
463
464 PR sanitizer/77567
465 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
466
467 2016-09-05 Jakub Jelinek <jakub@redhat.com>
468
469 PR sanitizer/77396
470 * asan/asan_globals.cc: Cherry-pick upstream r280657.
471
472 2016-08-12 Jakub Jelinek <jakub@redhat.com>
473
474 PR sanitizer/71042
475 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
476 * tsan/tsan_rtl_aarch64.S: Likewise.
477
478 2016-07-23 Alan Modra <amodra@gmail.com>
479
480 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
481 * configure.ac: Don't substitute OBSTACK_DEFS.
482 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
483 * tsan/Makefile.am: Likewise.
484 * configure: Regenerate.
485 * Makefile.in: Regenerate.
486 * asan/Makefile.in: Regenerate.
487 * interception/Makefile.in: Regenerate.
488 * libbacktrace/Makefile.in: Regenerate.
489 * lsan/Makefile.in: Regenerate.
490 * sanitizer_common/Makefile.in: Regenerate.
491 * tsan/Makefile.in: Regenerate.
492 * ubsan/Makefile.in: Regenerate.
493
494 2016-05-17 Jakub Jelinek <jakub@redhat.com>
495
496 PR sanitizer/71160
497 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
498 and r269633.
499
500 2016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
501
502 PR sanitizer/70624
503 * asan/asan_mac.cc: Cherry pick upstream r266868.
504
505 2016-01-19 Jakub Jelinek <jakub@redhat.com>
506
507 PR sanitizer/68824
508 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
509 InitializeInterceptors): Cherry pick upstream r258119.
510
511 2016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
512
513 * configure.ac: Replace the hard-coded -ldl requirement for
514 link_sanitizer_common with a configure time check for -ldl.
515 * configure: Regenerate.
516
517 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
518
519 * include/system/linux/asm/ptrace.h: Move to ...
520 * include/system/asm/ptrace.h: ... this.
521
522 2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
523
524 * include/system/linux/asm/ptrace.h: New header.
525
526 2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
527
528 * All source files: Merge from upstream r253555.
529 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
530 dependences for TSan for aarch64-*-linux* targets.
531 * tsan/Makefile.am: Add new source files.
532 * configure: Regenerate.
533 * tsan/Makefile.in: Likewise.
534
535 2015-11-09 Alan Modra <amodra@gmail.com>
536
537 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
538 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
539 interceptors.
540 * configure.ac: Substitute OBSTACK_DEFS.
541 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
542 * tsan/Makefile.am: Likewise.
543 * configure: Regenerate.
544 * Makefile.in: Regenerate.
545 * asan/Makefile.in: Regenerate.
546 * interception/Makefile.in: Regenerate.
547 * libbacktrace/Makefile.in: Regenerate.
548 * lsan/Makefile.in: Regenerate.
549 * sanitizer_common/Makefile.in: Regenerate.
550 * tsan/Makefile.in: Regenerate.
551 * ubsan/Makefile.in: Regenerate.
552
553 2015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
554
555 PR bootstrap/68041
556 * configure.ac (link_sanitizer_common): Link against librt only if it
557 contains shm_open, required by sanitizers.
558 (CXX_ABI_NEEDED): Remove variable.
559 * configure: Regenerate.
560 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
561 * ubsan/Makefile.in: Regenerate.
562
563 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
564
565 * HOWTO_MERGE: New file.
566
567 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
568
569 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
570 compiled code with GCC when extracting the caller PC for ARM if no
571 valid frame pointer is available.
572
573 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
574
575 PR bootstrap/63888
576 Reapply:
577 2015-02-20 Jakub Jelinek <jakub@redhat.com>
578
579 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
580 support until it is rewritten upstream.
581
582 * c-c++-common/asan/pr63888.c: New test.
583
584 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
585
586 PR sanitizer/63958
587 Reapply:
588 2014-10-14 David S. Miller <davem@davemloft.net>
589
590 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
591 Define at __kernel_time_t, as needed for sparc.
592 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
593 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
594 (__sanitizer): Define struct___old_kernel_stat_sz,
595 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
596 (__sanitizer_ipc_perm): Adjust for sparc targets.
597 (__sanitizer_shmid_ds): Likewsie.
598 (__sanitizer_sigaction): Likewise.
599 (IOC_SIZE): Likewsie.
600
601 2015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
602
603 * All source files: Merge from upstream r250806.
604 * configure.ac (link_sanitizer_common): Add -lrt flag.
605 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
606 Set USE_CXX_ABI_FLAG=true for darwin.
607 * asan/Makefile.am (asan_files): Add new files.
608 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
609 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
610 * asan/Makefile.in: Regenerate.
611 * ubsan/Makefile.am (ubsan_files): Add new files.
612 (DEFS): Add DCAN_SANITIZE_UB=1.
613 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
614 * ubsan/Makefile.in: Regenerate.
615 * tsan/Makefile.am (tsan_files): Add new files.
616 (DEFS): Add DCAN_SANITIZE_UB=0.
617 * tsan/Makefile.in: Regenerate.
618 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
619 * sanitizer_common/Makefile.in: Regenerate.
620 * asan/libtool-version: Bump the libasan SONAME.
621
622 2015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
623
624 PR sanitizer/67258
625 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
626
627 2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
628
629 PR sanitizer/63927
630 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
631 for PowerPC.
632
633 2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
634
635 PR sanitizer/63927
636 * sanitizer_common/sanitizer_stacktrace.cc
637 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
638 find the link register at an offset of 16 from the base of the
639 caller's stack frame.
640
641 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
642
643 * Makefile.in: Regenerated with automake-1.11.6.
644 * aclocal.m4: Likewise.
645 * asan/Makefile.in: Likewise.
646 * configure: Likewise.
647 * interception/Makefile.in: Likewise.
648 * libbacktrace/Makefile.in: Likewise.
649 * lsan/Makefile.in: Likewise.
650 * sanitizer_common/Makefile.in: Likewise.
651 * tsan/Makefile.in: Likewise.
652 * ubsan/Makefile.in: Likewise.
653
654 2015-04-13 Yury Gribov <y.gribov@samsung.com>
655
656 PR sanitizer/64839
657 * sanitizer_common/sanitizer_platform.h: Cherry pick
658 upstream r234470.
659 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
660 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
661 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
662 * Makefile.in: Regenerate.
663 * asan/Makefile.in: Regenerate.
664 * config.h.in: Regenerate.
665 * configure: Regenerate.
666 * interception/Makefile.in: Regenerate.
667 * libbacktrace/Makefile.in: Regenerate.
668 * lsan/Makefile.in: Regenerate.
669 * sanitizer_common/Makefile.in: Regenerate.
670 * tsan/Makefile.in: Regenerate.
671 * ubsan/Makefile.in: Regenerate.
672
673
674 2015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
675
676 PR sanitizer/59009
677 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
678 upstream r230324.
679 * sanitizer_common/sanitizer_platform.h: Likewise.
680 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
681
682 2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
683
684 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
685 upstream 224508 and 224755.
686
687 2015-03-09 Jakub Jelinek <jakub@redhat.com>
688
689 PR sanitizer/63958
690 Reapply:
691 2014-10-14 David S. Miller <davem@davemloft.net>
692
693 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
694 Define at __kernel_time_t, as needed for sparc.
695 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
696 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
697 (__sanitizer): Define struct___old_kernel_stat_sz,
698 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
699 (__sanitizer_ipc_perm): Adjust for sparc targets.
700 (__sanitizer_shmid_ds): Likewsie.
701 (__sanitizer_sigaction): Likewise.
702 (IOC_SIZE): Likewsie.
703
704 2015-02-27 Peter Bergner <bergner@vnet.ibm.com>
705
706 * configure.tgt: Enable build on powerpc*le-*-linux.
707
708 2015-02-23 Jakub Jelinek <jakub@redhat.com>
709
710 PR bootstrap/63888
711 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
712 support until it is rewritten upstream.
713
714 2015-01-26 Matthias Klose <doko@ubuntu.com>
715
716 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
717 * configure: Regenerate.
718
719 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
720
721 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
722 * configure: Regenerate.
723 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
724
725 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
726
727 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
728 * configure: Regenerate.
729 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
730 (libtsan_la_DEPENDENCIES): Likewise.
731 * Makefile.in: Regenerate.
732 * asan/Makefile.in: Regenerate.
733 * interception/Makefile.in: Regenerate.
734 * libbacktrace/Makefile.in: Regenerate.
735 * lsan/Makefile.in: Regenerate.
736 * sanitizer_common/Makefile.in: Regenerate.
737 * tsan/Makefile.in: Regenerate.
738 * ubsan/Makefile.in: Regenerate.
739
740 2015-01-22 Jakub Jelinek <jakub@redhat.com>
741
742 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
743
744 2015-01-21 Jakub Jelinek <jakub@redhat.com>
745
746 PR sanitizer/64435
747 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
748 upstream r226637.
749 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
750 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
751
752 2015-01-20 Jakub Jelinek <jakub@redhat.com>
753
754 PR sanitizer/64632
755 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
756
757 2015-01-19 Jakub Jelinek <jakub@redhat.com>
758
759 PR sanitizer/64435
760 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
761 upstream r223925.
762
763 2015-01-13 Jakub Jelinek <jakub@redhat.com>
764
765 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
766 upstream r224518 and r224519.
767 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
768 r224834.
769
770 2014-12-16 Jakub Jelinek <jakub@redhat.com>
771
772 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
773 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
774 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
775 upstream r224308.
776
777 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
778
779 PR bootstrap/63784
780 * configure: Regenerated.
781
782 2014-11-21 Jakub Jelinek <jakub@redhat.com>
783
784 PR target/61137
785 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
786 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
787
788 2014-11-14 Uros Bizjak <ubizjak@gmail.com>
789
790 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
791 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
792 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
793 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
794 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
795 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
796 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
797 * sanitizer_common/Makefile.in: Regenerate.
798 * asan/Makefile.in: Ditto.
799 * lsan/Makefile.in: Ditto.
800 * interception/Makefile.in: Ditto.
801 * tsan/Makefile.in: Ditto.
802 * libbacktrace/Makefile.in: Ditto.
803 * ubsan/Makefile.in: Ditto.
804
805 2014-11-13 Kostya Serebryany <kcc@google.com>
806
807 * All source files: Merge from upstream r221802.
808 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
809 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
810 with 'start' to follow the new interface.
811 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
812 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
813 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
814 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
815 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
816 files.
817 (AM_CXXFLAGS): Added -std=c++11.
818 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
819 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
820 * asan/Makefile.in: Regenerate.
821 * interception/Makefile.in: Regenerate.
822 * libbacktrace/Makefile.in: Regenerate.
823 * lsan/Makefile.in: Regenerate.
824 * sanitizer_common/Makefile.in: Regenerate.
825 * tsan/Makefile.in: Regenerate.
826 * ubsan/Makefile.in: Regenerate.
827
828 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
829
830 PR target/63610
831 * configure: Regenerate.
832
833 2014-10-16 Martin Liska <mliska@suse.cz>
834
835 * asan/Makefile.am: IPA ICF pass is disabled.
836 * asan/Makefile.in: Likewise.
837
838 2014-10-14 David S. Miller <davem@davemloft.net>
839
840 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
841 Define at __kernel_time_t, as needed for sparc.
842 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
843 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
844 (__sanitizer): Define struct___old_kernel_stat_sz,
845 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
846 (__sanitizer_ipc_perm): Adjust for sparc targets.
847 (__sanitizer_shmid_ds): Likewsie.
848 (__sanitizer_sigaction): Likewsie.
849 (IOC_SIZE): Likewsie.
850
851 2014-10-14 Jakub Jelinek <jakub@redhat.com>
852
853 * ubsan/Makefile.am (DEFS): Add -DPIC.
854 * ubsan/Makefile.in: Regenerated.
855
856 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
857
858 * configure.tgt: Enable build on aarch64*-linux.
859
860 2014-09-19 Kostya Serebryany <kcc@google.com>
861
862 * All source files: Merge from upstream r218156.
863 * asan/Makefile.am (asan_files): Added new files.
864 * asan/Makefile.in: Regenerate.
865 * ubsan/Makefile.am (ubsan_files): Added new files.
866 * ubsan/Makefile.in: Regenerate.
867 * tsan/Makefile.am (tsan_files): Added new files.
868 * tsan/Makefile.in: Regenerate.
869 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
870 files.
871 * sanitizer_common/Makefile.in: Regenerate.
872 * asan/libtool-version: Bump the libasan SONAME.
873
874 2014-09-10 Jakub Jelinek <jakub@redhat.com>
875
876 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
877 upstream r215485, r217389, r217391 and r217400.
878
879 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
880
881 * sanitizer_common/sanitizer_common_interceptors.inc:
882 Cherry pick upstream r211008.
883
884 2014-06-11 Richard Biener <rguenther@suse.de>
885
886 * asan/asan_linux.cc: Cherry pick upstream r210012.
887
888 2014-05-30 Jakub Jelinek <jakub@redhat.com>
889
890 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
891 r209879.
892 * sanitizer_common/sanitizer_common.h: Likewise.
893 * asan/asan_mapping.h: Likewise.
894 * asan/asan_linux.cc: Likewise.
895 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
896 * sanitizer_common/sanitizer_allocator.h: Likewise.
897
898 2014-05-23 Marek Polacek <polacek@redhat.com>
899
900 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
901 floating-point types.
902
903 2014-05-22 Kostya Serebryany <kcc@google.com>
904
905 * All source files: Merge from upstream r209283.
906 * asan/Makefile.am (asan_files): Added new files.
907 * asan/Makefile.in: Regenerate.
908 * tsan/Makefile.am (tsan_files): Added new files.
909 * tsan/Makefile.in: Regenerate.
910 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
911 files.
912 * sanitizer_common/Makefile.in: Regenerate.
913
914 2014-05-14 Yury Gribov <y.gribov@samsung.com>
915
916 PR sanitizer/61100
917 * Makefile.am (nodist_saninclude_HEADERS): Install
918 public headers.
919 * Makefile.in: Regenerate.
920
921 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
922
923 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
924 Add ../../libbacktrace/sort.c.
925 * libbacktrace/Makefile.in: Regenerate.
926 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
927
928 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
929
930 * configure.tgt: Unsupported for little endian PowerPC for now.
931
932 2014-02-04 Jakub Jelinek <jakub@redhat.com>
933
934 PR sanitizer/60055
935 * tsan/tsan_flags.cc (__tsan_default_options): Add
936 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
937 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
938
939 PR sanitizer/60038
940 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
941 sanitizer_atomic.h and unistd.h.
942 (kThreadDescriptorSize): Made static, remove initializer and const,
943 change type to atomic_uintptr_t.
944 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
945 query glibc version, compute kThreadDescriptorSize depending on
946 glibc version minor number.
947 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
948 kThreadDescriptorSize directly.
949
950 2014-01-23 Yury Gribov <y.gribov@samsung.com>
951 Jakub Jelinek <jakub@redhat.com>
952
953 PR sanitizer/57316
954 * configure.ac: Check for missing syscalls.
955 * Makefile.am: Likewise.
956 * configure: Regenerate.
957 * Makefile.in: Regenerate.
958
959 2014-01-09 Jakub Jelinek <jakub@redhat.com>
960
961 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
962 (LibbacktraceSymbolizer::Demangle): New declaration.
963 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
964 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
965 method if possible.
966 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
967 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
968 (struct CplusV3DemangleData): New type.
969 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
970 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
971 SymbolizeDataCallback): Use CplusV3Demangle.
972 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
973 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
974 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
975 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
976 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
977 cplus_demangle_init_info, cplus_demangle_mangled_name,
978 cplus_demangle_operators, cplus_demangle_print,
979 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
980 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
981 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
982 Define.
983 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
984 (memcmp, strncmp): Redefine.
985 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
986 ../../libiberty/cp-demangle.c.
987 * libbacktrace/bridge.cc (__asan_internal_memcmp,
988 __asan_internal_strncmp): New functions.
989 * sanitizer_common/Makefile.in: Regenerated.
990 * libbacktrace/Makefile.in: Regenerated.
991 * configure: Regenerated.
992 * configure.ac: Regenerated.
993 * config.h.in: Regenerated.
994
995 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
996 -isystem $(top_srcdir)/include/system.
997 * sanitizer_common/Makefile.in: Regenerated.
998 * include/system/linux/aio_abi.h: New header.
999 * include/system/linux/mroute.h: New header.
1000 * include/system/linux/mroute6.h: New header.
1001 * include/system/linux/perf_event.h: New header.
1002 * include/system/linux/types.h: New header.
1003
1004 PR sanitizer/59136
1005 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1006 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1007 and -I/-include flags.
1008 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1009 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1010 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1011 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1012 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1013 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1014 libbacktrace.
1015 * README.gcc: Document that also lsan and ubsan are
1016 maintained in compiler-rt upstream.
1017 * libbacktrace/Makefile.am: New file.
1018 * libbacktrace/backtrace-rename.h: New file.
1019 * libbacktrace/backtrace-supported.h.in: New file.
1020 * libbacktrace/bridge.cc: New file.
1021 * configure.ac: Add tests needed for libbacktrace build
1022 within libsanitizer.
1023 * sanitizer_common/Makefile.in: Regenerated.
1024 * lsan/Makefile.in: Regenerated.
1025 * tsan/Makefile.in: Regenerated.
1026 * ubsan/Makefile.in: Regenerated.
1027 * libbacktrace/Makefile.in: Generated.
1028 * config.h.in: Regenerated.
1029 * configure: Regenerated.
1030 * Makefile.in: Regenerated.
1031 * interception/Makefile.in: Regenerated.
1032 * asan/Makefile.in: Regenerated.
1033 * aclocal.m4: Regenerated.
1034
1035 2013-12-19 Kostya Serebryany <kcc@google.com>
1036
1037 * sanitizer_common/sanitizer_platform_limits_posix.cc:
1038 workaround for missing definition of EOWNERDEAD, backport
1039 from upstream r196779.
1040
1041 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * sanitizer_common/sanitizer_platform_limits_posix.h
1044 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1045 (__sanitizer_clock_t): Use long long for x32.
1046
1047 2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1048
1049 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1050 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1051 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1052
1053 2013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 * configure.ac (link_sanitizer_common): Add -lm.
1056 * configure: Regenerated.
1057
1058 2013-12-05 Kostya Serebryany <kcc@google.com>
1059
1060 * All source files: Merge from upstream r196489.
1061 * merge.sh: Add *.S to the list of merged files.
1062
1063 2013-12-05 Yury Gribov <y.gribov@samsung.com>
1064
1065 PR sanitizer/59368
1066 * Makefile.am (gcc_version): Added gcc_version.
1067 * Makefile.in: Regenerate.
1068
1069 2013-12-05 Kostya Serebryany <kcc@google.com>
1070
1071 * All source files: Merge from upstream r196090.
1072 * tsan/Makefile.am (tsan_files): Added new files.
1073 * tsan/Makefile.in: Regenerate.
1074 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1075 * sanitizer_common/Makefile.in: Regenerate.
1076 * lsan/Makefile.am (lsan_files): Added new files.
1077 * lsan/Makefile.in: Regenerate.
1078
1079 2013-11-29 Jakub Jelinek <jakub@redhat.com>
1080 Yury Gribov <y.gribov@samsung.com>
1081
1082 PR sanitizer/59063
1083 * libsanitizer.spec.in: Add spec file to hold link flags for
1084 various sanitizer libs.
1085 * configure.ac: Check whether clock_* routines come from librt.
1086 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1087 configure.ac.
1088 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1089 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1090 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1091 * asan/Makefile.in: Regenerate.
1092 * interception/Makefile.in: Regenerate.
1093 * lsan/Makefile.in: Regenerate.
1094 * sanitizer_common/Makefile.in: Regenerate.
1095 * tsan/Makefile.in: Regenerate.
1096 * ubsan/Makefile.in: Regenerate.
1097 * Makefile.in: Regenerate.
1098 * configure: Regenerate.
1099
1100 2013-11-28 Jakub Jelinek <jakub@redhat.com>
1101 Yury Gribov <y.gribov@samsung.com>
1102
1103 PR sanitizer/59106
1104 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1105 don't need it.
1106 * ubsan/Makefile.in: Regenerated.
1107
1108 2013-11-22 Jakub Jelinek <jakub@redhat.com>
1109
1110 PR sanitizer/59061
1111 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1112 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1113 * configure: Regenerated.
1114 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1115 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1116 * lsan/Makefile.in: Regenerated.
1117
1118 2013-11-22 Mike Stump <mikestump@comcast.net>
1119
1120 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1121 change from upstream to fix build.
1122
1123 2013-11-18 Yury Gribov <y.gribov@samsung.com>
1124
1125 PR sanitizer/59106
1126 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1127 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1128 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1129 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1130 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1131 * asan/Makefile.in: Regenerate.
1132 * interception/Makefile.in: Regenerate.
1133 * tsan/Makefile.in: Regenerate.
1134 * lsan/Makefile.in: Regenerate.
1135 * sanitizer_common/Makefile.in: Regenerate.
1136
1137 2013-11-15 Kostya Serebryany <kcc@google.com>
1138
1139 PR sanitizer/58994
1140 Backport from upstream revision 194573
1141 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1142 back to the original functions in the common libsanitizer
1143 interceptors and the __cxa_atexit() interceptor on Darwin.
1144
1145 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1146
1147 PR sanitizer/59009
1148 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1149 ifdef out more source.
1150
1151 2013-11-12 Jakub Jelinek <jakub@redhat.com>
1152
1153 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1154 ifdef out almost the whole source.
1155 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1156
1157 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 PR sanitizer/59018
1160 * sanitizer_common/sanitizer_platform_limits_posix.cc
1161 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1162 defined.
1163
1164 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 PR sanitizer/59018
1167 * sanitizer_common/sanitizer_platform_limits_linux.cc
1168 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1169 defined.
1170 * sanitizer_common/sanitizer_platform_limits_posix.h
1171 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1172 defined.
1173 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1174 is defined.
1175 (__sanitizer___kernel_gid_t): Likewise.
1176 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1177 is defined.
1178
1179 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 PR sanitizer/59018
1182 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1183 2 64-bit integers to save and restore fn and arg. Properly load
1184 newtls/child_tidptr into r8/r10.
1185
1186 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1187
1188 PR sanitizer/59018
1189 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1190 internal_munmap, internal_open, internal_read, internal_write,
1191 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1192 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1193 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1194 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1195
1196 2013-11-04 Kostya Serebryany <kcc@google.com>
1197
1198 * All source files: Merge from upstream r191666.
1199 * merge.sh: Added lsan.
1200 * configure.ac (AC_CONFIG_FILES): Added lsan.
1201 * Makefile.am (SUBDIRS): Added lsan.
1202 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1203 * asan/Makefile.am (asan_files): Added new files.
1204 (libasan_la_LIBADD): Added a dependency on lsan.
1205 * lsan/Makefile.am: New file.
1206 * asan/Makefile.in: Regenerate.
1207 * lsan/Makefile.in: Regenerate.
1208 * Makefile.in: Regenerate.
1209 * configure: Regenerate.
1210 * sanitizer_common/Makefile.in: Regenerate.
1211
1212 2013-09-20 Alan Modra <amodra@gmail.com>
1213
1214 * configure: Regenerate.
1215
1216 2013-09-01 Iain Sandoe <iain@codesourcery.com>
1217
1218 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1219 libinterception.la for Darwin.
1220 * ubsan/Makefile.in: Regenerate.
1221
1222 2013-08-30 Jakub Jelinek <jakub@redhat.com>
1223
1224 * Makefile.am (SUBDIRS): Add ubsan.
1225 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1226 * merge.sh: Merge ubsan.
1227 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1228 * sanitizer_common/sanitizer_printf.cc: Likewise.
1229 * sanitizer_common/sanitizer_common.h: Likewise.
1230 * ubsan: New directory. Import ubsan runtime from llvm.
1231
1232 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1233
1234 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1235 Cherry pick upstream r182922.
1236
1237 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1238
1239 * configure.tgt: Add ARM pattern.
1240
1241 2013-03-22 Jakub Jelinek <jakub@redhat.com>
1242
1243 PR other/43620
1244 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1245 * Makefile.in: Regenerated.
1246 * asan/Makefile.in: Regenerated.
1247 * interception/Makefile.in: Regenerated.
1248 * sanitizer_common/Makefile.in: Regenerated.
1249 * tsan/Makefile.in: Regenerated.
1250
1251 2013-02-28 Jakub Jelinek <jakub@redhat.com>
1252
1253 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1254 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1255 0x4fffffffffULL.
1256
1257 2013-02-22 Jakub Jelinek <jakub@redhat.com>
1258
1259 PR sanitizer/56393
1260 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1261 libasan_preinit.o.
1262 (libasan_preinit.o): Depend on asan_preinit.o.
1263 * asan/Makefile.in: Regenerated.
1264 * asan/asan_preinit.cc: New file, synced from upstream.
1265 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1266
1267 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
1268
1269 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1270 dynamic/asan_interceptors_dynamic.cc.
1271 * asan/Makefile.in: Regenerated.
1272 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1273
1274 2013-02-21 Jakub Jelinek <jakub@redhat.com>
1275
1276 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1277 defined. Add used attribute.
1278
1279 2013-02-21 Kostya Serebryany <kcc@google.com>
1280
1281 * All source files: Merge from upstream r175733.
1282 * sanitizer_common/Makefile.am: Added a new file.
1283 * sanitizer_common/Makefile.in: Regenerated.
1284
1285 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 PR bootstrap/56327
1288 * interception/interception.h (OFF_T): Merged from upstream
1289 r175140.
1290
1291 2013-02-13 Jakub Jelinek <jakub@redhat.com>
1292
1293 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1294
1295 2013-02-13 Kostya Serebryany <kcc@google.com>
1296
1297 PR sanitizer/56128
1298 * All source files: Merge from upstream r175049.
1299 * interception/Makefile.am: added include path.
1300 * interception/Makefile.in: Regenerated.
1301
1302 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1303
1304 * configure.tgt: Disable build on darwin9 and earlier.
1305
1306 2013-01-23 Kostya Serebryany <kcc@google.com>
1307
1308 PR sanitizer/55989
1309 * All source files: Merge from upstream r173241.
1310 * merge.sh: Support merging .inc files.
1311
1312 2013-01-16 Jakub Jelinek <jakub@redhat.com>
1313
1314 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1315 -Wno-c99-extensions.
1316 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1317 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1318 * sanitizer_common/Makefile.in: Regenerated.
1319 * interception/Makefile.in: Regenerated.
1320 * asan/Makefile.in: Regenerated.
1321
1322 2013-01-10 Wei Mi <wmi@google.com>
1323
1324 PR sanitizer/55488
1325 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1326 * tsan/Makefile.in: Regenerated.
1327 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1328
1329 2013-01-10 Kostya Serebryany <kcc@google.com>
1330
1331 * All source files: Merge from upstream r171973.
1332 * sanitizer_common/Makefile.am: Added new files.
1333 * asan/Makefile.am: Likewise.
1334 * tsan/Makefile.am: Likewise.
1335 * sanitizer_common/Makefile.in: Regenerated.
1336 * asan/Makefile.in: Likewise.
1337 * tsan/Makefile.in: Likewise.
1338
1339 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 * asan/Makefile.am (libasan_la_LIBADD): Replace
1342 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1343 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1344 * Makefile.in: Regenerated.
1345 * configure: Likewise.
1346 * asan/Makefile.in: Likewise.
1347 * interception/Makefile.in: Likewise.
1348 * sanitizer_common/Makefile.in: Likewise.
1349 * tsan/Makefile.in: Likewise.
1350
1351 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * Makefile.am (AM_MAKEFLAGS): Restored.
1354 * interception/Makefile.am: Likewise.
1355 * sanitizer_common/Makefile.am: Likewise.
1356 * tsan/Makefile.am: Likewise.
1357 * Makefile.in: Regenerated.
1358 * asan/Makefile.in: Likewise.
1359 * interception/Makefile.in: Likewise.
1360 * sanitizer_common/Makefile.in: Likewise.
1361 * tsan/Makefile.in: Likewise.
1362
1363 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * Makefile.am (MAKEOVERRIDES): Restored.
1366 * asan/Makefile.am: Likewise.
1367 * interception/Makefile.am: Likewise.
1368 * sanitizer_common/Makefile.am: Likewise.
1369 * tsan/Makefile.am: Likewise.
1370 * Makefile.in: Regenerated.
1371 * asan/Makefile.in: Likewise.
1372 * interception/Makefile.in: Likewise.
1373 * sanitizer_common/Makefile.in: Likewise.
1374 * tsan/Makefile.in: Likewise.
1375
1376 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1379 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1380 * Makefile.in: Regenerated.
1381 * configure: Likewise.
1382 * asan/Makefile.in: Likewise.
1383 * interception/Makefile.in: Likewise.
1384 * sanitizer_common/Makefile.in: Likewise.
1385 * tsan/Makefile.in: Likewise.
1386
1387 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * Makefile.am (AM_MAKEFLAGS): Removed.
1390 (MAKEOVERRIDES): Likewise.
1391 * asan/Makefile.am: Likewise.
1392 * interception/Makefile.am: Likewise.
1393 * sanitizer_common/Makefile.am: Likewise.
1394 * tsan/Makefile.am: Likewise.
1395 * Makefile.in: Regenerated.
1396 * asan/Makefile.in: Likewise.
1397 * interception/Makefile.in: Likewise.
1398 * sanitizer_common/Makefile.in: Likewise.
1399 * tsan/Makefile.in: Likewise.
1400
1401 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 PR sanitizer/55533
1404 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1405 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1406 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1407 (AM_MAKEFLAGS): Remove CC and CXX.
1408 * interception/Makefile.am: Likewise.
1409 * sanitizer_common/Makefile.am: Likewise.
1410 * tsan/Makefile.am: Likewise.
1411 * Makefile.in: Regenerated.
1412 * aclocal.m4: Likewise.
1413 * configure: Likewise.
1414 * asan/Makefile.in: Likewise.
1415 * interception/Makefile.in: Likewise.
1416 * sanitizer_common/Makefile.in: Likewise.
1417 * tsan/Makefile.in: Likewise.
1418
1419 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1420
1421 * configure.tgt: Enable build on powerpc*-linux.
1422
1423 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
1424
1425 PR 55599/sanitizer
1426 * configure.ac: Set enable_static=no on darwin.
1427 * configure: Regenerated.
1428
1429 2012-12-06 Kostya Serebryany <kcc@google.com>
1430
1431 * All files: Merge from upstream r169392.
1432
1433 2012-12-05 Kostya Serebryany <kcc@google.com>
1434
1435 * All files: Merge from upstream r169371.
1436
1437 2012-12-04 Kostya Serebryany <kcc@google.com>
1438 Jack Howarth <howarth@bromo.med.uc.edu>
1439
1440 PR 55521/sanitizer
1441 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1442 * Makefile.am: Don't build interception subdir when
1443 USING_MAC_INTERPOSE defined.
1444 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1445 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1446 Compile asan_interceptors_dynamic.cc but not libinterception
1447 when USING_MAC_INTERPOSE defined.
1448 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1449 * configure: Regenerated.
1450 * Makefile.in: Likewise.
1451 * asan/Makefile.in: Likewise.
1452 * interception/Makefile.in: Likewise.
1453 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1454 * asan/asan_mac.cc: Likewise.
1455 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1456 and use MISSING_BLOCKS_SUPPORT.
1457 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1458 * interception/mach_override/LICENSE.txt: Remove unused file.
1459 * interception/mach_override/mach_override.c: Likewise.
1460 * interception/mach_override/mach_override.h: Likewise.
1461 * interception/mach_override: Remove unused directory.
1462
1463 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1466 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1467 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1468 files.
1469 (AM_MAKEFLAGS): Restore CC and CXX.
1470 * interception/Makefile.am: Likewise.
1471 * sanitizer_common/Makefile.am: Likewise.
1472 * tsan/Makefile.am: Likewise.
1473 * Makefile.in: Regenerated.
1474 * aclocal.m4: Likewise.
1475 * configure: Likewise.
1476 * asan/Makefile.in: Likewise.
1477 * interception/Makefile.in: Likewise.
1478 * sanitizer_common/Makefile.in: Likewise.
1479 * tsan/Makefile.in: Likewise.
1480
1481 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1482
1483 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1484 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1485 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1486 files.
1487 (AM_MAKEFLAGS): Remove CC and CXX.
1488 * interception/Makefile.am: Likewise.
1489 * sanitizer_common/Makefile.am: Likewise.
1490 * tsan/Makefile.am: Likewise.
1491 * Makefile.in: Regenerated.
1492 * aclocal.m4: Likewise.
1493 * configure: Likewise.
1494 * asan/Makefile.in: Likewise.
1495 * interception/Makefile.in: Likewise.
1496 * sanitizer_common/Makefile.in: Likewise.
1497 * tsan/Makefile.in: Likewise.
1498
1499 2012-11-27 Kostya Serebryany <kcc@google.com>
1500
1501 * All files: Merge from upstream r168699.
1502
1503 2012-11-24 Kostya Serebryany <kcc@google.com>
1504 Jack Howarth <howarth@bromo.med.uc.edu>
1505
1506 * interception/mach_override/mach_override.c: Migrate from llvm.
1507 * interception/mach_override/mach_override.h: Likewise.
1508 * interception/mach_override/LICENSE.txt: Likewise.
1509 * configure.tgt: Add darwin to supported targets.
1510 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1511 * interception/Makefile.am: Compile mach_override.c when
1512 USING_MACH_OVERRIDE defined.
1513 * configure: Regenerated.
1514 * interception/Makefile.in: Likewise.
1515
1516 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 PR sanitizer/55450
1519 * tsan/Makefile.am (gcc_version): New.
1520 * tsan/Makefile.in: Regenerated.
1521
1522 2012-11-23 Kostya Serebryany <kcc@google.com>
1523
1524 * merge.sh: Support tsan, support added/removed files.
1525 * tsan/Makefile.am: Remove tsan_printf.cc.
1526 * tsan/Makefile.in: Regenerated.
1527 * other files: Merge from upstream r168514.
1528
1529 2012-11-23 Kostya Serebryany <kcc@google.com>
1530
1531 * merge.sh: New file.
1532
1533 2012-11-23 Jakub Jelinek <jakub@redhat.com>
1534
1535 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1536 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1537 automake conditional instead of !MULTISUBDIR32.
1538 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1539 for 64-bit multilib.
1540 * configure.ac: Check for void * size, source in configure.tgt,
1541 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1542 * configure: Regenerated.
1543 * Makefile.in: Regenerated.
1544 * tsan/Makefile.in: Regenerated.
1545
1546 2012-11-22 Wei Mi <wmi@google.com>
1547
1548 * tsan: New directory. Import tsan runtime from llvm.
1549 * configure.ac: Add 64 bits tsan build.
1550 * Makefile.am: Likewise.
1551 * configure: Regenerated.
1552 * Makefile.in: Likewise.
1553
1554 2012-11-21 Kostya Serebryany <kcc@google.com>
1555
1556 * README.gcc: Extend the README.gcc with mode details.
1557
1558 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1559
1560 * sanitizer_common/sanitizer_linux.cc
1561 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1562 (internal_mmap): Use it.
1563 (internal_filesize): Likewise.
1564
1565 2012-11-16 Tom Tromey <tromey@redhat.com>
1566
1567 * configure.ac: Invoke AM_MAINTAINER_MODE.
1568 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1569 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1570
1571 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 PR other/55333
1574 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1575 for hardware pointer.
1576 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1577 Replace uptr with uhwptr for stack unwind.
1578
1579 2012-11-16 Dodji Seketeli <dodji@redhat.com>
1580
1581 * configure.tgt: Enable build on sparc linux.
1582
1583 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * configure.ac: Properly set MULTISUBDIR.
1586 * asan/Makefile.am (gcc_version): New.
1587 * interception/Makefile.am (gcc_version): Likewise.
1588 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1589 * configure: Regenerated.
1590 * asan/Makefile.in: Likewise.
1591 * interception/Makefile.in: Likewise.
1592 * sanitizer_common/Makefile.in: Likewise.
1593
1594 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 PR other/55291
1597 * configure.ac (--enable-version-specific-runtime-libs): New option.
1598 (AC_CANONICAL_SYSTEM): New.
1599 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1600 (toolexecdir): Support multilib.
1601 (toolexeclibdir): Likewise.
1602 (multilib_arg): New.
1603 * Makefile.in: Regenerated.
1604 * aclocal.m4: Likewise.
1605 * configure: Likewise.
1606 * asan/Makefile.in: Likewise.
1607 * interception/Makefile.in: Likewise.
1608 * sanitizer_common/Makefile.in: Likewise.
1609
1610 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1611
1612 PR other/55292
1613 Backport from upstream revision 167883
1614 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1615 __x86_64__ instead of __WORDSIZE.
1616 (internal_filesize): Likwise.
1617
1618 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1619
1620 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1621 * Makefile.in: Regenerated.
1622 * configure: Likewise.
1623
1624 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 PR other/55304
1627 * acinclude.m4: New file.
1628 * Makefile.am (ACLOCAL_AMFLAGS): New.
1629 * configure.ac (AC_PREREQ): Set to 2.64.
1630 (AC_CONFIG_AUX_DIR): Set to "..".
1631 * Makefile.in: Regenerated.
1632 * aclocal.m4: Likewise.
1633 * configure: Likewise.
1634 * asan/Makefile.in: Likewise.
1635 * interception/Makefile.in: Likewise.
1636 * sanitizer_common/Makefile.in: Likewise.
1637
1638 * config.guess: Removed.
1639 * config.sub: Likewise.
1640 * depcomp: Likewise.
1641 * install-sh: Likewise.
1642 * ltmain.sh: Likewise.
1643 * missing: Likewise.
1644
1645 2012-11-13 Richard Henderson <rth@redhat.com>
1646
1647 * configure.tgt: New file.
1648
1649 2012-11-12 David S. Miller <davem@davemloft.net>
1650
1651 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1652
1653 2012-10-29 Wei Mi <wmi@google.com>
1654
1655 Initial checkin: migrate asan runtime from llvm.