]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
[testsuite] Remove 'note:' from scan-tree-dump directives
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
ca8dd9f2
MO
12018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
2
3 PR sanitizer/84250
4 * Makefile.am: Reorder libs.
5 * Makefile.in: Regenerate.
6 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
7 libsanitizer_ubsan.la.
8 * asan/Makefile.in: Regenerate.
9 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
10 * ubsan/Makefile.in: Regenerate.
11
3b07c0e5
DK
122018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
13
14 PR sanitizer/86090
15 * configure.ac: Check for lstat and readlink.
16 * configure, config.h.in: Rebuild.
17
5b87c1fe
MK
182018-05-31 Matthias Klose <doko@ubuntu.com>
19
20 PR sanitizer/86012
21 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
22 SIZEOF_STRUCT_USTAT for 32bit sparc.
23
71b55d45
L
242018-05-24 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR sanitizer/85835
27 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
28 include <sys/ustat.h> for Linux.
29 (SIZEOF_STRUCT_USTAT): New.
30 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
31
bc40f166
HPN
322018-04-26 Hans-Peter Nilsson <hp@axis.com>
33
752361c9
HPN
34 * configure.tgt <mips*-*-linux*>: Enable build, excluding
35 mips*64*-*-linux*.
36
9f943b24
HPN
37 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
38 take the shortcut to #include <sys/stat.h> for MIPS instead of
39 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
40 or wrong to get the kernel struct stat.
41 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
42 Correct the value for 32-bit non-android struct_kernel_stat_sz.
43
bc40f166
HPN
44 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
45 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
46
7b47ecf2
L
472018-04-24 H.J. Lu <hongjiu.lu@intel.com>
48
49 * configure: Regenerated.
50
a0e1df88
JJ
512018-04-19 Jakub Jelinek <jakub@redhat.com>
52
53 * configure: Regenerated.
54
001ddaa8
DM
552018-04-18 David Malcolm <dmalcolm@redhat.com>
56
57 PR jit/85384
58 * configure: Regenerate.
59
19ddb884
BS
602018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
61
62 PR sanitizer/85389
63 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
64 from 0xa0000000000ULL to ~(uptr)0.
65
359ea407
JJ
662018-03-19 Jakub Jelinek <jakub@redhat.com>
67
68 PR sanitizer/84761
69 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
70 Define if not defined.
71 (DL_INTERNAL_FUNCTION): Don't define.
72 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
73 determine at runtime whether to use regparm(3), stdcall calling
74 convention for older glibcs or normal calling convention for
75 newer glibcs for call to _dl_get_tls_static_info.
76
1422855a
SB
772018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
78
79 * sanitizer_common/sanitizer_stacktrace.cc
80 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
81 for PowerPC SYSV ABI.
82
14e335ed
IT
832018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
84
85 PR target/84148
86 * configure: Regenerate.
87
4c4f3c3f
ML
882018-02-05 Martin Liska <mliska@suse.cz>
89
90 * asan/asan_flags.inc: Cherry-pick upstream r323995.
91 * asan/asan_report.cc (CheckForInvalidPointerPair):
92 Cherry-pick upstream r323995.
93
2d509539
RO
942018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
95
96 PR sanitizer/82825
97 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 98 r324284.
2d509539 99
1f7273e5
RO
1002018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
101
102 PR sanitizer/82824
103 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
104
05abad4c
ML
1052017-12-05 Martin Liska <mliska@suse.cz>
106 Jakub Jelinek <jakub@redhat.com>
107
108 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
109 * asan/asan_descriptions.h: Likewise.
110 * asan/asan_report.cc: Likewise.
111 * asan/asan_thread.cc: Likewise.
112 * asan/asan_thread.h: Likewise.
113
9069eb28
IT
1142017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
115
116 * acinclude.m4: Add enable.m4 and cet.m4.
117 * Makefile.in: Regenerate.
118 * asan/Makefile.am: Update AM_CXXFLAGS.
119 * asan/Makefile.in: Regenerate.
120 * configure: Likewise.
121 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
122 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
123 * interception/Makefile.am: Update AM_CXXFLAGS.
124 * interception/Makefile.in: Regenerate.
125 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
126 * libbacktrace/Makefile.in: Regenerate.
127 * lsan/Makefile.am: Update AM_CXXFLAGS.
128 * lsan/Makefile.in: Regenerate.
129 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
130 AM_CCASFLAGS.
131 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
132 Add _CET_ENDBR macro.
133 * sanitizer_common/Makefile.in: Regenerate.
134 * tsan/Makefile.am: Update AM_CXXFLAGS.
135 * tsan/Makefile.in: Regenerate.
136 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
137 * ubsan/Makefile.am: Update AM_CXXFLAGS.
138 * ubsan/Makefile.in: Regenerate.
139
5925290f
JJ
1402017-11-08 Jakub Jelinek <jakub@redhat.com>
141
142 PR bootstrap/82670
143 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
144 and ubsan_signals_standalone.cc.
145 * ubsan/Makefile.in: Regenerated.
146
735e62b9
TV
1472017-11-05 Tom de Vries <tom@codesourcery.com>
148
149 PR other/82784
150 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
151 "do {} while (0)".
152 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
153
9a45ffbd
JJ
1542017-10-20 Jakub Jelinek <jakub@redhat.com>
155
156 PR sanitizer/82595
157 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
158 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
159 liblsan_preinit.o.
160 (lsan_files): Remove lsan_preinit.cc.
161 (liblsan_preinit.o): New rule.
162 * lsan/Makefile.in: Regenerated.
163
5d3805fc
JJ
1642017-10-19 Jakub Jelinek <jakub@redhat.com>
165
166 * All source files: Merge from upstream 315899.
167 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
168 include/sanitizer/tsan_interface.h.
169 * asan/libtool-version: Bump the libasan SONAME.
170 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
171 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
172 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
173 sancov_flags.cc, sanitizer_allocator_checks.cc,
174 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
175 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
176 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
177 and sanitizer_coverage_mapping_libcdep.cc.
178 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
179 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
180 (ubsan_files): Add ubsan_init_standalone.cc and
181 ubsan_signals_standalone.cc.
182 * ubsan/libtool-version: Bump the libubsan SONAME.
183 * asan/Makefile.in: Regenerate.
184 * lsan/Makefile.in: Regenerate.
185 * sanitizer_common/Makefile.in: Regenerate.
186 * tsan/Makefile.in: Regenerate.
187 * ubsan/Makefile.in: Regenerate.
188
bf4df9e6
L
1892017-10-05 H.J. Lu <hongjiu.lu@intel.com>
190
191 PR sanitizer/82379
192 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
193 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
194
d1453bec
JJ
1952017-10-02 Jakub Jelinek <jakub@redhat.com>
196
197 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
198 Define.
199
a5320f3c
JJ
2002017-08-07 Jakub Jelinek <jakub@redhat.com>
201
202 * include/system/sys/ptrace.h: New file.
203
c9b39a49
JJ
2042017-07-28 Jakub Jelinek <jakub@redhat.com>
205
206 PR sanitizer/80998
207 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
208 * ubsan/ubsan_checks.inc: Likewise.
209 * ubsan/ubsan_handlers.h: Likewise.
210
144e36a7
JJ
2112017-07-14 Jakub Jelinek <jakub@redhat.com>
212
213 PR sanitizer/81066
214 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
215 * sanitizer_common/sanitizer_linux.cc: Likewise.
216 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
217 * tsan/tsan_platform_linux.cc: Likewise.
218
d9f8c5af
ML
2192017-04-06 Martin Liska <mliska@suse.cz>
220
221 PR sanitizer/80166
222 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
223 Cherry-pick upstream r299036.
224
fd6cba40
JJ
2252017-03-22 Jakub Jelinek <jakub@redhat.com>
226
227 PR sanitizer/78158
228 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
229
9b9ad360
AT
2302017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
231
232 PR sanitizer/79562
233 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
234 upstream r294806.
235
1509524b
JJ
2362017-02-11 Jakub Jelinek <jakub@redhat.com>
237
238 PR sanitizer/79341
239 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
240 s390-linux 31-bit.
241 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
242 r294793.
243 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
244 upstream r294790.
245 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
246 r294799.
247
778e0ac3
MO
2482017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
249
250 PR sanitizer/78663
251 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
252 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
253
4997a71d
JJ
2542017-01-31 Jakub Jelinek <jakub@redhat.com>
255
256 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
257
86b2a558
JJ
2582017-01-24 Jakub Jelinek <jakub@redhat.com>
259
c831801d
JJ
260 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
261
86b2a558
JJ
262 PR sanitizer/79168
263 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
264 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
265 text.
266 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
267 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
268 * tsan/tsan_ppc_regs.h: Likewise.
269 * tsan/tsan_rtl_aarch64.S: Likewise.
270 * tsan/tsan_rtl_mips64.S: Likewise.
271 * tsan/tsan_rtl_ppc64.S: Likewise.
272
73aa401e
JJ
2732017-01-21 Jakub Jelinek <jakub@redhat.com>
274
275 PR other/79046
276 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
277 instead of cat to get version from BASE-VER file.
278 * asan/Makefile.am (gcc_version): Likewise.
279 * ubsan/Makefile.am (gcc_version): Likewise.
280 * sanitizer_common/Makefile.am (gcc_version): Likewise.
281 * lsan/Makefile.am (gcc_version): Likewise.
282 * tsan/Makefile.am (gcc_version): Likewise.
283 * interception/Makefile.in: Regenerated.
284 * asan/Makefile.in: Regenerated.
285 * ubsan/Makefile.in: Regenerated.
286 * sanitizer_common/Makefile.in: Regenerated.
287 * lsan/Makefile.in: Regenerated.
288 * tsan/Makefile.in: Regenerated.
289
3c36aa6b
JJ
2902017-01-17 Jakub Jelinek <jakub@redhat.com>
291
292 PR other/79046
293 * configure.ac: Add GCC_BASE_VER.
294 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
295 get version from BASE-VER file.
296 * libbacktrace/Makefile.in: Regenerated.
297 * interception/Makefile.in: Regenerated.
298 * asan/Makefile.in: Regenerated.
299 * ubsan/Makefile.in: Regenerated.
300 * configure: Regenerated.
301 * sanitizer_common/Makefile.in: Regenerated.
302 * lsan/Makefile.in: Regenerated.
303 * Makefile.in: Regenerated.
304 * tsan/Makefile.in: Regenerated.
305
942136a4
JC
3062017-01-10 James Clarke <jrtc27@jrtc27.com>
307
308 PR sanitizer/78992
309 * sanitizer_common/sanitizer_platform_limits_posix.h
310 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
311
11bbe995
MO
3122016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
313
314 * LOCAL_PATCHES: Add revision.
315
d61ed91e
MO
3162016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
317
318 PR sanitizer/78532
319 * sanitizer_common/sanitizer_platform_limits_posix.h
320 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
321 versions.
322
f4214e23
MT
3232016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
324
325 * LOCAL_PATCHES: Remove r242480.
326
00212843
RO
3272016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
328
329 * LOCAL_PATCHES: Add revision.
330
97448adf
RO
3312016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
332
333 PR sanitizer/78267
334 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
335 compiler supports blocks extension.
336
61a58d07
MT
3372016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
338
339 * LOCAL_PATCHES: Add revision.
340
8c32ae0e
MT
3412016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
342
343 PR sanitizer/78294
344 * tsan/tsan_rtl.cc: Add missing attribute.
345
949cc52d
MO
3462016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
347
348 * LOCAL_PATCHES: New file.
349
511c8687
MO
3502016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
351
352 PR sanitizer/78307
353 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
354 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
355 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
356 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
357 function.
358 (__ubsan_handle_cfi_bad_type_abort): Likewise.
359 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
360 (__ubsan_handle_cfi_bad_type): Export function.
361 (__ubsan_handle_cfi_bad_type_abort): Likewise.
362 * HOWTO_MERGE: Update documentation.
363
84c1b9d3
MK
3642016-11-15 Matthias Klose <doko@ubuntu.com>
365
366 * configure: Regenerate.
367
8f16b6ca
MO
3682016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
369
370 * asan/asan_globals.cc (RegisterGlobal): Do not call
371 CheckODRViolationViaPoisoning.
372 (CheckODRViolationViaPoisoning): Remove.
373
789306de
MO
3742016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
375
376 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
377 compiled code with GCC when extracting the caller PC for ARM if no
378 valid frame pointer is available.
379
fe7913f6
MO
3802016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
381
382 PR sanitizer/63958
383 Reapply:
384 2014-10-14 David S. Miller <davem@davemloft.net>
385
386 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
387 Define at __kernel_time_t, as needed for sparc.
388 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
389 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
390 (__sanitizer): Define struct___old_kernel_stat_sz,
391 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
392 (__sanitizer_ipc_perm): Adjust for sparc targets.
393 (__sanitizer_shmid_ds): Likewsie.
394 (__sanitizer_sigaction): Likewise.
395 (IOC_SIZE): Likewsie.
396
10189819
MO
3972016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
398
399 * All source files: Merge from upstream 285547.
400 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
401 variable.
402 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
403 * asan/Makefile.am (asan_files): Add new files.
404 * asan/Makefile.in: Regenerate.
405 * ubsan/Makefile.in: Likewise.
406 * lsan/Makefile.in: Likewise.
407 * tsan/Makefile.am (tsan_files): Add new files.
408 * tsan/Makefile.in: Regenerate.
409 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
410 (EXTRA_libsanitizer_common_la_SOURCES): Define.
411 (libsanitizer_common_la_LIBADD): Likewise.
412 (libsanitizer_common_la_DEPENDENCIES): Likewise.
413 * sanitizer_common/Makefile.in: Regenerate.
414 * interception/Makefile.in: Likewise.
415 * libbacktace/Makefile.in: Likewise.
416 * Makefile.in: Likewise.
417 * configure: Likewise.
418 * merge.sh: Handle builtins/assembly.h merging.
419 * builtins/assembly.h: New file.
420 * asan/libtool-version: Bump the libasan SONAME.
421
aef6a97c
JJ
4222016-09-21 Jakub Jelinek <jakub@redhat.com>
423
424 PR sanitizer/77567
425 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
426
0ce48391
JJ
4272016-09-05 Jakub Jelinek <jakub@redhat.com>
428
429 PR sanitizer/77396
430 * asan/asan_globals.cc: Cherry-pick upstream r280657.
431
e23a7a99
JJ
4322016-08-12 Jakub Jelinek <jakub@redhat.com>
433
434 PR sanitizer/71042
435 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
436 * tsan/tsan_rtl_aarch64.S: Likewise.
437
aa00995c
AM
4382016-07-23 Alan Modra <amodra@gmail.com>
439
440 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
441 * configure.ac: Don't substitute OBSTACK_DEFS.
442 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
443 * tsan/Makefile.am: Likewise.
444 * configure: Regenerate.
445 * Makefile.in: Regenerate.
446 * asan/Makefile.in: Regenerate.
447 * interception/Makefile.in: Regenerate.
448 * libbacktrace/Makefile.in: Regenerate.
449 * lsan/Makefile.in: Regenerate.
450 * sanitizer_common/Makefile.in: Regenerate.
451 * tsan/Makefile.in: Regenerate.
452 * ubsan/Makefile.in: Regenerate.
453
69af4eec
JJ
4542016-05-17 Jakub Jelinek <jakub@redhat.com>
455
456 PR sanitizer/71160
457 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
458 and r269633.
459
fefddbef
MO
4602016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
461
462 PR sanitizer/70624
463 * asan/asan_mac.cc: Cherry pick upstream r266868.
464
e4729419
JJ
4652016-01-19 Jakub Jelinek <jakub@redhat.com>
466
467 PR sanitizer/68824
468 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
469 InitializeInterceptors): Cherry pick upstream r258119.
470
bf93d543
AT
4712016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
472
473 * configure.ac: Replace the hard-coded -ldl requirement for
474 link_sanitizer_common with a configure time check for -ldl.
475 * configure: Regenerate.
476
9211bbb2
MO
4772015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
478
479 * include/system/linux/asm/ptrace.h: Move to ...
480 * include/system/asm/ptrace.h: ... this.
481
664dd3cf
MO
4822015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
483
484 * include/system/linux/asm/ptrace.h: New header.
485
55aea9f5
MO
4862015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
487
488 * All source files: Merge from upstream r253555.
489 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
490 dependences for TSan for aarch64-*-linux* targets.
491 * tsan/Makefile.am: Add new source files.
492 * configure: Regenerate.
493 * tsan/Makefile.in: Likewise.
494
62c0f0a6
AM
4952015-11-09 Alan Modra <amodra@gmail.com>
496
497 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
498 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
499 interceptors.
500 * configure.ac: Substitute OBSTACK_DEFS.
501 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
502 * tsan/Makefile.am: Likewise.
503 * configure: Regenerate.
504 * Makefile.in: Regenerate.
505 * asan/Makefile.in: Regenerate.
506 * interception/Makefile.in: Regenerate.
507 * libbacktrace/Makefile.in: Regenerate.
508 * lsan/Makefile.in: Regenerate.
509 * sanitizer_common/Makefile.in: Regenerate.
510 * tsan/Makefile.in: Regenerate.
511 * ubsan/Makefile.in: Regenerate.
512
692b1131
MO
5132015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
514
515 PR bootstrap/68041
516 * configure.ac (link_sanitizer_common): Link against librt only if it
517 contains shm_open, required by sanitizers.
518 (CXX_ABI_NEEDED): Remove variable.
519 * configure: Regenerate.
520 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
521 * ubsan/Makefile.in: Regenerate.
522
7047bc9c
MO
5232015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
524
525 * HOWTO_MERGE: New file.
526
21d61063
MO
5272015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
528
529 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
530 compiled code with GCC when extracting the caller PC for ARM if no
531 valid frame pointer is available.
532
15ebe1fe
MO
5332015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
534
535 PR bootstrap/63888
536 Reapply:
537 2015-02-20 Jakub Jelinek <jakub@redhat.com>
538
539 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
540 support until it is rewritten upstream.
541
542 * c-c++-common/asan/pr63888.c: New test.
543
0d57d3e0
MO
5442015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
545
546 PR sanitizer/63958
547 Reapply:
548 2014-10-14 David S. Miller <davem@davemloft.net>
549
550 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
551 Define at __kernel_time_t, as needed for sparc.
552 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
553 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
554 (__sanitizer): Define struct___old_kernel_stat_sz,
555 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
556 (__sanitizer_ipc_perm): Adjust for sparc targets.
557 (__sanitizer_shmid_ds): Likewsie.
558 (__sanitizer_sigaction): Likewise.
559 (IOC_SIZE): Likewsie.
560
696d846a
MO
5612015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
562
563 * All source files: Merge from upstream r250806.
564 * configure.ac (link_sanitizer_common): Add -lrt flag.
565 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
566 Set USE_CXX_ABI_FLAG=true for darwin.
567 * asan/Makefile.am (asan_files): Add new files.
568 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
569 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
570 * asan/Makefile.in: Regenerate.
571 * ubsan/Makefile.am (ubsan_files): Add new files.
572 (DEFS): Add DCAN_SANITIZE_UB=1.
573 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
574 * ubsan/Makefile.in: Regenerate.
575 * tsan/Makefile.am (tsan_files): Add new files.
576 (DEFS): Add DCAN_SANITIZE_UB=0.
577 * tsan/Makefile.in: Regenerate.
578 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
579 * sanitizer_common/Makefile.in: Regenerate.
580 * asan/libtool-version: Bump the libasan SONAME.
581
1842a04c
MT
5822015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
583
584 PR sanitizer/67258
585 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
586
97d8f801
MT
5872015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
588
589 PR sanitizer/63927
590 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
591 for PowerPC.
592
3d61d875
BS
5932015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
594
595 PR sanitizer/63927
596 * sanitizer_common/sanitizer_stacktrace.cc
597 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
598 find the link register at an offset of 16 from the base of the
599 caller's stack frame.
600
f3915b42
MH
6012015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
602
603 * Makefile.in: Regenerated with automake-1.11.6.
604 * aclocal.m4: Likewise.
605 * asan/Makefile.in: Likewise.
606 * configure: Likewise.
607 * interception/Makefile.in: Likewise.
608 * libbacktrace/Makefile.in: Likewise.
609 * lsan/Makefile.in: Likewise.
610 * sanitizer_common/Makefile.in: Likewise.
611 * tsan/Makefile.in: Likewise.
612 * ubsan/Makefile.in: Likewise.
613
d041a6fc
YG
6142015-04-13 Yury Gribov <y.gribov@samsung.com>
615
616 PR sanitizer/64839
617 * sanitizer_common/sanitizer_platform.h: Cherry pick
618 upstream r234470.
619 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
620 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
621 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
622 * Makefile.in: Regenerate.
623 * asan/Makefile.in: Regenerate.
624 * config.h.in: Regenerate.
625 * configure: Regenerate.
626 * interception/Makefile.in: Regenerate.
627 * libbacktrace/Makefile.in: Regenerate.
628 * lsan/Makefile.in: Regenerate.
629 * sanitizer_common/Makefile.in: Regenerate.
630 * tsan/Makefile.in: Regenerate.
631 * ubsan/Makefile.in: Regenerate.
632
633
d886f7cc
CL
6342015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
635
636 PR sanitizer/59009
637 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
638 upstream r230324.
639 * sanitizer_common/sanitizer_platform.h: Likewise.
640 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
641
563fb64a
BE
6422015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
643
644 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
645 upstream 224508 and 224755.
646
ee876e59
JJ
6472015-03-09 Jakub Jelinek <jakub@redhat.com>
648
649 PR sanitizer/63958
650 Reapply:
651 2014-10-14 David S. Miller <davem@davemloft.net>
652
653 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
654 Define at __kernel_time_t, as needed for sparc.
655 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
656 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
657 (__sanitizer): Define struct___old_kernel_stat_sz,
658 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
659 (__sanitizer_ipc_perm): Adjust for sparc targets.
660 (__sanitizer_shmid_ds): Likewsie.
661 (__sanitizer_sigaction): Likewise.
662 (IOC_SIZE): Likewsie.
663
6ad0611b
PB
6642015-02-27 Peter Bergner <bergner@vnet.ibm.com>
665
666 * configure.tgt: Enable build on powerpc*le-*-linux.
667
09901e8a 6682015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
669
670 PR bootstrap/63888
671 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
672 support until it is rewritten upstream.
673
94213c10
MK
6742015-01-26 Matthias Klose <doko@ubuntu.com>
675
676 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
677 * configure: Regenerate.
678
8790f572
VK
6792015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
680
94213c10 681 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 682 * configure: Regenerate.
94213c10 683 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 684
b0edd457
VK
6852015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
686
687 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
688 * configure: Regenerate.
689 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
690 (libtsan_la_DEPENDENCIES): Likewise.
691 * Makefile.in: Regenerate.
692 * asan/Makefile.in: Regenerate.
693 * interception/Makefile.in: Regenerate.
694 * libbacktrace/Makefile.in: Regenerate.
695 * lsan/Makefile.in: Regenerate.
696 * sanitizer_common/Makefile.in: Regenerate.
697 * tsan/Makefile.in: Regenerate.
698 * ubsan/Makefile.in: Regenerate.
699
19ac475f
JJ
7002015-01-22 Jakub Jelinek <jakub@redhat.com>
701
702 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
703
8b08ef25
JJ
7042015-01-21 Jakub Jelinek <jakub@redhat.com>
705
706 PR sanitizer/64435
707 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
708 upstream r226637.
709 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
710 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
711
3ea36418
JJ
7122015-01-20 Jakub Jelinek <jakub@redhat.com>
713
714 PR sanitizer/64632
715 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
716
9deaf59d
JJ
7172015-01-19 Jakub Jelinek <jakub@redhat.com>
718
719 PR sanitizer/64435
720 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
721 upstream r223925.
722
b6a8bacc
JJ
7232015-01-13 Jakub Jelinek <jakub@redhat.com>
724
725 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
726 upstream r224518 and r224519.
727 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
728 r224834.
729
f2798565
JJ
7302014-12-16 Jakub Jelinek <jakub@redhat.com>
731
732 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
733 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
734 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
735 upstream r224308.
736
a699d672
L
7372014-11-21 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR bootstrap/63784
740 * configure: Regenerated.
741
7697b16f
JJ
7422014-11-21 Jakub Jelinek <jakub@redhat.com>
743
744 PR target/61137
745 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
746 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
747
7f201a67
UB
7482014-11-14 Uros Bizjak <ubizjak@gmail.com>
749
750 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
751 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
752 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
753 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
754 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
755 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
756 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
757 * sanitizer_common/Makefile.in: Regenerate.
758 * asan/Makefile.in: Ditto.
759 * lsan/Makefile.in: Ditto.
760 * interception/Makefile.in: Ditto.
761 * tsan/Makefile.in: Ditto.
762 * libbacktrace/Makefile.in: Ditto.
763 * ubsan/Makefile.in: Ditto.
764
c5be964a
KS
7652014-11-13 Kostya Serebryany <kcc@google.com>
766
767 * All source files: Merge from upstream r221802.
768 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
769 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
770 with 'start' to follow the new interface.
771 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
772 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
773 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
774 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
775 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
776 files.
777 (AM_CXXFLAGS): Added -std=c++11.
778 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
779 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
780 * asan/Makefile.in: Regenerate.
781 * interception/Makefile.in: Regenerate.
782 * libbacktrace/Makefile.in: Regenerate.
783 * lsan/Makefile.in: Regenerate.
784 * sanitizer_common/Makefile.in: Regenerate.
785 * tsan/Makefile.in: Regenerate.
786 * ubsan/Makefile.in: Regenerate.
787
ebf6d33b
FXC
7882014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
789
790 PR target/63610
791 * configure: Regenerate.
792
d13fc1ed
ML
7932014-10-16 Martin Liska <mliska@suse.cz>
794
795 * asan/Makefile.am: IPA ICF pass is disabled.
796 * asan/Makefile.in: Likewise.
797
c8473336
DM
7982014-10-14 David S. Miller <davem@davemloft.net>
799
800 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
801 Define at __kernel_time_t, as needed for sparc.
802 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
803 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
804 (__sanitizer): Define struct___old_kernel_stat_sz,
805 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
806 (__sanitizer_ipc_perm): Adjust for sparc targets.
807 (__sanitizer_shmid_ds): Likewsie.
808 (__sanitizer_sigaction): Likewsie.
809 (IOC_SIZE): Likewsie.
810
694b4cfa
JJ
8112014-10-14 Jakub Jelinek <jakub@redhat.com>
812
813 * ubsan/Makefile.am (DEFS): Add -DPIC.
814 * ubsan/Makefile.in: Regenerated.
815
a3125fc2
CL
8162014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
817
818 * configure.tgt: Enable build on aarch64*-linux.
819
866e32ad
KS
8202014-09-19 Kostya Serebryany <kcc@google.com>
821
822 * All source files: Merge from upstream r218156.
823 * asan/Makefile.am (asan_files): Added new files.
824 * asan/Makefile.in: Regenerate.
825 * ubsan/Makefile.am (ubsan_files): Added new files.
826 * ubsan/Makefile.in: Regenerate.
827 * tsan/Makefile.am (tsan_files): Added new files.
828 * tsan/Makefile.in: Regenerate.
829 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
830 files.
831 * sanitizer_common/Makefile.in: Regenerate.
832 * asan/libtool-version: Bump the libasan SONAME.
833
126edc3f
JJ
8342014-09-10 Jakub Jelinek <jakub@redhat.com>
835
836 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
837 upstream r215485, r217389, r217391 and r217400.
838
0d807c80
PC
8392014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
840
841 * sanitizer_common/sanitizer_common_interceptors.inc:
842 Cherry pick upstream r211008.
843
4622301b
RB
8442014-06-11 Richard Biener <rguenther@suse.de>
845
846 * asan/asan_linux.cc: Cherry pick upstream r210012.
847
ecd5543f
JJ
8482014-05-30 Jakub Jelinek <jakub@redhat.com>
849
850 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
851 r209879.
852 * sanitizer_common/sanitizer_common.h: Likewise.
853 * asan/asan_mapping.h: Likewise.
854 * asan/asan_linux.cc: Likewise.
855 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
856 * sanitizer_common/sanitizer_allocator.h: Likewise.
857
85a16bf8
MP
8582014-05-23 Marek Polacek <polacek@redhat.com>
859
860 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
861 floating-point types.
862
dee5ea7a
KS
8632014-05-22 Kostya Serebryany <kcc@google.com>
864
865 * All source files: Merge from upstream r209283.
866 * asan/Makefile.am (asan_files): Added new files.
867 * asan/Makefile.in: Regenerate.
868 * tsan/Makefile.am (tsan_files): Added new files.
869 * tsan/Makefile.in: Regenerate.
0d807c80
PC
870 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
871 files.
dee5ea7a
KS
872 * sanitizer_common/Makefile.in: Regenerate.
873
2675305b
YG
8742014-05-14 Yury Gribov <y.gribov@samsung.com>
875
876 PR sanitizer/61100
877 * Makefile.am (nodist_saninclude_HEADERS): Install
878 public headers.
879 * Makefile.in: Regenerate.
880
a6c9ab4e
RO
8812014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
882
883 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
884 Add ../../libbacktrace/sort.c.
885 * libbacktrace/Makefile.in: Regenerate.
886 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
887
a42a7046
BS
8882014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
889
890 * configure.tgt: Unsupported for little endian PowerPC for now.
891
5ab39ec3
JJ
8922014-02-04 Jakub Jelinek <jakub@redhat.com>
893
81c87471
JJ
894 PR sanitizer/60055
895 * tsan/tsan_flags.cc (__tsan_default_options): Add
896 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
897 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
898
5ab39ec3
JJ
899 PR sanitizer/60038
900 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
901 sanitizer_atomic.h and unistd.h.
902 (kThreadDescriptorSize): Made static, remove initializer and const,
903 change type to atomic_uintptr_t.
904 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
905 query glibc version, compute kThreadDescriptorSize depending on
906 glibc version minor number.
907 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
908 kThreadDescriptorSize directly.
909
4a7eaf5f
YG
9102014-01-23 Yury Gribov <y.gribov@samsung.com>
911 Jakub Jelinek <jakub@redhat.com>
912
913 PR sanitizer/57316
914 * configure.ac: Check for missing syscalls.
915 * Makefile.am: Likewise.
916 * configure: Regenerate.
917 * Makefile.in: Regenerate.
918
2613419a
JJ
9192014-01-09 Jakub Jelinek <jakub@redhat.com>
920
b5f58ba3
JJ
921 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
922 (LibbacktraceSymbolizer::Demangle): New declaration.
923 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
924 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
925 method if possible.
926 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
927 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
928 (struct CplusV3DemangleData): New type.
929 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
930 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
931 SymbolizeDataCallback): Use CplusV3Demangle.
932 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
933 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
934 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
935 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
936 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
937 cplus_demangle_init_info, cplus_demangle_mangled_name,
938 cplus_demangle_operators, cplus_demangle_print,
939 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
940 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
941 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
942 Define.
943 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
944 (memcmp, strncmp): Redefine.
945 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
946 ../../libiberty/cp-demangle.c.
947 * libbacktrace/bridge.cc (__asan_internal_memcmp,
948 __asan_internal_strncmp): New functions.
949 * sanitizer_common/Makefile.in: Regenerated.
950 * libbacktrace/Makefile.in: Regenerated.
951 * configure: Regenerated.
952 * configure.ac: Regenerated.
953 * config.h.in: Regenerated.
954
2613419a
JJ
955 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
956 -isystem $(top_srcdir)/include/system.
957 * sanitizer_common/Makefile.in: Regenerated.
958 * include/system/linux/aio_abi.h: New header.
959 * include/system/linux/mroute.h: New header.
960 * include/system/linux/mroute6.h: New header.
961 * include/system/linux/perf_event.h: New header.
962 * include/system/linux/types.h: New header.
c915a581
JJ
963
964 PR sanitizer/59136
965 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
966 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
967 and -I/-include flags.
968 * lsan/Makefile.am (liblsan_la_LIBADD): Add
969 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
970 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
971 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
972 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
973 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
974 libbacktrace.
975 * README.gcc: Document that also lsan and ubsan are
976 maintained in compiler-rt upstream.
977 * libbacktrace/Makefile.am: New file.
978 * libbacktrace/backtrace-rename.h: New file.
979 * libbacktrace/backtrace-supported.h.in: New file.
980 * libbacktrace/bridge.cc: New file.
981 * configure.ac: Add tests needed for libbacktrace build
982 within libsanitizer.
983 * sanitizer_common/Makefile.in: Regenerated.
984 * lsan/Makefile.in: Regenerated.
985 * tsan/Makefile.in: Regenerated.
986 * ubsan/Makefile.in: Regenerated.
987 * libbacktrace/Makefile.in: Generated.
988 * config.h.in: Regenerated.
989 * configure: Regenerated.
990 * Makefile.in: Regenerated.
991 * interception/Makefile.in: Regenerated.
992 * asan/Makefile.in: Regenerated.
993 * aclocal.m4: Regenerated.
994
409f3b46
KS
9952013-12-19 Kostya Serebryany <kcc@google.com>
996
997 * sanitizer_common/sanitizer_platform_limits_posix.cc:
998 workaround for missing definition of EOWNERDEAD, backport
999 from upstream r196779.
1000
079db27b
L
10012013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 * sanitizer_common/sanitizer_platform_limits_posix.h
1004 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1005 (__sanitizer_clock_t): Use long long for x32.
1006
7efb96c0
L
10072013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1010 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1011 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1012
df9d1700
L
10132013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * configure.ac (link_sanitizer_common): Add -lm.
1016 * configure: Regenerated.
1017
c4c16f74
KS
10182013-12-05 Kostya Serebryany <kcc@google.com>
1019
1020 * All source files: Merge from upstream r196489.
1021 * merge.sh: Add *.S to the list of merged files.
1022
666ee4d6
YG
10232013-12-05 Yury Gribov <y.gribov@samsung.com>
1024
1025 PR sanitizer/59368
1026 * Makefile.am (gcc_version): Added gcc_version.
1027 * Makefile.in: Regenerate.
1028
df77f0e4
KS
10292013-12-05 Kostya Serebryany <kcc@google.com>
1030
1031 * All source files: Merge from upstream r196090.
1032 * tsan/Makefile.am (tsan_files): Added new files.
1033 * tsan/Makefile.in: Regenerate.
1034 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1035 * sanitizer_common/Makefile.in: Regenerate.
1036 * lsan/Makefile.am (lsan_files): Added new files.
1037 * lsan/Makefile.in: Regenerate.
1038
35814b03
JJ
10392013-11-29 Jakub Jelinek <jakub@redhat.com>
1040 Yury Gribov <y.gribov@samsung.com>
1041
1042 PR sanitizer/59063
1043 * libsanitizer.spec.in: Add spec file to hold link flags for
1044 various sanitizer libs.
1045 * configure.ac: Check whether clock_* routines come from librt.
1046 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1047 configure.ac.
1048 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1049 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1050 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1051 * asan/Makefile.in: Regenerate.
1052 * interception/Makefile.in: Regenerate.
1053 * lsan/Makefile.in: Regenerate.
1054 * sanitizer_common/Makefile.in: Regenerate.
1055 * tsan/Makefile.in: Regenerate.
1056 * ubsan/Makefile.in: Regenerate.
1057 * Makefile.in: Regenerate.
1058 * configure: Regenerate.
1059
049558ed
JJ
10602013-11-28 Jakub Jelinek <jakub@redhat.com>
1061 Yury Gribov <y.gribov@samsung.com>
1062
1063 PR sanitizer/59106
1064 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1065 don't need it.
1066 * ubsan/Makefile.in: Regenerated.
1067
9065ada9
JJ
10682013-11-22 Jakub Jelinek <jakub@redhat.com>
1069
1070 PR sanitizer/59061
1071 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1072 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1073 * configure: Regenerated.
1074 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1075 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1076 * lsan/Makefile.in: Regenerated.
1077
486294d4
MS
10782013-11-22 Mike Stump <mikestump@comcast.net>
1079
1080 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1081 change from upstream to fix build.
1082
2621c860
YG
10832013-11-18 Yury Gribov <y.gribov@samsung.com>
1084
1085 PR sanitizer/59106
1086 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1087 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1088 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1089 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1090 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1091 * asan/Makefile.in: Regenerate.
1092 * interception/Makefile.in: Regenerate.
1093 * tsan/Makefile.in: Regenerate.
1094 * lsan/Makefile.in: Regenerate.
1095 * sanitizer_common/Makefile.in: Regenerate.
1096
c8e1377b
KS
10972013-11-15 Kostya Serebryany <kcc@google.com>
1098
1099 PR sanitizer/58994
1100 Backport from upstream revision 194573
1101 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1102 back to the original functions in the common libsanitizer
1103 interceptors and the __cxa_atexit() interceptor on Darwin.
1104
c3d77f3a
PB
11052013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1106
1107 PR sanitizer/59009
1108 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1109 ifdef out more source.
1110
d00106f4
JJ
11112013-11-12 Jakub Jelinek <jakub@redhat.com>
1112
1113 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1114 ifdef out almost the whole source.
1115 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1116
e276866f
L
11172013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 PR sanitizer/59018
1120 * sanitizer_common/sanitizer_platform_limits_posix.cc
1121 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1122 defined.
1123
f5c36cfc
L
11242013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 PR sanitizer/59018
1127 * sanitizer_common/sanitizer_platform_limits_linux.cc
1128 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1129 defined.
1130 * sanitizer_common/sanitizer_platform_limits_posix.h
1131 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1132 defined.
1133 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1134 is defined.
1135 (__sanitizer___kernel_gid_t): Likewise.
1136 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1137 is defined.
1138
e45de14e
L
11392013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 PR sanitizer/59018
1142 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1143 2 64-bit integers to save and restore fn and arg. Properly load
1144 newtls/child_tidptr into r8/r10.
1145
38693e39
L
11462013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1147
1148 PR sanitizer/59018
1149 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1150 internal_munmap, internal_open, internal_read, internal_write,
1151 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1152 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1153 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1154 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1155
ef1b3fda
KS
11562013-11-04 Kostya Serebryany <kcc@google.com>
1157
1158 * All source files: Merge from upstream r191666.
1159 * merge.sh: Added lsan.
1160 * configure.ac (AC_CONFIG_FILES): Added lsan.
1161 * Makefile.am (SUBDIRS): Added lsan.
1162 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1163 * asan/Makefile.am (asan_files): Added new files.
1164 (libasan_la_LIBADD): Added a dependency on lsan.
1165 * lsan/Makefile.am: New file.
1166 * asan/Makefile.in: Regenerate.
1167 * lsan/Makefile.in: Regenerate.
1168 * Makefile.in: Regenerate.
1169 * configure: Regenerate.
1170 * sanitizer_common/Makefile.in: Regenerate.
1171
3cbe17f7
AM
11722013-09-20 Alan Modra <amodra@gmail.com>
1173
1174 * configure: Regenerate.
1175
0cea211e
IS
11762013-09-01 Iain Sandoe <iain@codesourcery.com>
1177
1178 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1179 libinterception.la for Darwin.
1180 * ubsan/Makefile.in: Regenerate.
1181
de5a5fa1
MP
11822013-08-30 Jakub Jelinek <jakub@redhat.com>
1183
1184 * Makefile.am (SUBDIRS): Add ubsan.
1185 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1186 * merge.sh: Merge ubsan.
1187 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1188 * sanitizer_common/sanitizer_printf.cc: Likewise.
1189 * sanitizer_common/sanitizer_common.h: Likewise.
1190 * ubsan: New directory. Import ubsan runtime from llvm.
1191
634cfa2b
CL
11922013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1193
1194 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1195 Cherry pick upstream r182922.
1196
8a5800b8
CL
11972013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1198
1199 * configure.tgt: Add ARM pattern.
1200
a745e444 12012013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1202
1203 PR other/43620
1204 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1205 * Makefile.in: Regenerated.
1206 * asan/Makefile.in: Regenerated.
1207 * interception/Makefile.in: Regenerated.
1208 * sanitizer_common/Makefile.in: Regenerated.
1209 * tsan/Makefile.in: Regenerated.
1210
4c376126
JJ
12112013-02-28 Jakub Jelinek <jakub@redhat.com>
1212
1213 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1214 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1215 0x4fffffffffULL.
1216
7d613735
JJ
12172013-02-22 Jakub Jelinek <jakub@redhat.com>
1218
1219 PR sanitizer/56393
1220 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1221 libasan_preinit.o.
1222 (libasan_preinit.o): Depend on asan_preinit.o.
1223 * asan/Makefile.in: Regenerated.
1224 * asan/asan_preinit.cc: New file, synced from upstream.
1225 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1226
ecdbd01a 12272013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1228
1229 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1230 dynamic/asan_interceptors_dynamic.cc.
1231 * asan/Makefile.in: Regenerated.
1232 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1233
4be7da26
JJ
12342013-02-21 Jakub Jelinek <jakub@redhat.com>
1235
1236 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1237 defined. Add used attribute.
1238
7df59255
KS
12392013-02-21 Kostya Serebryany <kcc@google.com>
1240
1241 * All source files: Merge from upstream r175733.
1242 * sanitizer_common/Makefile.am: Added a new file.
1243 * sanitizer_common/Makefile.in: Regenerated.
1244
8afd2ed7
L
12452013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1246
1247 PR bootstrap/56327
1248 * interception/interception.h (OFF_T): Merged from upstream
1249 r175140.
1250
6422242b
JJ
12512013-02-13 Jakub Jelinek <jakub@redhat.com>
1252
1253 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1254
b4ab7d34
KS
12552013-02-13 Kostya Serebryany <kcc@google.com>
1256
8afd2ed7 1257 PR sanitizer/56128
b4ab7d34
KS
1258 * All source files: Merge from upstream r175049.
1259 * interception/Makefile.am: added include path.
1260 * interception/Makefile.in: Regenerated.
1261
34dc17ed
JH
12622013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1263
1264 * configure.tgt: Disable build on darwin9 and earlier.
1265
2660d12d
KS
12662013-01-23 Kostya Serebryany <kcc@google.com>
1267
8afd2ed7 1268 PR sanitizer/55989
2660d12d
KS
1269 * All source files: Merge from upstream r173241.
1270 * merge.sh: Support merging .inc files.
1271
19006c45
JJ
12722013-01-16 Jakub Jelinek <jakub@redhat.com>
1273
1274 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1275 -Wno-c99-extensions.
1276 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1277 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1278 * sanitizer_common/Makefile.in: Regenerated.
1279 * interception/Makefile.in: Regenerated.
1280 * asan/Makefile.in: Regenerated.
1281
edadb734
WM
12822013-01-10 Wei Mi <wmi@google.com>
1283
1284 PR sanitizer/55488
1285 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1286 * tsan/Makefile.in: Regenerated.
1287 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1288
e9772e16
KS
12892013-01-10 Kostya Serebryany <kcc@google.com>
1290
1291 * All source files: Merge from upstream r171973.
1292 * sanitizer_common/Makefile.am: Added new files.
1293 * asan/Makefile.am: Likewise.
1294 * tsan/Makefile.am: Likewise.
1295 * sanitizer_common/Makefile.in: Regenerated.
1296 * asan/Makefile.in: Likewise.
1297 * tsan/Makefile.in: Likewise.
1298
7f7162cf
L
12992013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * asan/Makefile.am (libasan_la_LIBADD): Replace
1302 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1303 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1304 * Makefile.in: Regenerated.
1305 * configure: Likewise.
1306 * asan/Makefile.in: Likewise.
1307 * interception/Makefile.in: Likewise.
1308 * sanitizer_common/Makefile.in: Likewise.
1309 * tsan/Makefile.in: Likewise.
1310
b488a2c7
L
13112012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 * Makefile.am (AM_MAKEFLAGS): Restored.
1314 * interception/Makefile.am: Likewise.
1315 * sanitizer_common/Makefile.am: Likewise.
1316 * tsan/Makefile.am: Likewise.
1317 * Makefile.in: Regenerated.
1318 * asan/Makefile.in: Likewise.
1319 * interception/Makefile.in: Likewise.
1320 * sanitizer_common/Makefile.in: Likewise.
1321 * tsan/Makefile.in: Likewise.
1322
e8adb21b
L
13232012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * Makefile.am (MAKEOVERRIDES): Restored.
1326 * asan/Makefile.am: Likewise.
1327 * interception/Makefile.am: Likewise.
1328 * sanitizer_common/Makefile.am: Likewise.
1329 * tsan/Makefile.am: Likewise.
1330 * Makefile.in: Regenerated.
1331 * asan/Makefile.in: Likewise.
1332 * interception/Makefile.in: Likewise.
1333 * sanitizer_common/Makefile.in: Likewise.
1334 * tsan/Makefile.in: Likewise.
1335
e1e953d9
L
13362012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1339 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1340 * Makefile.in: Regenerated.
1341 * configure: Likewise.
1342 * asan/Makefile.in: Likewise.
1343 * interception/Makefile.in: Likewise.
1344 * sanitizer_common/Makefile.in: Likewise.
1345 * tsan/Makefile.in: Likewise.
1346
a62d3903
L
13472012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 * Makefile.am (AM_MAKEFLAGS): Removed.
1350 (MAKEOVERRIDES): Likewise.
1351 * asan/Makefile.am: Likewise.
1352 * interception/Makefile.am: Likewise.
1353 * sanitizer_common/Makefile.am: Likewise.
1354 * tsan/Makefile.am: Likewise.
1355 * Makefile.in: Regenerated.
1356 * asan/Makefile.in: Likewise.
1357 * interception/Makefile.in: Likewise.
1358 * sanitizer_common/Makefile.in: Likewise.
1359 * tsan/Makefile.in: Likewise.
1360
d10a2df2
L
13612012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 PR sanitizer/55533
1364 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1365 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1366 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1367 (AM_MAKEFLAGS): Remove CC and CXX.
1368 * interception/Makefile.am: Likewise.
1369 * sanitizer_common/Makefile.am: Likewise.
1370 * tsan/Makefile.am: Likewise.
1371 * Makefile.in: Regenerated.
1372 * aclocal.m4: Likewise.
1373 * configure: Likewise.
1374 * asan/Makefile.in: Likewise.
1375 * interception/Makefile.in: Likewise.
1376 * sanitizer_common/Makefile.in: Likewise.
1377 * tsan/Makefile.in: Likewise.
1378
957fee09
PB
13792012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1380
1381 * configure.tgt: Enable build on powerpc*-linux.
1382
ecdbd01a 13832012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1384
1385 PR 55599/sanitizer
d10a2df2
L
1386 * configure.ac: Set enable_static=no on darwin.
1387 * configure: Regenerated.
3157880f 1388
695edbac
KS
13892012-12-06 Kostya Serebryany <kcc@google.com>
1390
1391 * All files: Merge from upstream r169392.
1392
a0408454
KS
13932012-12-05 Kostya Serebryany <kcc@google.com>
1394
1395 * All files: Merge from upstream r169371.
1396
41d37c56 13972012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1398 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1399
1400 PR 55521/sanitizer
1401 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1402 * Makefile.am: Don't build interception subdir when
1403 USING_MAC_INTERPOSE defined.
1404 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1405 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1406 Compile asan_interceptors_dynamic.cc but not libinterception
1407 when USING_MAC_INTERPOSE defined.
1408 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1409 * configure: Regenerated.
1410 * Makefile.in: Likewise.
1411 * asan/Makefile.in: Likewise.
1412 * interception/Makefile.in: Likewise.
1413 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1414 * asan/asan_mac.cc: Likewise.
1415 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1416 and use MISSING_BLOCKS_SUPPORT.
1417 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1418 * interception/mach_override/LICENSE.txt: Remove unused file.
1419 * interception/mach_override/mach_override.c: Likewise.
1420 * interception/mach_override/mach_override.h: Likewise.
1421 * interception/mach_override: Remove unused directory.
1422
a23ed040
L
14232012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1426 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1427 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1428 files.
1429 (AM_MAKEFLAGS): Restore CC and CXX.
1430 * interception/Makefile.am: Likewise.
1431 * sanitizer_common/Makefile.am: Likewise.
1432 * tsan/Makefile.am: Likewise.
1433 * Makefile.in: Regenerated.
1434 * aclocal.m4: Likewise.
1435 * configure: Likewise.
1436 * asan/Makefile.in: Likewise.
1437 * interception/Makefile.in: Likewise.
1438 * sanitizer_common/Makefile.in: Likewise.
1439 * tsan/Makefile.in: Likewise.
1440
2ed685b8
L
14412012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1444 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1445 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1446 files.
1447 (AM_MAKEFLAGS): Remove CC and CXX.
1448 * interception/Makefile.am: Likewise.
1449 * sanitizer_common/Makefile.am: Likewise.
1450 * tsan/Makefile.am: Likewise.
1451 * Makefile.in: Regenerated.
1452 * aclocal.m4: Likewise.
1453 * configure: Likewise.
1454 * asan/Makefile.in: Likewise.
1455 * interception/Makefile.in: Likewise.
1456 * sanitizer_common/Makefile.in: Likewise.
1457 * tsan/Makefile.in: Likewise.
1458
4ba5ca46
KS
14592012-11-27 Kostya Serebryany <kcc@google.com>
1460
1461 * All files: Merge from upstream r168699.
1462
41d37c56 14632012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 1464 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
1465
1466 * interception/mach_override/mach_override.c: Migrate from llvm.
1467 * interception/mach_override/mach_override.h: Likewise.
1468 * interception/mach_override/LICENSE.txt: Likewise.
1469 * configure.tgt: Add darwin to supported targets.
1470 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1471 * interception/Makefile.am: Compile mach_override.c when
1472 USING_MACH_OVERRIDE defined.
1473 * configure: Regenerated.
1474 * interception/Makefile.in: Likewise.
1475
9cb5411c
L
14762012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1477
1478 PR sanitizer/55450
1479 * tsan/Makefile.am (gcc_version): New.
1480 * tsan/Makefile.in: Regenerated.
1481
3409d40e 14822012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1483
e297eb60
KS
1484 * merge.sh: Support tsan, support added/removed files.
1485 * tsan/Makefile.am: Remove tsan_printf.cc.
1486 * tsan/Makefile.in: Regenerated.
1487 * other files: Merge from upstream r168514.
1488
14892012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1490
e297eb60 1491 * merge.sh: New file.
3409d40e 1492
64548f3b
JJ
14932012-11-23 Jakub Jelinek <jakub@redhat.com>
1494
1495 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1496 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1497 automake conditional instead of !MULTISUBDIR32.
1498 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1499 for 64-bit multilib.
1500 * configure.ac: Check for void * size, source in configure.tgt,
1501 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1502 * configure: Regenerated.
1503 * Makefile.in: Regenerated.
1504 * tsan/Makefile.in: Regenerated.
1505
cd0be65c
WM
15062012-11-22 Wei Mi <wmi@google.com>
1507
1508 * tsan: New directory. Import tsan runtime from llvm.
1509 * configure.ac: Add 64 bits tsan build.
1510 * Makefile.am: Likewise.
1511 * configure: Regenerated.
1512 * Makefile.in: Likewise.
1513
5cba83a8
KS
15142012-11-21 Kostya Serebryany <kcc@google.com>
1515
9cb5411c 1516 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 1517
b014e124
KS
15182012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1519
1520 * sanitizer_common/sanitizer_linux.cc
1521 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1522 (internal_mmap): Use it.
1523 (internal_filesize): Likewise.
1524
2b723e21
TT
15252012-11-16 Tom Tromey <tromey@redhat.com>
1526
1527 * configure.ac: Invoke AM_MAINTAINER_MODE.
1528 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1529 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1530
d1caed14
L
15312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 PR other/55333
1534 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1535 for hardware pointer.
1536 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1537 Replace uptr with uhwptr for stack unwind.
1538
f3754998
DS
15392012-11-16 Dodji Seketeli <dodji@redhat.com>
1540
1541 * configure.tgt: Enable build on sparc linux.
1542
f64bcb29
L
15432012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1544
1545 * configure.ac: Properly set MULTISUBDIR.
1546 * asan/Makefile.am (gcc_version): New.
1547 * interception/Makefile.am (gcc_version): Likewise.
1548 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1549 * configure: Regenerated.
1550 * asan/Makefile.in: Likewise.
1551 * interception/Makefile.in: Likewise.
1552 * sanitizer_common/Makefile.in: Likewise.
1553
2a6346c4
L
15542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 PR other/55291
1557 * configure.ac (--enable-version-specific-runtime-libs): New option.
1558 (AC_CANONICAL_SYSTEM): New.
1559 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1560 (toolexecdir): Support multilib.
1561 (toolexeclibdir): Likewise.
1562 (multilib_arg): New.
1563 * Makefile.in: Regenerated.
1564 * aclocal.m4: Likewise.
1565 * configure: Likewise.
1566 * asan/Makefile.in: Likewise.
1567 * interception/Makefile.in: Likewise.
1568 * sanitizer_common/Makefile.in: Likewise.
1569
4a56a7be
L
15702012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 PR other/55292
1573 Backport from upstream revision 167883
1574 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1575 __x86_64__ instead of __WORDSIZE.
1576 (internal_filesize): Likwise.
1577
4053ca2c
L
15782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1581 * Makefile.in: Regenerated.
1582 * configure: Likewise.
1583
a2479b3d
L
15842012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1585
1586 PR other/55304
1587 * acinclude.m4: New file.
1588 * Makefile.am (ACLOCAL_AMFLAGS): New.
1589 * configure.ac (AC_PREREQ): Set to 2.64.
1590 (AC_CONFIG_AUX_DIR): Set to "..".
1591 * Makefile.in: Regenerated.
1592 * aclocal.m4: Likewise.
1593 * configure: Likewise.
1594 * asan/Makefile.in: Likewise.
1595 * interception/Makefile.in: Likewise.
1596 * sanitizer_common/Makefile.in: Likewise.
1597
1598 * config.guess: Removed.
1599 * config.sub: Likewise.
1600 * depcomp: Likewise.
1601 * install-sh: Likewise.
1602 * ltmain.sh: Likewise.
1603 * missing: Likewise.
1604
93bf5390
RH
16052012-11-13 Richard Henderson <rth@redhat.com>
1606
1607 * configure.tgt: New file.
1608
d2860e72
DM
16092012-11-12 David S. Miller <davem@davemloft.net>
1610
1611 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1612
f35db108
WM
16132012-10-29 Wei Mi <wmi@google.com>
1614
1615 Initial checkin: migrate asan runtime from llvm.