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